[asterisk-bugs] [Asterisk 0018541]: [patch] Each time a device sends a REGISTER, the error "No address associated with nodename" appears

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 4 21:25:45 UTC 2011


The following issue is now READY FOR TESTING. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18541 
====================================================================== 
Reported By:                jcovert
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18541
Category:                   Core/Netsock
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.8.1.1 
JIRA:                        
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-28 10:47 CST
Last Modified:              2011-01-04 15:25 CST
====================================================================== 
Summary:                    [patch] Each time a device sends a REGISTER, the
error "No address associated with nodename" appears
Description: 
The following messages appear continuously:

sip_uri_domain_cmp sip.covert.org - sip.covert.org
[Dec 28 10:59:23] ERROR[13395]: netsock2.c:205 ast_sockaddr_parse:
getaddrinfo("sip.covert.org", "(null)", ...): No address associated with
nodename
[Dec 28 10:59:23] ERROR[13395]: netsock2.c:205 ast_sockaddr_parse:
getaddrinfo("sip.covert.org", "(null)", ...): No address associated with
nodename

This is because "If the AI_NUMERICHOST bit is set in the ai_flags member
of the hints structure, then a non-NULL nodename string must be a numeric
host address string. Otherwise an error of EAI_NONAME is returned. This
flag prevents any type of name resolution service (e.g., the DNS) from
being called."

See http://www.manpages.info/macosx/getaddrinfo.3.html

Patch supplied to eliminate the message on Darwin.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-04 15:25 lmadsen        Status                   new => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list