Re: [asterisk-users] DAHDI and Oslec
On Tue, Feb 26, 2013 at 10:38 AM, Doug Lytle supp...@drdos.info wrote: But, when trying to set my E.C. to oslec, I get: Feb 26 11:21:37 indyvoip modprobe: FATAL: Error inserting dahdi_echocan_oslec (/lib/modules/3.6.9-custom-3.6.9/dahdi/dahdi_echocan_oslec.ko): Unknown symbol in module, or unknown parameter (see dmesg) Feb 26 11:21:37 indyvoip kernel: [ 1395.262334] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0) Feb 26 11:21:37 indyvoip kernel: [ 1395.262348] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0) Feb 26 11:21:37 indyvoip kernel: [ 1395.262365] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0) Feb 26 11:21:41 indyvoip modprobe: FATAL: Error inserting dahdi_echocan_oslec (/lib/modules/3.6.9-custom-3.6.9/dahdi/dahdi_echocan_oslec.ko): Unknown symbol in module, or unknown parameter (see dmesg) Feb 26 11:21:41 indyvoip kernel: [ 1398.799227] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0) Feb 26 11:21:41 indyvoip kernel: [ 1398.799241] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0) Feb 26 11:21:41 indyvoip kernel: [ 1398.799258] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0) And dmesg shows: [ 1395.262334] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0) [ 1395.262348] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0) [ 1395.262365] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0) [ 1398.799227] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0) [ 1398.799241] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0) [ 1398.799258] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0) I encountered the same. Turns out, you need to disable OSLEC in your codec .config, and delete the modules in your /lib/modules/[kernel version]/drivers/staging directory, and then (in your kernel sources) make make modules make modules install The dahdi tools actually contains an out-of-tree version that worked out of the box. -- -Chris Harrington ACSDi Office: 763.559.5800 Mobile Phone: 612.326.4248 -- _ -- 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-users
Re: [asterisk-users] DAHDI and Oslec
Hi. I had the same problem in the past and I've found that there was already an echo.ko module built in my kernel module folder. I've renamed it and replaced with the one compiled with dahdi+oslec and it started working as expected. I was on OpenSuse with kernel 2.6.27.56-0.1... it's very old so I can't tell you if this is something true for Debian 6.06 too. Thanks. Marco Signorini. On 02/26/2013 05:38 PM, Doug Lytle wrote: I'm hoping someone can help me here. I've purchased replacement systems for 3 aging 1.4.x installs. I'm hoping to setup Asterisk 11, dahdi 2.6.1 and Oslec. I'm also moving those installs from Mandriva 10.0 to Debian 6.06 (Squeeze). In my testing, the TE220P PCIe cards that I have, the timing was awful on both slots, so I compiled Kernel 3.6.9 from kernel.org. Timing jumped to what I was expecting, so I moved on to recompiling dahdi complete for Oslec. Browsed the Linux source directory for drivers/staging/echo and copied it to the proper tree in the dahdi complete directory. Did a make distclean;make clean;make all And everything compiled cleanly, including oslec. But, when trying to set my E.C. to oslec, I get: Feb 26 11:21:37 indyvoip modprobe: FATAL: Error inserting dahdi_echocan_oslec (/lib/modules/3.6.9-custom-3.6.9/dahdi/dahdi_echocan_oslec.ko): Unknown symbol in module, or unknown parameter (see dmesg) Feb 26 11:21:37 indyvoip kernel: [ 1395.262334] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0) Feb 26 11:21:37 indyvoip kernel: [ 1395.262348] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0) Feb 26 11:21:37 indyvoip kernel: [ 1395.262365] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0) Feb 26 11:21:41 indyvoip modprobe: FATAL: Error inserting dahdi_echocan_oslec (/lib/modules/3.6.9-custom-3.6.9/dahdi/dahdi_echocan_oslec.ko): Unknown symbol in module, or unknown parameter (see dmesg) Feb 26 11:21:41 indyvoip kernel: [ 1398.799227] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0) Feb 26 11:21:41 indyvoip kernel: [ 1398.799241] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0) Feb 26 11:21:41 indyvoip kernel: [ 1398.799258] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0) And dmesg shows: [ 1395.262334] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0) [ 1395.262348] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0) [ 1395.262365] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0) [ 1398.799227] dahdi_echocan_oslec: Unknown symbol oslec_create (err 0) [ 1398.799241] dahdi_echocan_oslec: Unknown symbol oslec_update (err 0) [ 1398.799258] dahdi_echocan_oslec: Unknown symbol oslec_free (err 0) My Googlng-Fu failed me, as everything was dated from 201 0 and earlier on this error. I'm guessing that I compiled the kernel wrong, I followed these instructions to create .debs http://www.howtoforge.com/kernel_compilation_ubuntu Everything seemed to work well. Coming from a Mandrake/Mandriva background, I'm used to just: make oldconfig make menuconfig (Make my changes) make all make modules_install make install Any hints would be appreciated, Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- _ -- 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-users -- _ -- 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-users
Re: [asterisk-users] DAHDI and Oslec
On Tue, Feb 26, 2013 at 11:38:15AM -0500, Doug Lytle wrote: I'm hoping someone can help me here. I've purchased replacement systems for 3 aging 1.4.x installs. I'm hoping to setup Asterisk 11, dahdi 2.6.1 and Oslec. I'm also moving those installs from Mandriva 10.0 to Debian 6.06 (Squeeze). Grab a recent dahdi-source from somewhere: http://packages.debian.org/search?keywords=dahdi-source If that does not work, try: http://updates.xorcom.com/pkg-voip/ With that installed, run: m-a a-i dahdi It already includes OSLEC. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir -- _ -- 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-users
Re: [asterisk-users] DAHDI and Oslec
I encountered the same. Turns out, you need to disable OSLEC in your codec .config, and delete the modules in your /lib/modules/[kernel version]/drivers/staging directory, and then (in your kernel sources) make make modules make modules install There was nothing listed in /usr/src/linux/.config for OSLEC There were no modules in /lib/modules/3.6.9-custom-3.6.9/kernel/drivers/staging for OSLEC Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- _ -- 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-users
Re: [asterisk-users] DAHDI and Oslec
It's called echo in the kernel configs. On Tue, Feb 26, 2013 at 11:09 AM, Doug Lytle supp...@drdos.info wrote: I encountered the same. Turns out, you need to disable OSLEC in your codec .config, and delete the modules in your /lib/modules/[kernel version]/drivers/staging directory, and then (in your kernel sources) make make modules make modules install There was nothing listed in /usr/src/linux/.config for OSLEC There were no modules in /lib/modules/3.6.9-custom-3.6.9/kernel/drivers/staging for OSLEC Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- _ -- 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-users -- -Chris Harrington ACSDi Office: 763.559.5800 Mobile Phone: 612.326.4248 -- _ -- 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-users
Re: [asterisk-users] DAHDI and Oslec
It's called echo in the kernel configs. cat .config|grep -i echo CONFIG_SND_ECHO3G=m # CONFIG_ECHO is not set Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- _ -- 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-users
Re: [asterisk-users] DAHDI and Oslec
Grab a recent dahdi-source from somewhere: Did just that and ran your listed command. The compile fails at: make[3]: Entering directory `/usr/src/linux-3.6.9' CC [M] /usr/src/modules/dahdi/drivers/dahdi/dahdi-base.o /usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:52:28: error: linux/smp_lock.h: No such file or directory I did a: updatedb locate smp_lock.h Came back with not found Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- _ -- 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-users
Re: [asterisk-users] DAHDI and Oslec
On Tue, Feb 26, 2013 at 12:31:59PM -0500, Doug Lytle wrote: Grab a recent dahdi-source from somewhere: Did just that and ran your listed command. The compile fails at: make[3]: Entering directory `/usr/src/linux-3.6.9' CC [M] /usr/src/modules/dahdi/drivers/dahdi/dahdi-base.o /usr/src/modules/dahdi/drivers/dahdi/dahdi-base.c:52:28: error: linux/smp_lock.h: No such file or directory What version did you use? 2.6.1 or the older 2.3.0 one? If the latter, try 2.6.1 . -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir -- _ -- 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-users
Re: [asterisk-users] DAHDI and Oslec
or the older 2.3.0 one? If the latter, try 2.6.1 . Started from scratch, and then downloaded the 2.6.1. This time is succeeded. Thanks for everybody input and Tzafrir's help! Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- _ -- 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-users
Re: [asterisk-users] dahdi and oslec
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-users hehe ;) 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 :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: w...@jabber.slan.ru web: http://gentoo-way.blogspot.com -- _ -- 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-users
Re: [asterisk-users] dahdi and oslec
You might have to load the canceller with a modprobe (modprobe mg2 for example) -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of wins mallow Sent: Wednesday, March 03, 2010 1:28 AM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] dahdi and oslec 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-users hehe ;) 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 :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: w...@jabber.slan.ru web: http://gentoo-way.blogspot.com -- _ -- 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-users -- _ -- 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-users
Re: [asterisk-users] dahdi and oslec
On Wed, Mar 03, 2010 at 08:19:12AM -0600, Danny Nicholas wrote: You might have to load the canceller with a modprobe (modprobe mg2 for example) It's 'dahdi_echocan_mg2' . And dahdi should modprobe it for you when you run dahdi_cfg . -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir -- _ -- 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-users
Re: [asterisk-users] dahdi and oslec
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-users hehe ;) 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 :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: w...@jabber.slan.ru web: http://gentoo-way.blogspot.com -- _ -- 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-users
Re: [asterisk-users] dahdi and oslec
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-users hehe ;) 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 :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: w...@jabber.slan.ru web: http://gentoo-way.blogspot.com -- _ -- 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-users
Re: [asterisk-users] Dahdi and oslec
I am having problems with spa3102 FXO ports. It has a lot of echo, so be careful when you get one of does! 2010/1/6 Joseph L. Casale jcas...@activenetwerx.com I don't use them myself, but I was thinking that the RHEL5 spec files might be another place to look for what you need to build with OSLEC included, more specifically for CentOS. I just tried taking a look at ATrpms, but the site is having some connection issues at the moment. How about this -- another CentOS repo: http://www.zultron.com/2009/03/dahdi-rpms/ This TDM410p card is making my life miserable, it works like crap and kernel panics several different systems. At this point, I am just going to get a Linksys SPA3102 and be done with this nightmare... ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dahdi and oslec
On Monday 04 January 2010 07:16:49 Joseph L. Casale wrote: Looking at the source in the rpms from the asterisk package site appears that oslec is not built and enabled for the kmod rpms. Anyone know an existing repo or have direction on how to enable this to built for those rpms? I build them for the kernels I use (Fedora 12 x86_64 and i686.PAE) but you can check http://messinet.com/trac/rpms/ and checkout the svn-build-rpm tool to build from an svn checkout if you already have a build setup configured. -- Anthony - http://messinet.com - http://messinet.com/~amessina/gallery 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E signature.asc Description: This is a digitally signed message part. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dahdi and oslec
I build them for the kernels I use (Fedora 12 x86_64 and i686.PAE) but you can check http://messinet.com/trac/rpms/ and checkout the svn-build-rpm tool to build from an svn checkout if you already have a build setup configured. Anthony, I appreciate the pointer, and I do have a build environment but am not 100% sure how to accomplish this under CentOS with your files. Can you elaborate a bit to get me started? Thank you very much! jlc ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dahdi and oslec
I build them for the kernels I use (Fedora 12 x86_64 and i686.PAE) but you can check http://messinet.com/trac/rpms/ and checkout the svn-build-rpm tool to build from an svn checkout if you already have a build setup configured. Anthony, So this script builds them with the dahdi-tools-libs package requirement, I thought the fedora spec built all of these? Any idea? Thanks! jlc ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dahdi and oslec
On Mon, Jan 04, 2010 at 01:16:49PM +, Joseph L. Casale wrote: Looking at the source in the rpms from the asterisk package site appears that oslec is not built and enabled for the kmod rpms. Anyone know an existing repo or have direction on how to enable this to built for those rpms? git clone http://git.tzafrir.org.il/git/dahdi-extra.git cd dahdi-extra make gen-patch And use the generated dahdi_linux_extra.diff . It includes OSLEC and some other things. See the Makefile there for more information. The patch should be applied with -p1 . This repository includes the extra DAHDI drivers currently included directly in the Debian package. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dahdi and oslec
git clone http://git.tzafrir.org.il/git/dahdi-extra.git cd dahdi-extra make gen-patch And use the generated dahdi_linux_extra.diff . It includes OSLEC and some other things. See the Makefile there for more information. The patch should be applied with -p1 . This repository includes the extra DAHDI drivers currently included directly in the Debian package. Tzafrir, Thank you very much for this. It's been ages since I had to do this, and previously I was downloading a recent kernel source and copying drivers/staging/echo to the dahdi source, then modifying the dahdi kbuild and adding an echo kbuild. This really isn't an area I am all that familiar with, but should I assume this patch includes the source for that recent kernel echo code, and as a result I could apply this to Jason Parkers srpm for dahdi-linux-2.2.0.2, then rebuild the whole set to leverage the kmod under CentOS? Thanks again! jlc ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dahdi and oslec
On Tue, Jan 05, 2010 at 09:42:48PM +, Joseph L. Casale wrote: git clone http://git.tzafrir.org.il/git/dahdi-extra.git cd dahdi-extra make gen-patch And use the generated dahdi_linux_extra.diff . It includes OSLEC and some other things. See the Makefile there for more information. The patch should be applied with -p1 . This repository includes the extra DAHDI drivers currently included directly in the Debian package. Tzafrir, Thank you very much for this. It's been ages since I had to do this, and previously I was downloading a recent kernel source and copying drivers/staging/echo to the dahdi source, then modifying the dahdi kbuild and adding an echo kbuild. This really isn't an area I am all that familiar with, but should I assume this patch includes the source for that recent kernel echo code, and as a result I could apply this to Jason Parkers srpm for dahdi-linux-2.2.0.2, then rebuild the whole set to leverage the kmod under CentOS? Basically - yes. It's an extra patch to add to your source RPM. Are you familiar with modifying them? -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dahdi and oslec
On Tuesday 05 January 2010 12:21:15 Joseph L. Casale wrote: So this script builds them with the dahdi-tools-libs package requirement, I thought the fedora spec built all of these? Any idea? Fedora packages the dahdi-tools* suff, but can't include the kernel modules. I did not realize you were using CentOS. You'll need to change some of the definitions at the top of the file to match whatever version of dahdi-tools you have installed (if CentOS has them). If not, the Fedora specs and patches are here: http://cvs.fedoraproject.org/viewvc/rpms/dahdi-tools/ -- Anthony - http://messinet.com - http://messinet.com/~amessina/gallery 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E signature.asc Description: This is a digitally signed message part. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dahdi and oslec
Basically - yes. It's an extra patch to add to your source RPM. Are you familiar with modifying them? Tzafrir, Vaguely, I would very graciously take any suggestions you could provide:) The whole dahdi package routine has change since the last time I used it, was shortly Jason Parker started providing the dahdi linux/tools. From what I can tell so far, I can continue to use his user tools unchanged but I need to apply this patch to the tar file in the dahdi-linux-2.2.0.2-1_centos5.src.rpm and rebuild it, but that , `dahdi-linux` pulls in: dahdi-firmware dahdi-firmware-oct6114-064 dahdi-firmware-oct6114-128 dahdi-firmware-tc400m kmod-dahdi-linux kmod-dahdi-linux-fwload- yum-kmod That of which contain dahdi-firmware and kmod-dahdi-linux-fwload-vpmadt032 which don't have srpms available to me. I'm just unclear on how the patching of the dahdi-linux rpm affects the rest. Thanks for any guidance! jlc ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dahdi and oslec
On Tuesday 05 January 2010 17:09:32 Joseph L. Casale wrote: From what I can tell so far, I can continue to use his user tools unchanged but I need to apply this patch to the tar file in the dahdi-linux-2.2.0.2-1_centos5.src.rpm and rebuild it, but that , `dahdi-linux` pulls in atrpms.net also provides packages for RHEL5, if those would work. http://atrpms.net/dist/el5/ -- Anthony - http://messinet.com - http://messinet.com/~amessina/gallery 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E signature.asc Description: This is a digitally signed message part. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dahdi and oslec
atrpms.net also provides packages for RHEL5, if those would work. http://atrpms.net/dist/el5/ Just on my way to work on this server now, this would be great! That way I don't have to work all night:) Does the atrpms ones finally do oslec? Thanks! jlc ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dahdi and oslec
On Tuesday 05 January 2010 17:30:31 Joseph L. Casale wrote: Just on my way to work on this server now, this would be great! That way I don't have to work all night:) Does the atrpms ones finally do oslec? I don't use them myself, but I was thinking that the RHEL5 spec files might be another place to look for what you need to build with OSLEC included, more specifically for CentOS. I just tried taking a look at ATrpms, but the site is having some connection issues at the moment. How about this -- another CentOS repo: http://www.zultron.com/2009/03/dahdi-rpms/ Otherwise I'm afraid you'll need to patch and compile. -- Anthony - http://messinet.com - http://messinet.com/~amessina/gallery 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E signature.asc Description: This is a digitally signed message part. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Dahdi and oslec
I don't use them myself, but I was thinking that the RHEL5 spec files might be another place to look for what you need to build with OSLEC included, more specifically for CentOS. I just tried taking a look at ATrpms, but the site is having some connection issues at the moment. How about this -- another CentOS repo: http://www.zultron.com/2009/03/dahdi-rpms/ This TDM410p card is making my life miserable, it works like crap and kernel panics several different systems. At this point, I am just going to get a Linksys SPA3102 and be done with this nightmare... ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] DAHDI with OSLEC
Marco Sambo wrote: Mhmm. Thaht's strange! modinfo oslec -- modinfo: could not find module oslec and modinfo dahdi_echocan_oslec -- filename: /lib/modules/2.6.26-1-486/dahdi/dahdi_echocan_oslec.ko license:GPL author: Tzafrir Cohen tzafrir.co...@xorcom.com description:DAHDI OSLEC wrapper depends:dahdi vermagic: 2.6.26-1-486 mod_unload modversions 486 2009/3/31 Tzafrir Cohen tzafrir.co...@xorcom.com On Tue, Mar 31, 2009 at 05:02:36PM +0200, Marco Sambo wrote: Hi, I've a problem: I can't configure DAHDI with ech canceller OSLEC. I have Asterisk 1.4.24 and DAHDI 2.1.0.2. I compiled also OSLEC. But when in /etc/dahdi/systems.conf I insert value echocanceller=oslec,1-4, command dahdi_cfg - give me an error about oslec. What is the output of: modinfo oslec modinfo dahdi_echocan_oslec -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.comjabber%3atzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir ___ I'm not sure that is strange. When I build DAHDI with OSLEC I don't get an oslec module, I get an echo module: r...@srvpbx:~# modinfo echo filename: /lib/modules/2.6.27.19-smp/staging/echo/echo.ko version:0.3.0 description:Open Source Line Echo Canceller author: David Rowe license:GPL srcversion: 285EC80D84DCE294A677160 depends: vermagic: 2.6.27.19-smp SMP preempt mod_unload 686 r...@srvpbx:~# modinfo dahdi_echocan_oslec filename: /lib/modules/2.6.27.19-smp/dahdi/dahdi_echocan_oslec.ko license:GPL author: Tzafrir Cohen tzafrir.co...@xorcom.com description:DAHDI OSLEC wrapper depends:dahdi,echo vermagic: 2.6.27.19-smp SMP preempt mod_unload 686 Try building DAHDI with the steps detailed here and see if you have better luck: http://lists.digium.com/pipermail/asterisk-users/2009-January/225299.html -Dave ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] DAHDI with OSLEC
But I don't have also echo modinfo echo modinfo: could not find module echo 2009/4/1 Dave Fullerton dfullertaster...@shorelinecontainer.com Marco Sambo wrote: Mhmm. Thaht's strange! modinfo oslec -- modinfo: could not find module oslec and modinfo dahdi_echocan_oslec -- filename: /lib/modules/2.6.26-1-486/dahdi/dahdi_echocan_oslec.ko license:GPL author: Tzafrir Cohen tzafrir.co...@xorcom.com description:DAHDI OSLEC wrapper depends:dahdi vermagic: 2.6.26-1-486 mod_unload modversions 486 2009/3/31 Tzafrir Cohen tzafrir.co...@xorcom.com On Tue, Mar 31, 2009 at 05:02:36PM +0200, Marco Sambo wrote: Hi, I've a problem: I can't configure DAHDI with ech canceller OSLEC. I have Asterisk 1.4.24 and DAHDI 2.1.0.2. I compiled also OSLEC. But when in /etc/dahdi/systems.conf I insert value echocanceller=oslec,1-4, command dahdi_cfg - give me an error about oslec. What is the output of: modinfo oslec modinfo dahdi_echocan_oslec -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.comjabber%3atzafrir.co...@xorcom.com jabber%3atzafrir.co...@xorcom.com jabber%253atzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir ___ I'm not sure that is strange. When I build DAHDI with OSLEC I don't get an oslec module, I get an echo module: r...@srvpbx:~# modinfo echo filename: /lib/modules/2.6.27.19-smp/staging/echo/echo.ko version:0.3.0 description:Open Source Line Echo Canceller author: David Rowe license:GPL srcversion: 285EC80D84DCE294A677160 depends: vermagic: 2.6.27.19-smp SMP preempt mod_unload 686 r...@srvpbx:~# modinfo dahdi_echocan_oslec filename: /lib/modules/2.6.27.19-smp/dahdi/dahdi_echocan_oslec.ko license:GPL author: Tzafrir Cohen tzafrir.co...@xorcom.com description:DAHDI OSLEC wrapper depends:dahdi,echo vermagic: 2.6.27.19-smp SMP preempt mod_unload 686 Try building DAHDI with the steps detailed here and see if you have better luck: http://lists.digium.com/pipermail/asterisk-users/2009-January/225299.html -Dave ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] DAHDI with OSLEC
One thing! I saw that I use kernel 2.6.26 in my asterisk machine. I should use kernel 2.6.28 or newer to use oslec with DAHDI??? 2009/4/1 Marco Sambo derwid...@gmail.com But I don't have also echo modinfo echo modinfo: could not find module echo 2009/4/1 Dave Fullerton dfullertaster...@shorelinecontainer.com Marco Sambo wrote: Mhmm. Thaht's strange! modinfo oslec -- modinfo: could not find module oslec and modinfo dahdi_echocan_oslec -- filename: /lib/modules/2.6.26-1-486/dahdi/dahdi_echocan_oslec.ko license:GPL author: Tzafrir Cohen tzafrir.co...@xorcom.com description:DAHDI OSLEC wrapper depends:dahdi vermagic: 2.6.26-1-486 mod_unload modversions 486 2009/3/31 Tzafrir Cohen tzafrir.co...@xorcom.com On Tue, Mar 31, 2009 at 05:02:36PM +0200, Marco Sambo wrote: Hi, I've a problem: I can't configure DAHDI with ech canceller OSLEC. I have Asterisk 1.4.24 and DAHDI 2.1.0.2. I compiled also OSLEC. But when in /etc/dahdi/systems.conf I insert value echocanceller=oslec,1-4, command dahdi_cfg - give me an error about oslec. What is the output of: modinfo oslec modinfo dahdi_echocan_oslec -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.comjabber%3atzafrir.co...@xorcom.com jabber%3atzafrir.co...@xorcom.com jabber%253atzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir ___ I'm not sure that is strange. When I build DAHDI with OSLEC I don't get an oslec module, I get an echo module: r...@srvpbx:~# modinfo echo filename: /lib/modules/2.6.27.19-smp/staging/echo/echo.ko version:0.3.0 description:Open Source Line Echo Canceller author: David Rowe license:GPL srcversion: 285EC80D84DCE294A677160 depends: vermagic: 2.6.27.19-smp SMP preempt mod_unload 686 r...@srvpbx:~# modinfo dahdi_echocan_oslec filename: /lib/modules/2.6.27.19-smp/dahdi/dahdi_echocan_oslec.ko license:GPL author: Tzafrir Cohen tzafrir.co...@xorcom.com description:DAHDI OSLEC wrapper depends:dahdi,echo vermagic: 2.6.27.19-smp SMP preempt mod_unload 686 Try building DAHDI with the steps detailed here and see if you have better luck: http://lists.digium.com/pipermail/asterisk-users/2009-January/225299.html -Dave ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] DAHDI with OSLEC
Marco Sambo wrote: One thing! I saw that I use kernel 2.6.26 in my asterisk machine. I should use kernel 2.6.28 or newer to use oslec with DAHDI??? You don't need to, if you read me previous email you'll notice I'm running 2.6.27.19. Rebuild DAHDI with the instructions I linked to and you'll get the echo module with DADHI. It requires you download 2.6.28 but not that you are running 2.6.28. 2009/4/1 Marco Sambo derwid...@gmail.com But I don't have also echo modinfo echo modinfo: could not find module echo 2009/4/1 Dave Fullerton dfullertaster...@shorelinecontainer.com Marco Sambo wrote: Mhmm. Thaht's strange! modinfo oslec -- modinfo: could not find module oslec and modinfo dahdi_echocan_oslec -- filename: /lib/modules/2.6.26-1-486/dahdi/dahdi_echocan_oslec.ko license:GPL author: Tzafrir Cohen tzafrir.co...@xorcom.com description:DAHDI OSLEC wrapper depends:dahdi vermagic: 2.6.26-1-486 mod_unload modversions 486 2009/3/31 Tzafrir Cohen tzafrir.co...@xorcom.com On Tue, Mar 31, 2009 at 05:02:36PM +0200, Marco Sambo wrote: Hi, I've a problem: I can't configure DAHDI with ech canceller OSLEC. I have Asterisk 1.4.24 and DAHDI 2.1.0.2. I compiled also OSLEC. But when in /etc/dahdi/systems.conf I insert value echocanceller=oslec,1-4, command dahdi_cfg - give me an error about oslec. What is the output of: modinfo oslec modinfo dahdi_echocan_oslec -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.comjabber%3atzafrir.co...@xorcom.com jabber%3atzafrir.co...@xorcom.com jabber%253atzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir ___ I'm not sure that is strange. When I build DAHDI with OSLEC I don't get an oslec module, I get an echo module: r...@srvpbx:~# modinfo echo filename: /lib/modules/2.6.27.19-smp/staging/echo/echo.ko version:0.3.0 description:Open Source Line Echo Canceller author: David Rowe license:GPL srcversion: 285EC80D84DCE294A677160 depends: vermagic: 2.6.27.19-smp SMP preempt mod_unload 686 r...@srvpbx:~# modinfo dahdi_echocan_oslec filename: /lib/modules/2.6.27.19-smp/dahdi/dahdi_echocan_oslec.ko license:GPL author: Tzafrir Cohen tzafrir.co...@xorcom.com description:DAHDI OSLEC wrapper depends:dahdi,echo vermagic: 2.6.27.19-smp SMP preempt mod_unload 686 Try building DAHDI with the steps detailed here and see if you have better luck: http://lists.digium.com/pipermail/asterisk-users/2009-January/225299.html -Dave ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- DO NOT SEND WITH THIS ACCOUNT ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] DAHDI with OSLEC
On Tue, Mar 31, 2009 at 05:02:36PM +0200, Marco Sambo wrote: Hi, I've a problem: I can't configure DAHDI with ech canceller OSLEC. I have Asterisk 1.4.24 and DAHDI 2.1.0.2. I compiled also OSLEC. But when in /etc/dahdi/systems.conf I insert value echocanceller=oslec,1-4, command dahdi_cfg - give me an error about oslec. What is the output of: modinfo oslec modinfo dahdi_echocan_oslec -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] DAHDI with OSLEC
Mhmm. Thaht's strange! modinfo oslec -- modinfo: could not find module oslec and modinfo dahdi_echocan_oslec -- filename: /lib/modules/2.6.26-1-486/dahdi/dahdi_echocan_oslec.ko license:GPL author: Tzafrir Cohen tzafrir.co...@xorcom.com description:DAHDI OSLEC wrapper depends:dahdi vermagic: 2.6.26-1-486 mod_unload modversions 486 2009/3/31 Tzafrir Cohen tzafrir.co...@xorcom.com On Tue, Mar 31, 2009 at 05:02:36PM +0200, Marco Sambo wrote: Hi, I've a problem: I can't configure DAHDI with ech canceller OSLEC. I have Asterisk 1.4.24 and DAHDI 2.1.0.2. I compiled also OSLEC. But when in /etc/dahdi/systems.conf I insert value echocanceller=oslec,1-4, command dahdi_cfg - give me an error about oslec. What is the output of: modinfo oslec modinfo dahdi_echocan_oslec -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.comjabber%3atzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users