Posted: Sat Oct 23, 2004 5:20 pm Post subject: [Asterisk-bsd] Re: One Way Audio
Tom,
Made the patches, though I still need to get NetBSD updated and
rebuilt. Hopefully tomorrow. Once I get this one-way audio problem
resolved I'll move on to step two and three (IAX and Zaptel).
-Jay
On Sat, Oct 23, 2004 at 10:59:27PM +0200, Tom Ivar Helbekkmo wrote:
Quote:
I wrote:
> I've submitted a new patch to Digium to reinstate the proper use of
> the routing socket, and will be submitting a patch to the NetBSD
> maintainers to make this feature actually work there.
Both of these patches have now been committed to the cvs heads of the
respective projects. A pullup to the upcoming NetBSD 2.0 release has
been requested, but it is yet to be seen whether this will be done.
Posted: Mon Nov 01, 2004 3:11 pm Post subject: [Asterisk-bsd] Re: One Way Audio
Tom,
Good news. This patch did the trick.
My current Asterisk box is also serving as my NAT, and I've had no
problems using IAX2, SIP, in any configuration so far. I have plenty
more testing to do but I thought I'd share the postive results.
NetBSD running smoothly...
Thanks,
-Jay
On Mon, Oct 18, 2004 at 12:21:00PM +0200, Tom Ivar Helbekkmo wrote:
Quote:
Tom Ivar Helbekkmo <tih@eunetnorge.no> writes:
> I've submitted a new patch to Digium to reinstate the proper use of
> the routing socket, and will be submitting a patch to the NetBSD
> maintainers to make this feature actually work there. Meanwhile, what
> you want is for the relevant bit of Asterisk's acl.c to look like this:
One more change is needed, actually, because with just that one, and
the NetBSD kernel fix, it only works the first time. :-) There's a
hard coded '1' in acl.c that needs to be a reference to the sequence
number used for the query. Change...
do {
l = read(s, (char *)&m_rtmsg, sizeof(m_rtmsg));
} while (l > 0 && (m_rtmsg.m_rtm.rtm_seq != 1 || m_rtmsg.m_rtm.rtm_pid != pid));
...into...
do {
l = read(s, (char *)&m_rtmsg, sizeof(m_rtmsg));
} while (l > 0 && (m_rtmsg.m_rtm.rtm_seq != seq || m_rtmsg.m_rtm.rtm_pid != pid));
...that is, just replace that '1' with 'seq', and it'll be OK. The
submitted patch is updated; it (and the one for NetBSD) can be found
in Mantis, in bug number 2668.
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