From: Paul Belanger Date: Tue, 26 Apr 2011 02:17:43 +0000 (+0000) Subject: Add back CLI command 'dialplan save' X-Git-Tag: 1.6.2.19-rc1~3^2~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=781d279901468fa198f1cb7c6a8ece94b621b1a3;p=thirdparty%2Fasterisk.git 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.6.2@315393 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index 67070454be..e4c6b574c9 100644 --- a/pbx/pbx_config.c +++ b/pbx/pbx_config.c @@ -1312,7 +1312,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 =