[asterisk-bugs] [Asterisk 0017773]: call overlapping

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Jul 31 09:33:32 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17773 
====================================================================== 
Reported By:                sparksupport
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17773
Category:                   General
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.33.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-07-31 09:33 CDT
Last Modified:              2010-07-31 09:33 CDT
====================================================================== 
Summary:                    call overlapping
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
-----------------------
[macro-agent-add]
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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-31 09:33 sparksupport   New Issue                                    
2010-07-31 09:33 sparksupport   Asterisk Version          => 1.4.33.1        
2010-07-31 09:33 sparksupport   Regression                => No              
2010-07-31 09:33 sparksupport   SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list