[asterisk-dev] IAXVAR on SVN and/or stable releases ?

Eric "ManxPower" Wieling eric at fnords.org
Thu Nov 1 09:10:00 CDT 2007


Depending how much data you need to transport, you could overload 
CALLERID or EXTEN.  CALLERID is max 13 chars, I believe.  EXTEN can be 
much longer, but is still limited to less than 80 chars.  I had to do 
something similar in 1.0.x when I needed to pass variables between .call 
file calls and the Dialplan.

Server A:
   exten => 666,1,Dial(IAX2/serverb/666^723634^1)

Server B:
   exten => _XXX^XXXXXX^[0-1],1,Set(ACCOUNT=${CUT(EXTEN,^,2)})
   exten => _XXX^XXXXXX^[0-1],n,Set(GOOD_STANDING=${CUT(EXTEN,^,3)})
   exten => _XXX^XXXXXX^[0-1],n,Goto(${CUT(EXTEN,^,3)},1)

Sean Bright wrote:
> Or run the trunk version in production.  You could also find someone
> willing to backport IAXVAR to 1.4.
> 
> On 11/1/07, Andrew Smith <andrews at meadeplc.com> wrote:
>>
>> Sorry I am probably
>> incorrectly referring to this as the 'svn' version - we are
>> currently using the 1.4 branch of Asterisk as checked out by
>>
>> svn checkout
>> http://svn.digium.com/svn/asterisk/branches/1.4
>> asterisk-svn-1.4
>>
>> IAXVAR is not present in this branch.
>>
>> So I take it my choices are to either move to TRUNK, or wait until 1.6 is
>> released ?



More information about the asterisk-dev mailing list