Files
asterisk/channels
Frederic LE FOLL c6b17b5212 chan_dahdi: set CHANNEL(hangupsource) when a PRI channel hangs up
When the remote ISDN party ends an ISDN call on a PRI link
(DISCONNECT), CHANNEL(hangupsource) information is not available.

chan_dahdi already contains an ast_set_hangupsource() in
__dahdi_exception() function but it seems that ISDN message processing
does not use this part of code.

Two other channel modules associate ast_queue_hangup() and
ast_set_hangupsource() functions calls:
- chan_pjsip in chan_pjsip_session_end() function,
- chan_sip in sip_queue_hangup_cause() function.
chan_iax2 separates them, in iax2_queue_hangup()/iax2_destroy() and
set_hangup_source_and_cause().

Thus, I propose to add ast_set_hangupsource() beside
ast_queue_hangup() in sig_pri_queue_hangup(), like chan_pjsip and
chan_sip already do.

ASTERISK-28525

Change-Id: I0f588a4bcf15ccd0648fd69830d1b801c3f21b7c
2019-09-05 20:20:15 +02:00
..
2016-10-27 09:53:55 -04:00
2018-05-11 09:48:58 -04:00
2019-05-10 10:17:27 -06:00
2019-07-22 20:45:03 +03:00
2019-05-23 08:49:11 -06:00
2016-10-27 09:53:55 -04:00
2019-06-17 12:58:40 -06:00
2017-09-25 07:32:14 -05:00