In the new NethVoice, the scheduled statistics reset configured for queues created with Visual Plan is not handled. A systemd unit could periodically identify queues requiring a reset and run the corresponding reset command.
Steps to reproduce
- Create a queue with Visual Plan.
- Enable the queue statistics reset job.
- Configure a reset schedule.
- Wait for the configured execution time.
- Check the queue statistics.
Expected behavior
A reset job is generated and executed according to the configured schedule, resetting the queue statistics.
Actual behavior
No reset job is generated or executed. Changing the schedule has no effect, and the statistics are reset only after restarting Asterisk.
In the previous NethVoice version, a cron job is generated for each queue:
59 23 * * * /var/lib/asterisk/bin/queue_reset_stats.php --id=608
See also
In the new NethVoice, the scheduled statistics reset configured for queues created with Visual Plan is not handled. A systemd unit could periodically identify queues requiring a reset and run the corresponding reset command.
Steps to reproduce
Expected behavior
A reset job is generated and executed according to the configured schedule, resetting the queue statistics.
Actual behavior
No reset job is generated or executed. Changing the schedule has no effect, and the statistics are reset only after restarting Asterisk.
In the previous NethVoice version, a cron job is generated for each queue:
See also