[asterisk-bugs] [Asterisk 0017471]: [patch] "joinempty = ringing" doesn't work

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 16 14:22:49 CDT 2010


The following issue has been ASSIGNED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17471 
====================================================================== 
Reported By:                jazzy
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   17471
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Target Version:             1.6.2.11
Asterisk Version:           SVN 
JIRA:                       SWP-1709 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-06-05 06:28 CDT
Last Modified:              2010-07-16 14:22 CDT
====================================================================== 
Summary:                    [patch] "joinempty = ringing" doesn't work
Description: 
I want to prevent placing a call to a queue when all members are busy or
unavailable. A caller is placed to a queue despite "joinempty = ringing"
setting and the fact that the members' phone is already ringing.
Tested under Ubuntu 10.04 LTS with fresh install and asterisk 1.6.2.5 from
ubuntu packages.
Other settings of joinempty parameter work fine (unavailable, inuse).
Only few changes to the default configuration was made to reproduce this
bug:


In sip.conf:

callcounter = yes

[1001]
type=friend
secret=1001
host=dynamic

[1002]
type=friend
secret=1002
host=dynamic

[1003]
type=friend
secret=1003
host=dynamic


In extensions.conf inside default context:

exten => 1001,1,Dial(SIP/1001)
exten => 1002,1,Dial(SIP/1002)
exten => 1003,1,Dial(SIP/1003)
exten => 1004,1,Queue(operators)
exten => 1004,n,Hangup()


In queues.conf:

[operators]
joinempty = unavailable,inuse,ringing
member => SIP/1003


Then call from 1001 to 1003 and while it's ringing, call from 1002 to
1004. The call will be placed to the queue.
====================================================================== 

---------------------------------------------------------------------- 
 (0124643) svnbot (reporter) - 2010-07-16 14:22
 https://issues.asterisk.org/view.php?id=17471#c124643 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 277366

U   trunk/apps/app_queue.c

------------------------------------------------------------------------
r277366 | jpeeler | 2010-07-16 14:22:48 -0500 (Fri, 16 Jul 2010) | 7 lines

Add missing handling for ringing state for use with queue empty options.

(closes issue https://issues.asterisk.org/view.php?id=17471)
Reported by: jazzy
Patches: 
      app_queue.c.diff uploaded by jazzy (license 1056)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=277366 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-16 14:22 svnbot         Checkin                                      
2010-07-16 14:22 svnbot         Note Added: 0124643                          
2010-07-16 14:22 svnbot         Status                   ready for testing =>
assigned
======================================================================




More information about the asterisk-bugs mailing list