[asterisk-bugs] [Asterisk 0010320]: 1.4.9 changes to app_queue breaks 'joinempty=yes'

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jul 31 09:23:31 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10320 
====================================================================== 
Reported By:                jfitzgibbon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10320
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.9  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-27-2007 07:04 CDT
Last Modified:              07-31-2007 09:23 CDT
====================================================================== 
Summary:                    1.4.9 changes to app_queue breaks 'joinempty=yes'
Description: 
1.4.9 introduced changes to app_queue that change the logic associated with
exiting the queue due to a timeout.

The 1.4.8 logic would only ever be executed if the 'n' option was passed
to Queue(), as designed.

The 1.4.9 logic can be executed in the absence of the 'n' option if the
queue is empty.  The net effect is that a queue configured as
'joinempty=yes' with no members in it cannot be enqueued to in 1.4.9 -
calls will immediately be kicked back to the dialplan.  Depending on how
the dialplan was built, this could result in calls being unceremoniously
hung up if there are no further steps in the extension that called Queue()
====================================================================== 

---------------------------------------------------------------------- 
 blitzrage - 07-31-07 09:23  
---------------------------------------------------------------------- 
I tried testing this, and I can't get callers to stay in the Queue() with
or without the patch either. Here is my debug output:

    -- Executing [new at sub-queues:12] Queue("SIP/ss1tampa-09970bf0",
"xfertest_CQ_40||||300") in new stack
[Jul 31 10:38:38] DEBUG[7181]: app_queue.c:1185 join_queue: Retrieved
queue "xfertest_CQ_40" with 0 members
    -- Started music on hold, class 'default', on SIP/ss1tampa-09970bf0
[Jul 31 10:38:38] DEBUG[7181]: app_queue.c:3451 queue_exec: About to try
calling member, go_on is 0 and membercount is 0
[Jul 31 10:38:38] DEBUG[7181]: app_queue.c:1903 wait_for_answer: Everyone
is busy at this time
[Jul 31 10:38:38] DEBUG[7181]: app_queue.c:3453 queue_exec: Tried calling
member, go_on is -1 and membercount is 0 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-31-07 09:23  blitzrage      Note Added: 0068112                          
======================================================================




More information about the asterisk-bugs mailing list