[asterisk-bugs] [Asterisk 0019143]: Problems with joinempty and leavewhenempty.

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 20 06:01:21 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19143 
====================================================================== 
Reported By:                Samael28
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19143
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.40 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-04-19 11:21 CDT
Last Modified:              2011-04-20 06:01 CDT
====================================================================== 
Summary:                    Problems with joinempty and leavewhenempty.
Description: 
I have Queue Operators with such description:


[Operators]
strategy=rrmemory
timeout=10
retry=1
ringinuse = no
autofill=yes
joinempty=strict
leavewhenempty=strict
setinterfacevar=yes
monitor-format=wav
wrapuptime=60

It calls from dialplan via 

exten => <Pattern>,n,Queue(Operators,rtT,,,33)


Agents are dynamic and adds with AddQueueMember
Goal is to leave Queue, when it have no aviable to take call member. When
it empty, it works fine. When it have 1 or more agents (inuse, unaviavle,
invalid or even paused), callers still get in queue and stays for 33
seconds. Means there is no aviable agents in Queue, but leavewhenempty or
joinempty not work, like expected.

Sometime i got log strings like

app_queue.c:2275 wait_for_answer: No one is answering queue 'Operators'
(6/1/0)


Agents config is nearly this:

fullname =???
secret = ????
context = ?????
type = friend
host = dynamic
disallow = all
allow = alaw
call-limit = 3
callgroup=1
pickupgroup=1
limitonpeer=yes
callcounter=yes
canreinvite=no
t38pt_udptl = yes
dtmf=rfc2833 
====================================================================== 

---------------------------------------------------------------------- 
 (0133978) davidw (reporter) - 2011-04-20 06:01
 https://issues.asterisk.org/view.php?id=19143#c133978 
---------------------------------------------------------------------- 
The one I was thinking of was https://issues.asterisk.org/view.php?id=16319

The effective resolution was that, to get this ACD without queueing
behaviour, you need to upgrade to 1.6.2+, or do your own backport. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-20 06:01 davidw         Note Added: 0133978                          
======================================================================




More information about the asterisk-bugs mailing list