diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-04 13:31:09 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-04 13:31:09 +0000 |
commit | 96bbfcbb140393747852287bc5640b0ba2f80382 (patch) | |
tree | 84ca69a15d2e6966ec9dde887f8d127da3129eab | |
parent | ade7ed66253d927b6a36c253099380fe2a0fd354 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@120282 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | main/pbx.c | 2 | ||||
-rw-r--r-- | pbx/pbx_config.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c index a4d9202ad..cee4d9821 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 565d7d836..8083fda66 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; } |