# Echo cancellation functions

Echo cancellation improves DTMF
/tone detection and speech recognition performance during playing by canceling any leakage of the playback audio from the receive signal path. It also improves peer-to-peer human communications in an IP telephony gateway application by eliminating talker echo.

Echo cancellation is configured as part of starting a protocol with adiStartProtocol. The echo canceller automatically starts when a call enters the conversation state.

The following functions modify echo cancellation parameters:

Function | Synchronous/ Asynchronous | Description
--- | --- | ---
adiCommandEchoCanceller | Asynchronous | Sends commands to the echo canceller tone disabler.
adiModifyEchoCanceller | Asynchronous | Modifies the echo canceller parameters after echo cancellation is started.