How to be sure your sangome a200 hardware echo cancellation is working

Asterisk Installation Guides | Communications

Is my hardware echo canceller running?

How to confirm that your hardware echo canceller is running and active on your Zap calls.

1. Confirm that you have a hardware echo canceller:
After the Wanpipe drivers are installed, type:
#>wanrouter hwprobe
It should say:

1. AFT-AXX-SH : SLOT=X : BUS=X : IRQ=X CPU=A: PORT=X : HWEC= 32 : V=X
HWEC values should be:
A200d : 32
A101d : 32
A102d : 64
A104d : 128
A108d : 256
If it says HWEC=0, and you ordered a "d" model card,
If you purchased this card from a reseller, contact your reseller.
If you purchased this card directly from Sangoma, contact Sangoma RMA department.

2. If you have a hardware echo canceller, confirm that:
1. You have a 2.3.4 / 3.2 series driver.
2. You have the parameter " TDMV_HWEC = YES " in your /etc/wanpipe/wanpipe*.conf
3. You have the parameter "echocancel=yes" in your /etc/asterisk/zapata.conf

3. After you start wanrouter start, type:
#> wan_ec_client wanpipe1 stats
If you do not see any output, contact Sangoma Tech Support and attach your system log file to the email (/var/log/messages).

You should see:

wanpipe1: Running Get stats command to Echo Canceller device... Done!
***** Echo Canceller Chip Get Stats wanpipe1 *****
wanpipe1: Number of channels currently open 32
:
:

This confirms that the WANPIPE drivers can communicate with the hardware echo canceller chip properly.

4. Make a call through Asterisk. While the call is active ,
1. In the Asterisk CLI, type:
CLI> zap show channel N
where N is your active channel. It should say:
:
:
echocancel: 128 TAPS, currently ON
:
if it does not say "currently ON", check your /etc/asterisk/zapata.conf, if you are bridging TDM to TDM, and you want echo cancelling to be performed, then you should also have "echocancelwhenbridged=yes"

2. if it says "currently ON"
Check that the hardware echocanceller is being enabled on that channel:
#> wanpipemon -i w1g1 -c ehw
It should say:
Sangoma HW echo canceller active on channel N
where N is your active channel.