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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 28 16:47:34 UTC 2010


The following issue has been SUBMITTED. 
====================================================================== 
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:                     new
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:              2010-12-28 10:47 CST
====================================================================== 
Summary:                    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               
====================================================================== 
2010-12-28 10:47 jcovert        New Issue                                    
2010-12-28 10:47 jcovert        Asterisk Version          => 1.8.1.1         
2010-12-28 10:47 jcovert        Regression                => Yes             
2010-12-28 10:47 jcovert        SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list