Merged revisions 315394 via svnmerge from
authorPaul Belanger <paul.belanger@polybeacon.com>
Tue, 26 Apr 2011 02:21:38 +0000 (02:21 +0000)
committerPaul Belanger <paul.belanger@polybeacon.com>
Tue, 26 Apr 2011 02:21:38 +0000 (02:21 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r315394 | pabelanger | 2011-04-25 22:18:50 -0400 (Mon, 25 Apr 2011) | 14 lines

  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/trunk@315395 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_config.c

index 0a331bb..fc1f1ce 100644 (file)
@@ -1324,7 +1324,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 =