Echocancel=yes echocancelwhenbridged=no echotraining=128

echocancel=yes
echocancelwhenbridged=no
echotraining=128

There are many opinions on these settings. Some comment them out in all of there installs and other don’t.

What is recommended?

You have taken the parameters out of context. They are for the zaptel/dadhi interface. And yes they can change based on how your version of asterisk and those drivers are built. It’s also different based on distro’s and how they are built.

If you have a zaptel driver with built in echo cancelation built in you will need to do one thing if not another. IF you have hardware echo canceling then that will also change things.

So without knowing your background setup it’s almost impossible to give you a recommendation and those in the future that search and find this thread will be confused also as they might try settings that will or will not work based on there own setups.

So if you’d like help please provide complete details and we can.

Hi,

After switching to Asterisk 1.6.0.9 I am experiencing three problems which seem to be related to the topic discussed in this thread:

  1. Echo on bridged ZAP channels, e.g. when calling from ext.23 via a ZAP trunk;
  2. Drop of an incoming call connected to Panasonic KXTG4000 on a ZAP extension 23 in 8 seconds;
  3. ZAP channel (ext.23) would not drop after a calling party hung up.

I started playing with the “echotraining=” for ext. 23 and changed it from 800 to 128. It seemed to help with issue #2.

Any expert thoughts would be appreciated.

Please let me know what additional information is needed.

Thank you,
Vladimir

/etc/dahdi/system.conf

Autogenerated by /usr/sbin/dahdi_genconf on Sat Nov 8 15:13:08 2008 – do not hand edit

Dahdi Configuration File

This file is parsed by the Dahdi Configurator, dahdi_cfg

Span 1: WCTDM/0 “Wildcard TDM410P Board 1” (MASTER)

fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
fxsks=3
echocanceller=mg2,3

channel 4, WCTDM/0/3, no module.

Span 2: WCTDM/4 “Wildcard TDM400P REV I Board 5”

fxoks=5
echocanceller=mg2,5
fxoks=6
echocanceller=mg2,6
fxoks=7
echocanceller=mg2,7
fxoks=8
echocanceller=mg2,8

Global data

loadzone = us
defaultzone = us

/etc/asterisk/chan_dahdi_additional.conf

;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
;

;;;;;;[23]
signalling=fxo_ks
pickupgroup=
[email protected]
immediate=no
echotraining=128
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <23>
busydetect=no
busycount=7
accountcode=
channel=>7

;;;;;;[30]
signalling=fxo_ks
pickupgroup=
[email protected]
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <30>
busydetect=no
busycount=7
accountcode=
channel=>5