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.vitor...@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
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to