Configuring Echo Cancellation
Echo cancellation is configured at the voice port level. It is enabled by default, and its characteristics are configurable. Echo cancellation commands are as follows:
- echo-cancel enable—Enables cancellation of voice that is sent out through the interface and received back on the same interface. Sound that is received back in this manner is perceived by the listener as echo. Echo cancellation keeps a certain-sized sample of the outbound voice and calculates what that same signal looks like when it returns as an echo. Echo cancellation then attenuates the inbound signal by that amount to cancel the echo signal. If you disable echo cancellation, it will cause the remote side of a connection to hear echo. Because echo cancellation is an invasive process that can minimally degrade voice quality, you should disable this command if it is not needed. There is no echo path for a four-wire E&RM interface. The echo canceller should be disabled for this interface type.
- echo-cancel coverage—Adjusts the coverage size of the echo canceller. This command enables cancellation of voice that is sent out through the interface and received back on the same interface within the configured amount of time. If the local loop (the distance from the interface to the connected equipment that is producing the echo) is longer, the configured value of this command should be extended.
If you configure a longer value for this command, it takes the echo canceller longer to converge. In this case, the user might hear a slight echo when the connection is initially set up. If the configured value for this command is too short, the user might hear some echo for the duration of the call because the echo canceller is not canceling the longer-delay echoes. There is no echo or echo cancellation on the network side (for example, the non-POTS side of the connection). - non-linear—The function enabled by the non-linear command is also known as residual echo suppression. This command effectively creates a half-duplex voice path. If voice is present on the inbound path, then there is no signal on the outbound path. This command is associated with the echo canceller operation. The echo-cancel enable command must be enabled for the non-linear command to take effect. Use the non-linear command to shut off any signal if near-end speech is not detected.
Enabling the non-linear command normally improves performance. However, some users encounter truncation of consonants at the ends of sentences when this command is enabled. This occurs when one person is speaking and the other person starts to speak before the first person finishes. Because the nonlinear cancellation allows speech in one direction only, it must switch directions on the fly. This might clip the end of the sentence spoken by the first person or the beginning of the sentence spoken by the second person.
Comments