[asterisk-bugs] [Asterisk 0016424]: [patch] ast_transfer will stall	until hangup if called with a channel that doesn't support	transfers.
    Asterisk Bug Tracker 
    noreply at bugs.digium.com
       
    Thu Jan  7 14:42:29 CST 2010
    
    
  
A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16424 
====================================================================== 
Reported By:                davidw
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16424
Category:                   Channels/General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     ready for review
Asterisk Version:           SVN 
JIRA:                       SWP-522 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 234134 
Request Review:              
====================================================================== 
Date Submitted:             2009-12-10 11:25 CST
Last Modified:              2010-01-07 14:42 CST
====================================================================== 
Summary:                    [patch] ast_transfer will stall until hangup if
called with a channel that doesn't support transfers.
Description: 
ast_transfer sets res to 0 if there is no technology transfer function, but
then tests for it to be negative before deciding to do an early exit.  As a
result, it will will wait for an AST_CONTROL_TRANSFER message that will
never come.
====================================================================== 
---------------------------------------------------------------------- 
 (0116272) svnbot (reporter) - 2010-01-07 14:42
 https://issues.asterisk.org/view.php?id=16424#c116272 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 238492
U   trunk/main/channel.c
------------------------------------------------------------------------
r238492 | dvossel | 2010-01-07 14:42:28 -0600 (Thu, 07 Jan 2010) | 14
lines
fixes ast_transfer stall until hangup if called with a channel that
doesn't support transfers
ast_transfer sets res to 0 if there is no technology transfer function,
but then tests for it to be negative before deciding to do an early exit.
As a result, it will will wait for an AST_CONTROL_TRANSFER message that
will never come.
(closes issue https://issues.asterisk.org/view.php?id=16424)
Reported by: davidw
Patches:
      Issue_16424_trunk_234134.patch uploaded by davidw (license 780)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=238492 
Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-07 14:42 svnbot         Checkin                                      
2010-01-07 14:42 svnbot         Note Added: 0116272                          
======================================================================
    
    
More information about the asterisk-bugs
mailing list