[asterisk-users] Passing Variables with IAX

Douglas Garstang dgarstang at oneeighty.com
Mon Jul 17 13:33:54 MST 2006


> -----Original Message-----
> From: Matt Florell [mailto:astmattf at gmail.com]
> Sent: Monday, July 17, 2006 1:50 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Passing Variables with IAX
> 
> 
> We have had success with sending data in the dialstring. I know this
> isn't optimal at all, but it has worked flawlessly for us for the last
> two years.
> 
> We just send the data (star-delimited) in the dial string and parse it
> out in an AGI script on the other end where you can assign it to a
> variable if you like. Here's and example of one dial string we used
> today over IAX:
> 7275551212*TESTCAMP*12345*JOHN STEWART*CUSTOMER SERVICE*54321
> 
> You can use alpha-numeric and as long as you match by a wildcard and
> parse through an AGI on the other end it all works out well.
> 
> As for true and proper variables in IAX streams, that would be a very
> nice feature.
> 
> MATT---

Thanks for the reply Matt. It's good to know I'm not going crazy and someone else has tried to do this. I thought about passing the variables in one of the IAX arguments, but wasn't sure if it was the best way or not. Turns out it might be.

Doug.



More information about the asterisk-users mailing list