keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

Oslec Echo Canceller installation on A400P / Trixbox 2.8

13 years 8 months ago #6047 by lisa.gao
Hi,
vi /etc/dahdi/genconf_parameters
add this: echo_can oslec
THen execute:
dahdi_genconf
dahdi_cfg -vvvv
It will show as the following:
Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 04)

4 channels to configure.

Setting echocan for channel 1 to oslec
Setting echocan for channel 2 to oslec
Setting echocan for channel 3 to oslec
Setting echocan for channel 4 to oslec

13 years 8 months ago #6053 by Paddy_ot
Hi Lisa,

I get the following error: DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22) when I run: dahdi_cfg -vvvv

Any suggestions?



dahdi_cfg -vvvv

DAHDI Tools Version - 2.2.0
DAHDI Version: 2.2.0
Echo Canceller(s):
Configuration
======================

Channel map:
Channel 01: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 04)
4 channels to configure.
Setting echocan for channel 1 to oslec
DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22)
13 years 8 months ago #6056 by lisa.gao
Hi,
If this, you have not installed oslec or configured successfully. would you please provide SSH to us? And if possible, please add my MSN: This email address is being protected from spambots. You need JavaScript enabled to view it.
or G talk: This email address is being protected from spambots. You need JavaScript enabled to view it.

13 years 8 months ago #6059 by Paddy_ot
Hi,

I have forward my ssh details and information to your MSN: This email address is being protected from spambots. You need JavaScript enabled to view it.

Also I have added you to my MSN

Thanks
13 years 8 months ago #6098 by Paddy_ot
Hi,

I sent you the SSH details did you receive them?

I also ran the command as directed, inserting the path to the DAHDI file I downloaded:

sed -i "s|#obj-m += dahdi_echocan_oslec.o|obj-m += dahdi_echocan_oslec.o|" /usr/src/dahdi/dahdi-linux-complete-2.2.0+2.2.0/drivers/dahdi/Kbuild

However I still get the following after running this command:

sed: can't read /usr/src/dahdi/dahdi-linux-complete-2.2.0+2.2.0/drivers/dahdi/Kbuild: No such file or directory

Should there be a folder called KBuild here?

When I run the command:

ls /lib/modules/`uname -r`/dahdi/dahdi_echocan*
/lib/modules/2.6.18-128.1.10.el5/dahdi/dahdi_echocan_jpah.ko /lib/modules/2.6.18-128.1.10.el5/dahdi/dahdi_echocan_sec2.ko
/lib/modules/2.6.18-128.1.10.el5/dahdi/dahdi_echocan_kb1.ko /lib/modules/2.6.18-128.1.10.el5/dahdi/dahdi_echocan_sec.ko
/lib/modules/2.6.18-128.1.10.el5/dahdi/dahdi_echocan_mg2.k

I cannot see the oslec module here

My system.conf file looks

# Autogenerated by /usr/sbin/dahdi_genconf on Tue Aug 31 06:21:29 2010
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
fxsks=1
echocanceller=oslec,1
fxsks=2
echocanceller=oslec,2
fxsks=3
echocanceller=oslec,3
fxsks=4
echocanceller=oslec,4

# Global data

loadzone = us
defaultzone = us


Any help?
13 years 8 months ago #6104 by lisa.gao
HI,
I have send you infomation to your MSN the day before yesterday. I found where you are wrong. You didn't find the right directory of file. For example, when you run this command:
sed -i "s|#obj-m += dahdi_echocan_oslec.o|obj-m += dahdi_echocan_oslec.o|" /usr/src/dahdi/dahdi-linux-complete-2.2.0+2.2.0/drivers/dahdi/Kbuild
you should run it like this:
sed -i "s|#obj-m += dahdi_echocan_oslec.o|obj-m += dahdi_echocan_oslec.o|" /usr/src/dahdi/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi/Kbuild
You should change the directory to yours in your system. The other command is the same.
I have change for you. Now you only should do this:
cd /usr/src/dahdi/dahdi-linux-complete-2.2.0+2.2.0/
make
make install






Time to create page: 0.036 seconds
Powered by Kunena Forum