I’ve been reading and, if I got it right, there was this scenario:
- No “queue reset stats”. There was an option “keepstats=yes/no” on queue.conf, which sets if stats were going to be reset by reload.
But then, the option “keepstats” was removed because 1) New queue reset command and 2) Reload won’t reset stats. But the thing is, it does reset stats.
BTW, I’m using “queue reload all” because I found that after one reload, the next one won’t work if queues file hasn’t change. For example, I add one member to Queue1 and change policy on Queue2 and perform “queue reload members Queue1” and “queue reload parameters Queue2”, only first reload applies. I think this is caused by the use of the flag “CONFIG_FLAG_FILEUNCHANGED” on reload_queues(int reload, stuct ast_flags* mask const char* queuename), app_queue.c