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:
Olle Johansson
2007-02-14 20:45:23 +00:00
parent 93dbf3306f
commit 9f02e13857

View File

@@ -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, "-----------------\n");
ast_cli(fd, " Version: %s\n", "" ASTERISK_VERSION "" );
if (option_maxcalls)
ast_cli(fd, " Max. calls: %d (Current %d)\n", option_maxcalls, ast_active_channels());
else