Asterisk-13-Configuration_res_ari_29394807.html 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Asterisk Project : Asterisk 13 Configuration_res_ari</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-Module-Configuration_29394289.html">Asterisk 13 Module Configuration</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 Configuration_res_ari
  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="Asterisk13Configuration_res_ari-HTTPbindingfortheStasisAPI">HTTP binding for the Stasis API</h1>
  37. <p>This configuration documentation is for functionality provided by <code>res_ari</code>.</p>
  38. <h2 id="Asterisk13Configuration_res_ari-ari.conf">ari.conf</h2>
  39. <h3 id="Asterisk13Configuration_res_ari-general">general</h3>
  40. <p>General configuration settings</p>
  41. <h4 id="Asterisk13Configuration_res_ari-ConfigurationOptionReference">Configuration Option Reference</h4>
  42. <div class="table-wrap"><table class="confluenceTable"><tbody>
  43. <tr>
  44. <th class="confluenceTh"><p> Option Name </p></th>
  45. <th class="confluenceTh"><p> Type </p></th>
  46. <th class="confluenceTh"><p> Default Value </p></th>
  47. <th class="confluenceTh"><p> Regular Expression </p></th>
  48. <th class="confluenceTh"><p> Description </p></th>
  49. </tr>
  50. <tr>
  51. <td class="confluenceTd"><p> <a href="Asterisk-13-Configuration_res_ari_29394807.html"><code>enabled</code></a> </p></td>
  52. <td class="confluenceTd"><p> <code>Boolean</code> </p></td>
  53. <td class="confluenceTd"><p> <code>yes</code> </p></td>
  54. <td class="confluenceTd"><p> <code>false</code> </p></td>
  55. <td class="confluenceTd"><p> Enable/disable the ARI module </p></td>
  56. </tr>
  57. <tr>
  58. <td class="confluenceTd"><p> <a href="Asterisk-13-Configuration_res_ari_29394807.html"><code>websocket_write_timeout</code></a> </p></td>
  59. <td class="confluenceTd"><p> <code>Integer</code> </p></td>
  60. <td class="confluenceTd"><p> <code>100</code> </p></td>
  61. <td class="confluenceTd"><p> <code>false</code> </p></td>
  62. <td class="confluenceTd"><p> The timeout (in milliseconds) to set on WebSocket connections. </p></td>
  63. </tr>
  64. <tr>
  65. <td class="confluenceTd"><p> <code>pretty</code> </p></td>
  66. <td class="confluenceTd"><p> <code>Custom</code> </p></td>
  67. <td class="confluenceTd"><p> <code>no</code> </p></td>
  68. <td class="confluenceTd"><p> <code>false</code> </p></td>
  69. <td class="confluenceTd"><p> Responses from ARI are formatted to be human readable </p></td>
  70. </tr>
  71. <tr>
  72. <td class="confluenceTd"><p> <code>auth_realm</code> </p></td>
  73. <td class="confluenceTd"><p> <code>String</code> </p></td>
  74. <td class="confluenceTd"><p> <code>Asterisk REST Interface</code> </p></td>
  75. <td class="confluenceTd"><p> <code>false</code> </p></td>
  76. <td class="confluenceTd"><p> Realm to use for authentication. Defaults to Asterisk REST Interface. </p></td>
  77. </tr>
  78. <tr>
  79. <td class="confluenceTd"><p> <code>allowed_origins</code> </p></td>
  80. <td class="confluenceTd"><p> <code>String</code> </p></td>
  81. <td class="confluenceTd"><p> </p></td>
  82. <td class="confluenceTd"><p> <code>false</code> </p></td>
  83. <td class="confluenceTd"><p> Comma separated list of allowed origins, for Cross-Origin Resource Sharing. May be set to * to allow all origins. </p></td>
  84. </tr>
  85. </tbody></table></div>
  86. <h4 id="Asterisk13Configuration_res_ari-ConfigurationOptionDescriptions">Configuration Option Descriptions</h4>
  87. <p><span class="confluence-anchor-link" id="Asterisk13Configuration_res_ari-general_enabled"></span></p>
  88. <h5 id="Asterisk13Configuration_res_ari-enabled">enabled</h5>
  89. <p>This option enables or disables the ARI module.</p>
  90. <div class="aui-message hint shadowed information-macro">
  91. <p class="title">Note</p>
  92. <span class="aui-icon icon-hint">Icon</span>
  93. <div class="message-content">
  94. <p>ARI uses Asterisk's HTTP server, which must also be enabled in <code>http.conf</code>.</p>
  95. </div>
  96. </div>
  97. <p><span class="confluence-anchor-link" id="Asterisk13Configuration_res_ari-general_websocket_write_timeout"></span></p>
  98. <h5 id="Asterisk13Configuration_res_ari-websocket_write_timeout">websocket_write_timeout</h5>
  99. <p>If a websocket connection accepts input slowly, the timeout for writes to it can be increased to keep it from being disconnected. Value is in milliseconds; default is 100 ms.</p>
  100. <h3 id="Asterisk13Configuration_res_ari-user">user</h3>
  101. <p>Per-user configuration settings</p>
  102. <h4 id="Asterisk13Configuration_res_ari-ConfigurationOptionReference.1">Configuration Option Reference</h4>
  103. <div class="table-wrap"><table class="confluenceTable"><tbody>
  104. <tr>
  105. <th class="confluenceTh"><p> Option Name </p></th>
  106. <th class="confluenceTh"><p> Type </p></th>
  107. <th class="confluenceTh"><p> Default Value </p></th>
  108. <th class="confluenceTh"><p> Regular Expression </p></th>
  109. <th class="confluenceTh"><p> Description </p></th>
  110. </tr>
  111. <tr>
  112. <td class="confluenceTd"><p> <a href="Asterisk-13-Configuration_res_ari_29394807.html"><code>type</code></a> </p></td>
  113. <td class="confluenceTd"><p> <code>None</code> </p></td>
  114. <td class="confluenceTd"><p> </p></td>
  115. <td class="confluenceTd"><p> <code>false</code> </p></td>
  116. <td class="confluenceTd"><p> Define this configuration section as a user. </p></td>
  117. </tr>
  118. <tr>
  119. <td class="confluenceTd"><p> <code>read_only</code> </p></td>
  120. <td class="confluenceTd"><p> <code>Boolean</code> </p></td>
  121. <td class="confluenceTd"><p> <code>no</code> </p></td>
  122. <td class="confluenceTd"><p> <code>false</code> </p></td>
  123. <td class="confluenceTd"><p> When set to yes, user is only authorized for read-only requests </p></td>
  124. </tr>
  125. <tr>
  126. <td class="confluenceTd"><p> <code>password</code> </p></td>
  127. <td class="confluenceTd"><p> <code>String</code> </p></td>
  128. <td class="confluenceTd"><p> </p></td>
  129. <td class="confluenceTd"><p> <code>false</code> </p></td>
  130. <td class="confluenceTd"><p> Crypted or plaintext password (see password_format) </p></td>
  131. </tr>
  132. <tr>
  133. <td class="confluenceTd"><p> <code>password_format</code> </p></td>
  134. <td class="confluenceTd"><p> <code>Custom</code> </p></td>
  135. <td class="confluenceTd"><p> <code>plain</code> </p></td>
  136. <td class="confluenceTd"><p> <code>false</code> </p></td>
  137. <td class="confluenceTd"><p> password_format may be set to plain (the default) or crypt. When set to crypt, crypt(3) is used to validate the password. A crypted password can be generated using mkpasswd -m sha-512. When set to plain, the password is in plaintext </p></td>
  138. </tr>
  139. </tbody></table></div>
  140. <h4 id="Asterisk13Configuration_res_ari-ConfigurationOptionDescriptions.1">Configuration Option Descriptions</h4>
  141. <p><span class="confluence-anchor-link" id="Asterisk13Configuration_res_ari-user_type"></span></p>
  142. <h5 id="Asterisk13Configuration_res_ari-type">type</h5>
  143. <ul>
  144. <li><code>user</code> - Configure this section as a <em>user</em></li>
  145. </ul>
  146. <h3 id="Asterisk13Configuration_res_ari-ImportVersion">Import Version</h3>
  147. <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
  148. </div>
  149. </div> </div>
  150. <div id="footer">
  151. <section class="footer-body">
  152. <p>Document generated by Confluence on Aug 11, 2014 13:48</p>
  153. </section>
  154. </div>
  155. </div> </body>
  156. </html>