How to I disable echo cancellation module without removing the hardware?
You’ll need to:
- Stop Asterisk
- Stop DAHDI
- Unload the driver for your card from the Linux kernel
- Load the driver for your card with the module parameter “vpmsupport=0”.
You can stop Asterisk with the command:
You can stop DAHDI with the command:
In order to find the kernel module that matches your card, search for the knowledgebase article that shows which kernel modules match which hardware cards.
In this case, we’ll assume you have an AEX2400 card. The AEX2400 uses the wctdm24xxp kernel module. Please adjust the instructions below to match your adapter’s driver (e.g. wcte12xp, wct4xxp).
From the Linux command line run the command:
Now that the kernel module has been unloaded, we can load the kernel module with a parameter that disables the echo canceling hardware with this command:
You can verify that the VPM has been disabled after the module has been loaded by running the command:
and checking to see that the last few lines contain something like this:
Note that you should change “wctdm24xxp” to the name of your particular card’s driver (e.g. wcte12xp or wct4xxp). Simply restarting DAHDI will load that change.