Re: [asterisk-users] oslec + dahdi

2009-01-22 Thread Dave Fullerton
Tzafrir Cohen wrote:
 On Wed, Jan 21, 2009 at 06:35:58PM -0600, troxlinux wrote:
 Hi list, I install dahdi-linux successfully with the  module of oslec
 for the echo, but when I specify it in the system.conf the  echo
 canceller oslec it shows me errors:

 DAHDI_ATTACH_ECHOCAN failed on channel 4: Invalid argument (22)
 
 What version have you installed?
 

This sounds similar to a post on the OSLEC mailing list (no resolution 
there either):

http://sourceforge.net/mailarchive/forum.php?thread_name=Pine.OSX.4.64.0901121456390.25971%40john.brc.ubc.caforum_name=freetel-oslec

I'm having the same issue with dahdi-linux-2.1.0.3 using the staging 
drivers from 2.6.28.


-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] oslec + dahdi

2009-01-22 Thread troxlinux
I have dahdi-linux-2.1.0.3 in centos 5.2 and the last version oslec svn

I have installed oslec and loaded, but it doesn't work me with dahdi

 modinfo oslec
filename:   /lib/modules/2.6.18-92.1.22.el5/kernel/net/ipv4/oslec.ko
description:Open Source Line Echo Canceller Zaptel Wrapper
author: David Rowe
license:GPL
srcversion: 13813ACD4A228F69FF4B5C1
depends:
vermagic:   2.6.18-92.1.22.el5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.

oslec is a great great great software, with the version of zaptel
1.4.11 I had it installed and without anything of echo in my card TDM
400

regardss


2009/1/22 Tzafrir Cohen tzafrir.co...@xorcom.com:

 What version have you installed?

 --


-- 
rickygm

___
-- 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] oslec + dahdi

2009-01-22 Thread Vincent Li



On Thu, 22 Jan 2009, troxlinux wrote:

 I have dahdi-linux-2.1.0.3 in centos 5.2 and the last version oslec svn

 I have installed oslec and loaded, but it doesn't work me with dahdi

 modinfo oslec
 filename:   /lib/modules/2.6.18-92.1.22.el5/kernel/net/ipv4/oslec.ko
 description:Open Source Line Echo Canceller Zaptel Wrapper
 author: David Rowe
 license:GPL
 srcversion: 13813ACD4A228F69FF4B5C1
 depends:
 vermagic:   2.6.18-92.1.22.el5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.

 oslec is a great great great software, with the version of zaptel
 1.4.11 I had it installed and without anything of echo in my card TDM
 400

I almost have the same enviroment as you, I basically run the following 
script to get oslec work with my tdm411 card.

#!/bin/sh
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
wget 
http://downloads.digium.com/pub/telephony/dahdi-tools/dahdi-tools-2.1.0.2.tar.gz
wget 
http://downloads.digium.com/pub/telephony/dahdi-linux/dahdi-linux-2.1.0.3.tar.gz
tar zxvf dahdi-linux-2.1.0.3.tar.gz
ln -s /usr/src/dahdi-linux-2.1.0.3 /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

Hope it helps.


Vincent Li
System Administrator
BRC,UBC
perl 
-e'print\131e\164\040\101n\157t\150e\162\040\114i\156u\170\040\107e\145k\012'





___
-- 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] oslec + dahdi

2009-01-22 Thread Dave Fullerton
Vincent Li wrote:
 
 
 On Thu, 22 Jan 2009, troxlinux wrote:
 
 I have dahdi-linux-2.1.0.3 in centos 5.2 and the last version oslec svn

 I have installed oslec and loaded, but it doesn't work me with dahdi

 modinfo oslec
 filename:   /lib/modules/2.6.18-92.1.22.el5/kernel/net/ipv4/oslec.ko
 description:Open Source Line Echo Canceller Zaptel Wrapper
 author: David Rowe
 license:GPL
 srcversion: 13813ACD4A228F69FF4B5C1
 depends:
 vermagic:   2.6.18-92.1.22.el5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.

 oslec is a great great great software, with the version of zaptel
 1.4.11 I had it installed and without anything of echo in my card TDM
 400
 
 I almost have the same enviroment as you, I basically run the following 
 script to get oslec work with my tdm411 card.
 
 #!/bin/sh
 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
 wget 
 http://downloads.digium.com/pub/telephony/dahdi-tools/dahdi-tools-2.1.0.2.tar.gz
 wget 
 http://downloads.digium.com/pub/telephony/dahdi-linux/dahdi-linux-2.1.0.3.tar.gz
 tar zxvf dahdi-linux-2.1.0.3.tar.gz
 ln -s /usr/src/dahdi-linux-2.1.0.3 /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
 
 Hope it helps.
 
 
 Vincent Li
 System Administrator
 BRC,UBC
 perl 
 -e'print\131e\164\040\101n\157t\150e\162\040\114i\156u\170\040\107e\145k\012'


Thanks! I think this is the part we were missing:
echo 'obj-m += echo.o'  /usr/src/dahdi/drivers/staging/echo/Kbuild

Any chance someone could add that line into the dahdi-linux README?

It now modprobe's without issues. I'll get to trying it out later.

-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


[asterisk-users] oslec + dahdi

2009-01-21 Thread troxlinux
Hi list, I install dahdi-linux successfully with the  module of oslec
for the echo, but when I specify it in the system.conf the  echo
canceller oslec it shows me errors:

DAHDI_ATTACH_ECHOCAN failed on channel 4: Invalid argument (22)

I see that the  echo cancellers is supported: mg2, kb1, sec2, and sec

because oslec is not supported?, but he has support to compile it with
dahdi_linux!

best regards

-- 
rickygm

___
-- 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] oslec + dahdi

2009-01-21 Thread Tzafrir Cohen
On Wed, Jan 21, 2009 at 06:35:58PM -0600, troxlinux wrote:
 Hi list, I install dahdi-linux successfully with the  module of oslec
 for the echo, but when I specify it in the system.conf the  echo
 canceller oslec it shows me errors:
 
 DAHDI_ATTACH_ECHOCAN failed on channel 4: Invalid argument (22)

What version have you installed?

-- 
   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