summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Richter <christian.richter@beronet.com>2006-02-07 13:34:59 +0000
committerChristian Richter <christian.richter@beronet.com>2006-02-07 13:34:59 +0000
commitb42dd639eedf8b41fa3aef9a21adf3893599711d (patch)
treece3504bd29c96d1a8e8b5dad5a3a4d18b28c62d9
parent8d8aa07407db7eaf5bbf9283b866655f247380c1 (diff)
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.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--channels/chan_misdn_config.c4
-rw-r--r--configs/misdn.conf.sample2
2 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_misdn_config.c b/channels/chan_misdn_config.c
index 05f3eabc9..7feecbe38 100644
--- a/channels/chan_misdn_config.c
+++ b/channels/chan_misdn_config.c
@@ -107,8 +107,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, "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 }
diff --git a/configs/misdn.conf.sample b/configs/misdn.conf.sample
index b3f82b645..0dba62195 100644
--- a/configs/misdn.conf.sample
+++ b/configs/misdn.conf.sample
@@ -258,7 +258,7 @@ jitterbuffer=1000
;
; change this threshold to enable dejitter functionality
;
-jitterbuffer_upper_threshold=0
+jitterbuffer_upper_threshold=600
[intern]