[asterisk-commits] file: branch 1.4 r120282 - in /branches/1.4: main/pbx.c pbx/pbx_config.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 4 08:31:09 CDT 2008


Author: file
Date: Wed Jun  4 08:31:09 2008
New Revision: 120282

URL: http://svn.digium.com/view/asterisk?view=rev&rev=120282
Log:
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)

Modified:
    branches/1.4/main/pbx.c
    branches/1.4/pbx/pbx_config.c

Modified: branches/1.4/main/pbx.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/pbx.c?view=diff&rev=120282&r1=120281&r2=120282
==============================================================================
--- branches/1.4/main/pbx.c (original)
+++ branches/1.4/main/pbx.c Wed Jun  4 08:31:09 2008
@@ -6326,7 +6326,7 @@
 			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;
 	}

Modified: branches/1.4/pbx/pbx_config.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/pbx/pbx_config.c?view=diff&rev=120282&r1=120281&r2=120282
==============================================================================
--- branches/1.4/pbx/pbx_config.c (original)
+++ branches/1.4/pbx/pbx_config.c Wed Jun  4 08:31:09 2008
@@ -2081,6 +2081,7 @@
 	if (clearglobalvars_config)
 		pbx_builtin_clear_globals();
 	pbx_load_module();
+	ast_cli(fd, "Dialplan reloaded.\n");
 	return RESULT_SUCCESS;
 }
 




More information about the asterisk-commits mailing list