[Asterisk-Users] Agent Login/Logout
Kyle Hagan
info at quadrasoftware.com
Tue May 17 16:37:00 MST 2005
>
> Question is: how do they log out? I haven't been able to find a
> Logout command for the dial plan. Did I miss something?
Do the same as when you log in but when it asks for the extension press #.
OR
---queues.conf
member => Agent/9001
member => Agent/9002
---agents.conf
agent => 9001,,tsr9001
agent => 9002,,tsr9002
---sip.conf
[tsr001]
context=rca
type=friend
callerid=<001>
host=dynamic
dtmfmode=rfc2833
qualify=yes
[tsr002]
context=rca
type=friend
callerid=<002>
host=dynamic
dtmfmode=rfc2833
qualify=yes
---extensions.conf
;agent login
exten => 8000,1,AgentCallBackLogin(9${CALLERIDNUM}|9${CALLERIDNUM})
;agent logout
exten => 8001,1,Dial(Local/2${CALLERIDNUM}@rca/n,,D(#))
exten => _2XXX,1,AgentCallBackLogin(9${EXTEN:1}|'#')
Dial 8000 to login
Dial 8000 to logout
Kyle
More information about the asterisk-users
mailing list