login | register
Sat 05 of Jul, 2008 [03:18 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Samuel, Thu 03 of Jul, 2008 [13:41 UTC]: ok thank you
  • Mats Karlsson, Thu 03 of Jul, 2008 [13:37 UTC]: Nice Samuel, will look forward to rad it.
  • bwl_fernstudent, Thu 03 of Jul, 2008 [09:08 UTC]: Your blog shows some usefull code
  • Samuel, Thu 03 of Jul, 2008 [08:04 UTC]: I'll translate it, for sure
  • Mats Karlsson, Wed 02 of Jul, 2008 [20:46 UTC]: LOL, in french! Translate it to English and I will read it.
  • Samuel, Wed 02 of Jul, 2008 [08:07 UTC]: Hello, i wrote a blog about Asterisk, speaking about installation,programming and more http://sambranche.blogspot.com/
  • Nick Barnes, Tue 01 of Jul, 2008 [17:46 UTC]: Steve - Asterisk doesn't 'fit into linux' - it's an application which runs on top of Linux.
  • Steve, Mon 30 of Jun, 2008 [18:07 UTC]: anyone know where I can find a block diagram of how asterisk fits into linux. my f'ing bosses want me to draw something up.. ugh.
  • akbar, Fri 27 of Jun, 2008 [10:37 UTC]: marley_boyz@yahoo.com how to configure call forward, call back, call pick up using TDM and asterisk 1.2.13... please help me.. thx...
  • Matthew Williams, Tue 24 of Jun, 2008 [22:37 UTC]: We are looking for Tier II VoIP Support Technicians in St Louis. Send resumes to mwilliams AT voxitas DOT com.
Server Stats
  • Execution time: 0.39s
  • Memory usage: 2.61MB
  • Database queries: 33
  • GZIP: Disabled
  • Server load: 0.60

Asterisk echo avoidance

Asterisk Echo Avoidance


The problem arises when :
- you have some echo induced somewhere (your call goes through a 2 wire line)
- you have some delay induced somewhere (you use VoIP for instance)
In this scenario, echo becomes noticeable, and disturbing. You need to echo cancel at the closest from the source (in the ATA, for instance).

The following should not result in noticable echo:
VOIP Phone <-> Asterisk <-> VOIP Phone
VOIP Phone <-> Asterisk <-> T100P <-> PRI

I'm extremely dubious about the second of these claims. It's very likely that the telco won't bother doing any echo cancellation on a local call, on the basis that the echo path should be sufficiently short that you won't notice it; however, because you're using VOIP, the echo delay becomes noticeable, and the user of the VOIP phone will hear echo.

Assuming that the VOIP Phones do adequate echo cancellation at their end (which any VOIP phone worth its salt should), agreed that neither party will hear echo for the first situation.

Richard van der Hoff, July 2005


These have the potential for noticeable echo. An analog phone is a 2-4 wire hybrid (ear and mike -> 2 wire). FXS and FXO modules have 2-4 wire hybrids:
Analog phone <-> TDM10B-FXS <-> Asterisk <-> TDM01B-FXO <-> PSTN
Analog phone <-> ATA <-> Asterisk <-> TDM01B-FXO <-> PSTN
VOIP Phone <-> Asterisk <-> PSTN

It's often an issue of quality of the hybrids. I have been very happy with the TDMxxx hybrids, and very unhappy with the X100/101P hybrids.

In this setup, the channel bank provide the needed, and adequate echo cancellation:
Analog phone <-> Adtran TA750 <-> T100P <-> Asterisk <-> TDM01B-FXO <-> PSTN
Analog phone <-> Adtran TA750 <-> T100P <-> Asterisk <-> T100P <->PRI>

VOIP phones can throw a DSP at the echo problem and will generally have great success since the ear and mike interfaces are pretty much standard - you don't have unpredictable interfaces like you do on the PSTN side.

One other thing not often mentioned regarding Asterisk and echo, is the #define AGGRESSIVE_SUPPRESSOR in zconfig.h in the zaptel-source. If you have lots of trouble with echo, that cant seem to be solved any other way, try to uncomment this.

Also see the (somewhat obscure) reference to the same thing in Hunting the Echo: What to do if you have echo problems in Asterisk for some not-so-positive comments on the same thing.

Martin Kihlgren, 2004


One reason that AGGRESSIVE_SUPPRESSOR is less commonly talked about is because it switches your T1 to half-duplex mode, meaning you can hear OR talk, but not both (no interruptions). Sure, if we were all polite, this wouldn't matter, but in a functional phone system this simply isn't a tolerable scenario.



If you are unable to get rid of echo it is worth trying this: In the zconfig.h file a new zaptel echo canceller called ECHO_CAN_MG2 (MG2), Edit this file (found in /usr/src/zaptel on AAH) compile the driver end compile Asterisk - no echo at either end!!!

See also:


Asterisk | Tips & Tricks | FAQ
Created by flavour, Last modification by Rhino Equipment EMEA on Tue 07 of Aug, 2007 [14:52 UTC]

Comments Filter

VPN for VoIP Blocking

by jenniferhan on Wednesday 12 of December, 2007 [06:06:58 UTC]
Somebody use VPN to solve the VoIP Blocking issue. But it seems not a good way to solve the voip blocking issue. Because VPN will take more bandwidth and will take effection on the Voice Quality

Currently I am using the VGCP, a new solution to solve the VoIP Blocking issue. Following is theirs website:
http://www.speed-voip.com/index-36.html

If any of you have interested, you may try to use it to solve your VoIP Blocking problems. Thanks.

Andy
andywong-01@hotmail.com

echo problem

by Martin on Thursday 28 of September, 2006 [20:08:57 UTC]
I am having the following echo problem.
Please keep in mind this is only SiP, I am not calling out, only extension to extension.

Setup is:
Trixbox server:
Dual Xeon 3.0
4 gigs MEM

Phones:
Polycom IP501
Softphone – SJPhone

Locations:
Main office Boca Raton FL 100mg pipe
Chicago office T1 Line

Problem:
When I call from softphone to softphone inside Boca office works fine.
When I call from Polycom to softphone from inside Boca office works fine.
When I call softphone or Polycom from Boca to Chicago then, Chicago hear just fine and I hear Chicago just fine, however when I speak I hear my own echo very bad.

Please keep in mind this is all extension to extension. Also we have a vpn tunnel from here to Chicago.

Re: echo experienced

by dgorski on Thursday 10 of November, 2005 [19:58:13 UTC]

Turn the volume down on your handsets

echo experienced

by saratee on Thursday 24 of March, 2005 [20:08:05 UTC]
Im expereincing echo when i call between two SIP phones connected with Asterisk , and the echo is pretty bad whereas supposedly there shouldnt be any !!

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver