Discussion:
[Asterisk-Users] Agent Login/Logout
Waldo Rubinstein
2005-05-17 23:20:22 UTC
Permalink
This may be a stupid question, but I couldn't find anything on the
wiki about it or on google.

I have about 5 agents in my call center. I want them to login using
agentcallbacklogin. The reason being is that I don't get so many
inbound calls. We mostly make outbound calls. Therefore, during the
times where we don't get calls, I want my agents to manually dial
out. When calls come in, they will be distributed to the agents in a
ringall strategy.

I'm able to login as an agent. Agentcallbacklogin prompts me for the
extension to reach me back at. I enter it and everything works fine.
Now, at the end of their shift, I want the agents to log out.

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?

Thanks
Waldo
Kyle Hagan
2005-05-17 23:37:00 UTC
Permalink
Post by Waldo Rubinstein
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
Waldo Rubinstein
2005-05-17 23:46:19 UTC
Permalink
Thank you. I'll give this a shot.

- Waldo
Post by Kyle Hagan
Post by Waldo Rubinstein
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 => _2XXX,1,AgentCallBackLogin(9${EXTEN:1}|'#')
Dial 8000 to login
Dial 8000 to logout
Kyle
_______________________________________________
Asterisk-Users mailing list
http://lists.digium.com/mailman/listinfo/asterisk-users
http://lists.digium.com/mailman/listinfo/asterisk-users
Continue reading on narkive:
Loading...