]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add back CLI command 'dialplan save'
authorPaul Belanger <paul.belanger@polybeacon.com>
Tue, 26 Apr 2011 02:17:43 +0000 (02:17 +0000)
committerPaul Belanger <paul.belanger@polybeacon.com>
Tue, 26 Apr 2011 02:17:43 +0000 (02:17 +0000)
(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

index 67070454be942ae6ad069d905a29595475c206e7..e4c6b574c942260560cb6300fa3617dbf4459065 100644 (file)
@@ -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 =