diff options
author | Russell Bryant <russell@russellbryant.com> | 2011-05-05 22:55:09 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2011-05-05 22:55:09 +0000 |
commit | 09389749028acad555b469a36064df0d12304130 (patch) | |
tree | 181bb7a96719ba7500b437401fb6ea4efac675a6 /channels/chan_console.c | |
parent | ea4d4dfabf604f7e6c721144c58b92173d763bdd (diff) |
Merged revisions 317478 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r317478 | russell | 2011-05-05 17:53:45 -0500 (Thu, 05 May 2011) | 12 lines
Fix some consistency issues with jitterbuffer config.
Store the defaults noted in the sample config files in the jitterbuffer config
data structure. This makes the CLI commands that output these settings show
the right thing. Also only show the settings that are relevant in the settings
CLI commands, based on which jitterbuffer is selected and whether it's enabled.
(closes issue #19083)
Reported by: rgagnon
Patches:
issue-19083-trunk-r313139.diff uploaded by rgagnon (license 1202)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@317479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_console.c')
-rw-r--r-- | channels/chan_console.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/channels/chan_console.c b/channels/chan_console.c index c08e3e5ab..a5f22be2d 100644 --- a/channels/chan_console.c +++ b/channels/chan_console.c @@ -172,13 +172,14 @@ AST_RWLOCK_DEFINE_STATIC(active_lock); * \brief Global jitterbuffer configuration * * \note Disabled by default. + * \note Values shown here match the defaults shown in console.conf.sample */ static struct ast_jb_conf default_jbconf = { .flags = 0, - .max_size = -1, - .resync_threshold = -1, - .impl = "", - .target_extra = -1, + .max_size = 200, + .resync_threshold = 1000, + .impl = "fixed", + .target_extra = 40, }; static struct ast_jb_conf global_jbconf; |