[asterisk-commits] trunk r12287 - in /trunk: channels/misdn_config.c configs/misdn.conf.sample

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Mar 7 04:08:12 MST 2006


Author: crichter
Date: Tue Mar  7 05:08:09 2006
New Revision: 12287

URL: http://svn.digium.com/view/asterisk?rev=12287&view=rev
Log:
added a bit more detailed description for the echotraining parameter, also changed the default from 1 to 2000. The default for the upper_threshold is now 0

Modified:
    trunk/channels/misdn_config.c
    trunk/configs/misdn.conf.sample

Modified: trunk/channels/misdn_config.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/misdn_config.c?rev=12287&r1=12286&r2=12287&view=diff
==============================================================================
--- trunk/channels/misdn_config.c (original)
+++ trunk/channels/misdn_config.c Tue Mar  7 05:08:09 2006
@@ -107,7 +107,7 @@
 	{ "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 },

Modified: trunk/configs/misdn.conf.sample
URL: http://svn.digium.com/view/asterisk/trunk/configs/misdn.conf.sample?rev=12287&r1=12286&r2=12287&view=diff
==============================================================================
--- trunk/configs/misdn.conf.sample (original)
+++ trunk/configs/misdn.conf.sample Tue Mar  7 05:08:09 2006
@@ -268,21 +268,25 @@
 ;
 echocancelwhenbridged=no
 
-; Set this to no to disable echotraining
-;
-; default value: yes
-;
-echotraining=yes
-
-;
-; chan_misdns jitterbuffer, default 1000
+
+; Set this to no to disable echotraining. You can enter a number > 10
+; the value is a multiple of 0.125 ms. 
+;
+; default value: no 
+; yes = 2000
+; no = 0
+;
+echotraining=no
+
+;
+; chan_misdns jitterbuffer, default 4000
 ; 
 jitterbuffer=4000
 
 ;
 ; change this threshold to enable dejitter functionality
 ;
-jitterbuffer_upper_threshold=600
+jitterbuffer_upper_threshold=0
 
 
 [intern]



More information about the asterisk-commits mailing list