We are using Queuemetrics but it doesn’t Record the Hold Time as it’s never
logged on the queue_log file. However, when an agent or an extension presses
HOLD button on their phone, asterisk does create an event for Music On Hold
which is logged in the /var/log/asterisk/full.
I want to record the total hold time for an extension and save it with an
epoch time stamp.
What is the best approach to this? read and parse /var/log/asterisk/full in
a cron job every few seconds?
Have a presistent PHP-AGI connection to check for hold time events?
As much detail as possible on above approaches or other ideas are most