added a bit more detailed description for the echotraining parameter, also changed...
authorChristian Richter <christian.richter@beronet.com>
Tue, 7 Mar 2006 11:08:09 +0000 (11:08 +0000)
committerChristian Richter <christian.richter@beronet.com>
Tue, 7 Mar 2006 11:08:09 +0000 (11:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12287 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/misdn_config.c
configs/misdn.conf.sample

index 51f1191..5936429 100644 (file)
@@ -107,7 +107,7 @@ static const struct misdn_cfg_spec port_spec[] = {
        { "incoming_early_audio", MISDN_CFG_INCOMING_EARLY_AUDIO, MISDN_CTYPE_BOOL, "no", NONE },
        { "echocancel", MISDN_CFG_ECHOCANCEL, MISDN_CTYPE_BOOLINT, "0", 128 },
        { "echocancelwhenbridged", MISDN_CFG_ECHOCANCELWHENBRIDGED, MISDN_CTYPE_BOOL, "no", NONE },
-       { "echotraining", MISDN_CFG_ECHOTRAINING, MISDN_CTYPE_BOOLINT, "0", 1 },
+       { "echotraining", MISDN_CFG_ECHOTRAINING, MISDN_CTYPE_BOOLINT, "0", 2000 },
        { "need_more_infos", MISDN_CFG_NEED_MORE_INFOS, MISDN_CTYPE_BOOL, "0", NONE },
        { "jitterbuffer", MISDN_CFG_JITTERBUFFER, MISDN_CTYPE_INT, "4000", NONE },
        { "jitterbuffer_upper_threshold", MISDN_CFG_JITTERBUFFER_UPPER_THRESHOLD, MISDN_CTYPE_INT, "0", NONE },
index 55b2049..8418230 100644 (file)
@@ -268,21 +268,25 @@ screen=-1
 ;
 echocancelwhenbridged=no
 
-; Set this to no to disable echotraining
+
+; Set this to no to disable echotraining. You can enter a number > 10
+; the value is a multiple of 0.125 ms. 
 ;
-; default value: yes
+; default value: no 
+; yes = 2000
+; no = 0
 ;
-echotraining=yes
+echotraining=no
 
 ;
-; chan_misdns jitterbuffer, default 1000
+; chan_misdns jitterbuffer, default 4000
 ; 
 jitterbuffer=4000
 
 ;
 ; change this threshold to enable dejitter functionality
 ;
-jitterbuffer_upper_threshold=600
+jitterbuffer_upper_threshold=0
 
 
 [intern]