Summary:ASTERISK-16485: call overlapping
Reporter:sparksupport (sparksupport)Labels:
Date Opened:2010-07-31 09:33:32Date Closed:2011-06-07 14:04:58
Versions:Frequency of
Description:Sometimes dynamic agent logged in the queue gets another call when he is already in one active call. The agent is using xlite softphone. Agent login into the queue dynamically using Addqueue command. Following is the dialplan used to login in an agent
include => macro-agent-add-custom
exten => s,1,Wait(1)
exten => s,n,Macro(user-callerid,SKIPTTL)
exten => s,n(a5),Set(CALLBACKNUM=${AMPUSER})
exten => s,n,ExecIf($["${CALLBACKNUM}" = ""],Set,CALLBACKNUM=${CALLERID(number)}
;exten => s,n,GotoIf($["${CALLBACKNUM}" = ""]?a3)
exten => s,n(a7),GotoIf($["${CALLBACKNUM}" = "${ARG1}"]?invalid)
exten => s,n,ExecIf($["${QREGEX}" != ""],GotoIf,$["${REGEX("${QREGEX}" ${CALLBAC
KNUM})}" = "0"]?invalid)
exten => s,n,ExecIf($["${ARG2}" != ""],Authenticate,${ARG2})
exten => s,n(a9),AddQueueMember(${ARG1},Local/${CALLBACKNUM}@from-internal/n)
exten => s,n,UserEvent(Agentlogin,Agent: ${CALLBACKNUM})
exten => s,n,Wait(1)
exten => s,n,Playback(agent-loginok&with&extension)
exten => s,n,SayDigits(${CALLBACKNUM})
exten => s,n,Hangup
exten => s,n,MacroExit()
exten => s,n(invalid),Playback(pbx-invalid)
exten => s,n,Goto(a3)
Also we have limited the call-limit of all extensions to 1, but sometimes agent gets another call when he is already in one active call. Please let me know how to resolve this issue.
Comments:By: Leif Madsen (lmadsen) 2010-07-31 09:46:51

This sounds like a support/configuration issue. I'd suggest you use the asterisk-users mailing list to triage this issue. Additionally you haven't provided any console output showing when this happens along with output of 'queue show' when it is happening. This sounds a lot like an issue with device state on your system.

By: Cristian Dimache (cristiandimache) 2010-08-02 01:43:11

Can this be related to 17358?

By: Paul Belanger (pabelanger) 2010-08-18 08:28:55

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.

Further information can be found at http://www.asterisk.org/developers/bug-guidelines