[asterisk-bugs] [Asterisk 0018135]: [patch] chan_sip loses port information for peers in memory when using bindaddr=::

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Oct 15 15:12:48 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18135 
====================================================================== 
Reported By:                lmadsen
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   18135
Category:                   Channels/chan_sip/General
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     closed
Target Version:             1.8.0
Asterisk Version:           1.8.0-rc3 
JIRA:                       SWP-2364 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-10-13 12:43 CDT
Last Modified:              2010-10-15 15:12 CDT
====================================================================== 
Summary:                    [patch] chan_sip loses port information for peers in
memory when using bindaddr=::
Description: 
It seems to be related to the DNS refreshing on the system, but when that
happens, my peers will often become unreachable for outbound calling while
inbound calling seems to be fine.

The main indication of this is when you run 'sip show peers' you'll see
the port has been set to 0 (zero) even though the port=5060 setting is part
of the peer definition in sip.conf.

I've seen other reports of this on #asterisk today as well. May be related
to the other dnsmgr issues in chan_iax2 etc..?
====================================================================== 

---------------------------------------------------------------------- 
 (0128107) svnbot (reporter) - 2010-10-15 15:12
 https://issues.asterisk.org/view.php?id=18135#c128107 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 291943

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r291943 | dvossel | 2010-10-15 15:12:47 -0500 (Fri, 15 Oct 2010) | 15
lines

Merged revisions 291942 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r291942 | dvossel | 2010-10-15 15:12:04 -0500 (Fri, 15 Oct 2010) | 8
lines
  
  Fixes peer's host port information being lost on sip reload.
  
  (closes issue https://issues.asterisk.org/view.php?id=18135)
  Reported by: lmadsen
  Patches:
        crazy_ports_v2.diff uploaded by dvossel (license 671)
  Tested by: lmadsen
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-15 15:12 svnbot         Checkin                                      
2010-10-15 15:12 svnbot         Note Added: 0128107                          
======================================================================




More information about the asterisk-bugs mailing list