Show version in "core show settings"
authorOlle Johansson <oej@edvina.net>
Wed, 14 Feb 2007 20:45:23 +0000 (20:45 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 14 Feb 2007 20:45:23 +0000 (20:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54466 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/asterisk.c

index 379668c..c07f905 100644 (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