diff options
author | Richard Mudgett <rmudgett@digium.com> | 2011-05-03 19:22:29 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2011-05-03 19:22:29 +0000 |
commit | 810b9c887949fc4bd9f01dcdc0d3a4f476cb00de (patch) | |
tree | a77169329ee6e2e802cd540894a69e421e5fb5c3 /channels/sig_pri.c | |
parent | db72ee299a3e2ffc9e29651a036bc23b3bdc565c (diff) |
Merged revisions 316224 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r316224 | rmudgett | 2011-05-03 14:18:30 -0500 (Tue, 03 May 2011) | 16 lines
The dahdi_hangup() call does not clean up the channel fully.
After dahdi_hangup() has supposedly hungup an ISDN channel there is still
traffic on the S0-bus because the channel was not cleaned up fully.
Shuffled the hangup code to include some missing cleanup. Also fixed some
code formatting in the area. I think the primary missing clean up code
was the call to tone_zone_play_tone() to turn off any active tones on the
channel.
(closes issue #19188)
Reported by: jg1234
Patches:
issue19188_v1.8.patch uploaded by rmudgett (license 664)
Tested by: jg1234
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@316240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sig_pri.c')
-rw-r--r-- | channels/sig_pri.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/channels/sig_pri.c b/channels/sig_pri.c index c032bf2de..ad72f6993 100644 --- a/channels/sig_pri.c +++ b/channels/sig_pri.c @@ -7179,8 +7179,6 @@ int sig_pri_hangup(struct sig_pri_chan *p, struct ast_channel *ast) sig_pri_span_devstate_changed(p->pri); pri_rel(p->pri); - - ast->tech_pvt = NULL; return 0; } |