[asterisk-users] OSLEC and zaptel-1.4.5.1

Dave Fullerton dfullertasterisk at shorelinecontainer.com
Wed Oct 24 12:20:31 CDT 2007


marcotasto wrote:
> Hi Alan.
> I've installed OSLEC with zaptel-1.4.5.1 applying the patches made for the 1.4 version and I have had the same problem.
> Looking at the compiler options I've found that the symbol ECHO_CAN_FROMENV is defined by default and this prevents the echo selection from zconfig.h.
> I've solved changing the first part of Makefile.kernel26 (in the zaptel directory) this way:
> 
> ifndef ECHO_CAN_NAME
>   ECHO_CAN_NAME := OSLEC
> endif
> 
> This forces the compiler to include OSLEC as echo cancellation engine (probably there is a better way but I don't know it).
> 
> I've then rebuilt zaptel and installed through normal make procedures.
> 
> To be able to modprobe it I've then copied the oslec.ko file build by the OSLEC distribution in the kernel driver directory (my own is /lib/modules/2.6.18.8-0.5-default/misc and it's where zaptel drivers are installed). I've then run the depmod command to regenerate the modules dependencies.
> 
> I'm now able to modprobe zaptel and to have oslec automatically installed as you can see below:
> 

<snip>

This looks like it is isolated to 1.4.5.x. It looks like digium added a 
method of selecting the echo canceler by using environment variables but 
didn't get it quite right. It appears to be fixed in 1.4.6. In 1.4.6 it 
will use the selection made in zconfig.h UNLESS you set ECHO_CAN_NAME to 
your preferred echo canceler (OSLEC,MG2,etc) to override it.

-Dave



More information about the asterisk-users mailing list