[asterisk-bugs] [Asterisk 0013071]: [patch] OPTIONS response on default port.

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 14 11:14:06 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13071 
====================================================================== 
Reported By:                baron
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13071
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.21 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-14-2008 10:47 CDT
Last Modified:              07-14-2008 11:14 CDT
====================================================================== 
Summary:                    [patch] OPTIONS response on default port.
Description: 
handle_request_options doesn't have check_via() function and because the
response go to default port 5060, but should got to port was defined in
Via: Header.

check_via should be also in the folows functions:
handle_request_info()
handle_request_notify()
handle_request_options()
handle_request_refer()
handle_request_message();

====================================================================== 

---------------------------------------------------------------------- 
 baron - 07-14-08 11:14  
---------------------------------------------------------------------- 
Yep, because our softswitch wait the answer on the Via's port and send
hundert times the OPTIONS packet and after timeout set the FAILURE flag on
Asterisk's SIP trunk.

also it should be RFC 3261 comform:

18.1.2 Receiving Responses

and 

18.2.2 Sending Responses

   The server transport uses the value of the top Via header field in
   order to determine where to send a response.  It MUST follow the
   following process:
..... 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-14-08 11:14  baron          Note Added: 0090214                          
======================================================================




More information about the asterisk-bugs mailing list