From 9f02e1385721e952061c0da389bbb79c8be7d4f1 Mon Sep 17 00:00:00 2001
From: Olle Johansson <oej@edvina.net>
Date: Wed, 14 Feb 2007 20:45:23 +0000
Subject: [PATCH] Show version in "core show settings"

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 main/asterisk.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main/asterisk.c b/main/asterisk.c
index 379668c6f8..c07f905bf0 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
-- 
GitLab