[Home]

Summary:ASTERISK-20460: Queue show output is not in order
Reporter:Francesco Romano (francesco_r)Labels:
Date Opened:2012-09-21 11:07:25Date Closed:2012-09-21 11:17:43
Priority:MajorRegression?Yes
Status:Closed/CompleteComponents:Applications/app_queue
Versions:1.8.15.1 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Ubuntu Lucid 12.04 64Bit on Intel Server SR2600 with two octo-core Xeon E5520 CPUAttachments:( 0) queue_show.txt
( 1) queues.conf.txt
Description:We have upgraded from Asterisk 1.4.40 to Asterisk 1.8.15 but now the list of "queue show" is out of order.
In Asterisk 1.4.40 "queue show" with the same config produced the output in order.
In the attached file queues_show.txx you can see the problem. Attached also the queues.conf.
Thank you

Francesco
Comments:By: Joshua C. Colp (jcolp) 2012-09-21 11:17:43.131-0500

I'm afraid the order of queues from "queue show" has never been guaranteed. It was only due to the internal implementation that it returned in the order in the configuration file. This implementation was changed in Asterisk 1.8 to a hash table, which allows much faster lookup at the cost of not maintaining the order.

By: Mark Petersen (roadkill) 2012-09-25 09:31:16.473-0500

hmm do that mean that linar do no honer the config file, as the hash file do not maintaining the order


; linear - rings interfaces in the order specified in this configuration file.