I moved to asterisk 1.6.0.6 with dahdi 2.1.0.4 a few months ago. Using the TDM4xx card, no hw echo cancelation. I use this system at my house (6 polycom phones) for testing. Having issues with Echo Cancelation: chan_dahdi.c:2010 dahdi_enable_ec: Unable to enable echo cancellation on channel 4 (No such device) from /etc/dahdi/system.conf loadzone = us defaultzone=us fxoks=1 fxoks=2 fxoks=3 fxsks=4 echocanceller=mg2,4 dahdi_cfg -c system.conf -d 9 -f -x: DAHDI_ATTACH_ECHOCAN failed on channel 4: Invalid argument (22) Card: WCTDM/0 "Wildcard TDM400P REV I Board 1" -No Hardware Echo Cancelation Reproducible: Always Steps to Reproduce: 1. Changed to different cancellers 2. Ensured config file correct 3. chan_dahdi.conf is set correct. Actual Results: make a outgoing call / receive call, bad internal echo. ie: remote caller cannot hear the echo. However, local has bad echo. ie: I call my Wife via asterisk. I hear myself (even with low volume), she says all is fine. chan_dahdi.c:2010 dahdi_enable_ec: Unable to enable echo cancellation on channel 4 (No such device) Expected Results: Ehco goes away would be nice. I have a iax trunk that works fine.
This bug is because the dahdi ebuild doesn't build the echo canceler modules. The emake in the src_compile should be changed to all instead of modules...
Confirmed, working. Thanks.
+*dahdi-2.2.0.2 (22 Oct 2009) + + 22 Oct 2009; <chainsaw@gentoo.org> +dahdi-2.2.0.2.ebuild, + +files/dahdi-2.2.0.2-driver_data-2.6.32.patch, + +files/dahdi-2.2.0.2-gcc44-hack.patch, + +files/dahdi-2.2.0.2-includes.patch, + +files/dahdi-2.2.0.2-net-device-ops.patch, + +files/dahdi-2.2.0.2-no-depmod.patch: + Version bump, closes bug #286829 by Jeremy Johnson. Build all target + instead of modules target so echo cancellation becomes available, as + suggested by Jay Pfeifer in bug #268652. Ported to 2.6.32 kernels (release + candidate 5 at the time of writing), filed upstream bug. Quick hack for + GCC4.4 compilation.