[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:44:30 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16424 
====================================================================== 
Reported By:                davidw
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   16424
Category:                   Channels/General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-12-10 11:25 CST
Last Modified:              2010-01-07 14:44 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0116273) svnbot (reporter) - 2010-01-07 14:44
 https://issues.asterisk.org/view.php?id=16424#c116273 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 238493

_U  branches/1.6.2/

------------------------------------------------------------------------
r238493 | dvossel | 2010-01-07 14:44:30 -0600 (Thu, 07 Jan 2010) | 19
lines

Blocked revisions 238492 via svnmerge

........
  r238492 | dvossel | 2010-01-07 14:42:27 -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=238493 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-07 14:44 svnbot         Checkin                                      
2010-01-07 14:44 svnbot         Note Added: 0116273                          
======================================================================




More information about the asterisk-bugs mailing list