[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:25:13 CDT 2010


The following issue has been RESOLVED. 
====================================================================== 
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:                     resolved
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:25 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 ...
====================================================================== 

---------------------------------------------------------------------- 
 (0123535) svnbot (reporter) - 2010-06-17 09:25
 https://issues.asterisk.org/view.php?id=17496#c123535 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 270974

U   trunk/main/acl.c
U   trunk/main/dnsmgr.c

------------------------------------------------------------------------
r270974 | mnicholson | 2010-06-16 15:34:31 -0500 (Wed, 16 Jun 2010) | 11
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=270974 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-17 09:25 svnbot         Checkin                                      
2010-06-17 09:25 svnbot         Note Added: 0123535                          
2010-06-17 09:25 svnbot         Status                   feedback => assigned
2010-06-17 09:25 svnbot         Assigned To               => mnicholson      
2010-06-17 09:25 svnbot         Status                   assigned => resolved
2010-06-17 09:25 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list