[asterisk-users] Know for how long an agent is talking?

Lenz Emilitri lenz.loway at gmail.com
Mon Sep 28 03:36:36 CDT 2009


If you need this from the moment that the agent connected you can measure
the length of the leg that goes with the agent.

If you need to measure this from the moment the call was answered, you can
measure the length of the 'main' cal of the leg (the one that called the
command queue())

If you need to measure the length since the call was queued, you should set
the current timestamp as a channel variable before calling queue() and then
retrieve it to mesure the current time.

I hope this helps
l.



2009/9/27 Ex Vito <ex.vitorino at gmail.com>

>  Identify the channel at the CLI and then get its details via
>  core show channel <channel-spec>.
>
>  Asterisk will gladly give you lots of details regarding that channel,
>  including the "channel uptime".
>
>


-- 
Loway - home of QueueMetrics - http://queuemetrics.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090928/91547ed8/attachment.htm 


More information about the asterisk-users mailing list