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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 26 07:30:46 CDT 2011


The following issue has been CLOSED 
====================================================================== 
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:                     closed
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:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-04-19 11:21 CDT
Last Modified:              2011-04-26 07:30 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 
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0016319 [patch] When using 'joinempty=strict', ...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-26 07:30 lmadsen        Status                   new => closed       
======================================================================




More information about the asterisk-bugs mailing list