How Is Queue Avg Holdtime And Avg Talktime Calculated

Home » Asterisk Users » How Is Queue Avg Holdtime And Avg Talktime Calculated
Asterisk Users 2 Comments

Hi Israel

If you are referring to the output of the queue show command then this is the response I received when asking this question previously:

“Welcome to business logic embedded into app_queue. The issue with the queue show command rendering stats, is what timeframe are the stats aggregated over? IIRC, the calculations are using a moving average[1].

[1] http://en.wikipedia.org/wiki/Moving_average”

If you want to find an average over a fixed period of time, your best bet is analysing the queue log. We had to do this ourselves when implementing a Dashboard with figures for the day.

We found the figures outputted by the queue show command to be misleading.

Regards

Ish

2 thoughts on - How Is Queue Avg Holdtime And Avg Talktime Calculated