[Asterisk-Users] Setting Variables

Daniel Salama dsalama at user.net
Tue May 10 19:30:04 MST 2005


This is a good solution. However, I have a regarding this approach:

Does this mean that ANY incoming directed to that agent will fall  
into that context? I have calls coming into the system and being put  
in a Queue. When the agent is available, the call will be de-queued  
to the agent. When is the context used in extensions.conf? By the  
time the call is going to be directed to the agent, the call is  
already in the system and has gone through several contexts and  
queued by AppQueue.

Thanks,
Daniel

On May 10, 2005, at 9:11 PM, Moises Silva wrote:

> 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"
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list