[asterisk-users] IAX and Accountcode

Joshua Colp jcolp at digium.com
Tue Aug 1 07:33:36 MST 2006


----- Original Message -----
From: Douglas Garstang
[mailto:dgarstang at oneeighty.com]
To: Asterisk Users Mailing List -
Non-Commercial Discussion [mailto:asterisk-users at lists.digium.com]
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



More information about the asterisk-users mailing list