The following commands are Linux command line friendly
Show Echo Canceler status per channel
-> wanpipemon -i w1g1 -c ehw
-> wanpipemon -p aft # show help information
Echo Canceler Control Command
-> wan_ec_client <enter> # Show all help information
Enable Echo Canceler Control Per Channel
Disable EC
wan_ec_client wanpipe1 bd all # Disable ec on all channels
wan_ec_client wanpipe1 bd 1-23 # Disable ec on channels 1 to 23
wan_ec_client wanpipe1 bd 1 # Disable ec on channel 1
Enable EC
wan_ec_client wanpipe1 be all # Disable ec on all channels
wan_ec_client wanpipe1 be 1-23 # Disable ec on channels 1 to 23
wan_ec_client wanpipe1 be 1 # Disable ec on channel 1
Note: use above wanpipemon command to view status of ec per timeslot
-> wanpipemon -i w1g1 -c ehw
Disable NLP (non linear processor) on line 1
-> wan_ec_client wanpipe1 modify 1 --WANEC_EnableNlp=FALSE
Turn on DTMF tone removal on line 1
-> wan_ec_client wanpipe5 modify 1 --WANEC_DtmfToneRemoval=TRUE
Monitor EC input and output audio on line 1
-> wan_ec_client wanpipe5 monitor 1
Check EC status on line 2
-> wan_ec_client wanpipe1 stats 2
Make EC speech recognition friendly (fixes DTMF issues) on all lines:
-> wan_ec_client wanpipe1 modify all --WANEC_EchoOperationMode=6
Table of echo control modes:
0 cOCT6100_ECHO_OP_MODE_NORMAL
1 cOCT6100_ECHO_OP_MODE_HT_FREEZE
2 cOCT6100_ECHO_OP_MODE_HT_RESET
3 cOCT6100_ECHO_OP_MODE_POWER_DOWN
4 cOCT6100_ECHO_OP_MODE_EXTERNAL
5 cOCT6100_ECHO_OP_MODE_NO_ECHO
6 cOCT6100_ECHO_OP_MODE_SPEECH_RECOGNITION
5 cOCT6100_ECHO_OP_MODE_G169_ALC
Disable dtmf
-> wan_ec_client wanpipe1 dd all sout
Enable dtmf
-> wan_ec_client wanpipe1 de all sout