Open Source - How to enable Software Echo Cancellation in Asterisk and FreePBX
Software Echo Cancellation
DAHDI uses modular echo cancellers that are configured per channel. The echo cancellers are compiled and installed as part of the dahdi-linux package. You can specify in this file the echo canceller to be used for each channel. The default behavior is for there to be NO echo canceller on any channel, so it is very important that you specify one here. Valid echo cancellers are: hwec, mg2, kb1, sec2, and sec.
How to enable Software Echo cancellation in Asterisk
To enable echo cancellation in Asterisk, add the line manually in /etc/dahdi/system.conf.
To configure the default echo cancellers, use the format:
echocanceller=<echocanceller name>,<channel(s)>
Example:
Configure channels 1 through 8 to use the mg2 echo canceller:
echocanceller=mg2,1-8
How to enable Software Echo Cancellation in FreePBX
To enable software echo cancellation, go to the DAHDi System Settings and add "echocanceller = mg2,1-8" as a line next to "Other Dahdi System Settings."