[asterisk-users] agent autologoff
Artifex Maximus
artifexor at gmail.com
Thu Aug 31 10:11:44 MST 2006
Hello,
I found commands AddQueueMember and RemoveQueueMember so no need for
agent id and password. You just dial the extension and your extension
are in the game. Nice.
;Agent Login
exten => 450,1,Noop
exten => 450,n,AddQueueMember(q1)
exten => 450,n,AddQueueMember(q2)
exten => 450,n,Wait(1)
exten => 450,n,Playback(agent-loginok)
exten => 450,n,Wait(1)
exten => 450,n,Hangup
;Agent Logout
exten => 451,1,Noop
exten => 451,n,RemoveQueueMember(q1)
exten => 451,n,RemoveQueueMember(q2)
exten => 451,n,Wait(1)
exten => 451,n,Playback(agent-loggedoff)
exten => 451,n,Wait(1)
exten => 451,n,Hangup
But now looks like queues doesn't have automatic logout feature only
agents. Means agents added by AddQueueMember must be removed by
RemoveQueueMember. Is there any solution for automatic logout or I
must have to use AgentCallbackLogin? Is there any function for
checking that I'm in a specified queue?
bye,
Zsolt
More information about the asterisk-users
mailing list