Hey,
I hope you guys are able to help me solving my problem using a queue with agents (I’m a noob who just started using asterisk).
At the moment my code is the following:
extensions.conf:
exten => 999,1,Queue(support)
exten => 107,1,AgentLogin(007)
exten => 108,1,AgentLogin(008)
exten => 109,1,AgentLogin(009)
exten => 1007,1,system(asterisk -rx "agent logoff agent/007")
exten => 1008,1,system(asterisk -rx "agent logoff agent/008")
exten => 1009,1,system(asterisk -rx "agent logoff agent/009")
exten => 140,1,setLanguage(en)
exten => 140,n,Ringing
exten => 140,n,Wait(2)
exten => 140,n,Queue(Support)
exten => 140,n,Hangup
agents.conf
[agents](!)
autologoff=30
ackcall=no
musiconhold => agent
[007](agents)
fullname=Tim
[008](agents)
fullname=Tom
[009](agents)
fullname=Jack
and queues.conf
music=supportqueue
context=customerservice
strategy=ringall
joinempty=yes
leavewhenempty=yes
member => Agent/007
member => Agent/008
member => Agent/009
The problems about it are the following:
–> calling 999 does not send me into the queue. Nothing happens even though there are agents who are logged in(exten => 999,1,Queue(support) ; this is a stupid attempt I made).
–> 1007 does not log the agent off (exten => 1007,1,system(asterisk -rx “agent logoff agent/007”))
My OS: CentOS 6.6 - 32 Bit
Asterisk version: 13.2
Thank you for your help!!