[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 Jan 12 11:14: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-01-12 11:14 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.
======================================================================
----------------------------------------------------------------------
(0130420) jcovert (reporter) - 2011-01-12 11:14
https://issues.asterisk.org/view.php?id=18541#c130420
----------------------------------------------------------------------
>You mean that...
I did a cut and pasted from a document which appears to be wrong. I have
modified my patch per your suggestion and tested it on Darwin/Mac OS X
10.4.11.
Any other Darwin testers out there?
Issue History
Date Modified Username Field Change
======================================================================
2011-01-12 11:14 jcovert Note Added: 0130420
======================================================================
More information about the asterisk-bugs
mailing list