Files
asterisk/channels
Frederic LE FOLL 2b563368df 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-10 10:58:18 -05:00
..
2018-05-11 09:58:19 -04:00
2019-05-10 10:19:50 -06:00
2019-07-23 14:27:43 -05:00
2019-05-23 16:44:07 +02:00
2018-06-21 04:17:51 -06:00
2018-05-11 09:58:19 -04:00
2019-06-17 12:51:55 -06:00
2017-09-25 06:25:06 -06:00