<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2172/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+11+Function_MINIVMCOUNTER">Asterisk 11 Function_MINIVMCOUNTER</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="Asterisk11Function_MINIVMCOUNTER-MINIVMCOUNTER%28%29"></a>MINIVMCOUNTER()</h1>

<h3><a name="Asterisk11Function_MINIVMCOUNTER-Synopsis"></a>Synopsis</h3>

<p>Reads or sets counters for MiniVoicemail message.</p>
<h3><a name="Asterisk11Function_MINIVMCOUNTER-Description"></a>Description</h3>



<p>The operation is atomic and the counter is locked while changing the value. The counters are stored as text files in the minivm account directories. It might be better to use realtime functions if you are using a database to operate your Asterisk.</p>

<h3><a name="Asterisk11Function_MINIVMCOUNTER-Syntax"></a>Syntax</h3>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>MINIVMCOUNTER(account:name:operand)</pre>
</div></div>
<h5><a name="Asterisk11Function_MINIVMCOUNTER-Arguments"></a>Arguments</h5>


<ul>
        <li>account - If account is given and it exists, the counter is specific for the account.If account is a domain and the domain directory exists, counters are specific for a domain.</li>
        <li>name - The name of the counter is a string, up to 10 characters.</li>
        <li>operand - The counters never goes below zero. Valid operands for changing the value of a counter when assigning a value are:
        <ul>
                <li>i - Increment by value.</li>
                <li>d - Decrement by value.</li>
                <li>s - Set to value.</li>
        </ul>
        </li>
</ul>


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


<ul>
        <li><a href="/wiki/display/AST/Asterisk+11+Application_MinivmRecord" title="Asterisk 11 Application_MinivmRecord">Asterisk 11 Application&#95;MinivmRecord</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+Application_MinivmGreet" title="Asterisk 11 Application_MinivmGreet">Asterisk 11 Application&#95;MinivmGreet</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+Application_MinivmNotify" title="Asterisk 11 Application_MinivmNotify">Asterisk 11 Application&#95;MinivmNotify</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+Application_MinivmDelete" title="Asterisk 11 Application_MinivmDelete">Asterisk 11 Application&#95;MinivmDelete</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+Application_MinivmAccMess" title="Asterisk 11 Application_MinivmAccMess">Asterisk 11 Application&#95;MinivmAccMess</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+Application_MinivmMWI" title="Asterisk 11 Application_MinivmMWI">Asterisk 11 Application&#95;MinivmMWI</a></li>
        <li><a href="/wiki/pages/createpage.action?spaceKey=AST&amp;title=Asterisk+11+Function_MINIVMACCOUNT&amp;linkCreation=true&amp;fromPageId=20187037" class="createlink">Asterisk 11 Function&#95;MINIVMACCOUNT</a></li>
</ul>


<h3><a name="Asterisk11Function_MINIVMCOUNTER-ImportVersion"></a>Import Version</h3>

<p>This documentation was imported from Asterisk Version SVN-trunk-r370322</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+11+Function_MINIVMCOUNTER">View Online</a>
              |
       <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_MINIVMCOUNTER?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>