Howto:Having ECHO problems: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
mNo edit summary
Line 33: Line 33:
==Echo Cancellation==
==Echo Cancellation==


Echo occurs on analog lines on the 2 wire to 4 wire conversion, also some acoustic echo occurs in the handset. Strong echo occurs during handsfree operation.
The term echo cancellation is used in telephony to describe the process of removing echo from a voice communication in order to improve voice quality on a telephone call.  
The term echo cancellation is used in telephony to describe the process of removing echo from a voice communication in order to improve voice quality on a telephone call.  


In addition to improving subjective quality, this process increases the capacity achieved through silence suppression by preventing echo from traveling across a network.
Echo is perceived as echo if the delay is longer than a few milliseconds. Traditional PSTN lines have a delay below that limit. VOIP lines add delay to the connection, so that echo is recognized and needs to be removed. This is usually done with a echocanceller.


Echo cancellation involves first recognizing the originally transmitted signal that re-appears, with some delay, in the transmitted or received signal.  
Echo cancellation involves first recognizing the originally transmitted signal that re-appears, with some delay, in the transmitted or received signal.  
Line 41: Line 42:
Once the echo is recognized, it can be removed by 'subtracting' it from the transmitted or received signal.  
Once the echo is recognized, it can be removed by 'subtracting' it from the transmitted or received signal.  


This technique is  implemented using a digital signal processor (DSP).
This technique is  implemented using a digital signal processor (DSP):


By sampling the voice signal, the echo canceller can create a model of the echo path which is in turn used to estimate the echo.  
By correlation the received voice signal witht the transmitted voice signal, the echo canceller can create a model of the echo path which is in turn used to estimate the echo.  


This estimation is then subtracted from the incoming voice signal allowing normal speech to pass through.  
This estimation is then subtracted from the incoming voice signal allowing normal speech to pass through.  


This is a very simplistic view, as echo cancellers need to have the capability to sample multiple echoes occurring at different times and at different levels.
The core of the algorithm is an adaptive filter. The length of that filter affects the processing power needed and defines the max echo length that can be cancelled.


===Line Echo Cancellation===
The echo delay on a telephony line should be below a few milliseconds. However, todays PSTN networks are not alway pure TDM networks, they use internal IP or ATM technology so that higher delays of e.g 30ms can occur. So for VOIP gateways it is important that they can handle echo after a reasonable long delay.


Echo cancellation is done with innovaphone products using echo cancellers.
Maximum Echo cancellation - maximum echo length (echo tail)
 
 
So an Echo Problem is mostly an Delay Problem and is not a jitter or packet loss problem on the Network.
 
Mostly at echo problems the PSTN provider has an big delay on his Network.
 
So If you hear on your Ip Phone an Echo the innovaphone gateway is responsible to delete this echo.
 
 
 
We support the The G.168 Echo Canceller on all our product.
 
You can Disable the Echo canceller but no adjustments to set- it is default enabled.
 
Our echo compression is dynamic - contend sensitive -. no values to set.
 
Maximum Echo cancellation - maximum echo length (echo Tail)


  IP400                    16msec
  IP400                    16msec
Line 75: Line 61:




Phone
===Acoustic Echo Cancellation===
On IP phones the echo path is very limited (form the phone to the handset ), so the maximum echo length is not critical. That changes in handsfree mode, then the echo length depends on the size of the room. Since that phone and people in the room may move around, the echo changes during a call.


acoustic Echo cancelling on Hands free Mode
This type of echo can be reduced with a simple echo reducer. A echo reducer implements half duplex comminications ( mute the phones micro if the speaker is active ). This is done on the (old) IP200.
Normal Mode 16msec


New phones ( IP200A,IP110,IP230 etc ) use an acoustic echocanceller that adapts continously during a call to room echo of up to 96ms.


It is no solution to make volume adjustments on the Endpoints for solving the Echo problem


===Troubleshooting Echo Cancellation===


It is no solution to make volume adjustments on the Endpoints for solving the Echo problem


If you encounter an echo problem – pleas check this :
If you encounter an echo problem – pleas check this :
Line 89: Line 77:
Do you meet the Echo problem always ?
Do you meet the Echo problem always ?


* between IP phones ?
* between IP phones ? Simple echo tests using IP phones on one floor or even in one room may lead to the conclusion that there is echo. In this case there a 2 voice pathes, one direct acoustic path without delay and one over the IP network with delay. Echo tests between IP phones need to be done between IP phones without a direct acoustic path.
 
* between Isdn and IP phones ?
 
* between analog phones and/or Dect phones to IP phones or Isdn (connected an analog adapter IP21,IP22,IP24)?
 
IF this problem is with analog or Dect Phone  - occurs with very old Dect phones in very few cases - the best solution here is - eliminate this phone.
 
If you have a general echo problem - you have a delay Problem in your Network
 
To find this out
 
Pleas watch PBX – Call screen (administration - pbx - calls)
 
Extension A  NameA H323EFC:TRANSIT G729AB (42,6,3)  >> Extension B NameB H323EFC:TRANSIT G729AB (47,2,5)  Connected
 
