[asterisk-users] AGI Delimiter in 1.6

Jon Farmer jon at bctech.co.uk
Thu Sep 16 14:36:35 CDT 2010


> On 16 September 2010 19:50, Danny Nicholas <danny at debsinc.com> wrote:

> If you make the string into a dialplan Variable, you can do pretty much
> anything with it.  Let's say your dialplan is like this
>
> - exten => 1234,1,blah
> - exten => 1234,n,AGI(myagi.xx,"1234")
>
> Change line 2 to
> - exten => 1234,n,AGI(myagi.xx,${VARNAME})
>
> Then you just "do your magic" on ${VARNAME}


Yes, but the problem is I am trying to pass the whole AUTH line which
is key=value pairs seperated by commas. e.g. username=myusername,
domain=mydomain

This breaks when passing to an AGI in 1.6.



-- 
Jon Farmer
Tel 07795 118140



More information about the asterisk-users mailing list