On 8/24/07, <b class="gmail_sendername">Marlon Dutra</b> <<a href="mailto:mfdutra@gmail.com">mfdutra@gmail.com</a>> wrote:<div><span class="gmail_quote"></span> <br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Every queue has some status counters (completed, abandoned, hold<br>time...) that are very useful for statistics. The problem is that those<br>counters are reset every time Asterisk restarts.<br><br>Is there a way to keep those counters, maybe in astdb? Also, is there a
<br>way to reset the counters through a cli command?</blockquote><div><br>Not sure about restarts, but trunk keeps them through reloads. How often are you restarting?<br><br>From <a href="http://svn.digium.com/view/asterisk/trunk/CHANGES?revision=79638&view=markup">
http://svn.digium.com/view/asterisk/trunk/CHANGES?revision=79638&view=markup</a>:<br><pre>Queue changes<br><span class="hl line"></span>-------------<br><span class="hl line"></span><span class="hl line"></span>* Added keepstats option to
queues.conf which will keep queue<br><span class="hl line"></span> statistics during a reload.<br><br>I don't think there's a command to reset the counters - would be a good (and relatively simple I think) patch to offer up before
1.6 gets closer to a release.<br><br></pre></div></div>-- <br>j.