From 7b230ded04067df36bc7ce89937637bcb0617803 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Wed, 4 Jun 2008 13:31:09 +0000 Subject: [PATCH] Fix a log message and add a message for when the dialplan is done reloading. (closes issue #12716) Reported by: chappell Patches: dialplan_reload_2.diff uploaded by chappell (license 8) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@120282 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/pbx.c | 2 +- pbx/pbx_config.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main/pbx.c b/main/pbx.c index a4d9202ad5..cee4d9821d 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -6326,7 +6326,7 @@ int ast_context_verify_includes(struct ast_context *con) continue; res = -1; - ast_log(LOG_WARNING, "Context '%s' tries includes nonexistent context '%s'\n", + ast_log(LOG_WARNING, "Context '%s' tries to include nonexistent context '%s'\n", ast_get_context_name(con), inc->rname); break; } diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index 565d7d8367..8083fda661 100644 --- a/pbx/pbx_config.c +++ b/pbx/pbx_config.c @@ -2081,6 +2081,7 @@ static int handle_reload_extensions(int fd, int argc, char *argv[]) if (clearglobalvars_config) pbx_builtin_clear_globals(); pbx_load_module(); + ast_cli(fd, "Dialplan reloaded.\n"); return RESULT_SUCCESS; }