[asterisk-bugs] [Asterisk 0017496]: dnsmgr refreshes hostname, but changes SIP port to 0

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 17 09:26:25 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17496 
====================================================================== 
Reported By:                ManChicken
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   17496
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.2.8 
JIRA:                       SWP-1705 
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-06-10 10:48 CDT
Last Modified:              2010-06-17 09:26 CDT
====================================================================== 
Summary:                    dnsmgr refreshes hostname, but changes SIP port to 0
Description: 
Have a SIP 'friend' for outbound calls through Vitelity, set with
host=outbound.vitelity.net.  DNS manager is refreshing the IP for
'outbound.vitelity.net' but changing the SIP port number to 0 for the peer
when it does - see console output below, showing the list of peers with
proper port numbers, a manual 'dnsmgr refresh', and it subsequently setting
the port to 0.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015827 [patch] dnsmgr: problem handling A and ...
====================================================================== 

---------------------------------------------------------------------- 
 (0123537) svnbot (reporter) - 2010-06-17 09:26
 https://issues.asterisk.org/view.php?id=17496#c123537 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 270975

_U  branches/1.6.2/
U   branches/1.6.2/main/acl.c
U   branches/1.6.2/main/dnsmgr.c

------------------------------------------------------------------------
r270975 | mnicholson | 2010-06-16 15:41:40 -0500 (Wed, 16 Jun 2010) | 18
lines

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

........
  r270974 | mnicholson | 2010-06-16 15:34:31 -0500 (Wed, 16 Jun 2010) | 8
lines
  
  Set sin_family to AF_INET when doing lookups, also reset sin_port the
first time the ip address changes.

  (closes issue https://issues.asterisk.org/view.php?id=17496)
  Reported by: ManChicken
  
  (closes issue https://issues.asterisk.org/view.php?id=15827)
  Reported by: DennisD
  Patches:
        dnsmgr_15827.patch uploaded by chappell (license 8)
  Tested by: DennisD, gentlec, damage, wimpy
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-17 09:26 svnbot         Checkin                                      
2010-06-17 09:26 svnbot         Note Added: 0123537                          
======================================================================




More information about the asterisk-bugs mailing list