Re: [asterisk-users] IAX and Accountcode
Douglas Garstang wrote: Does the accountcode from a SIP user agent get passed to IAX when trunking a call from one asterisk box to another? The SIP caller id, extension etc do get passsed, so why not the account code? It's a standard field. Doing a 'iax2 debug' doesn't even show the accountcode field. Err, does accountcode get passed when terminating with SIP? I thought accountcode was only used for local call records. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IAX and Accountcode
- Original Message - From: Douglas Garstang [mailto:[EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion [mailto:[EMAIL PROTECTED] Sent: Tue, 01 Aug 2006 15:14:51 -0300 Subject: [asterisk-users] IAX and Accountcode Does the accountcode from a SIP user agent get passed to IAX when trunking a call from one asterisk box to another? The SIP caller id, extension etc do get passsed, so why not the account code? It's a standard field. Doing a 'iax2 debug' doesn't even show the accountcode field. caller id and extension are part of a regular phone call, need to know where it came from and where it's going. Those are part of every protocol. Good grief. IAX2 is really lacking in some areas. There's no way to pass variables between asterisk systems (might be something considered as a requirement for 'enterprise grade' and it doesn't look as if the accountcode (which is kinda important) gets passed through the IAX2 protocol either. IAX2 was designed to leverage the core capabilities of Asterisk and not take the same route that other protocols took by learning from their mistakes. There are just some things it wasn't designed to do 'nor does it claim to do. It wasn't made with the capability to transport accountcode or other arbitrary Asterisk specific information. Could it be added though? sure. Doug. Joshua Colp Digium ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] IAX and Accountcode
-Original Message- From: Joshua Colp [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 8:34 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] IAX and Accountcode - Original Message - From: Douglas Garstang [mailto:[EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion [mailto:[EMAIL PROTECTED] Sent: Tue, 01 Aug 2006 15:14:51 -0300 Subject: [asterisk-users] IAX and Accountcode Does the accountcode from a SIP user agent get passed to IAX when trunking a call from one asterisk box to another? The SIP caller id, extension etc do get passsed, so why not the account code? It's a standard field. Doing a 'iax2 debug' doesn't even show the accountcode field. caller id and extension are part of a regular phone call, need to know where it came from and where it's going. Those are part of every protocol. Good grief. IAX2 is really lacking in some areas. There's no way to pass variables between asterisk systems (might be something considered as a requirement for 'enterprise grade' and it doesn't look as if the accountcode (which is kinda important) gets passed through the IAX2 protocol either. IAX2 was designed to leverage the core capabilities of Asterisk and not take the same route that other protocols took by learning from their mistakes. There are just some things it wasn't designed to do 'nor does it claim to do. It wasn't made with the capability to transport accountcode or other arbitrary Asterisk specific information. Could it be added though? sure. What about this scenario? User A calls User B. User A and User B are registered on the same Asterisk system. User B does an attended transfer, and transfers the call to user C, who is registered on a different asterisk system. You set the accountcode to be user B's account code, as user B will be responsible and billed for this call leg. You then do a DUNDi lookup, and get an IAX path to user C on the second asterisk system. You dial user C. At this point, no account code was passed with IAX between the two Asterisk systems. How can user B be billed for the call??? Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] IAX and Accountcode
- Original Message - From: Douglas Garstang [mailto:[EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion [mailto:[EMAIL PROTECTED] Sent: Tue, 01 Aug 2006 17:08:15 -0300 Subject: RE: [asterisk-users] IAX and Accountcode What about this scenario? User A calls User B. User A and User B are registered on the same Asterisk system. User B does an attended transfer, and transfers the call to user C, who is registered on a different asterisk system. You set the accountcode to be user B's account code, as user B will be responsible and billed for this call leg. You then do a DUNDi lookup, and get an IAX path to user C on the second asterisk system. You dial user C. At this point, no account code was passed with IAX between the two Asterisk systems. How can user B be billed for the call??? I would think that user B would be billed on the originating system, not the system the call ended up at. Doug. Joshua Colp Digium ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IAX and Accountcode
On 1 Aug 2006, at 21:08, Douglas Garstang wrote: What about this scenario? User A calls User B. User A and User B are registered on the same Asterisk system. User B does an attended transfer, and transfers the call to user C, who is registered on a different asterisk system. You set the accountcode to be user B's account code, as user B will be responsible and billed for this call leg. You then do a DUNDi lookup, and get an IAX path to user C on the second asterisk system. You dial user C. At this point, no account code was passed with IAX between the two Asterisk systems. How can user B be billed for the call??? Consider a more common case: User A uses their local Asterisk (B) to call PSTN Number Z via a trunk to a provider gateway running asterisk (C). If Account code is settable remotely, we can't trust it for billing. User A inserts an account code into their IAX message, it travels through both IAX connections and messes up the billing in C ? That's why the account code isn't passed. Tim Panton www.mexuar.com ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] IAX and Accountcode
-Original Message- From: Joshua Colp [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 10:25 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] IAX and Accountcode - Original Message - From: Douglas Garstang [mailto:[EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion [mailto:[EMAIL PROTECTED] Sent: Tue, 01 Aug 2006 17:08:15 -0300 Subject: RE: [asterisk-users] IAX and Accountcode What about this scenario? User A calls User B. User A and User B are registered on the same Asterisk system. User B does an attended transfer, and transfers the call to user C, who is registered on a different asterisk system. You set the accountcode to be user B's account code, as user B will be responsible and billed for this call leg. You then do a DUNDi lookup, and get an IAX path to user C on the second asterisk system. You dial user C. At this point, no account code was passed with IAX between the two Asterisk systems. How can user B be billed for the call??? I would think that user B would be billed on the originating system, not the system the call ended up at. Who gets billed for the call path from user B on system A to user C on system B? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users