mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-01 12:39:36 -07:00
Show capabilities *and* preference in general settings in "sip show settings"
(reported by Clona/Telio - Thanks!) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -10206,6 +10206,7 @@ static int sip_show_settings(int fd, int argc, char *argv[])
|
||||
{
|
||||
int realtimepeers;
|
||||
int realtimeusers;
|
||||
char codec_buf[BUFSIZ];
|
||||
|
||||
realtimepeers = ast_check_realtime("sippeers");
|
||||
realtimeusers = ast_check_realtime("sipusers");
|
||||
@@ -10253,6 +10254,9 @@ static int sip_show_settings(int fd, int argc, char *argv[])
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user