From: Tzafrir Cohen Date: Tue, 23 Mar 2010 22:48:03 +0000 (+0000) Subject: make 'core show settings' should show all settable directories X-Git-Tag: 11.0.0-beta1~3242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a5599a7647b4775a99a343fd76c7cdea8e74acb;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/asterisk.c b/main/asterisk.c index 3b0c7c9626..93d52c0531 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; }