From: Bastian Triller Date: Fri, 7 Jun 2024 10:57:52 +0000 (+0200) Subject: cli: Show configured cache dir X-Git-Tag: 20.9.0-rc1~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e2a5fbd21b2e8e4961bc4d9ccab0eff177d3b54;p=thirdparty%2Fasterisk.git cli: Show configured cache dir Since Asterisk 19 it is possible to cache recorded files into another directory [1] [2]. Show configured location of cache dir in CLI's core show settings. [1] ASTERISK-29143 [2] b08427134fd51bb549f198e9f60685f2680c68d7 (cherry picked from commit 8c152a7e7a905a758a30608603b8b2c97913deb2) --- diff --git a/main/asterisk.c b/main/asterisk.c index 78fc4e33fd..08d12a3757 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -596,6 +596,7 @@ static char *handle_show_settings(struct ast_cli_entry *e, int cmd, struct ast_c 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, " Cache directory: %s\n", ast_config_AST_CACHE_DIR); ast_cli(a->fd, "\n\n"); return CLI_SUCCESS; }