<div dir="ltr">Israel,<div>You can calculate the time diff by this dialplan snippet. </div><div><br></div><div>---------------------------------------------------------------------------------------</div><div><div>exten = _X.,1,Set(callstarttime=${STRFTIME(${EPOCH},,%Y%m%d)}${STRFTIME(${EPOCH},,%H%M%S)})</div><div>exten => _X.,n,Queue(queue1,,,,)</div><div>exten = _X.,n,Set(callendtime=${STRFTIME(${EPOCH},,%Y%m%d)}${STRFTIME(${EPOCH},,%H%M%S)})</div><div>exten =_X.,n,Set(diff=$[${calltime1} -${calltime}])</div><div>exten=_X.,n,NoOp(diff)</div></div><div>---------------------------------------------------------------------------------------------</div><div><br></div><div>Regards,</div><div>Muhammad</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 18, 2016 at 5:05 PM, Israel Gottlieb <span dir="ltr"><<a href="mailto:isrlgb@gmail.com" target="_blank">isrlgb@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all<div><br></div><div>Is there anyway i could get in the dialplan the amount of time a caller waited in the queue before exiting?</div><div><br></div><div>Thanks</div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>