Asterisk-13-Function_MINIVMCOUNTER_29394484.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Asterisk Project : Asterisk 13 Function_MINIVMCOUNTER</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-Dialplan-Functions_29394287.html">Asterisk 13 Dialplan Functions</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 Function_MINIVMCOUNTER
  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="Asterisk13Function_MINIVMCOUNTER-MINIVMCOUNTER()">MINIVMCOUNTER()</h1>
  37. <h3 id="Asterisk13Function_MINIVMCOUNTER-Synopsis">Synopsis</h3>
  38. <p>Reads or sets counters for MiniVoicemail message.</p>
  39. <h3 id="Asterisk13Function_MINIVMCOUNTER-Description">Description</h3>
  40. <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>
  41. <h3 id="Asterisk13Function_MINIVMCOUNTER-Syntax">Syntax</h3>
  42. <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
  43. <pre>MINIVMCOUNTER(account:name:operand)</pre>
  44. </div></div>
  45. <h5 id="Asterisk13Function_MINIVMCOUNTER-Arguments">Arguments</h5>
  46. <ul>
  47. <li><code>account</code> - If account is given and it exists, the counter is specific for the account.<br />
  48. If account is a domain and the domain directory exists, counters are specific for a domain.</li>
  49. <li><code>name</code> - The name of the counter is a string, up to 10 characters.</li>
  50. <li><code>operand</code> - The counters never goes below zero. Valid operands for changing the value of a counter when assigning a value are:
  51. <ul>
  52. <li><code>i</code> - Increment by value.</li>
  53. <li><code>d</code> - Decrement by value.</li>
  54. <li><code>s</code> - Set to value.</li>
  55. </ul>
  56. </li>
  57. </ul>
  58. <h3 id="Asterisk13Function_MINIVMCOUNTER-SeeAlso">See Also</h3>
  59. <ul>
  60. <li><a href="Asterisk-13-Application_MinivmRecord_29394478.html">Asterisk 13 Application_MinivmRecord</a></li>
  61. <li><a href="Asterisk-13-Application_MinivmGreet_29394479.html">Asterisk 13 Application_MinivmGreet</a></li>
  62. <li><a href="Asterisk-13-Application_MinivmNotify_29394480.html">Asterisk 13 Application_MinivmNotify</a></li>
  63. <li><a href="Asterisk-13-Application_MinivmDelete_29394481.html">Asterisk 13 Application_MinivmDelete</a></li>
  64. <li><a href="Asterisk-13-Application_MinivmAccMess_29394482.html">Asterisk 13 Application_MinivmAccMess</a></li>
  65. <li><a href="Asterisk-13-Application_MinivmMWI_29394483.html">Asterisk 13 Application_MinivmMWI</a></li>
  66. <li><a href="Asterisk-13-Function_MINIVMACCOUNT_29394485.html">Asterisk 13 Function_MINIVMACCOUNT</a></li>
  67. </ul>
  68. <h3 id="Asterisk13Function_MINIVMCOUNTER-ImportVersion">Import Version</h3>
  69. <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
  70. </div>
  71. </div> </div>
  72. <div id="footer">
  73. <section class="footer-body">
  74. <p>Document generated by Confluence on Aug 11, 2014 13:47</p>
  75. </section>
  76. </div>
  77. </div> </body>
  78. </html>