thank you

On Wed, May 18, 2016 at 5:48 PM, Faheem Muhammad <[email protected]>
wrote:

> Israel,
> You can calculate the time diff by this dialplan snippet.
>
>
> ---------------------------------------------------------------------------------------
> exten =
> _X.,1,Set(callstarttime=${STRFTIME(${EPOCH},,%Y%m%d)}${STRFTIME(${EPOCH},,%H%M%S)})
> exten => _X.,n,Queue(queue1,,,,)
> exten =
> _X.,n,Set(callendtime=${STRFTIME(${EPOCH},,%Y%m%d)}${STRFTIME(${EPOCH},,%H%M%S)})
> exten =_X.,n,Set(diff=$[${calltime1} -${calltime}])
> exten=_X.,n,NoOp(diff)
>
> ---------------------------------------------------------------------------------------------
>
> Regards,
> Muhammad
>
>
> On Wed, May 18, 2016 at 5:05 PM, Israel Gottlieb <[email protected]> wrote:
>
>> Hi all
>>
>> Is there anyway i could get in the dialplan  the amount of time a caller
>> waited in the queue before exiting?
>>
>> Thanks
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>                http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to