Skip to content

Commit

Permalink
cli: Show configured cache dir
Browse files Browse the repository at this point in the history
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] b084271
  • Loading branch information
btriller authored and asterisk-org-access-app[bot] committed Jun 14, 2024
1 parent f3e88d3 commit 843cc8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/asterisk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 843cc8f

Please sign in to comment.