[asterisk-commits] trunk r11334 - in /trunk: channels/ configs/
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Feb 28 04:46:58 MST 2006
Author: crichter
Date: Tue Feb 28 05:46:55 2006
New Revision: 11334
URL: http://svn.digium.com/view/asterisk?rev=11334&view=rev
Log:
better default values for jitterbuffer in code and config
Modified:
trunk/channels/chan_misdn.c
trunk/channels/misdn_config.c
trunk/configs/misdn.conf.sample
Modified: trunk/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_misdn.c?rev=11334&r1=11333&r2=11334&view=diff
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Tue Feb 28 05:46:55 2006
@@ -3946,7 +3946,7 @@
break;
default:
- ch->jb_len=1000;
+ ch->jb_len=4000;
ch->jb_upper_threshold=0;
chan_misdn_log(1, ch->bc->port, " --> buffer_len:%d (default)\n",ch->jb_len);
chan_misdn_log(1, ch->bc->port, " --> upper_threshold:%d (default)\n",ch->jb_upper_threshold);
Modified: trunk/channels/misdn_config.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/misdn_config.c?rev=11334&r1=11333&r2=11334&view=diff
==============================================================================
--- trunk/channels/misdn_config.c (original)
+++ trunk/channels/misdn_config.c Tue Feb 28 05:46:55 2006
@@ -109,8 +109,8 @@
{ "echocancelwhenbridged", MISDN_CFG_ECHOCANCELWHENBRIDGED, MISDN_CTYPE_BOOL, "no", NONE },
{ "echotraining", MISDN_CFG_ECHOTRAINING, MISDN_CTYPE_BOOLINT, "0", 1 },
{ "need_more_infos", MISDN_CFG_NEED_MORE_INFOS, MISDN_CTYPE_BOOL, "0", NONE },
- { "jitterbuffer", MISDN_CFG_JITTERBUFFER, MISDN_CTYPE_INT, "1000", NONE },
- { "jitterbuffer_upper_threshold", MISDN_CFG_JITTERBUFFER_UPPER_THRESHOLD, MISDN_CTYPE_INT, "600", NONE },
+ { "jitterbuffer", MISDN_CFG_JITTERBUFFER, MISDN_CTYPE_INT, "4000", NONE },
+ { "jitterbuffer_upper_threshold", MISDN_CFG_JITTERBUFFER_UPPER_THRESHOLD, MISDN_CTYPE_INT, "0", 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=11334&r1=11333&r2=11334&view=diff
==============================================================================
--- trunk/configs/misdn.conf.sample (original)
+++ trunk/configs/misdn.conf.sample Tue Feb 28 05:46:55 2006
@@ -277,7 +277,7 @@
;
; chan_misdns jitterbuffer, default 1000
;
-jitterbuffer=1000
+jitterbuffer=4000
;
; change this threshold to enable dejitter functionality
More information about the asterisk-commits
mailing list