<div><br></div><div><br></div><div>If you need this from the moment that the agent connected you can measure the length of the leg that goes with the agent.<br></div><div><br></div><div>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())</div>
<div><br></div><div>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.<br></div>
<div><br></div><div>I hope this helps</div><div>l.</div><div><br></div><div><br></div><div><br></div><div class="gmail_quote">2009/9/27 Ex Vito <span dir="ltr"><<a href="mailto:ex.vitorino@gmail.com">ex.vitorino@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"> Identify the channel at the CLI and then get its details via<br></div>
core show channel <channel-spec>.<br>
<br>
Asterisk will gladly give you lots of details regarding that channel,<br>
including the "channel uptime".<br>
<br> </blockquote></div><br>-- <br>Loway - home of QueueMetrics - <a href="http://queuemetrics.com">http://queuemetrics.com</a><br><br>