[asterisk-bugs] [Asterisk 0012451]: join empty categories are not the same as leavewhenempty ones, joinempty probably wrong

noreply at bugs.digium.com noreply at bugs.digium.com
Fri May 30 19:25:03 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12451 
====================================================================== 
Reported By:                davidw
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   12451
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 114060 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-15-2008 11:14 CDT
Last Modified:              05-30-2008 19:25 CDT
====================================================================== 
Summary:                    join empty categories are not the same as
leavewhenempty ones, joinempty probably wrong
Description: 
Once one accounts for joinempty and leavewhenempty sort of having opposite
logical senses, one cannot match the effects of the values of these two
variables one for one.

joinempty = no matches leavewhenempty = yes

joinempty = yes matches leavewhenempty = no

However, joinempty = strict drops only for QUEUE_NO_REACHABLE_MEMBERS,
but

leavewhenempty = strict drops for both QUEUE_NO_MEMBERS and
QUEUE_NO_REACHABLE_MEMBERS.

====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 05-30-08 19:25  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 119466

_U  team/seanbright/resolve-shadow-warnings/

------------------------------------------------------------------------
r119466 | seanbright | 2008-05-30 19:25:00 -0500 (Fri, 30 May 2008) | 28
lines

Merged revisions 119419,119423 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r119419 | tilghman | 2008-05-30 17:23:14 -0400 (Fri, 30 May 2008) | 14
lines

Merged revisions 119404 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119404 | tilghman | 2008-05-30 16:17:45 -0500 (Fri, 30 May 2008) | 6
lines

When joinempty=strict, it only failed on join if there were busy members. 
If
all members were logged out OR paused, then it (incorrectly) let callers
join
the queue.
(closes issue http://bugs.digium.com/view.php?id=12451)
 Reported by: davidw

........

................
r119423 | russell | 2008-05-30 17:51:17 -0400 (Fri, 30 May 2008) | 3 lines

Fix a minor merge issue that caused a function to not get compiled in with
DEBUG_THREADS like it was supposed to

................

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-30-08 19:25  svnbot         Checkin                                      
05-30-08 19:25  svnbot         Note Added: 0087597                          
======================================================================




More information about the asterisk-bugs mailing list