summaryrefslogtreecommitdiff
path: root/main/asterisk.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-03-23 22:48:03 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-03-23 22:48:03 +0000
commit5a5599a7647b4775a99a343fd76c7cdea8e74acb (patch)
tree7ebd699b6f47d47fee25f69d63372de78b0155e4 /main/asterisk.c
parentd9b1ff23badb9eeb36e5ff70a904337118230896 (diff)
make 'core show settings' should show all settable directories
(closes issue #17086) Reported by: tzafrir Patches: asterisk_extra_settings_dirs.diff uploaded by tzafrir (license 46) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@254162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/asterisk.c')
-rw-r--r--main/asterisk.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index 3b0c7c962..93d52c053 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -482,6 +482,13 @@ static char *handle_show_settings(struct ast_cli_entry *e, int cmd, struct ast_c
ast_cli(a->fd, " Module directory: %s\n", ast_config_AST_MODULE_DIR);
ast_cli(a->fd, " Spool directory: %s\n", ast_config_AST_SPOOL_DIR);
ast_cli(a->fd, " Log directory: %s\n", ast_config_AST_LOG_DIR);
+ ast_cli(a->fd, " Run/Sockets directory: %s\n", ast_config_AST_RUN_DIR);
+ ast_cli(a->fd, " PID file: %s\n", ast_config_AST_PID);
+ ast_cli(a->fd, " VarLib directory: %s\n", ast_config_AST_VAR_DIR);
+ ast_cli(a->fd, " Data directory: %s\n", ast_config_AST_DATA_DIR);
+ ast_cli(a->fd, " ASTDB: %s\n", ast_config_AST_DB);
+ ast_cli(a->fd, " IAX2 Keys directory: %s\n", ast_config_AST_KEY_DIR);
+ ast_cli(a->fd, " AGI Scripts directory: %s\n", ast_config_AST_AGI_DIR);
ast_cli(a->fd, "\n\n");
return CLI_SUCCESS;
}