Bruce B
2010-Oct-20 07:30 UTC
[asterisk-users] Best way to recording the hold time for a Queue agent or an extension
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
Bruce B
2010-Oct-25 04:01 UTC
[asterisk-users] Best way to recording the hold time for a Queue agent or an extension
Anything on this guys? I am sure someone had the need to record the HOLD time or maybe it is already being recorded somewhere? Any thoughts are appreciated. Thanks, Bruce On Wed, Oct 20, 2010 at 3:30 AM, Bruce B <bruceb444 at gmail.com> wrote:> 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/20101025/6c391ab9/attachment.htm