[asterisk-users] Can asterisk record the duration of users putting on hold?

Xue Liangliang xueliangliang at gmail.com
Fri Apr 27 01:55:15 MST 2007


Hi, the holdtime in queue log entry is not what we want, that holdtime
only records the duration that caller stay in the queue before an
agent answers. However what we want is the duration that agent put the
customers on hold(i.e music on hold, for SIP, the device will send a
re-Invite as I attached last time),  actually I already find a way, in
sip.conf, there is a option callevents, set to yes, the hold and
unhold event will send to manager interface. In version 1.4, manager
interface can add a timestamp header for every event, that will help
to realize this report feature.

Regards,
Liangliang

On 4/27/07, Humberto Figuera <hfiguera at gmail.com> wrote:
> Hi Xue Liangliang,
>
> If you use queue's then look in queue_log
>
> http://www.voip-info.org/wiki/index.php?page=Asterisk+log+queue_log
>
> the COMPLETEAGENT and COMPLETECALLER events have this information.
>
> COMPLETEAGENT(holdtime|calltime|origposition)
> The caller was connected to an agent, and the call was terminated normally
> by the *agent*. The caller's hold time and the length of the call are both
> recorded. The caller's original position in the queue is recorded in
> origposition.
>
> COMPLETECALLER(holdtime|calltime|origposition)
> The caller was connected to an agent, and the call was terminated normally
> by the *caller*. The caller's hold time and the length of the call are both
> recorded. The caller's original position in the queue is recorded in
> origposition.
>
>
> --
> Humberto Figuera - Using Linux 2.6.20
> Usuario GNU/Linux 369709
> Caracas - Venezuela
> GPG Key Fingerprint = 5AAC DF0C 00F4 2834 28BA  37AD 3364 01D1 74CA 0603
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>


-- 
Regards!
Liangliang


More information about the asterisk-users mailing list