[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
Mon Jun 2 12:09:37 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:              06-02-2008 12:09 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.

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

---------------------------------------------------------------------- 
 davidw - 06-02-08 12:09  
---------------------------------------------------------------------- 
The problem is the change history, not the change.  Someone reading the
change log is going to get confused, as that is the only real documentation
of the code.

(I don't like that paused can hide logged out, but I'm not sure that I can
argue that that is not what was intended.  I think the whole thing needs
much finer grained control, but that would be a feature request and off
charter here.) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-02-08 12:09  davidw         Note Added: 0087664                          
======================================================================




More information about the asterisk-bugs mailing list