chan_dahdi/sig_pri: Make post AMI HangupRequest events on PRI channels.
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:07:57 +0000 (19:07 -0500)
commit614f5066905fa5efb7cfce9dfa397640808c4dd2
tree2331f7adac0ae4c9cf6ab383e390df18b9308c1f
parentb1deedf0dc25537bd6a714f075f609e4261a4f0f
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