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

Humberto Figuera hfiguera at gmail.com
Thu Apr 26 12:18:29 MST 2007


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


More information about the asterisk-users mailing list