[asterisk-bugs] [Asterisk 0013008]: chan_sip ignores rport and does not reply to source IP:port

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 7 18:56:02 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13008 
====================================================================== 
Reported By:                klaus3000
Assigned To:                bbryant
====================================================================== 
Project:                    Asterisk
Issue ID:                   13008
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
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-07-2008 08:44 CDT
Last Modified:              07-07-2008 18:56 CDT
====================================================================== 
Summary:                    chan_sip ignores rport and does not reply to source
IP:port
Description: 
Hi!

I have defined a peer in sip.conf:
[klaus]
type=peer
username=klaus
secret=password
host=dynamic
context=fromklaus

Then I register with eyebeam. Eyebeam sets the "rport" parameter in via
header which should activate symmetric signaling. Further, even if rport is
missing, the RFC 3261 mandates that replies should be sent to the source IP
of the request, not the IP in the Via header (the latter one should only be
used if the first one fails (e.g. ICMP error)).

Bug: Asterisk sends the request back to the IP in the Via header. I know I
can change behavior by setting nat=yes, but even without this setting
Asterisk should be standard conform.

I used Asterisk 1.4.21.1
====================================================================== 

---------------------------------------------------------------------- 
 bbryant - 07-07-08 18:56  
---------------------------------------------------------------------- 
klaus3000, please try this patch and see if it fixes the problem for you. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-07-08 18:56  bbryant        Note Added: 0089871                          
======================================================================




More information about the asterisk-bugs mailing list