Finally the oslec echo canceller is working on Free PBX 4.211.64-5 (asterisk 1.8) with wctdm+ card e159:0001 Wildcard TDM400P REV E/F (OpenVox)
Follow the steps bellow. If someone will get stuck drop me a line to help him.
However, i do not think that you will need help because if you follow the step below everything will work flawlessly.
STEPS
/etc/init.d/dahdi stop
asterisk –r
module show like dahdi
module unload res_timing_dahdi
module unload chan_dahdi
module unload codec_dahdi
exit
/etc/init.d/dahdi stop
lsmod | grep dahdi
modprobe -r wctc4xxp;
modprobe -r wctdm24xxp;
modprobe -r wcte12xp;
modprobe -r xpp;
modprobe -r dahdi_transcode;
modprobe -r wcb4xxp;
modprobe -r zaphfc;
modprobe -r rcbfx;
modprobe -r opvxa1200;
modprobe -r opvxa24xx;
modprobe -r wctdm;
modprobe -r wcfxo;
modprobe -r wctdm24xxp;
modprobe -r rxt1;
modprobe -r r1t1;
modprobe -r tor3e;
modprobe -r wcte11xp;
modprobe -r wct1xxp;
modprobe -r wcte13xp;
modprobe -r wcte12xp;
modprobe -r dahdi_voicebus;
modprobe -r opvxd115;
modprobe -r wct4xxp;
modprobe -r wctdm24xxp;
modprobe -r dahdi_transcode;
modprobe -r dahdi;
lsmod | grep dahdi (you must not see anything loaded)
uname –r (2.6.32-358.0.1.el6.i686)
uname –a (Linux kinglyr_freepbx 2.6.32-358.0.1.el6.i686 #1 SMP Wed Feb 27 03:24:34 UTC 2013 i686 i686 i386 GNU/Linux)
cd /usr/src/
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.7.0.1+2.7.0.1.tar.gz
wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.27.tar.gz
cd /usr/src/
tar -xvzf dahdi-linux-complete-2.7.0.1+2.7.0.1.tar.gz
tar -xzvf linux-2.6.32.27.tar.gz
mkdir /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/staging/echo
cp -fR /usr/src/linux-2.6.32.27/drivers/staging/echo /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/staging (if you want to copy files manually, files must be copied at /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/staging/echo)
sed -i “s|#obj-m += dahdi_echocan_oslec.o|obj-m += dahdi_echocan_oslec.o|” /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi (NOT NEEDED ALREADY EXIST)
sed -i “s|#obj-m += …/staging/echo/|obj-m += …/staging/echo/|” /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi (NOT NEEDED ALREADY EXIST)
echo ‘obj-m += echo.o’ > /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/staging/echo/Kbuild
cd /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/staging/echo
chmod 664 *
chown 1000:1000 *
cd /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux
yum install make
make
make install
#/etc/init.d/dahdi restart
Dahdi installation completed!!!
#echo ‘echo_can oslec’ >> /etc/dahdi/genconf_parameters
#echo ‘bri_sig_style bri’ >> /etc/dahdi/genconf_parameters
#/etc/init.d/dahdi restart (& REBOOT SYSTEM TO BE SURE THAT DAHDI IS LOADED CORRECTLY)
#dahdi_genconf
#dahdi_genconf modules
#dahdi_cfg -vvv ;to confirm dahdi works properly you must see the channel with oslec echo canceller and NOT “none”
INSTALL dahdi_tools (ADDITIONAL WORK!!!)
yum install gcc libusb libnewt
cd /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/tools
./configure
make
make install
REBOOT SYSTEM AND YOU ARE DONE!!!
Good Luck!!!
Kinglyr
Greece