]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_dahdi/sig_pri: Make post AMI HangupRequest events on PRI channels. 72/172/1
authorRichard Mudgett <rmudgett@digium.com>
Mon, 20 Apr 2015 23:00:34 +0000 (18:00 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 21 Apr 2015 00:06:48 +0000 (19:06 -0500)
commitd08446ec36600348090eb2451c5a9a7aadd633de
tree32c5777b858f2c2f915d040c2a2e09bb35022a54
parent96e18453f4e14612737c84301fc442ffc53eec46
chan_dahdi/sig_pri: Make post AMI HangupRequest events on PRI channels.

The chan_dahdi channel driver is a very old driver.  The ability for it to
support ISDN was added well after the initial analog support.  Setting the
softhangup flags is a carry over from the original analog code.  The
driver was not updated to call ast_queue_hangup() which will post the AMI
HangupRequest event.

* Changed sig_pri.c to call ast_queue_hangup() instead of setting the
softhangup flag when the remote party initiates a hangup.

ASTERISK-24895 #close
Reported by: Andrew Zherdin

Change-Id: I5fe2e48556507785fd8ab8e1c960683fd5d20325
channels/sig_pri.c