search for: hangup_time

Displaying 4 results from an estimated 4 matches for "hangup_time".

2017 Dec 26
4
Answered time on channel
...e 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} >>> HANGUP_TIME: ${EPOCH} >>> ANSWERED TIME ${MATH(${EPOCH}-${ANSWEREDTIME},int)}) [call-answer-from-carrier] Exten => s,1,Noop(CALL WAS ANSWERED AT ${EPOCH} Exten => s,n,Agi(some_script.py) Now in theory the hangup time of the call (${EPOCH} in the h extension) minus the answered time should be t...
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 answer...
2006 Apr 06
0
Dial out on Zap
...Everyone is busy/congested at this time (1:0/0/1) -- Executing Congestion("Zap/1-1", "") in new stack -- Channel 0/1, span 1 got hangup request == Spawn extension (voice, 999, 102) exited non-zero on 'Zap/1-1' -- Executing SetVar("Zap/1-1", "HANGUP_TIME=1144314509") in new stack -- Executing NoOp("Zap/1-1", "16") in new stack -- Hungup 'Zap/1-1' I'm a bit confused what I did wrong. Do I need a second line or something?? Pim
2006 Apr 06
0
AW: Dial out on Zap
...Everyone is busy/congested at this time (1:0/0/1) -- Executing Congestion("Zap/1-1", "") in new stack -- Channel 0/1, span 1 got hangup request == Spawn extension (voice, 999, 102) exited non-zero on 'Zap/1-1' -- Executing SetVar("Zap/1-1", "HANGUP_TIME=1144314509") in new stack -- Executing NoOp("Zap/1-1", "16") in new stack -- Hungup 'Zap/1-1' I'm a bit confused what I did wrong. Do I need a second line or something?? Pim _______________________________________________ --Bandwidth and Colocation p...