[asterisk-commits] oej: branch 1.4 r51931 -
/branches/1.4/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Jan 24 02:30:22 MST 2007
Author: oej
Date: Wed Jan 24 03:30:21 2007
New Revision: 51931
URL: http://svn.digium.com/view/asterisk?view=rev&rev=51931
Log:
Show capabilities *and* preference in general settings in "sip show settings"
(reported by Clona/Telio - Thanks!)
Modified:
branches/1.4/channels/chan_sip.c
Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=51931&r1=51930&r2=51931
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Wed Jan 24 03:30:21 2007
@@ -10206,6 +10206,7 @@
{
int realtimepeers;
int realtimeusers;
+ char codec_buf[BUFSIZ];
realtimepeers = ast_check_realtime("sippeers");
realtimeusers = ast_check_realtime("sipusers");
@@ -10253,6 +10254,9 @@
ast_cli(fd, "\nGlobal Signalling Settings:\n");
ast_cli(fd, "---------------------------\n");
ast_cli(fd, " Codecs: ");
+ ast_getformatname_multiple(codec_buf, sizeof(codec_buf) -1, global_capability);
+ ast_cli(fd, "%s\n", codec_buf);
+ ast_cli(fd, " Codec Order: ");
print_codec_to_cli(fd, &default_prefs);
ast_cli(fd, "\n");
ast_cli(fd, " T1 minimum: %d\n", global_t1min);
More information about the asterisk-commits
mailing list