Hi!

> [fromcsr1]
> exten=> 800,1,AgentCallbackLogin(101|[EMAIL PROTECTED])
> exten=> 800,2,SetGlobalVar(GCSR1=on)
> exten=> 800,3,Hangup

> determine which path the caller takes. The part that doesn't work is in the
> [fromcsr] context. My SetGlobalVar(GCSR1=on) seems to have no effect,
> therefore, making my solution not work.
> 
> Does anyone have any ideas?

Unfortunately AgentCallbackLogin() _itself_ initiates the hangup, which 
means that any following priorities in your dialplan are useless. Besides 
your approach isn't yet perfect, what if an agent gets auto-logged out 
because he/she hasn't answered within the time limit?

Cheers, Philipp


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to