[asterisk-bugs] [Asterisk 0018406]: Setting linear queue strategy requires asterisk restart

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 7 11:52:00 CST 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18406 
====================================================================== 
Reported By:                vmikhnevych
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18406
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.14 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-01 06:15 CST
Last Modified:              2010-12-07 11:52 CST
====================================================================== 
Summary:                    Setting linear queue strategy requires asterisk
restart
Description: 
Currently (also in 1.8.0): "Changing to the linear strategy currently
requires asterisk to be restarted."

Though it can be proudly represented as a "feature, not a bug", I don't
think this behaviour is suitable for 24/7 systems where users can often
change their settings. In this case asterisk restart would hangup all
active calls, which is a BAD THING. (This part is more like a feature
request, and the bug goes below)

So, here goes the bug:
According to app_queue.c sources, this message occurs only for realtime.
And, actually, one can't see this message if queue strategy was changed in
queues.conf. 
But, after altering queues config file and invoking either "config reload
/etc/asterisk/queues.conf" or "queues reload all", members order in queue
is not the same as in .conf file, and incoming calls are routed to queue
members also in wrong order.
PS If used strategy is set to "linear" and asterisk is restarted, order of
members in queue and config file is the same, and the bug doesn't
reproduce. 

Of course, adding a message "Please, restart asterisk" for static
configuration reload wouldn't be a best solution. I'd prefer not to restart
asterisk at all.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-07 11:52 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list