[asterisk-bugs] [Asterisk 0015194]: [patch] [SIP realtime] "sip reload" makes UNREACHABLE users behind NAT

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 28 10:21:33 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15194 
====================================================================== 
Reported By:                ibc
Assigned To:                eliel
====================================================================== 
Project:                    Asterisk
Issue ID:                   15194
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     ready for testing
Target Version:             1.4.26
Asterisk Version:           1.4.25 
Regression:                 Yes 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-26 08:17 CDT
Last Modified:              2009-05-28 10:21 CDT
====================================================================== 
Summary:                    [patch] [SIP realtime] "sip reload" makes
UNREACHABLE users behind NAT
Description: 
When a SIP dynamic realtime user is registered behind NAT (with "nat=yes"),
a "sip reload" command makes Asterisk "forgetting" the public location of
the peer, and instead uses the private address of Contact header to reach
it. Of course it fails and causes the user to be UNREACHABLE.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0012921 Asterisk 1.4.21 breaks realtime sip on ...
====================================================================== 

---------------------------------------------------------------------- 
 (0105655) svnbot (reporter) - 2009-05-28 10:21
 https://issues.asterisk.org/view.php?id=15194#c105655 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 197562

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r197562 | eliel | 2009-05-28 10:21:33 -0500 (Thu, 28 May 2009) | 13 lines

Use the address we already know when reloading a peer with nat=yes.

If we already have an address for a peer, and we are reloading the sip
configuration, try to use that address to contact the peer, instead of
getting it from the Contact.

(closes issue https://issues.asterisk.org/view.php?id=15194)
Reported by: ibc
Patches:
      sip.patch uploaded by eliel (license 64)
      Tested by: manwe


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-28 10:21 svnbot         Checkin                                      
2009-05-28 10:21 svnbot         Note Added: 0105655                          
======================================================================




More information about the asterisk-bugs mailing list