[asterisk-bugs] [Asterisk 0017486]: [patch] response_refer() does not have a default case, so a 400 final response stalls in the Transfer() application

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 11 16:12:24 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17486 
====================================================================== 
Reported By:                davidw
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   17486
Category:                   Channels/chan_sip/Transfers
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.6.2.12
Asterisk Version:           SVN 
JIRA:                       SWP-1667 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/837/ 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 269011 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-06-08 11:34 CDT
Last Modified:              2010-08-11 16:12 CDT
====================================================================== 
Summary:                    [patch] response_refer() does not have a default
case, so a 400 final response stalls in the Transfer() application
Description: 
For an outgoing refer request, generated by the Transfer() application,
chan_sip.c's response_refer routine only recognizes specific response
codes, which don't include "400 Bad Request", the generic 400 response
code.

As a result, if it gets an unrecognized final status, it does not wake up
the Transfer application to allow it to return a FAILURE response to the
dialplan.  

Cisco CCM 6 can generate this response to REFER, although not necessarily
to the REFERs generated by the standard Asterisk code.
====================================================================== 

---------------------------------------------------------------------- 
 (0125858) svnbot (reporter) - 2010-08-11 16:12
 https://issues.asterisk.org/view.php?id=17486#c125858 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 281876

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r281876 | mnicholson | 2010-08-11 16:12:24 -0500 (Wed, 11 Aug 2010) | 17
lines

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

........
  r281874 | mnicholson | 2010-08-11 16:11:54 -0500 (Wed, 11 Aug 2010) | 10
lines
  
  handle all possible responses to REFER requests
  
  (closes issue https://issues.asterisk.org/view.php?id=17486)
  Reported by: davidw
  Patches:
        Issue17486-counterbid.diff.txt uploaded by davidw (license 780)
  Tested by: davidw
  
  Review: https://reviewboard.asterisk.org/r/837/
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-11 16:12 svnbot         Checkin                                      
2010-08-11 16:12 svnbot         Note Added: 0125858                          
======================================================================




More information about the asterisk-bugs mailing list