Asterisk-13-Application_AMD_29394497.html 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Asterisk Project : Asterisk 13 Application_AMD</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_AMD
  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_AMD-AMD()">AMD()</h1>
  37. <h3 id="Asterisk13Application_AMD-Synopsis">Synopsis</h3>
  38. <p>Attempt to detect answering machines.</p>
  39. <h3 id="Asterisk13Application_AMD-Description">Description</h3>
  40. <p>This application attempts to detect answering machines at the beginning of outbound calls. Simply call this application after the call has been answered (outbound only, of course).</p>
  41. <p>When loaded, AMD reads amd.conf and uses the parameters specified as default values. Those default values get overwritten when the calling AMD with parameters.</p>
  42. <p>This application sets the following channel variables:</p>
  43. <ul>
  44. <li><code>AMDSTATUS</code> - This is the status of the answering machine detection
  45. <ul>
  46. <li>MACHINE</li>
  47. <li>HUMAN</li>
  48. <li>NOTSURE</li>
  49. <li>HANGUP</li>
  50. </ul>
  51. </li>
  52. <li><code>AMDCAUSE</code> - Indicates the cause that led to the conclusion
  53. <ul>
  54. <li>TOOLONG - Total Time.</li>
  55. <li>INITIALSILENCE - Silence Duration - Initial Silence.</li>
  56. <li>HUMAN - Silence Duration - afterGreetingSilence.</li>
  57. <li>LONGGREETING - Voice Duration - Greeting.</li>
  58. <li>MAXWORDLENGTH - Word Count - maximum number of words.</li>
  59. </ul>
  60. </li>
  61. </ul>
  62. <h3 id="Asterisk13Application_AMD-Syntax">Syntax</h3>
  63. <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
  64. <pre>AMD([initialSilence,[greeting,[afterGreetingSilence,[totalAnalysis Time,[miniumWordLength,[betweenWordSilence,[maximumNumberOfWords,[silenceThreshold,[maximumWordLength]]]]]]]]])</pre>
  65. </div></div>
  66. <h5 id="Asterisk13Application_AMD-Arguments">Arguments</h5>
  67. <ul>
  68. <li><code>initialSilence</code> - Is maximum initial silence duration before greeting.<br />
  69. If this is exceeded set as MACHINE</li>
  70. <li><code>greeting</code> - is the maximum length of a greeting.<br />
  71. If this is exceeded set as MACHINE</li>
  72. <li><code>afterGreetingSilence</code> - Is the silence after detecting a greeting.<br />
  73. If this is exceeded set as HUMAN</li>
  74. <li><code>totalAnalysis Time</code> - Is the maximum time allowed for the algorithm<br />
  75. to decide HUMAN or MACHINE</li>
  76. <li><code>miniumWordLength</code> - Is the minimum duration of Voice considered to be a word</li>
  77. <li><code>betweenWordSilence</code> - Is the minimum duration of silence after a word to consider the audio that follows to be a new word</li>
  78. <li><code>maximumNumberOfWords</code> - Is the maximum number of words in a greeting<br />
  79. If this is exceeded set as MACHINE</li>
  80. <li><code>silenceThreshold</code> - How long do we consider silence</li>
  81. <li><code>maximumWordLength</code> - Is the maximum duration of a word to accept.<br />
  82. If exceeded set as MACHINE</li>
  83. </ul>
  84. <h3 id="Asterisk13Application_AMD-SeeAlso">See Also</h3>
  85. <ul>
  86. <li><a href="Asterisk-13-Application_WaitForSilence_29394442.html">Asterisk 13 Application_WaitForSilence</a></li>
  87. <li><a href="Asterisk-13-Application_WaitForNoise_29394443.html">Asterisk 13 Application_WaitForNoise</a></li>
  88. </ul>
  89. <h3 id="Asterisk13Application_AMD-ImportVersion">Import Version</h3>
  90. <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
  91. </div>
  92. </div> </div>
  93. <div id="footer">
  94. <section class="footer-body">
  95. <p>Document generated by Confluence on Aug 11, 2014 13:44</p>
  96. </section>
  97. </div>
  98. </div> </body>
  99. </html>