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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 19 11:21:27 CDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
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-19 11:21 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 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-19 11:21 Samael28       New Issue                                    
2011-04-19 11:21 Samael28       Asterisk Version          => 1.4.40          
2011-04-19 11:21 Samael28       Regression                => No              
2011-04-19 11:21 Samael28       SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list