Posted: Tue Oct 12, 2004 12:30 pm Post subject: [Asterisk-bsd] Re: One way calling... NetBSD, sipphone or NA
I can confirm this allows me to use 0.0.0.0 as my bindaddr in sip.conf
under NetBSD...
+j
Tom Ivar Helbekkmo wrote:
Quote:
Jay Adelson <jay@adelson.org> writes:
>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.
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