Echo cancellation [SOLVED]

Hi Forum
Using FreePBX 12.0.43
I’ve installed an old genuine Digium TDM400P card, and doing some testing with single analog service from local telco.
(Cisco SPA phones attached to FreePBX are all using sip. No analog handsets.)
dahdi show status gives :
Wildcard TDM400P REV I Board 5
All works OK, except the echo is very distracting. So bad its almost unusable.
lsmod shows dahdi_echocan_oslec kernel module is loaded.
Dahdi config shows DAHDI Version: Echo Canceller: OSLEC
Also dahdi settings Enable EC = Yes, and Enable EC when bridged = No
What is best way to nuke the annoying echo ?
Is there some other setting/s I’ve missed, OR should I try a newer analog card that includes hardware echo cancellation ?
TIA’s for any tips or clues

PS. Our VOIP trunks work beautifully, especially with G722 wideband audio.
Analog trunk (with echo) only used for incoming calls.
Echo comes without additional cost. :frowning:

Edit. fxotune ? Tomorrow.

fxotune has indeed worked some magic. Incoming calls from dahdi trunk now echo-free.
fxotune -s added to /etc/rc.d/rc.local too.
I have no idea what all the numbers mean in /etc/fxotune.vals, BUT it doesn’t matter.
All users very happy.