summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorChristian Richter <christian.richter@beronet.com>2006-02-28 11:46:55 +0000
committerChristian Richter <christian.richter@beronet.com>2006-02-28 11:46:55 +0000
commitbd9c89a7107a1a164974498506133bb999c375af (patch)
treeb8b65f9dd050a186cd8012d8e1531801bcd2300a /channels
parentce263dfb9403e83c32b717e646f05fe9032eb627 (diff)
better default values for jitterbuffer in code and config
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_misdn.c2
-rw-r--r--channels/misdn_config.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c
index bfbf907f2..4f4362f6d 100644
--- a/channels/chan_misdn.c
+++ b/channels/chan_misdn.c
@@ -3946,7 +3946,7 @@ static int misdn_set_opt_exec(struct ast_channel *chan, void *data)
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);
diff --git a/channels/misdn_config.c b/channels/misdn_config.c
index b6366ef9f..51f119116 100644
--- a/channels/misdn_config.c
+++ b/channels/misdn_config.c
@@ -109,8 +109,8 @@ static const struct misdn_cfg_spec port_spec[] = {
{ "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 }