Best way to recording the hold time for a Queue agent or an extension

Home » Asterisk Users » Best way to recording the hold time for a Queue agent or an extension
Asterisk Users No Comments

I would probably do this through the AMI, it should spew out the info
you require. Timestamp when they entered the queue and timestamp when
they get answered.

On 10/25/2010 05:01 AM, Bruce B wrote:
> 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 > > 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
>
>