[Asterisk-Users] Clearing Queue Stats?

James Sizemore james at deny.org
Sun Nov 9 18:35:28 MST 2003


Just a note, there is a bug with queue stats  when you "reload" 
Asterisk  dynamic
users will not reset to 0 calls but as Troy suggested default queue 
members will.

Meaning that if you stay in your set and take calls all day and the guy next
to you removes himself from the queue to go smoke, when he logs back in
his queue answered calls will not reset when "reload" is run and yours 
would.
With some ring strategies  this may really bit. <smile>  I use 
"ringall"  for all
my queues so this does not effect me.  If this effect you you may want to
open a bug ticket on it.

Another thing I noticed with queues that may be a bug, is that when a 
dynamic
user logs out and then logs back in he loses his number of answered calls. 

I guess the real fix would be to make it so all queue members dynamic and
default never lose there number of answered calls even if they log out and
then back in from the same number. Also a reload really should not clear the
queue answered calls but a new command "clear queue" should.  <smile>

By the way none of this queue clearing stuff has anything to do with Troys
patch which works really well!  <big smile>

David C. Troy wrote:

>If you do an asterisk -rx reload from a cron job daily it will clear the
>stats nondestructively.
>
>You might check out my queue patch which adds several features (queue
>position/holdtime announcement, timeout) as well as abandoned/completed
>call counters:
>
>http://bugs.digium.com/bug_view_page.php?bug_id=0000214
>http://bugs.digium.com/file_download.php?file_id=304&type=bug
>
>Dave
>
>=====================================================================
>David C. Troy   [dave at toad.net]                   410-384-2500 Sales
>ToadNet - Want to go fast?                        410-544-1329 FAX
>570 Ritchie Highway, Severna Park, MD 21146-2925  www.toad.net
>
>On Sun, 2 Nov 2003, Ken Godee wrote:
>
>  
>
>>Is there a way to clear the Queue stats?
>>That is with out restarting *?
>>
>>I'd like to reset them daily and don't see a way
>>to do that.
>>Unless the only way is maybe a cron restart asterisk
>>like every weekday @ 04:00?
>>
>>_______________________________________________
>>Asterisk-Users mailing list
>>Asterisk-Users at lists.digium.com
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>    
>>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>  
>





More information about the asterisk-users mailing list