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

Douglas Garstang dgarstang at oneeighty.com
Thu Aug 3 09:19:37 MST 2006


> -----Original Message-----
> From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net]
> Sent: Monday, July 31, 2006 12:03 PM
> To: Asterisk Developers Mailing List
> Subject: Re: [asterisk-dev] 'IAX2 call variable passing 
> between servers
> '
> 
> 
> > On 7/29/06, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
> >
> > 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?
> >
> > Why would you implement it like that, as opposed to having an  
> > IAX2_VAR function, so you could do
> > exten => 1234,1,NoOp(${IAX2_VAR(some_var)})
> >
> > The same way you have SIP_HEADER, CDR, and CALLERID?
> 
> I second that. That is indeed a clean shot.

I'm a little confused about something. If IAX2 doesn't support passing variables like the accountcode for example, between Asterisk servers, why do all the examples have it defined in iax.conf? If the protocol doesn't support it, then why have it set for an IAX user agent?

Doug.



More information about the asterisk-dev mailing list