Trying again... I think this got lost in the mailing list interruptions during 
the last day or two...

----- Forwarded Message -----
From: "Tim Nelson" <tnel...@fudnet.net>
To: asterisk-users@lists.digium.com
Sent: Wednesday, December 15, 2010 5:07:20 PM
Subject: [asterisk-users] Echo Cancellation Problem - Invalid Argument?!?

Greetings folks-

I'm experiencing issues with a freshly installed box. When a call comes in via 
PRI (Sangoma AFT-A104), I see this in my logs:

[Dec 15 14:26:10] WARNING[23546] chan_dahdi.c: Unable to enable echo 
cancellation on channel 12 (Invalid argument)
[Dec 15 14:26:10] WARNING[23546] chan_dahdi.c: Unable to enable echo 
cancellation on channel 8 (Invalid argument)
[Dec 15 14:26:10] WARNING[23546] chan_dahdi.c: Unable to enable echo 
cancellation on channel 10 (Invalid argument)
[Dec 15 14:26:10] WARNING[23546] chan_dahdi.c: Unable to enable echo 
cancellation on channel 9 (Invalid argument)

Relevant components:

Asterisk:
Asterisk SVN-trunk-r290509 built by root @ prigw01 on a i686 running Linux on 
2010-11-30 22:12:05 UTC

DAHDI:
dahdi-linux-complete-2.4.0+2.4.0

LibPRI:
libpri-1.4.11.5

Wanpipe:
wanpipe-3.5.18

Kernel:
Linux prigw01 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 
i686 GNU/Linux

The card does not have a hardware echo canceler. It should use MG2 as specified 
in DAHDI's system.conf:

#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
#autogenrated on 2010-12-08
#Dahdi Channels Configurations
#For detailed Dahdi options, view /etc/dahdi/system.conf.bak
loadzone=us
defaultzone=us

#Sangoma A104 port 1 [slot:2 bus:2 span:1] <wanpipe1>
span=1,1,0,esf,b8zs
bchan=1-23
#dchan=24
echocanceller=mg2,1-23
hardhdlc=24


And, from chan_dahdi.conf:
;Sangoma A104 port 1 [slot:2 bus:2 span:1] <wanpipe1>
switchtype=national
context=ldrouted
group=1
echocancel=yes
signalling=pri_net
channel =>1-23


Any thoughts, pointers, suggestions? The echo is horrible, please help me make 
it stop. :-)

--Tim


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

Reply via email to