[asterisk-bugs] [Asterisk 0019116]: [patch] Crash while transfering a call during DTMF feature timeout.

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 26 08:04:21 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19116 
====================================================================== 
Reported By:                Irontec
Assigned To:                rmudgett
====================================================================== 
Project:                    Asterisk
Issue ID:                   19116
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           1.8.3.2 
JIRA:                       SWP-3332 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-04-13 12:03 CDT
Last Modified:              2011-05-26 08:04 CDT
====================================================================== 
Summary:                    [patch] Crash while transfering a call during DTMF
feature timeout.
Description: 
When a call is being attended transfered during the time between 
AST_FRAME_DTMF_BEGIN and AST_FRAME_DTMF_END, transfered channel becomes
zombie (so tech data is not available), making ast_dtmf_stream segfault
when tries to send the DTMF digit (at least with SIP channels). 



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

---------------------------------------------------------------------- 
 (0135430) svnbot (reporter) - 2011-05-26 08:04
 https://issues.asterisk.org/view.php?id=19116#c135430 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 320820

_U  trunk/
U   trunk/include/asterisk/channel.h
U   trunk/main/channel.c
U   trunk/main/features.c
U   trunk/main/format_cap.c

------------------------------------------------------------------------
r320820 | rmudgett | 2011-05-26 08:04:20 -0500 (Thu, 26 May 2011) | 24
lines

Merged revisions 320796 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r320796 | rmudgett | 2011-05-25 11:23:11 -0500 (Wed, 25 May 2011) | 17
lines
  
  Give zombies a safe channel driver to use.
  
  Recent crashes from zombie channels suggests that they need a safe home
to
  goto.  When a masquerade happens, the physical part of the zombie
channel
  is hungup.  The hangup normally sets the channel private pointer to
NULL.
  If someone then blindly does a callback to the channel driver, a crash
is
  likely because the private pointer is NULL.
  
  The masquerade now sets the channel technology of zombie channels to the
  kill channel driver.
  
  Related to the following issues:
  (issue https://issues.asterisk.org/view.php?id=19116)
  (issue https://issues.asterisk.org/view.php?id=19310)
  
  Review: https://reviewboard.asterisk.org/r/1224/
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-26 08:04 svnbot         Checkin                                      
2011-05-26 08:04 svnbot         Note Added: 0135430                          
======================================================================




More information about the asterisk-bugs mailing list