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
On Wed, 2010-03-03 at 11:31 +0530, Chandrakant Solanki wrote:> 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 > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usershehe ;) You are already built dahdi with oslec. You will not load manually this module. Try! Build dahdi, modprobe <your module> (my module is wcfxo) modprobe wcfxo: (dmesg) wcfxo 0000:00:09.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 wcfxo: DAA mode is 'FCC' cat /etc/dahdi/system.conf fxsks = 1 echocanceller =oslec,1-240 loadzone = ru defaultzone = ru dahdi_cfg -vv DAHDI Tools Version - 2.2.0 ***** Channel map: Channel 01: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 01) 1 channels to configure. Setting echocan for channel 1 to oslec Hope it helps.. -- Best regards, Vince Mallow xmpp: wins at jabber.slan.ru web: http://gentoo-way.blogspot.com
On Wed, 2010-03-03 at 11:31 +0530, Chandrakant Solanki wrote:> 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 > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usershehe ;) You are already built dahdi with oslec. You will not load manually this module. Try! Build dahdi, modprobe <your module> (my module is wcfxo) modprobe wcfxo: (dmesg) wcfxo 0000:00:09.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 wcfxo: DAA mode is 'FCC' cat /etc/dahdi/system.conf fxsks = 1 echocanceller =oslec,1-240 loadzone = ru defaultzone = ru dahdi_cfg -vv DAHDI Tools Version - 2.2.0 ***** Channel map: Channel 01: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 01) 1 channels to configure. Setting echocan for channel 1 to oslec Hope it helps.. -- Best regards, Vince Mallow xmpp: wins at jabber.slan.ru web: http://gentoo-way.blogspot.com
On Wed, 2010-03-03 at 11:31 +0530, Chandrakant Solanki wrote:> 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 > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usershehe ;) You are already built dahdi with oslec. You will not load manually this module. Try! Build dahdi, modprobe <your module> (my module is wcfxo) modprobe wcfxo: (dmesg) wcfxo 0000:00:09.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 wcfxo: DAA mode is 'FCC' cat /etc/dahdi/system.conf fxsks = 1 echocanceller =oslec,1-240 loadzone = ru defaultzone = ru dahdi_cfg -vv DAHDI Tools Version - 2.2.0 ***** Channel map: Channel 01: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 01) 1 channels to configure. Setting echocan for channel 1 to oslec Hope it helps.. -- Best regards, Vince Mallow xmpp: wins at jabber.slan.ru web: http://gentoo-way.blogspot.com