summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2007-02-14 20:45:23 +0000
committerOlle Johansson <oej@edvina.net>2007-02-14 20:45:23 +0000
commit9f02e1385721e952061c0da389bbb79c8be7d4f1 (patch)
tree8dbd743f384ff68a73a51a9d251cc78dfdecb4b0 /main
parent93dbf3306ff38ad6c9092ae72574440f29ec2755 (diff)
Show version in "core show settings"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/asterisk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index 379668c6f..c07f905bf 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -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