mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user