From: Paul Belanger Date: Tue, 26 Apr 2011 02:18:50 +0000 (+0000) Subject: Merged revisions 315393 via svnmerge from X-Git-Tag: 1.8.5-rc1~11^2~198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=460137102142756a6e4bee4dc63361938d0ed1fe;p=thirdparty%2Fasterisk.git Merged revisions 315393 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r315393 | pabelanger | 2011-04-25 22:17:43 -0400 (Mon, 25 Apr 2011) | 7 lines Add back CLI command 'dialplan save' (closes issue #19140) Reported by: lmadsen Patches: __20110419_dialplan_save.patch.txt uploaded by lmadsen (license 10) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@315394 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index 0baa8e17c4..cd5947f037 100644 --- a/pbx/pbx_config.c +++ b/pbx/pbx_config.c @@ -1311,7 +1311,8 @@ static struct ast_cli_entry cli_pbx_config[] = { AST_CLI_DEFINE(handle_cli_dialplan_remove_ignorepat, "Remove ignore pattern from context"), AST_CLI_DEFINE(handle_cli_dialplan_add_include, "Include context in other context"), AST_CLI_DEFINE(handle_cli_dialplan_remove_include, "Remove a specified include from context"), - AST_CLI_DEFINE(handle_cli_dialplan_reload, "Reload extensions and *only* extensions") + AST_CLI_DEFINE(handle_cli_dialplan_reload, "Reload extensions and *only* extensions"), + AST_CLI_DEFINE(handle_cli_dialplan_save, "Save current dialplan into a file") }; static struct ast_cli_entry cli_dialplan_save =