Asterisk-13-ManagerAction_UpdateConfig_29394745.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Asterisk Project : Asterisk 13 ManagerAction_UpdateConfig</title>
  5. <link rel="stylesheet" href="styles/site.css" type="text/css" />
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. </head>
  8. <body class="theme-default aui-theme-default">
  9. <div id="page">
  10. <div id="main" class="aui-page-panel">
  11. <div id="main-header">
  12. <div id="breadcrumb-section">
  13. <ol id="breadcrumbs">
  14. <li class="first">
  15. <span><a href="index.html">Asterisk Project</a></span>
  16. </li>
  17. <li>
  18. <span><a href="Asterisk-13-Command-Reference_29394274.html">Asterisk 13 Command Reference</a></span>
  19. </li>
  20. <li>
  21. <span><a href="Asterisk-13-AMI-Actions_29394279.html">Asterisk 13 AMI Actions</a></span>
  22. </li>
  23. </ol>
  24. </div>
  25. <h1 id="title-heading" class="pagetitle">
  26. <span id="title-text">
  27. Asterisk Project : Asterisk 13 ManagerAction_UpdateConfig
  28. </span>
  29. </h1>
  30. </div>
  31. <div id="content" class="view">
  32. <div class="page-metadata">
  33. Created by <span class='author'> wikibot</span> on Aug 08, 2014
  34. </div>
  35. <div id="main-content" class="wiki-content group">
  36. <h1 id="Asterisk13ManagerAction_UpdateConfig-UpdateConfig">UpdateConfig</h1>
  37. <h3 id="Asterisk13ManagerAction_UpdateConfig-Synopsis">Synopsis</h3>
  38. <p>Update basic configuration.</p>
  39. <h3 id="Asterisk13ManagerAction_UpdateConfig-Description">Description</h3>
  40. <p>This action will modify, create, or delete configuration elements in Asterisk configuration files.</p>
  41. <h3 id="Asterisk13ManagerAction_UpdateConfig-Syntax">Syntax</h3>
  42. <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
  43. <pre>Action: UpdateConfig
  44. ActionID: &lt;value&gt;
  45. SrcFilename: &lt;value&gt;
  46. DstFilename: &lt;value&gt;
  47. Reload: &lt;value&gt;
  48. Action-XXXXXX: &lt;value&gt;
  49. Cat-XXXXXX: &lt;value&gt;
  50. Var-XXXXXX: &lt;value&gt;
  51. Value-XXXXXX: &lt;value&gt;
  52. Match-XXXXXX: &lt;value&gt;
  53. Line-XXXXXX: &lt;value&gt;
  54. </pre>
  55. </div></div>
  56. <h5 id="Asterisk13ManagerAction_UpdateConfig-Arguments">Arguments</h5>
  57. <ul>
  58. <li><code>ActionID</code> - ActionID for this transaction. Will be returned.</li>
  59. <li><code>SrcFilename</code> - Configuration filename to read (e.g. <code>foo.conf</code>).</li>
  60. <li><code>DstFilename</code> - Configuration filename to write (e.g. <code>foo.conf</code>)</li>
  61. <li><code>Reload</code> - Whether or not a reload should take place (or name of specific module).</li>
  62. <li><code>Action-XXXXXX</code> - Action to take.<br />
  63. X's represent 6 digit number beginning with 000000.
  64. <ul>
  65. <li><code>NewCat</code></li>
  66. <li><code>RenameCat</code></li>
  67. <li><code>DelCat</code></li>
  68. <li><code>EmptyCat</code></li>
  69. <li><code>Update</code></li>
  70. <li><code>Delete</code></li>
  71. <li><code>Append</code></li>
  72. <li><code>Insert</code></li>
  73. </ul>
  74. </li>
  75. <li><code>Cat-XXXXXX</code> - Category to operate on.<br />
  76. X's represent 6 digit number beginning with 000000.</li>
  77. <li><code>Var-XXXXXX</code> - Variable to work on.<br />
  78. X's represent 6 digit number beginning with 000000.</li>
  79. <li><code>Value-XXXXXX</code> - Value to work on.<br />
  80. X's represent 6 digit number beginning with 000000.</li>
  81. <li><code>Match-XXXXXX</code> - Extra match required to match line.<br />
  82. X's represent 6 digit number beginning with 000000.</li>
  83. <li><code>Line-XXXXXX</code> - Line in category to operate on (used with delete and insert actions).<br />
  84. X's represent 6 digit number beginning with 000000.</li>
  85. </ul>
  86. <h3 id="Asterisk13ManagerAction_UpdateConfig-SeeAlso">See Also</h3>
  87. <h3 id="Asterisk13ManagerAction_UpdateConfig-ImportVersion">Import Version</h3>
  88. <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
  89. </div>
  90. </div> </div>
  91. <div id="footer">
  92. <section class="footer-body">
  93. <p>Document generated by Confluence on Aug 11, 2014 13:39</p>
  94. </section>
  95. </div>
  96. </div> </body>
  97. </html>