From: Bastian Triller Date: Fri, 7 Jun 2024 10:57:52 +0000 (+0200) Subject: cli: Show configured cache dir X-Git-Tag: 21.4.0-rc1~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f01148396f1f1daa4afa0ec879da57bed08698cf;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 b56d50ba169e0241b8f5ff861afda0c1064eb2b1) --- 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; }