Asterisk-13-ManagerEvent_AOC-S_29394947.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Asterisk Project : Asterisk 13 ManagerEvent_AOC-S</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-AMI-Events_29394281.html">Asterisk 13 AMI Events</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 ManagerEvent_AOC-S
  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="Asterisk13ManagerEvent_AOC-S-AOC-S">AOC-S</h1>
  37. <h3 id="Asterisk13ManagerEvent_AOC-S-Synopsis">Synopsis</h3>
  38. <p>Raised when an Advice of Charge message is sent at the beginning of a call.</p>
  39. <h3 id="Asterisk13ManagerEvent_AOC-S-Description">Description</h3>
  40. <h3 id="Asterisk13ManagerEvent_AOC-S-Syntax">Syntax</h3>
  41. <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
  42. <pre>Event: AOC-S
  43. Channel: &lt;value&gt;
  44. ChannelState: &lt;value&gt;
  45. ChannelStateDesc: &lt;value&gt;
  46. CallerIDNum: &lt;value&gt;
  47. CallerIDName: &lt;value&gt;
  48. ConnectedLineNum: &lt;value&gt;
  49. ConnectedLineName: &lt;value&gt;
  50. AccountCode: &lt;value&gt;
  51. Context: &lt;value&gt;
  52. Exten: &lt;value&gt;
  53. Priority: &lt;value&gt;
  54. Uniqueid: &lt;value&gt;
  55. Chargeable: &lt;value&gt;
  56. RateType: &lt;value&gt;
  57. Currency: &lt;value&gt;
  58. Name: &lt;value&gt;
  59. Cost: &lt;value&gt;
  60. Multiplier: &lt;value&gt;
  61. ChargingType: &lt;value&gt;
  62. StepFunction: &lt;value&gt;
  63. Granularity: &lt;value&gt;
  64. Length: &lt;value&gt;
  65. Scale: &lt;value&gt;
  66. Unit: &lt;value&gt;
  67. SpecialCode: &lt;value&gt;
  68. </pre>
  69. </div></div>
  70. <h5 id="Asterisk13ManagerEvent_AOC-S-Arguments">Arguments</h5>
  71. <ul>
  72. <li><code>Channel</code></li>
  73. <li><code>ChannelState</code> - A numeric code for the channel's current state, related to ChannelStateDesc</li>
  74. <li><code>ChannelStateDesc</code>
  75. <ul>
  76. <li><code>Down</code></li>
  77. <li><code>Rsrvd</code></li>
  78. <li><code>OffHook</code></li>
  79. <li><code>Dialing</code></li>
  80. <li><code>Ring</code></li>
  81. <li><code>Ringing</code></li>
  82. <li><code>Up</code></li>
  83. <li><code>Busy</code></li>
  84. <li><code>Dialing Offhook</code></li>
  85. <li><code>Pre-ring</code></li>
  86. <li><code>Unknown</code></li>
  87. </ul>
  88. </li>
  89. <li><code>CallerIDNum</code></li>
  90. <li><code>CallerIDName</code></li>
  91. <li><code>ConnectedLineNum</code></li>
  92. <li><code>ConnectedLineName</code></li>
  93. <li><code>AccountCode</code></li>
  94. <li><code>Context</code></li>
  95. <li><code>Exten</code></li>
  96. <li><code>Priority</code></li>
  97. <li><code>Uniqueid</code></li>
  98. <li><code>Chargeable</code></li>
  99. <li><code>RateType</code>
  100. <ul>
  101. <li><code>NotAvailable</code></li>
  102. <li><code>Free</code></li>
  103. <li><code>FreeFromBeginning</code></li>
  104. <li><code>Duration</code></li>
  105. <li><code>Flag</code></li>
  106. <li><code>Volume</code></li>
  107. <li><code>SpecialCode</code></li>
  108. </ul>
  109. </li>
  110. <li><code>Currency</code></li>
  111. <li><code>Name</code></li>
  112. <li><code>Cost</code></li>
  113. <li><code>Multiplier</code>
  114. <ul>
  115. <li><code>1/1000</code></li>
  116. <li><code>1/100</code></li>
  117. <li><code>1/10</code></li>
  118. <li><code>1</code></li>
  119. <li><code>10</code></li>
  120. <li><code>100</code></li>
  121. <li><code>1000</code></li>
  122. </ul>
  123. </li>
  124. <li><code>ChargingType</code></li>
  125. <li><code>StepFunction</code></li>
  126. <li><code>Granularity</code></li>
  127. <li><code>Length</code></li>
  128. <li><code>Scale</code></li>
  129. <li><code>Unit</code>
  130. <ul>
  131. <li><code>Octect</code></li>
  132. <li><code>Segment</code></li>
  133. <li><code>Message</code></li>
  134. </ul>
  135. </li>
  136. <li><code>SpecialCode</code></li>
  137. </ul>
  138. <h3 id="Asterisk13ManagerEvent_AOC-S-Class">Class</h3>
  139. <p>AOC</p>
  140. <h3 id="Asterisk13ManagerEvent_AOC-S-SeeAlso">See Also</h3>
  141. <h3 id="Asterisk13ManagerEvent_AOC-S-ImportVersion">Import Version</h3>
  142. <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
  143. </div>
  144. </div> </div>
  145. <div id="footer">
  146. <section class="footer-body">
  147. <p>Document generated by Confluence on Aug 11, 2014 13:39</p>
  148. </section>
  149. </div>
  150. </div> </body>
  151. </html>