OSS_SNMP.MIBS.Asterisk.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. <!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
  5. <meta charset="utf-8">
  6. <title>OSS_SNMP » \OSS_SNMP\MIBS\Asterisk</title>
  7. <meta name="author" content="Mike van Riel">
  8. <meta name="description" content="">
  9. <link href="../css/template.css" rel="stylesheet" media="all">
  10. <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
  11. <link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
  12. <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
  13. <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
  14. </head>
  15. <body>
  16. <div class="navbar navbar-fixed-top">
  17. <div class="navbar-inner"><div class="container">
  18. <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">OSS_SNMP</a><div class="nav-collapse"><ul class="nav">
  19. <li class="dropdown">
  20. <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
  21. API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
  22. <li><a>Namespaces</a></li>
  23. <li><a href="../namespaces/OSS.html"><i class="icon-th"></i> OSS</a></li>
  24. <li><a href="../namespaces/OSS_SNMP.html"><i class="icon-th"></i> OSS_SNMP</a></li>
  25. </ul>
  26. </li>
  27. <li class="dropdown" id="charts-menu">
  28. <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
  29. Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
  30. </li>
  31. <li class="dropdown" id="reports-menu">
  32. <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
  33. Reports <b class="caret"></b></a><ul class="dropdown-menu">
  34. <li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
  35. <span class="label label-info">32</span></a></li>
  36. <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
  37. <ul><li>todo 
  38. <span class="label label-info">1</span>
  39. </li></ul></a></li>
  40. <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
  41. <span class="label label-info">0</span></a></li>
  42. </ul>
  43. </li>
  44. </ul></div>
  45. </div></div>
  46. <div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
  47. </div>
  48. <div id="___" class="container">
  49. <noscript><div class="alert alert-warning">
  50. Javascript is disabled; several features are only available
  51. if Javascript is enabled.
  52. </div></noscript>
  53. <div class="row">
  54. <div class="span4">
  55. <span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
  56. <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
  57. </div>
  58. <ul class="side-nav nav nav-list">
  59. <li class="nav-header">
  60. <i class="icon-custom icon-method"></i> Methods</li>
  61. <li class="method public "><a href="#callsActive" title="callsActive :: Returns the number of calls currently active on the Asterisk PBX."><span class="description">Returns the number of calls currently active on the Asterisk PBX.</span><pre>callsActive()</pre></a></li>
  62. <li class="method public "><a href="#callsProcessed" title="callsProcessed :: Returns the total number of calls processed through the Asterisk PBX since last restart."><span class="description">Returns the total number of calls processed through the Asterisk PBX since last restart.</span><pre>callsProcessed()</pre></a></li>
  63. <li class="method public "><a href="#controlSocket" title="controlSocket :: Returns the path for the control socket for giving Asterisk commands"><span class="description">Returns the path for the control socket for giving Asterisk commands</span><pre>controlSocket()</pre></a></li>
  64. <li class="method public "><a href="#modules" title="modules :: Returns the number of modules currently loaded into Asterisk."><span class="description">Returns the number of modules currently loaded into Asterisk.</span><pre>modules()</pre></a></li>
  65. <li class="method public "><a href="#pid" title="pid :: Returns the process ID of the Asterisk instance"><span class="description">Returns the process ID of the Asterisk instance</span><pre>pid()</pre></a></li>
  66. <li class="method public "><a href="#reloadTime" title="reloadTime :: Returns the time ticks (100th sec) since the Asterisk config was reload"><span class="description">Returns the time ticks (100th sec) since the Asterisk config was reload</span><pre>reloadTime()</pre></a></li>
  67. <li class="method public "><a href="#tag" title="tag :: Returns the Subversion (SVN) revision of Asterisk"><span class="description">Returns the Subversion (SVN) revision of Asterisk</span><pre>tag()</pre></a></li>
  68. <li class="method public "><a href="#uptime" title="uptime :: Returns the time ticks (100th sec) since Asterisk was started"><span class="description">Returns the time ticks (100th sec) since Asterisk was started</span><pre>uptime()</pre></a></li>
  69. <li class="method public "><a href="#version" title="version :: Returns the version of Asterisk"><span class="description">Returns the version of Asterisk</span><pre>version()</pre></a></li>
  70. <li class="nav-header">
  71. <i class="icon-custom icon-constant"></i> Constants</li>
  72. <li class="constant "><a href="#OID_ASTERISK_CALLS_ACTIVE" title="OID_ASTERISK_CALLS_ACTIVE :: "><span class="description">OID_ASTERISK_CALLS_ACTIVE</span><pre>OID_ASTERISK_CALLS_ACTIVE</pre></a></li>
  73. <li class="constant "><a href="#OID_ASTERISK_CALLS_PROCESSED" title="OID_ASTERISK_CALLS_PROCESSED :: "><span class="description">OID_ASTERISK_CALLS_PROCESSED</span><pre>OID_ASTERISK_CALLS_PROCESSED</pre></a></li>
  74. <li class="constant "><a href="#OID_ASTERISK_CONTROL_SOCKET" title="OID_ASTERISK_CONTROL_SOCKET :: "><span class="description">OID_ASTERISK_CONTROL_SOCKET</span><pre>OID_ASTERISK_CONTROL_SOCKET</pre></a></li>
  75. <li class="constant "><a href="#OID_ASTERISK_MODULES" title="OID_ASTERISK_MODULES :: "><span class="description">OID_ASTERISK_MODULES</span><pre>OID_ASTERISK_MODULES</pre></a></li>
  76. <li class="constant "><a href="#OID_ASTERISK_PID" title="OID_ASTERISK_PID :: "><span class="description">OID_ASTERISK_PID</span><pre>OID_ASTERISK_PID</pre></a></li>
  77. <li class="constant "><a href="#OID_ASTERISK_RELOAD_TIME" title="OID_ASTERISK_RELOAD_TIME :: "><span class="description">OID_ASTERISK_RELOAD_TIME</span><pre>OID_ASTERISK_RELOAD_TIME</pre></a></li>
  78. <li class="constant "><a href="#OID_ASTERISK_UP_TIME" title="OID_ASTERISK_UP_TIME :: "><span class="description">OID_ASTERISK_UP_TIME</span><pre>OID_ASTERISK_UP_TIME</pre></a></li>
  79. <li class="constant "><a href="#OID_ASTERISK_VERSION_STRING" title="OID_ASTERISK_VERSION_STRING :: "><span class="description">OID_ASTERISK_VERSION_STRING</span><pre>OID_ASTERISK_VERSION_STRING</pre></a></li>
  80. <li class="constant "><a href="#OID_ASTERISK_VERSION_TAG" title="OID_ASTERISK_VERSION_TAG :: "><span class="description">OID_ASTERISK_VERSION_TAG</span><pre>OID_ASTERISK_VERSION_TAG</pre></a></li>
  81. </ul>
  82. </div>
  83. <div class="span8">
  84. <a name="%5COSS_SNMP%5CMIBS%5CAsterisk" id="\OSS_SNMP\MIBS\Asterisk"></a><ul class="breadcrumb">
  85. <li>
  86. <a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
  87. </li>
  88. <li><a href="../namespaces/OSS_SNMP.html">OSS_SNMP</a></li>
  89. <span class="divider">\</span><li><a href="../namespaces/OSS_SNMP.MIBS.html">MIBS</a></li>
  90. <li class="active">
  91. <span class="divider">\</span><a href="../classes/OSS_SNMP.MIBS.Asterisk.html">Asterisk</a>
  92. </li>
  93. </ul>
  94. <div href="../classes/OSS_SNMP.MIBS.Asterisk.html" class="element class">
  95. <p class="short_description">A class for performing SNMP V2 queries on Asterisk</p>
  96. <div class="details">
  97. <p class="long_description"></p>
  98. <table class="table table-bordered">
  99. <tr>
  100. <th>see</th>
  101. <td>\OSS_SNMP\MIBS\https://wiki.asterisk.org/wiki/display/AST/Asterisk+MIB+Definitions</td>
  102. </tr>
  103. <tr>
  104. <th>copyright</th>
  105. <td>Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland</td>
  106. </tr>
  107. <tr>
  108. <th>author</th>
  109. <td><a href="mailto:barry@opensolutions.ie">Barry O'Donovan</a></td>
  110. </tr>
  111. </table>
  112. <h3>
  113. <i class="icon-custom icon-method"></i> Methods</h3>
  114. <a name="callsActive" id="callsActive"></a><div class="element clickable method public callsActive" data-toggle="collapse" data-target=".callsActive .collapse">
  115. <h2>Returns the number of calls currently active on the Asterisk PBX.</h2>
  116. <pre>callsActive() : int</pre>
  117. <div class="labels"></div>
  118. <div class="row collapse"><div class="detail-description">
  119. <p class="long_description"><blockquote>
  120. <p>The number of calls currently active on the Asterisk PBX.</p>
  121. </blockquote></p>
  122. <h3>Returns</h3>
  123. <div class="subelement response">
  124. <code>int</code>The number of calls currently active on the Asterisk PBX.</div>
  125. </div></div>
  126. </div>
  127. <a name="callsProcessed" id="callsProcessed"></a><div class="element clickable method public callsProcessed" data-toggle="collapse" data-target=".callsProcessed .collapse">
  128. <h2>Returns the total number of calls processed through the Asterisk PBX since last restart.</h2>
  129. <pre>callsProcessed() : int</pre>
  130. <div class="labels"></div>
  131. <div class="row collapse"><div class="detail-description">
  132. <p class="long_description"><blockquote>
  133. <p>The total number of calls processed through the Asterisk PBX since last restart.</p>
  134. </blockquote></p>
  135. <h3>Returns</h3>
  136. <div class="subelement response">
  137. <code>int</code>The total number of calls processed through the Asterisk PBX since last restart.</div>
  138. </div></div>
  139. </div>
  140. <a name="controlSocket" id="controlSocket"></a><div class="element clickable method public controlSocket" data-toggle="collapse" data-target=".controlSocket .collapse">
  141. <h2>Returns the path for the control socket for giving Asterisk commands</h2>
  142. <pre>controlSocket() : string</pre>
  143. <div class="labels"></div>
  144. <div class="row collapse"><div class="detail-description">
  145. <p class="long_description"><blockquote>
  146. <p>The control socket for giving Asterisk commands.</p>
  147. </blockquote></p>
  148. <h3>Returns</h3>
  149. <div class="subelement response">
  150. <code>string</code>The control socket for giving Asterisk commands</div>
  151. </div></div>
  152. </div>
  153. <a name="modules" id="modules"></a><div class="element clickable method public modules" data-toggle="collapse" data-target=".modules .collapse">
  154. <h2>Returns the number of modules currently loaded into Asterisk.</h2>
  155. <pre>modules() : int</pre>
  156. <div class="labels"></div>
  157. <div class="row collapse"><div class="detail-description">
  158. <p class="long_description"><blockquote>
  159. <p>Number of modules currently loaded into Asterisk.</p>
  160. </blockquote></p>
  161. <h3>Returns</h3>
  162. <div class="subelement response">
  163. <code>int</code>The number of modules currently loaded into Asterisk</div>
  164. </div></div>
  165. </div>
  166. <a name="pid" id="pid"></a><div class="element clickable method public pid" data-toggle="collapse" data-target=".pid .collapse">
  167. <h2>Returns the process ID of the Asterisk instance</h2>
  168. <pre>pid() : int</pre>
  169. <div class="labels"></div>
  170. <div class="row collapse"><div class="detail-description">
  171. <p class="long_description"><blockquote>
  172. <p>The process id of the running Asterisk process.</p>
  173. </blockquote></p>
  174. <h3>Returns</h3>
  175. <div class="subelement response">
  176. <code>int</code>The process ID of the Asterisk instance</div>
  177. </div></div>
  178. </div>
  179. <a name="reloadTime" id="reloadTime"></a><div class="element clickable method public reloadTime" data-toggle="collapse" data-target=".reloadTime .collapse">
  180. <h2>Returns the time ticks (100th sec) since the Asterisk config was reload</h2>
  181. <pre>reloadTime() : int</pre>
  182. <div class="labels"></div>
  183. <div class="row collapse"><div class="detail-description">
  184. <p class="long_description"><blockquote>
  185. <p>Time ticks since Asterisk was last reloaded.</p>
  186. </blockquote></p>
  187. <h3>Returns</h3>
  188. <div class="subelement response">
  189. <code>int</code>Time ticks since the Asterisk config was reload</div>
  190. </div></div>
  191. </div>
  192. <a name="tag" id="tag"></a><div class="element clickable method public tag" data-toggle="collapse" data-target=".tag .collapse">
  193. <h2>Returns the Subversion (SVN) revision of Asterisk</h2>
  194. <pre>tag() : int</pre>
  195. <div class="labels"></div>
  196. <div class="row collapse"><div class="detail-description">
  197. <p class="long_description"><blockquote>
  198. <p>SubVersion revision of the version of Asterisk that
  199. the SNMP Agent was compiled to run against -- this is
  200. typically 0 for release-versions of Asterisk.</p>
  201. </blockquote></p>
  202. <h3>Returns</h3>
  203. <div class="subelement response">
  204. <code>int</code>The SVN revision of Asterisk</div>
  205. </div></div>
  206. </div>
  207. <a name="uptime" id="uptime"></a><div class="element clickable method public uptime" data-toggle="collapse" data-target=".uptime .collapse">
  208. <h2>Returns the time ticks (100th sec) since Asterisk was started</h2>
  209. <pre>uptime() : int</pre>
  210. <div class="labels"></div>
  211. <div class="row collapse"><div class="detail-description">
  212. <p class="long_description"><blockquote>
  213. <p>Time ticks since Asterisk was started.</p>
  214. </blockquote></p>
  215. <h3>Returns</h3>
  216. <div class="subelement response">
  217. <code>int</code>Time ticks since Asterisk was started</div>
  218. </div></div>
  219. </div>
  220. <a name="version" id="version"></a><div class="element clickable method public version" data-toggle="collapse" data-target=".version .collapse">
  221. <h2>Returns the version of Asterisk</h2>
  222. <pre>version() : string</pre>
  223. <div class="labels"></div>
  224. <div class="row collapse"><div class="detail-description">
  225. <p class="long_description"><blockquote>
  226. <p>Text version string of the version of Asterisk that
  227. the SNMP Agent was compiled to run against.</p>
  228. </blockquote></p>
  229. <h3>Returns</h3>
  230. <div class="subelement response">
  231. <code>string</code>The version of Asterisk</div>
  232. </div></div>
  233. </div>
  234. <h3>
  235. <i class="icon-custom icon-constant"></i> Constants</h3>
  236. <a name="OID_ASTERISK_CALLS_ACTIVE" id="OID_ASTERISK_CALLS_ACTIVE"> </a><div class="element clickable constant OID_ASTERISK_CALLS_ACTIVE" data-toggle="collapse" data-target=".OID_ASTERISK_CALLS_ACTIVE .collapse">
  237. <h2>OID_ASTERISK_CALLS_ACTIVE</h2>
  238. <pre>OID_ASTERISK_CALLS_ACTIVE </pre>
  239. <div class="labels"></div>
  240. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  241. </div>
  242. <a name="OID_ASTERISK_CALLS_PROCESSED" id="OID_ASTERISK_CALLS_PROCESSED"> </a><div class="element clickable constant OID_ASTERISK_CALLS_PROCESSED" data-toggle="collapse" data-target=".OID_ASTERISK_CALLS_PROCESSED .collapse">
  243. <h2>OID_ASTERISK_CALLS_PROCESSED</h2>
  244. <pre>OID_ASTERISK_CALLS_PROCESSED </pre>
  245. <div class="labels"></div>
  246. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  247. </div>
  248. <a name="OID_ASTERISK_CONTROL_SOCKET" id="OID_ASTERISK_CONTROL_SOCKET"> </a><div class="element clickable constant OID_ASTERISK_CONTROL_SOCKET" data-toggle="collapse" data-target=".OID_ASTERISK_CONTROL_SOCKET .collapse">
  249. <h2>OID_ASTERISK_CONTROL_SOCKET</h2>
  250. <pre>OID_ASTERISK_CONTROL_SOCKET </pre>
  251. <div class="labels"></div>
  252. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  253. </div>
  254. <a name="OID_ASTERISK_MODULES" id="OID_ASTERISK_MODULES"> </a><div class="element clickable constant OID_ASTERISK_MODULES" data-toggle="collapse" data-target=".OID_ASTERISK_MODULES .collapse">
  255. <h2>OID_ASTERISK_MODULES</h2>
  256. <pre>OID_ASTERISK_MODULES </pre>
  257. <div class="labels"></div>
  258. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  259. </div>
  260. <a name="OID_ASTERISK_PID" id="OID_ASTERISK_PID"> </a><div class="element clickable constant OID_ASTERISK_PID" data-toggle="collapse" data-target=".OID_ASTERISK_PID .collapse">
  261. <h2>OID_ASTERISK_PID</h2>
  262. <pre>OID_ASTERISK_PID </pre>
  263. <div class="labels"></div>
  264. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  265. </div>
  266. <a name="OID_ASTERISK_RELOAD_TIME" id="OID_ASTERISK_RELOAD_TIME"> </a><div class="element clickable constant OID_ASTERISK_RELOAD_TIME" data-toggle="collapse" data-target=".OID_ASTERISK_RELOAD_TIME .collapse">
  267. <h2>OID_ASTERISK_RELOAD_TIME</h2>
  268. <pre>OID_ASTERISK_RELOAD_TIME </pre>
  269. <div class="labels"></div>
  270. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  271. </div>
  272. <a name="OID_ASTERISK_UP_TIME" id="OID_ASTERISK_UP_TIME"> </a><div class="element clickable constant OID_ASTERISK_UP_TIME" data-toggle="collapse" data-target=".OID_ASTERISK_UP_TIME .collapse">
  273. <h2>OID_ASTERISK_UP_TIME</h2>
  274. <pre>OID_ASTERISK_UP_TIME </pre>
  275. <div class="labels"></div>
  276. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  277. </div>
  278. <a name="OID_ASTERISK_VERSION_STRING" id="OID_ASTERISK_VERSION_STRING"> </a><div class="element clickable constant OID_ASTERISK_VERSION_STRING" data-toggle="collapse" data-target=".OID_ASTERISK_VERSION_STRING .collapse">
  279. <h2>OID_ASTERISK_VERSION_STRING</h2>
  280. <pre>OID_ASTERISK_VERSION_STRING </pre>
  281. <div class="labels"></div>
  282. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  283. </div>
  284. <a name="OID_ASTERISK_VERSION_TAG" id="OID_ASTERISK_VERSION_TAG"> </a><div class="element clickable constant OID_ASTERISK_VERSION_TAG" data-toggle="collapse" data-target=".OID_ASTERISK_VERSION_TAG .collapse">
  285. <h2>OID_ASTERISK_VERSION_TAG</h2>
  286. <pre>OID_ASTERISK_VERSION_TAG </pre>
  287. <div class="labels"></div>
  288. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  289. </div>
  290. </div>
  291. </div>
  292. </div>
  293. </div>
  294. <div class="row"><footer class="span12">
  295. Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
  296. Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a5</a> and<br>
  297. generated on 2012-06-20T19:41:09+01:00.<br></footer></div>
  298. </div>
  299. </body>
  300. </html>