I've spent all day today trying to fix an echo problem and I've made no ground whatsoever. I have Digium TDM400 with 3 FXO & 1 FXS. I've tried this computer at two completely different sites with different phone providers. I've tried compiling & installing different versions of Zaptel (currently running 1.4.0, started at 1.2.9 and worked my way up). I've tried compiling MG2 & Mark, AGGRESSIVE & not. I've played with echocancel & echotraining, starting at 32 & 100, increasing the training up to 1100, 200 at a time, then increasing echocancel to 64, 128, 256 until I've gone through 100 different combinations. I've increased & decreased in different ways both txgain & rxgain. I must be, MUST be missing something, as nothing seems to make any difference. If I increase or decrease txgain/rxgain, I can hear the noise go up or down as expected, but that's it. Below is my zapata.conf, any help would be most appreciated, I'm going crazy. Here's a few questions I have I hope will help: 1. How do I determine which version of Zaptel is running? 2. How do I determine which echo canceller is installed & running (MARK2, MG2, so on) 3. It seems to be only incoming calls that have an echo and only on the inside, the outside never hears one, what does this mean? Thanks for any help, Ken ------------zapata.conf------------ ; ; Zapata telephony interface ; ; Configuration file [trunkgroups] [channels] language=en context=from-zaptel signalling=fxs_ks usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=64 echocancelwhenbridged=no echotraining=800 rxgain=0.0 txgain=0.0 group=0 callgroup=1 pickupgroup=1 immediate=no ;faxdetect=both faxdetect=incoming ;faxdetect=outgoing ;faxdetect=no ;Include genzaptelconf configs #include zapata-auto.conf group=1 ----------zapata-auto.conf------------- ; Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit ; Zaptel Channels Configurations (zapata.conf) ; ; This is not intended to be a complete zapata.conf. Rather, it is intended ; to be #include-d by /etc/zapata.conf that will include the global settings ; callerid=asreceived ; Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" signalling=fxo_ks ; Note: this is an extension. Create a ZAP extension in AMP for Channel 1 context=from-internal group=1 channel => 1 signalling=fxs_ks ; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 2 context=from-zaptel group=0 channel => 2 signalling=fxs_ks ; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 3 context=from-zaptel group=0 channel => 3 signalling=fxs_ks ; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 4 context=from-zaptel group=0 channel => 4 ; Span 2: ZTDUMMY/1 "ZTDUMMY/1 1"
Ken Williams wrote:> I've spent all day today trying to fix an echo problem and I've made no > ground whatsoever. >Have you played with fxotune? Seems to be a very nice tool that is less than well documented..
> 3. It seems to be only incoming calls that have an echo and only on the > inside, the outside never hears one, what does this mean? >Why don't you record the call at asterisk? Leave the zaptel settings as default, i.e. standard echo cancel and rxgain=txgain=0. Don't use MixMonitor, just leave everything as in and out. It will help you isolate whether it's PSTN echo. If you don't hear any echo in the recording, then the problem is most likely your phone. Leo
Well here's what I did to finally get some sort of ground. I was going to move the card to a different slot, when I opened up the box I saw there was a power split between the connector & the card to feed a fan in the system. I removed this split so it was straight in from the power supply. I then moved the card to another slot, and between the two, echo cancellation actually started to work. I played with the settings a bit, then got your e-mail and noticed I was in fact using the wrong fxotune. I used the new version, switched back to MG2 from MARK2 and removed aggressive suppressor. Now I am practically echo free. Thanks for the tips, any ideas why either the power split or the card slot would keep add echo, or at least make it so my echo settings weren't taking? As soon as I modified the hardware the echo was vastly improved, then the minor modifications mentioned above wrapped it up. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matthew Fredrickson Sent: Friday, January 12, 2007 9:14 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Echo... On Jan 11, 2007, at 8:53 PM, Ken Williams wrote:> I tried to be thorough, but of course left fxotune out. I did try > fxotune, it resulted in something like 9,0,0,0,0,0,0,0 for each fxo > (I'm not at work now, I can post the results if it'll help).Make sure you run fxotune from 1.4 (or trunk). From your output values, it looks like you just tried the 1.2 version of it. The 1.4 version sets the remaining values. It got a pretty considerable rework between 1.2 and 1.4 and runs a lot better. So here's your order of operations: 1.) Run 1.4 (or trunk) version of fxotune on your lines. 2.) Make sure your init scripts have fxotune -s in it (to set the values when you reboot). 3.) Use the MG2 echo canceler from 1.4. 4.) And if all else fails, try the aggressive suppressor option. I recommend that as the last and final option since it's a really non elegant way of fixing it. Matthew Fredrickson _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
should have sent this to the list, Gordon how are you getting on with BT? ----- Original Message ----- From: "Gordon Henderson" <gordon@drogon.net> To: "Wireless" <wireless@svw.org.uk> Sent: Friday, January 12, 2007 10:45 PM Subject: Re: [asterisk-users] Echo...> On Fri, 12 Jan 2007, Wireless wrote: > > > http://www.voip-info.org/wiki-Asterisk+and+UK+Caller+ID see comments atthe> > bottom > > Yup. Been through that, but I'll go back & try the gains again. > > > I got the Sangoma A200 from MyPhoneCall they seem to be the only place > > selling them in Blighty? would be interested if there is a cheapersource> > of course ;) > > Thats who I found (just using google though!) > > > Gordon when you use the agressive canceller do you find it clips thespeach?> > and what speed machine are you using? I'm using a P3 450mmx (using mmxin> > Zaptel) 256mb RAM maybe I need a faster machine to kill the Echo? > > The sound seems OK to me - certianly my wife's not complaining, neither > are any of my customers (so far - apart from the one with the weird echo > issue!) > > I'm using Mini ITX boards (VIA EPIA CN1000 boards) with a fanless 1GHz > processor. I have to compile Asterisk for a i586 as they are lacking some > MMX instructions, but are otherwise OK. > > My (home/office) test box is a 533MHz processor (same type, older version) > > > Eric (ManxPower) can you give us an example of the EC you get fromEbay -> > are these something that could be integrated with FXO ports on anAsterisk> > box? > > I'd need to have a look, but I'm not sure I want to do down this route if > I think I can get BT to fix it first! > > > Incidentally, I saw your web site ... I built up 3 differenet community > broadband systems using WiFi once upon a time. Intersting stuff but > it never paid for itself in the end... > > Cheers, > > Gordon > > > > > Thanks > > > > Harvey > > ----- Original Message ----- > > From: "Gordon Henderson" <gordon@drogon.net> > > To: "Wireless" <wireless@svw.org.uk> > > Sent: Friday, January 12, 2007 2:55 PM > > Subject: Re: [asterisk-users] Echo... > > > > > >> On Fri, 12 Jan 2007, Wireless wrote: > >> > >>> Gordon, if you can afford it go for a Sangoma A200 with hardware echo > >>> cancellation built in (it is my next step), the Sangoma support is > >>> excellent. I had a problem with CLID so I let Sangoma SSH into my > > Trixbox > >>> and they confirmed that my config was fine and suggested adjustingthe> >>> gain - which fixed my intermittent CLID. > >> > >> May I ask who you are buying it from in the UK? > >> > >> My home/office system passes the WT! And I have a dozen or so boxes outin> >> the field, but only this one which has the echo issue - however, I maybe> >> able to justify the additional cost to them if it makes it work. > >> > >> Intersting to hear about the callerId issues - I have issues too - I'll > >> try the gain settings next! > >> > >> Thanks, > >> > >> Gordon > >> > >> -- > >> This message has been scanned for viruses and > >> dangerous content by ESVA, and is > >> believed to be clean. > >> > >> > > > > -- > This message has been scanned for viruses and > dangerous content by ESVA, and is > believed to be clean. > >