From 781d279901468fa198f1cb7c6a8ece94b621b1a3 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Tue, 26 Apr 2011 02:17:43 +0000 Subject: [PATCH] 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 --- pbx/pbx_config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 =