Dahdi setup on tdm400

Fresh FreePBX install,
Dahdi Source

no dahdi commands in cli.

dahdi_cfg -vv
DAHDI Tools Version - 2.8.0
DAHDI Version:
Echo Canceller(s): MG2 Configuration

Channel map:
Channel 03: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)
2 channels to configure.
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2

configured dahdi in the web interface.
DAHDi Doesn’t appear to be running. Click the 'Restart/Reload Dahdi Button’
dahdi never starts
service dahdi restart
Unloading DAHDI hardware modules: ERROR: Module wctdm is in use
ERROR: Module dahdi_echocan_mg2 is in use
ERROR: Module dahdi is in use by dahdi_echocan_mg2,wctdm
Loading DAHDI hardware modules:
wct4xxp: [ OK ]
wcte43x: [ OK ]
wcte12xp: [ OK ]
wcte13xp: [ OK ]
wct1xxp: [ OK ]
wcte11xp: [ OK ]
wctdm24xxp: [ OK ]
wcaxx: [ OK ]
wcfxo: [ OK ]
wctdm: [ OK ]
wcb4xxp: [ OK ]
wctc4xxp: [ OK ]
xpp_usb: [ OK ]
Running dahdi_cfg: [ OK ]
removed all modules but wctdm,no change.

Dahdi can’t be properly restarted if Asterisk is running, it can reloaded, but that won’t necessarily fix all necessary things. Even if Asterisk is not running and you use Sangoma software/hardware then you will need to stop dahdi and restart wanpipe.