[asterisk-users] dahdi and oslec
Chandrakant Solanki
solanki.chandrakant at gmail.com
Wed Mar 3 00:01:21 CST 2010
Hi All,
I have followed below steps to enable echo cancellation.
# cd /usr/src
# wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2
# tar xjf linux-2.6.28.tar.bz2
# tar zxvf dahdi-linux-2.1.0.4.tar.gz
# ln -s /usr/src/dahdi-linux-2.1.0.4 /usr/src/dahdi
# mkdir /usr/src/dahdi/drivers/staging
# cp -fR /usr/src/linux-2.6.28/drivers/staging/echo
/usr/src/dahdi/drivers/staging
# sed -i "s|#obj-m += dahdi_echocan_oslec.o|obj-m += dahdi_echocan_oslec.o|"
/usr/src/dahdi/drivers/dahdi/Kbuild
# sed -i "s|#obj-m += ../staging/echo/|obj-m += ../staging/echo/|"
/usr/src/dahdi/drivers/dahdi/Kbuild
# echo 'obj-m += echo.o' > /usr/src/dahdi/drivers/staging/echo/Kbuild
# cd /usr/src/dahdi
# make
# make install
# cd /usr/src
# tar zxvf dahdi-tools-2.1.0.2.tar.gz
# cd /usr/src/dahdi-tools-2.1.0.2
# ./configure
# make
# make install
# wget http://www.rowetel.com/ucasterisk/downloads/oslec-0.2.tar.gz
# tar xvzf oslec-0.2.tar.gz
# cd oslec-0.2
# make
# insmod kernel/oslec.ko
when i restart /etc/init.d/dahdi service it gives me following error in
/var/log/message
Mar 3 11:06:37 server1 kernel: echo: exports duplicate symbol oslec_hpf_tx
(owned by oslec)
Mar 3 11:06:37 server1 modprobe: WARNING: Error inserting echo
(/lib/modules/2.6.18-92.1.22.el5/staging/echo/echo.ko): Invalid module
format
Mar 3 11:06:37 server1 kernel: dahdi_echocan_oslec: Unknown symbol
oslec_create
Mar 3 11:06:37 server1 kernel: dahdi_echocan_oslec: Unknown symbol
oslec_update
Mar 3 11:06:37 server1 kernel: dahdi_echocan_oslec: Unknown symbol
oslec_free
Mar 3 11:06:37 server1 modprobe: FATAL: Error inserting dahdi_echocan_oslec
(/lib/modules/2.6.18-92.1.22.el5/dahdi/dahdi_echocan_oslec.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
# cat /etc/dahdi/system.conf
loadzone = in
defaultzone = in
span=1,1,7,ccs,hdb3
bchan=1-15
dchan=16
bchan=17-31
echocanceller=oslec,1-15,17-31
Is there anything missing or i am going wrong..
Help me out.
Thanks in advance...
--
Regards,
Chandrakant Solanki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100303/12003827/attachment.htm
More information about the asterisk-users
mailing list