F.77. UpdateConfig

Asterisk-Versionen:
        |     |        | 1.4 |————————| 1.6 |————————
Interner Hilfetext zu diesem AMI-Befehl in Asterisk 1.4:
Action: UpdateConfig
Synopsis: Update basic configuration
Privilege: config,all
Description: A 'UpdateConfig' action will modify, create, or delete
configuration elements in Asterisk configuration files.
Variables (X's represent 6 digit number beginning with 000000):
   SrcFilename:   Configuration filename to read(e.g. foo.conf)
   DstFilename:   Configuration filename to write(e.g. foo.conf)
   Reload:        Whether or not a reload should take place (or name of specific module)
   Action-XXXXXX: Action to Take (NewCat,RenameCat,DelCat,Update,Delete,Append)
   Cat-XXXXXX:    Category to operate on
   Var-XXXXXX:    Variable to work on
   Value-XXXXXX:  Value to work on
   Match-XXXXXX:  Extra match required to match line
Differenz des internen Hilfetexts von Asterisk 1.2 zu 1.4:
— in Asterisk 1.2 nicht vorhanden —
Differenz des internen Hilfetexts von Asterisk 1.4 zu 1.6:
--- in Asterisk 1.4
+++ in Asterisk 1.6
@@ -7,8 +7,9 @@
      SrcFilename:   Configuration filename to read(e.g. foo.conf)
      DstFilename:   Configuration filename to write(e.g. foo.conf)
      Reload:        Whether or not a reload should take place (or name of specific module)
-     Action-XXXXXX: Action to Take (NewCat,RenameCat,DelCat,Update,Delete,Append)
+     Action-XXXXXX: Action to Take (NewCat,RenameCat,DelCat,EmptyCat,Update,Delete,Append,Insert)
      Cat-XXXXXX:    Category to operate on
      Var-XXXXXX:    Variable to work on
      Value-XXXXXX:  Value to work on
      Match-XXXXXX:  Extra match required to match line
+     Line-XXXXXX:   Line in category to operate on (used with delete and insert actions)