The explanation for that screen is here [[Reference:Administration/PBX/Calls]]
 
The values in the brackets are
 
Round trip (RT) = Transit time of a data packet from A to B and back again.  


Jitter = Latency time (time interval from the end of an event up to the start of the response).  
* between ISDN and IP phones ? Echo perceived on the IP phones results from the echo canceller on the ISDN gateway, echo perceived on the ISDN phone results from the echocanceller of the IP phone.


Loss (PL) = Number of lost packets (packet loss).
* between analog phones and/or Dect phones to IP phones or ISDN (connected an analog adapter IP21,IP22,IP24)?


IF this problem is with analog or Dect Phone  - occurs with very old Dect phones in very few cases, - the best solution here is - eliminate this phone. ( IP600 with G.711 DSP doesnt provide echo cancellation and relies on a echo-free DECT phone )


If you have a general voice qualitity problem you may have a problem in your IP network, but is another story.


== Related Articles ==
== Related Articles ==

Revision as of 10:15, 25 August 2007

Applies To

This information applies to

  • all innovaphone products

any build


Tools clipart.png FIXME: has to be updated and corrected

More Information

Having echo on the Endpoints

General

The presence of echo occurs whenever the replicated signal delay exceeds 10msec , and becomes apparent to the speaker as reflected voice when the delay exceeds as little as 16 msec.

It is manifested to the far end as an altered replica of the speaker original.

Causes of Delay

Delay in telephony context is the time during which voice signals travel across the network.

End-to-end delay is the sum of delays required for a voice signal generated by the speaker's mouth to cross the different network devices and network links in order to reach the listener's ear.

Round trip delay is the sum of end-to-end delay in both directions as it is reflected back to the speaker's ear.

The two directions can take separate paths over the Pstn, one through a satellite and one via land-lines, for example.


Echo Cancellation

Echo occurs on analog lines on the 2 wire to 4 wire conversion, also some acoustic echo occurs in the handset. Strong echo occurs during handsfree operation. The term echo cancellation is used in telephony to describe the process of removing echo from a voice communication in order to improve voice quality on a telephone call.

Echo is perceived as echo if the delay is longer than a few milliseconds. Traditional PSTN lines have a delay below that limit. VOIP lines add delay to the connection, so that echo is recognized and needs to be removed. This is usually done with a echocanceller.

Echo cancellation involves first recognizing the originally transmitted signal that re-appears, with some delay, in the transmitted or received signal.

Once the echo is recognized, it can be removed by 'subtracting' it from the transmitted or received signal.

This technique is implemented using a digital signal processor (DSP):

By correlation the received voice signal witht the transmitted voice signal, the echo canceller can create a model of the echo path which is in turn used to estimate the echo.

This estimation is then subtracted from the incoming voice signal allowing normal speech to pass through.

The core of the algorithm is an adaptive filter. The length of that filter affects the processing power needed and defines the max echo length that can be cancelled.

Line Echo Cancellation

The echo delay on a telephony line should be below a few milliseconds. However, todays PSTN networks are not alway pure TDM networks, they use internal IP or ATM technology so that higher delays of e.g 30ms can occur. So for VOIP gateways it is important that they can handle echo after a reasonable long delay.

Maximum Echo cancellation - maximum echo length (echo tail)

IP400                     16msec
IP3000                    24msec
IP302,IP305,IP800,IP6000  64msec
IP1200                    32msec


Acoustic Echo Cancellation

On IP phones the echo path is very limited (form the phone to the handset ), so the maximum echo length is not critical. That changes in handsfree mode, then the echo length depends on the size of the room. Since that phone and people in the room may move around, the echo changes during a call.

This type of echo can be reduced with a simple echo reducer. A echo reducer implements half duplex comminications ( mute the phones micro if the speaker is active ). This is done on the (old) IP200.

New phones ( IP200A,IP110,IP230 etc ) use an acoustic echocanceller that adapts continously during a call to room echo of up to 96ms.


Troubleshooting Echo Cancellation

It is no solution to make volume adjustments on the Endpoints for solving the Echo problem

If you encounter an echo problem – pleas check this :

Do you meet the Echo problem always ?

  • between IP phones ? Simple echo tests using IP phones on one floor or even in one room may lead to the conclusion that there is echo. In this case there a 2 voice pathes, one direct acoustic path without delay and one over the IP network with delay. Echo tests between IP phones need to be done between IP phones without a direct acoustic path.
  • between ISDN and IP phones ? Echo perceived on the IP phones results from the echo canceller on the ISDN gateway, echo perceived on the ISDN phone results from the echocanceller of the IP phone.
  • between analog phones and/or Dect phones to IP phones or ISDN (connected an analog adapter IP21,IP22,IP24)?

IF this problem is with analog or Dect Phone - occurs with very old Dect phones in very few cases, - the best solution here is - eliminate this phone. ( IP600 with G.711 DSP doesnt provide echo cancellation and relies on a echo-free DECT phone )

If you have a general voice qualitity problem you may have a problem in your IP network, but is another story.

Related Articles