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
This commit is contained in:
Joshua Colp
2008-06-04 13:31:09 +00:00
parent 815951acdc
commit 7b230ded04
2 changed files with 2 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -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;
}