[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
Tue Nov 6 07:04:01 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11154 
====================================================================== 
Reported By:                rjain
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11154
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
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-06-2007 07:04 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
====================================================================== 

---------------------------------------------------------------------- 
 oej - 11-06-07 07:04  
---------------------------------------------------------------------- 
Not at all. 302 redirects to another URI and is sent to the dialplan. It
works now.

305, as far as I understand, redirects to another proxy but the URI stays
the same. That's a different function for Asterisk. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-06-07 07:04  oej            Note Added: 0073182                          
======================================================================




More information about the asterisk-bugs mailing list