The call keep going to agent until the agent drop the call

Home » Asterisk Users » The call keep going to agent until the agent drop the call
Asterisk Users No Comments

Hi All;

I am facing a problem that when the call send to the queue, it is sending to the agent while the agent already has a call!! And it keeps sending the calls until the agent hangup the call the first call, then the calls go to the next agent and so on. And while the agent is having the call, he can see the waited calls at his IP Phone, until he hangup the first call and the waited call answered, so the next calls go for the next agent (and the same scenario repeated). WHY?!! How I can resolve this? Because when the agent answered the call, then new call should goes to the next agent and not goes to the same agent and appeared on his IP Phone, while other agents are idle !! Note: all agents have the same penalty.

I tried to different combinations of settings for autofill and ringinuse without any success.

Another thing I need to notify, that it is configured on the IP Phone only one extension.

Below is my extensions.conf and queues.conf settings:

extensions.conf

[OrangeCMG]

include => Internal

exten => s,1,Set(MONITOR_FILENAME=${CHANNEL}${CALLERID(num)}${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)})
exten => s,2,Queue(OrangeCMG,t,,,300)
exten => s,3,Macro(voicemail,SIP/reception)
;

queues.conf

[OrangeCMG]

musicclass = default
announce = queue-markq
strategy = fewestcalls ; I also tried leastrecent
context = ExternalAgent
penaltymemberslimit = 5 ; I also tried penaltymemberslimit = 0
autofill = yes ; I also tried autofill = no
maxlen = 0
setinterfacevar=no ; I also tried setinterfacevar=yes
monitor-format = wav
monitor-type = MixMonitor
ringinuse = no ; I also tried ringinuse = yes

Regards
Bilal