login | register
Fri 16 of May, 2008 [17:12 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Juan Ortega, Thu 15 of May, 2008 [10:33 UTC]: Hi everybody, I'm Juan, an ITCom student, and I need to know what basic elements I need to create a VoIP network. Can anybody helpme, please?,Thank you very much
  • gineta, Wed 14 of May, 2008 [03:58 UTC]: any here not fine the configuration of firewall juniper -screem for VOIP asterisk????
  • Anoop Prabhakaran, Tue 13 of May, 2008 [12:16 UTC]: I am developing Asterisk IVR, Whenever i make a internation call to the IVR system, the DTMF is not getting detected properly, this happens only for the first time, second call onwards system works fine. why this is happening
  • joe, Mon 12 of May, 2008 [04:27 UTC]: Is there an opensource browser based softphone, or a system like Busta where everything is not manages through their website?
  • Nick Barnes, Fri 09 of May, 2008 [11:36 UTC]: Christopher - yesterday I tried an Asterisk install on a CentOS 5.1 box with stock GUI and it all worked fine. Sorry I can't help.
  • aero, Fri 09 of May, 2008 [08:20 UTC]: can someone help me out on this, i tried to play some sound files on my asterisk box and this is the error message i got. WARNING[4429]: format_wav.c:169 check_header: Unexpected freqency 22050 May 8 11:17:39 WARNING[4433]: codec_gsm.c:194 gsmtolin_fra
  • Christopher Faust, Thu 08 of May, 2008 [14:15 UTC]: I beleive that I may have to change something in the xserver configuration. Please advise
  • Christopher Faust, Thu 08 of May, 2008 [14:14 UTC]: Everything was perfect. In the bios I have increased the memory allocated Still receive input not supported on my display.
  • Christopher Faust, Thu 08 of May, 2008 [14:13 UTC]: This would not be my main box. I am doing some testing to see if I can install zaptel and asterisk 1.4 on a full centos 5.1 box with development software Its bizzare, because before I went through the asterisk and zaptel installation everything was perfe
  • Nick Barnes, Thu 08 of May, 2008 [13:44 UTC]: Christopher - I can't see any way in which an Asterisk installation would muck your GUI, but remember that it is advised not to use a GUI on an Asterisk box anyway.
Server Stats
  • Execution time: 0.39s
  • Memory usage: 2.19MB
  • Database queries: 33
  • GZIP: Disabled
  • Server load: 0.99

Asterisk echo analog lines

Asterisk Echo Cancellation: FXO and FXS lines


The equipment in the central office (regardless of who the manufacturer happens to be) is balanced and supplies -48 volts that is fed through the outside plant to your location. The Digium Wildcard X100p card (and equivalents) do not care whether the tip and ring are reversed. If the cards really cared, they would totally fail and not just create an echo condition. (Polarity can be an issue with some other equipment, and with some types of central office trunks, but not the stuff we're talking about here.)

Echo is frequently produced by external 2-wire imbalances or imperfections on the PSTN line, and not by the Wildcard X100P (or whatever) itself. You can create an example of imbalance by placing a resistor from ground to either tip or ring (not both). Some real world examples are:
  • wet or damaged PSTN cable
  • bridge-taps (something done by the telco, seldom seen any more)
  • cheap analog phones attached to the local PSTN line
  • some expensive analog phones on the local PSTN line
  • use of lengthy untwisted inside-wire within your home/business
  • poor cabling techniques (inside-wire near ballast or other AC induction)
  • as well as many other problems external to the Asterisk cards

Note: The x100p only support the US line impedance (600 ohm resisitive). Some European countries use a different line impedance. This will cause a lot of echo on the line.
The TDM400P has a line driver with programmable impedance.

Note 2: The zapata.conf file is very sensitive about where the echocancel=yes directive goes. For it to be recognised, make sure that your channel => 1 (etc) definition is _after_ it in the configuration file.

In many cases, the imperfections may be bad enough that you might even hear AC hum, noise, crosstalk, or other degradation by listening very carefully with an ordinary analog phone. (If you can hear any imperfections, the problem is rather bad.)

The echo cancel function is attempting to compensate for those imperfections and imbalances. One can either muck with the echo canceling software or go find the "real" source of the problem. (Incidently, that's why some people are having echo problems and others don't.)

Given how many of our offices/labs look in terms of cabling, etc, one rather simple step to help find the source of problems is to simply run shielded twisted pair cable between the Asterisk interface and the telco demarc (ensuring the shield is actually grounded), remove all other cabling and phones from the line, and verify the Asterisk box is running on clean AC power with an appropriate ground. (If you find the echo is gone or better, start adding those items back one at a time to see which item(s) is causing the problem. Then post it to the Asterisk user's list so the rest of us can learn from it.)

Most of the telco's have technicians with the equipment necessary to help find the problem if the problem really is their outside plant. However, getting to that person can be a real challenge.

Rich Adamsson, November 2003

See Also



Asterisk | Tips & Tricks | FAQ
Created by oej, Last modification by jkstark on Wed 10 of Oct, 2007 [13:50 UTC]

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