<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2171/18/9/_/styles/combined.css?spaceKey=AST&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+10+ManagerAction_UpdateConfig">Asterisk 10 ManagerAction_UpdateConfig</a></h2>
    <h4>Page  <b>added</b> by             <a href="https://wiki.asterisk.org/wiki/display/~wikibot">Wiki Bot</a>
    </h4>
         <br/>
    <div class="notificationGreySide">
         <h1><a name="Asterisk10ManagerAction_UpdateConfig-UpdateConfig"></a>UpdateConfig</h1>

<h3><a name="Asterisk10ManagerAction_UpdateConfig-Synopsis"></a>Synopsis</h3>
<p>Update basic configuration.</p>

<h3><a name="Asterisk10ManagerAction_UpdateConfig-Description"></a>Description</h3>
<p>This action will modify, create, or delete configuration elements in Asterisk configuration files.</p>

<h3><a name="Asterisk10ManagerAction_UpdateConfig-Syntax"></a>Syntax</h3>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>Action: UpdateConfig
[ActionID:] &lt;value&gt;
SrcFilename: &lt;value&gt;
DstFilename: &lt;value&gt;
[Reload:] &lt;value&gt;
[Action-XXXXXX:] &lt;value&gt;
[Cat-XXXXXX:] &lt;value&gt;
[Var-XXXXXX:] &lt;value&gt;
[Value-XXXXXX:] &lt;value&gt;
[Match-XXXXXX:] &lt;value&gt;
[Line-XXXXXX:] &lt;value&gt;
</pre>
</div></div>

<h5><a name="Asterisk10ManagerAction_UpdateConfig-Arguments"></a>Arguments</h5>
<ul>
        <li><tt>ActionID</tt> - ActionID for this transaction. Will be returned.</li>
        <li><tt>SrcFilename</tt> - Configuration filename to read (e.g. <tt>foo.conf</tt> ).</li>
        <li><tt>DstFilename</tt> - Configuration filename to write (e.g. <tt>foo.conf</tt> )</li>
        <li><tt>Reload</tt> - Whether or not a reload should take place (or name of specific module).</li>
        <li><tt>Action-XXXXXX</tt> - Action to take. X's represent 6 digit number beginning with 000000.
        <ul>
                <li><tt>NewCat</tt></li>
                <li><tt>RenameCat</tt></li>
                <li><tt>DelCat</tt></li>
                <li><tt>EmptyCat</tt></li>
                <li><tt>Update</tt></li>
                <li><tt>Delete</tt></li>
                <li><tt>Append</tt></li>
                <li><tt>Insert</tt></li>
        </ul>
        </li>
        <li><tt>Cat-XXXXXX</tt> - Category to operate on. X's represent 6 digit number beginning with 000000.</li>
        <li><tt>Var-XXXXXX</tt> - Variable to work on. X's represent 6 digit number beginning with 000000.</li>
        <li><tt>Value-XXXXXX</tt> - Value to work on. X's represent 6 digit number beginning with 000000.</li>
        <li><tt>Match-XXXXXX</tt> - Extra match required to match line. X's represent 6 digit number beginning with 000000.</li>
        <li><tt>Line-XXXXXX</tt> - Line in category to operate on (used with delete and insert actions). X's represent 6 digit number beginning with 000000.</li>
</ul>



<h3><a name="Asterisk10ManagerAction_UpdateConfig-SeeAlso"></a>See Also</h3>


<h3><a name="Asterisk10ManagerAction_UpdateConfig-ImportVersion"></a>Import Version</h3>
<p>This documentation was imported from Asterisk version SVN-branch-10-r340810.</p>
    </div>
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;" class="grey">
                        <a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
       <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+10+ManagerAction_UpdateConfig">View Online</a>
              |
       <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+10+ManagerAction_UpdateConfig?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>