mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +00:00
Show version in "core show settings"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -337,6 +337,7 @@ static int handle_show_settings(int fd, int argc, char *argv[])
|
|||||||
|
|
||||||
ast_cli(fd, "\nPBX Core settings\n");
|
ast_cli(fd, "\nPBX Core settings\n");
|
||||||
ast_cli(fd, "-----------------\n");
|
ast_cli(fd, "-----------------\n");
|
||||||
|
ast_cli(fd, " Version: %s\n", "" ASTERISK_VERSION "" );
|
||||||
if (option_maxcalls)
|
if (option_maxcalls)
|
||||||
ast_cli(fd, " Max. calls: %d (Current %d)\n", option_maxcalls, ast_active_channels());
|
ast_cli(fd, " Max. calls: %d (Current %d)\n", option_maxcalls, ast_active_channels());
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user