Displaying 6 results from an estimated 6 matches for "hangup_handler".
2017 Dec 27
3
Answered time on channel
...ed example, but is
> inspired by dialplan code I use in production. Maybe it will help.
>
> [outbound] ; this is called on the incoming (caller) channel
> exten => _X.,1,Noop
> same => n,Set(MASTER_CHANNEL(start_timestamp)=${STRFTIME(,,%s.%3q)})
> same => n,Set(CHANNEL(hangup_handler_push)=hangup_handler,s,1)
> same => n,Set(MASTER_CHANNEL(callid_ingress)=${SIPCALLID})
> same => n, *** unrelated dialplan, AGIs, etc. ***
> same => n,Dial(SIP/${EXTEN}@1.1.1.1,,U(answer_handler)b(pre_dial_
> handler^s^1)g
> same => n, *** dialplan for the caller when...
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}
2014 Mar 03
0
Asterisk 12.1.0 Now Available
...STERISK-23053 - The users of ao2_iterator_cleanup() are
violating the ao2_iterator opacity. (Reported by Richard
Mudgett)
* ASTERISK-22924 - PJSIP MESSAGE support does not present the
contact information on outbound messages (Reported by Anthony
Messina)
* ASTERISK-22884 - hangup_handler end with h extension: tests
currently fail in Asterisk 12 + (Reported by Matt Jordan)
* ASTERISK-23128 - res_ari: Memory leak on response headers and
some JSON response messages (Reported by Joshua Colp)
* ASTERISK-23081 - PJSip Tab Expansion erroring (Reported by
xrobau)
* AST...
2014 Mar 03
0
Asterisk 12.1.0 Now Available
...STERISK-23053 - The users of ao2_iterator_cleanup() are
violating the ao2_iterator opacity. (Reported by Richard
Mudgett)
* ASTERISK-22924 - PJSIP MESSAGE support does not present the
contact information on outbound messages (Reported by Anthony
Messina)
* ASTERISK-22884 - hangup_handler end with h extension: tests
currently fail in Asterisk 12 + (Reported by Matt Jordan)
* ASTERISK-23128 - res_ari: Memory leak on response headers and
some JSON response messages (Reported by Joshua Colp)
* ASTERISK-23081 - PJSip Tab Expansion erroring (Reported by
xrobau)
* AST...
2015 Oct 09
2
Storing HANGUPCAUSE in CDR
...upcause]
exten => 1,n,Set(CDR(hangupcause)=${HANGUPCAUSE})
exten => s,n,Return()
Before the dial a hangup handler is registered:
Set(CHANNEL(hangup_handler_push)=record-hangupcause,s,1)
The routine is called and the variables are being set,
however not on the channel's CDR which made the call. I
believe this is due to the CDR being closes as soon as the
dial returns....
2019 Dec 24
0
Certified Asterisk 16.3-cert1 Now Available
...<https://issues.asterisk.org/jira/browse/ASTERISK-25307>] -
Hangup on channel using FastAGI does not hang up child channels
(Reported by David Cunningham)
- [ASTERISK-25458
<https://issues.asterisk.org/jira/browse/ASTERISK-25458>] -
Unable to set CDR variable in h extension or hangup_handler
(Reported by Ross Beer)
- [ASTERISK-25137
<https://issues.asterisk.org/jira/browse/ASTERISK-25137>] -
endpoint stasis messages are delivered twice
(Reported by Vitezslav Novy)
- [ASTERISK-25116
<https://issues.asterisk.org/jira/browse/ASTERISK-25116>] -
res_pjsip: Two Pe...