[Asterisk-Users] Queue/Agents

Kresimir Petrovic omadon at globalnet.hr
Wed Sep 28 11:18:28 MST 2005


On Wed, Sep 28, 2005 at 01:02:31PM +0200, Mark Elkins wrote:
> On Mon, 2005-08-01 at 18:31 -0400, Joseph wrote:
> > Hall, Eric M. wrote:
> > > Looking for a good web app that will show agents that are login to
> > > queue. I tried the operator panel but I'm unable to get the LED to
> > > change color per the doco I have.. It works well for everything else but
> > > no luck on the agent part..

oTry adding this to your dialplan
exten => 1000,1,Answer
exten => 1000,2,AddQueueMember(myqueue|SIP/${CALLERIDNUM})
exten => 1000,3,UserEvent(Agentlogin|Agent: ${CALLERIDNUM})
exten => 1000,4,Playback(agent-logged)
exten => 1000,5,Hangup

exten => 1001,1,Anser
exten => 1001,2,RemoveQueueMember(myqueue|SIP/${CALLERIDNUM})
exten => 1001,3,UserEvent(RefreshQueue)
exten => 1001,4,Playback(agent-loggedoff)
exten => 1001,5,Hangup




More information about the asterisk-users mailing list