[asterisk-bugs] [Asterisk 0019373]: Asterisk do not respect order of queue members

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 26 15:01:29 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19373 
====================================================================== 
Reported By:                ddv2005
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19373
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.18 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-05-26 14:57 CDT
Last Modified:              2011-05-26 15:01 CDT
====================================================================== 
Summary:                    Asterisk do not respect order of queue members
Description: 
Asterisk do not respect order of queue members. app_queue use the ao2 list
to store members list, but ao2 re-order all items because it use hash
functions to store data. And any enumeration of the members depends on its
hash function instead of how it was added.
====================================================================== 

---------------------------------------------------------------------- 
 (0135449) ddv2005 (reporter) - 2011-05-26 15:01
 https://issues.asterisk.org/view.php?id=19373#c135449 
---------------------------------------------------------------------- 
I found that for QUEUE_STRATEGY_LINEAR strategy it use only single bucket
to respect the order but QUEUE_STRATEGY_RRMEMORY depends on order too 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-26 15:01 ddv2005        Note Added: 0135449                          
======================================================================




More information about the asterisk-bugs mailing list