Summary:ASTERISK-12972: Queue stats are no longer reset by 'reload' or 'module reload app_queue.so'
Reporter:Nick Barnes (bcnit)Labels:
Date Opened:2008-10-27 05:52:17Date Closed:2010-06-23 10:57:50
Versions:Frequency of
Description:For some time (since 2003!), it has been possible to reset the queue statistics displayed with 'queue show' using either 'reload' or 'module reload app_queue.so'. After upgrading from 1.4.18 to 1.4.22, neither of these methods work.
Comments:By: Matthew Nicholson (mnicholson) 2008-11-19 16:34:29.000-0600

Should stats be reset on a reload, or do we need a new 'queue stats reset' command?  I believe the latter is better.

By: Tilghman Lesher (tilghman) 2008-11-19 16:37:07.000-0600

The command should probably be "queue reset stats" to comply with the standard syntax.

By: Leif Madsen (lmadsen) 2008-11-19 16:39:21.000-0600

I also think the command should only go into trunk, and the existing functionality put back into the 1.4 branch.

By: Leif Madsen (lmadsen) 2008-11-19 16:42:46.000-0600

Per putnopvut on IRC, there appears to be a branch that has the start of some queue reset commands. The branch is located here:


By: Mark Michelson (mmichelson) 2008-11-19 17:41:39.000-0600

It should be noted that the svn branch that blitzrage linked to is an effort to granulate various methods of reloading queues. The branch gives the ability to reload queues, members, stats, rules, or any combination therein. It may be a bit overkill for your needs here, to be honest.

Also, something else to keep in mind is that the branch linked above is to a branch based off of trunk, and this bug was reported against 1.4.22. No matter what ends up in trunk, it is a bug for behavior to change between releases of 1.4, so no matter what the right action is going forward, for 1.4, it is important to maintain behavior between releases.

By: Matthew Nicholson (mnicholson) 2008-11-20 16:28:49.000-0600

I was unable to reproduce this on asterisk 1.4.22.  My stats were reset when I did 'module reload app_queue.so'.  Can you post instructions for reproducing this?

By: Tilghman Lesher (tilghman) 2008-12-18 14:16:37.000-0600

Suspended, due to lack of response.

By: Raul Chiarella (Horseless) 2018-01-11 09:15:16.685-0600

Instead of doing 'queue reload all' do:

config reload /etc/asterisk/queues.conf