aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-28 17:07:37 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-28 17:07:37 +0000
commit1e4eb724bb3a9171bb56badfc8f5436c8490c2a9 (patch)
treeb6fa1d02015398fb9974f94172027123ef443468 /channels
parentdeb517a43fbbdb9b2316deead4b44db55bc4bd8a (diff)
Add jitterbuffer information to sip list settings (issue #7945 reported by sergee)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43912 f38db490-d61c-443f-a65b-d21fe96a405b
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