[Asterisk-Users] Queue and Agent functionality

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Sat Sep 25 15:02:45 MST 2004


Hi!

> [fromcsr1]
> exten=> 800,1,AgentCallbackLogin(101|101 at dispatchlogin)
> 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





More information about the asterisk-users mailing list