How to I disable echo cancellation module without removing the hardware?

You’ll need to:

  1. Stop Asterisk
  2. Stop DAHDI
  3. Unload the driver for your card from the Linux kernel
  4. Load the driver for your card with the module parameter “vpmsupport=0”.

You can stop Asterisk with the command:

asterisk -rx “core stop gracefully”

You can stop DAHDI with the command:

/etc/init.d/dahdi stop

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:

rmmod wctdm24xxp

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:

modprobe wctdm24xxp vpmsupport=0

You can verify that the VPM has been disabled after the module has been loaded by running the command:

dmesg

and checking to see that the last few lines contain something like this:

wctdm24xxp 0000:01:04.0: VPM: Support Disabled
Alternatively, users can disable the VPM temporarily without reloading the driver, like so:
echo 0 >  /sys/module/wctdm24xxp/parameters/vpmsupport
Note that reloading the driver will clear this setting.To make these changes permanent (i.e., make the change survive across a system reboot), add the following to the file (/etc/modprobe.d/dahdi.conf, consult your system documentation for details on exactly how to do this for your Linux distribution):

options wctdm24xxp vpmsupport=0

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.

Related Posts

  • 42
    What is Asterisk? Asterisk is an open source framework for building communications applications. Asterisk turns an ordinary computer into a communications server. Asterisk powers IP PBX systems, VoIP gateways, conference servers and other custom solutions. It is used by small businesses, large businesses, call centers, carriers and government agencies, worldwide.…
    Tags: asterisk
  • 41
    Use the blow command to set the linux date #date 072511242014 where 07= mm (Month) 25=dd (Date) 11=hh (Hour) 24=mm (minute) 2014=yyyy (Year)
    Tags: linux, command
  • 39
    How to Reinstall or upgrade the Dahdi driver to Latest version Step 1 Uninstall all the dahdi modules installed Login to Server via ssh  (putty) First check the dahdi modules installed by running below command lsmod | grep dahdi Now  uninstall all the modules listed by above command modprobe -r…
    Tags: dahdi, xxp, wctdm, command, xp, wcte, driver, asterisk
  • 38
    Recently i have installed asterisk 11 on centos 6 as per the instruction from Digium blog.  The instruction i have followed to install is :- For this install I am using Asterisk 11.2.1 and will be compiling from source on CentOS 6.3. This tutorial should also work on Fedora and…
    Tags: asterisk, will, command, dahdi
  • 34
    The lscpu command is CPU architecture information helper and can be found under Fedora Linux / RHEL / CentOS v6+ / Debian Linux v6+ and many other latest distro includes this command. Warning : lscput command has bug and sometimes in Xen Dom0 kernel reports wrong data. So please use…
    Tags: command, linux, kernel

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: