[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
Wed Feb 16 19:48:09 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
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:                       SWP-2819 
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-02-16 19:48 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0132063) jcovert (reporter) - 2011-02-16 19:48
 https://issues.asterisk.org/view.php?id=18541#c132063 
---------------------------------------------------------------------- 
What is still needed to get this committed? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-16 19:48 jcovert        Note Added: 0132063                          
======================================================================




More information about the asterisk-bugs mailing list