[asterisk-bugs] [Asterisk 0019188]: [patch] dahdi_hangup() doesnt clean up / hang up the channel correctly/fully

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 3 14:18:33 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19188 
====================================================================== 
Reported By:                jg1234
Assigned To:                rmudgett
====================================================================== 
Project:                    Asterisk
Issue ID:                   19188
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 315724 
Request Review:              
====================================================================== 
Date Submitted:             2011-04-27 07:27 CDT
Last Modified:              2011-05-03 14:18 CDT
====================================================================== 
Summary:                    [patch] dahdi_hangup() doesnt clean up / hang up the
channel correctly/fully
Description: 
after dahdi_hangup() has supposedly hungup a isdn/pri channel there is
still traffic on the S0-bus because the channel wasnt cleaned up fully

====================================================================== 

---------------------------------------------------------------------- 
 (0134362) svnbot (reporter) - 2011-05-03 14:18
 https://issues.asterisk.org/view.php?id=19188#c134362 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 316224

U   branches/1.8/channels/chan_dahdi.c
U   branches/1.8/channels/sig_analog.c
U   branches/1.8/channels/sig_pri.c

------------------------------------------------------------------------
r316224 | rmudgett | 2011-05-03 14:18:32 -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 https://issues.asterisk.org/view.php?id=19188)
Reported by: jg1234
Patches:
      issue19188_v1.8.patch uploaded by rmudgett (license 664)
Tested by: jg1234

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=316224 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-03 14:18 svnbot         Checkin                                      
2011-05-03 14:18 svnbot         Note Added: 0134362                          
======================================================================




More information about the asterisk-bugs mailing list