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/[EMAIL PROTECTED]/n,,D(#))
exten => _2XXX,1,AgentCallBackLogin(9${EXTEN:1}|'#')

Dial 8000 to login
Dial 8000 to logout


Kyle _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com 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