[asterisk-dev] 'IAX2 call variable passing between servers '

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jul 29 04:59:51 MST 2006


On Sat, Jul 29, 2006 at 09:19:28AM +0100, Tim Panton wrote:

> When I said we could use url style values in the dial plan, I was  
> thinking of having it work like this:
> 
> dial(IAX2/mexuar/3?customer="JoeBob")
> 
> Asterisk would strip ?customer="JoeBob" from the dial string before  
> sending it.
> It would then add an (optional) InfoElement to the NEW frame with the  
> variable name and value in it
> 
> The receiving IAX would either ignore the extra InfoElement, or if it  
> supported it, it would
> check to see if the variable existed, if not, create it and assign  
> the value.
> (pre existing asterisks will ignore IEs they don't understand)

One side point: would you really want to allow a remote server to
override any local variable you have? Shouldn't there be a separate
namespace (e.g: prefix) for variables that could be supplied by the 
remote party?

-- 
Tzafrir Cohen         sip:tzafrir at local.xorcom.com
icq#16849755          iax:tzafrir at local.xorcom.com
+972-50-7952406          jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com     http://www.xorcom.com



More information about the asterisk-dev mailing list