[Asterisk-bsd] OSLEC on FreeBSD 8.1 w/ DAHDI

Ian FREISLICH ianf at clue.co.za
Sat Aug 7 03:47:40 CDT 2010


"Kurt J. Lidl" wrote:
> Has anybody gotten this to work?
> 
> I'm contemplating buying hardware to interface to the PSTN,
> and of course, the boards without hardware echo cancellation
> are far cheaper than those with hardware echo cancellation.
> If I don't buy something with hardware echo cancellation,
> I'd like to know that the OSLEC software was working, or
> at least close to it.
> 
> There was some discussion about this back in Sept 2009,
> but I never saw a real resolution to the problem.  Also,
> that discussion was saying that it was only going to work
> on amd64 based machines (whereas I have i386) and I'm
> running 8.1, not 9-CURRENT.

You have it the wrong way around.  OSLEC "works" FSVO works on i386,
but not amd64.  The reason it compiles on i386 is that floating
point math while banned from the kernel isn't specifically excluded
by compiler flags like it is in amd64.

That said, if you use OLSEC on i386, expect user space floating
point corruption by the kernel because FP state is not saved on
kernel entry.  So, while calls are in progress OSLEC will stomp all
over user process FP math.

Ian

-- 
Ian Freislich



More information about the Asterisk-BSD mailing list