# Keepstats not functioning

**URL:** <https://community.asterisk.org/t/keepstats-not-functioning/37222>\
**Category:** Asterisk Support\
**Created:** [October 31, 2011, 9:25pm UTC](https://community.asterisk.org/t/keepstats-not-functioning/37222 "2011-10-31T21:25:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [October 31, 2011, 9:25pm UTC](https://community.asterisk.org/t/keepstats-not-functioning/37222/1 "2011-10-31T21:25:26Z")

</div>

Asterisk version 1.8.5.0  
FreePBX version 2.9.0.7

We have a large deployment of about 300 users. In the past we have always used rmemory call distribution in the queue but now have need for “fewestcalls” distribution. The issue is that every time we apply settings in freepbx, the agent totals reset which obviously affects call distribution. We apply settings throughout the day hiring and firing and moving departments so we must find a way to keep this information until midnight when we run a “queue reset stats” via cron job. So ultimately we need the number of answered calls to not be reset per agent when apply settings is selected in FreePBX. It seems the queue total completed/abandoned statistics are keeping but the answered calls per agent are not. We have searched many sites and found no information on this which I find surprising.

Thanks,  
Mike

---

<div class="post-metadata">

**Author:** ![navaismo](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/navaismo/32/2481_2.png) [@navaismo](https://community.asterisk.org/u/navaismo)\
**Post date:** [October 31, 2011, 9:28pm UTC](https://community.asterisk.org/t/keepstats-not-functioning/37222/2 "2011-10-31T21:28:20Z")

</div>

Maybe if you use plain asterisk you can reload only the modules that you want, dialplan, sip or others instead using the whole freepbx reload.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [October 31, 2011, 10:15pm UTC](https://community.asterisk.org/t/keepstats-not-functioning/37222/3 "2011-10-31T22:15:49Z")

</div>

Unfortunately that is not an option as we have several non technical employees managing extensions. The FreePBX gui is heavily used and generally we have no issues. According to documentation, this is not how asterisk is supposed to function regardless of whether we use FreePBX or not. There is not supposed to be a reset of queue information unless queue reset stats is run.

---

<div class="post-metadata">

**Author:** ![navaismo](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/navaismo/32/2481_2.png) [@navaismo](https://community.asterisk.org/u/navaismo)\
**Post date:** [October 31, 2011, 10:22pm UTC](https://community.asterisk.org/t/keepstats-not-functioning/37222/4 "2011-10-31T22:22:16Z")

</div>

Do you tried with the latest version of asterisk?
