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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 20 11:46:04 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-20 11:46 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). 



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

---------------------------------------------------------------------- 
 (0135200) svnbot (reporter) - 2011-05-20 11:46
 https://issues.asterisk.org/view.php?id=19116#c135200 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 320058

_U  trunk/
U   trunk/main/channel.c
U   trunk/main/features.c

------------------------------------------------------------------------
r320058 | rmudgett | 2011-05-20 11:46:03 -0500 (Fri, 20 May 2011) | 26
lines

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

........
  r320057 | rmudgett | 2011-05-20 11:43:02 -0500 (Fri, 20 May 2011) | 19
lines
  
  Crash while transferring a call during DTMF feature timeout.
  
  When a call is being attended transferred during the time between
  AST_FRAME_DTMF_BEGIN and AST_FRAME_DTMF_END, the transferred channel
  becomes a zombie (so tech data is not available), making
ast_dtmf_stream()
  segfault when it tries to send the DTMF digit (at least with SIP
  channels).
  
  Patch based on feature-end-zombie.patch uploaded by Irontec (license
1256)
  
  * Check for zombies when ast_channel_bridge() returns.
  
  * Guarantee that the fo parameter value is initialized in
  ast_channel_bridge() before any returns.
  
  (closes issue https://issues.asterisk.org/view.php?id=19116)
  Reported by: Irontec
  Tested by: rmudgett
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-20 11:46 svnbot         Checkin                                      
2011-05-20 11:46 svnbot         Note Added: 0135200                          
======================================================================




More information about the asterisk-bugs mailing list