Posted: Mon Oct 11, 2004 11:22 pm Post subject: [Asterisk-bsd] Re: One way calling... NetBSD, sipphone or NA
Jay Adelson <jay@adelson.org> writes:
Quote:
I also get this error repeatedly, only when the bindaddr is 0.0.0.0:
Oct 11 16:55:22 ERROR[1262485504]: acl.c:265 ast_ouraddrfor: Error writing to routing socket: Invalid argument
A quick look at the implementation of ast_ouraddrfor() under BSD shows
up a bug in the building of the query that's sent to the routing
socket -- it claims to pass two address structures, but only actually
passes one. Try this patch:
The change from 0 to AF_UNSPEC is actually just me being pedantic; the
point is that there is no interface address structure passed, so we
mustn't claim that there is.
-tih
--
Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway Hosting
www.eunet.no T +47-22092958 M +47-93013940 F +47-22092901 FWD 484145
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum