[asterisk-bugs] [Asterisk 0011154]: Asterisk does not retry a call on receving a 3XX response

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Nov 8 04:42:16 CST 2007


The following issue has been REOPENED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11154 
====================================================================== 
Reported By:                rjain
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   11154
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-03-2007 08:17 CDT
Last Modified:              11-08-2007 04:42 CST
====================================================================== 
Summary:                    Asterisk does not retry a call on receving a 3XX
response
Description: 
Asterisk seems to be failing to retry a SIP INVITE when it receives a 3XX
response. I've tried this with promiscredir=yes and promiscredir=no but to
no avail. Both debug logs are attached. If I'm missing something in the
config to get this working, pls shed some light.

According to RFC 3261, a UAS SHOULD retry the call when it receives a 301
or 302 response. However, it's a MUST for a 305 response. Below is a
relevant quote from RFC 3261:

21.3.4 305 Use Proxy

   The requested resource MUST be accessed through the proxy given by
   the Contact field.  The Contact field gives the URI of the proxy.
   The recipient is expected to repeat this single request via the
   proxy.  305 (Use Proxy) responses MUST only be generated by UASs.


This issue was previously reported in:
http://bugs.digium.com/view.php?id=10828
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0010828 302 Handling
====================================================================== 

---------------------------------------------------------------------- 
 rjain - 11-08-07 04:42  
---------------------------------------------------------------------- 
What we mutually agreed upon is that 305 handling is a feature request. The
302 handling is not a feature request because Asterisk supports it but
currently it seems to be broken. That would fall in the bug category.

Barring any config errors in my setup or that of the reporter of 10828,
the Asterisk is not redirecting the INVITE to the Contact address provided
in a 302 response. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-08-07 04:42  rjain          Status                   closed => feedback  
11-08-07 04:42  rjain          Resolution               suspended => reopened
11-08-07 04:42  rjain          Note Added: 0073371                          
======================================================================




More information about the asterisk-bugs mailing list