Displaying 2 results from an estimated 2 matches for "hangup_timestamp".
2017 Dec 27
3
Answered time on channel
...exten => s,1,Noop
> same => n,Set(MASTER_CHANNEL(answer_timestamp)=${STRFTIME(,,%s.%3q)})
> same => n,Return
>
>
> [hangup_handler] ; run on incoming (caller) channel, use to do final post
> call cleanup
> exten => s,1,Noop
> same => n,Set(MASTER_CHANNEL(hangup_timestamp)=${STRFTIME(,,%s.%3q)})
> same => n, ***post call cleanup AGIs, dialplan, etc. ***
> same => n,Return
>
>
>
> On 12/26/2017 03:28 PM, Dovid Bender wrote:
>
> Hi,
>
> I have a dial plan where I need to notify an external system when a call
> was answered an...
2017 Dec 26
4
Answered time on channel
Hi,
I have a dial plan where I need to notify an external system when a call
was answered and when the call hung up. In both requests the start time
needs to be the same. My Dialplan looks something like this:
[outbound]
Exten => _X.,1,Dial(SIP/${EXTEN}@1.1.1.1,,U(call-answer-from-carrier))
Exten => h,1,NoOp(ANSWERED_TIME: ${ANSWEREDTIME} >>> DIAL_TIME:
${DIALEDTIME}