[Asterisk-Users] Setting Variables

Moises Silva moises.silva at gmail.com
Tue May 10 18:11:35 MST 2005


at the moment i think is not possible. A workaround can be sending
local and remote iax to different context in iax.conf like this

[iaxremote]
blah...
context=remoteiax

[iaxlocal]
blah....
context=localiax

so in extensions.conf you can do

[localiax]
exten => s,1,SetVar(local=1)
blah...

[remoteiax]
exten => s,1,SetVar(local=0)
blah


Best Regards.

- moy

-- 
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"



More information about the asterisk-users mailing list