]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_dahdi/sig_pri: Make post AMI HangupRequest events on PRI channels. 71/171/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:00:59 +0000 (19:00 -0500)
commite4b956b1860c85cd47e86478e536405b356baa8a
tree904db31bac2a975af58544d0d9043b75fd2f0a43
parent4384136c467f7f10970a30f1f0bc39f317bbf0d8
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