summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2006-09-28 17:07:37 +0000
committerJoshua Colp <jcolp@digium.com>2006-09-28 17:07:37 +0000
commit8785d7229f839d5384fb897cb7238684c9d9e222 (patch)
treeb6fa1d02015398fb9974f94172027123ef443468 /channels
parent9baf50ee9a55d0ff041911c66dce2a1a54f9ca02 (diff)
Add jitterbuffer information to sip list settings (issue #7945 reported by sergee)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 6ae7e8df2..6fd8113a9 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -10001,6 +10001,12 @@ static int sip_show_settings(int fd, int argc, char *argv[])
ast_cli(fd, " T38 fax pt RTP: %s\n", ast_test_flag(&global_flags[1], SIP_PAGE2_T38SUPPORT_RTP) ? "Yes" : "No");
ast_cli(fd, " T38 fax pt TCP: %s\n", ast_test_flag(&global_flags[1], SIP_PAGE2_T38SUPPORT_TCP) ? "Yes" : "No");
ast_cli(fd, " RFC2833 Compensation: %s\n", ast_test_flag(&global_flags[1], SIP_PAGE2_RFC2833_COMPENSATE) ? "Yes" : "No");
+ ast_cli(fd, " Jitterbuffer enabled: %s\n", ast_test_flag(&global_jbconf, AST_JB_ENABLED) ? "Yes" : "No");
+ ast_cli(fd, " Jitterbuffer forced: %s\n", ast_test_flag(&global_jbconf, AST_JB_FORCED) ? "Yes" : "No");
+ ast_cli(fd, " Jitterbuffer max size: %ld\n", global_jbconf.max_size);
+ ast_cli(fd, " Jitterbuffer resync: %ld\n", global_jbconf.resync_threshold);
+ ast_cli(fd, " Jitterbuffer impl: %s\n", global_jbconf.impl);
+ ast_cli(fd, " Jitterbuffer log: %s\n", ast_test_flag(&global_jbconf, AST_JB_LOG) ? "Yes" : "No");
if (!realtimepeers && !realtimeusers)
ast_cli(fd, " SIP realtime: Disabled\n" );
else