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

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Feb 7 06:35:02 MST 2006


Author: crichter
Date: Tue Feb  7 07:34:59 2006
New Revision: 9186

URL: http://svn.digium.com/view/asterisk?rev=9186&view=rev
Log:
default values of jitterbuffer and jitterbuffer_upper_threshold should be > 0, this fixes the tv_fix warnings, because we use ast_read to transmit frames to asterisk in jitterbuffer mode, instead of queueing the audio data with ast_queue_frame.

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

Modified: trunk/channels/chan_misdn_config.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_misdn_config.c?rev=9186&r1=9185&r2=9186&view=diff
==============================================================================
--- trunk/channels/chan_misdn_config.c (original)
+++ trunk/channels/chan_misdn_config.c Tue Feb  7 07:34:59 2006
@@ -107,8 +107,8 @@
 	{ "echocancelwhenbridged", MISDN_CFG_ECHOCANCELWHENBRIDGED, MISDN_CTYPE_BOOL, "no", NONE },
 	{ "echotraining", MISDN_CFG_ECHOTRAINING, MISDN_CTYPE_BOOLINT, "1", 1 },
 	{ "need_more_infos", MISDN_CFG_NEED_MORE_INFOS, MISDN_CTYPE_BOOL, "0", NONE },
-	{ "jitterbuffer", MISDN_CFG_JITTERBUFFER, MISDN_CTYPE_INT, "0", NONE },
-	{ "jitterbuffer_upper_threshold", MISDN_CFG_JITTERBUFFER_UPPER_THRESHOLD, MISDN_CTYPE_INT, "0", NONE },
+	{ "jitterbuffer", MISDN_CFG_JITTERBUFFER, MISDN_CTYPE_INT, "1000", NONE },
+	{ "jitterbuffer_upper_threshold", MISDN_CFG_JITTERBUFFER_UPPER_THRESHOLD, MISDN_CTYPE_INT, "600", NONE },
 	{ "callgroup", MISDN_CFG_CALLGROUP, MISDN_CTYPE_ASTGROUP, NO_DEFAULT, NONE },
 	{ "pickupgroup", MISDN_CFG_PICKUPGROUP, MISDN_CTYPE_ASTGROUP, NO_DEFAULT, NONE },
 	{ "msns", MISDN_CFG_MSNS, MISDN_CTYPE_MSNLIST, NO_DEFAULT, NONE }

Modified: trunk/configs/misdn.conf.sample
URL: http://svn.digium.com/view/asterisk/trunk/configs/misdn.conf.sample?rev=9186&r1=9185&r2=9186&view=diff
==============================================================================
--- trunk/configs/misdn.conf.sample (original)
+++ trunk/configs/misdn.conf.sample Tue Feb  7 07:34:59 2006
@@ -258,7 +258,7 @@
 ;
 ; change this threshold to enable dejitter functionality
 ;
-jitterbuffer_upper_threshold=0
+jitterbuffer_upper_threshold=600
 
 
 [intern]



More information about the asterisk-commits mailing list