[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 14:00:23 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-05-26 08:17 CDT
Last Modified:              2009-05-28 14:00 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 ...
====================================================================== 

---------------------------------------------------------------------- 
 (0105674) svnbot (reporter) - 2009-05-28 14:00
 https://issues.asterisk.org/view.php?id=15194#c105674 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 197704

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_sip.c

------------------------------------------------------------------------
r197704 | eliel | 2009-05-28 14:00:22 -0500 (Thu, 28 May 2009) | 26 lines

Merged revisions 197621 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r197621 | eliel | 2009-05-28 12:01:48 -0400 (Thu, 28 May 2009) | 19
lines
  
  Merged revisions 197562 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r197562 | eliel | 2009-05-28 11:21:32 -0400 (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=197704 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-28 14:00 svnbot         Checkin                                      
2009-05-28 14:00 svnbot         Note Added: 0105674                          
======================================================================




More information about the asterisk-bugs mailing list