]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix a log message and add a message for when the dialplan is done reloading.
authorJoshua Colp <jcolp@digium.com>
Wed, 4 Jun 2008 13:31:09 +0000 (13:31 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 4 Jun 2008 13:31:09 +0000 (13:31 +0000)
(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
pbx/pbx_config.c

index a4d9202ad51dffbf8d3f5847f6e4373d0fc4f94c..cee4d9821d48367108fa4fc11850383aa89db8d0 100644 (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;
        }
index 565d7d8367099373e0de7a2905978818ff13edcd..8083fda661d40b972c235720e537b5b4538bff7f 100644 (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;
 }