[asterisk-users] Best way to recording the hold time for a Queue agent or an extension

Bruce B bruceb444 at gmail.com
Wed Oct 20 02:30:28 CDT 2010


Hi Everyone,

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
appreciated.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101020/5fde0b83/attachment.htm 


More information about the asterisk-users mailing list