Asterisk-13-Application_VoiceMail_29394525.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Asterisk Project : Asterisk 13 Application_VoiceMail</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-Applications_29394285.html">Asterisk 13 Dialplan Applications</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 Application_VoiceMail
  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="Asterisk13Application_VoiceMail-VoiceMail()">VoiceMail()</h1>
  37. <h3 id="Asterisk13Application_VoiceMail-Synopsis">Synopsis</h3>
  38. <p>Leave a Voicemail message.</p>
  39. <h3 id="Asterisk13Application_VoiceMail-Description">Description</h3>
  40. <p>This application allows the calling party to leave a message for the specified list of mailboxes. When multiple mailboxes are specified, the greeting will be taken from the first mailbox specified. Dialplan execution will stop if the specified mailbox does not exist.</p>
  41. <p>The Voicemail application will exit if any of the following DTMF digits are received:</p>
  42. <ul>
  43. <li><code>0</code> - Jump to the <code>o</code> extension in the current dialplan context.</li>
  44. <li><code>*</code> - Jump to the <code>a</code> extension in the current dialplan context.<br />
  45. This application will set the following channel variable upon completion:</li>
  46. </ul>
  47. <ul>
  48. <li><code>VMSTATUS</code> - This indicates the status of the execution of the VoiceMail application.
  49. <ul>
  50. <li>SUCCESS</li>
  51. <li>USEREXIT</li>
  52. <li>FAILED</li>
  53. </ul>
  54. </li>
  55. </ul>
  56. <h3 id="Asterisk13Application_VoiceMail-Syntax">Syntax</h3>
  57. <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
  58. <pre>VoiceMail(mailbox1&amp;[mailbox2[&amp;...]],[options])</pre>
  59. </div></div>
  60. <h5 id="Asterisk13Application_VoiceMail-Arguments">Arguments</h5>
  61. <ul>
  62. <li><code>mailboxs</code>
  63. <ul>
  64. <li><code>mailbox1</code>
  65. <ul>
  66. <li><code>mailbox</code></li>
  67. <li><code>context</code></li>
  68. </ul>
  69. </li>
  70. <li><code>mailbox2</code>
  71. <ul>
  72. <li><code>mailbox</code></li>
  73. <li><code>context</code></li>
  74. </ul>
  75. </li>
  76. </ul>
  77. </li>
  78. <li><code>options</code>
  79. <ul>
  80. <li><code>b</code> - Play the <code>busy</code> greeting to the calling party.</li>
  81. <li><code>d</code> - Accept digits for a new extension in context <em>c</em>, if played during the greeting. Context defaults to the current context.
  82. <ul>
  83. <li><code>c</code></li>
  84. </ul>
  85. </li>
  86. <li><code>g</code> - Use the specified amount of gain when recording the voicemail message. The units are whole-number decibels (dB). Only works on supported technologies, which is DAHDI only.
  87. <ul>
  88. <li><code>#</code></li>
  89. </ul>
  90. </li>
  91. <li><code>s</code> - Skip the playback of instructions for leaving a message to the calling party.</li>
  92. <li><code>u</code> - Play the <code>unavailable</code> greeting.</li>
  93. <li><code>U</code> - Mark message as <code>URGENT</code>.</li>
  94. <li><code>P</code> - Mark message as <code>PRIORITY</code>.</li>
  95. </ul>
  96. </li>
  97. </ul>
  98. <h3 id="Asterisk13Application_VoiceMail-SeeAlso">See Also</h3>
  99. <ul>
  100. <li><a href="Asterisk-13-Application_VoiceMailMain_29394526.html">Asterisk 13 Application_VoiceMailMain</a></li>
  101. </ul>
  102. <h3 id="Asterisk13Application_VoiceMail-ImportVersion">Import Version</h3>
  103. <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
  104. </div>
  105. </div> </div>
  106. <div id="footer">
  107. <section class="footer-body">
  108. <p>Document generated by Confluence on Aug 11, 2014 13:46</p>
  109. </section>
  110. </div>
  111. </div> </body>
  112. </html>