Asterisk-13-ManagerEvent_Hangup_29394942.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Asterisk Project : Asterisk 13 ManagerEvent_Hangup</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_Hangup
  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_Hangup-Hangup">Hangup</h1>
  37. <h3 id="Asterisk13ManagerEvent_Hangup-Synopsis">Synopsis</h3>
  38. <p>Raised when a channel is hung up.</p>
  39. <h3 id="Asterisk13ManagerEvent_Hangup-Description">Description</h3>
  40. <h3 id="Asterisk13ManagerEvent_Hangup-Syntax">Syntax</h3>
  41. <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
  42. <pre>Event: Hangup
  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. Cause: &lt;value&gt;
  56. Cause-txt: &lt;value&gt;
  57. </pre>
  58. </div></div>
  59. <h5 id="Asterisk13ManagerEvent_Hangup-Arguments">Arguments</h5>
  60. <ul>
  61. <li><code>Channel</code></li>
  62. <li><code>ChannelState</code> - A numeric code for the channel's current state, related to ChannelStateDesc</li>
  63. <li><code>ChannelStateDesc</code>
  64. <ul>
  65. <li><code>Down</code></li>
  66. <li><code>Rsrvd</code></li>
  67. <li><code>OffHook</code></li>
  68. <li><code>Dialing</code></li>
  69. <li><code>Ring</code></li>
  70. <li><code>Ringing</code></li>
  71. <li><code>Up</code></li>
  72. <li><code>Busy</code></li>
  73. <li><code>Dialing Offhook</code></li>
  74. <li><code>Pre-ring</code></li>
  75. <li><code>Unknown</code></li>
  76. </ul>
  77. </li>
  78. <li><code>CallerIDNum</code></li>
  79. <li><code>CallerIDName</code></li>
  80. <li><code>ConnectedLineNum</code></li>
  81. <li><code>ConnectedLineName</code></li>
  82. <li><code>AccountCode</code></li>
  83. <li><code>Context</code></li>
  84. <li><code>Exten</code></li>
  85. <li><code>Priority</code></li>
  86. <li><code>Uniqueid</code></li>
  87. <li><code>Cause</code> - A numeric cause code for why the channel was hung up.</li>
  88. <li><code>Cause-txt</code> - A description of why the channel was hung up.</li>
  89. </ul>
  90. <h3 id="Asterisk13ManagerEvent_Hangup-Class">Class</h3>
  91. <p>CALL</p>
  92. <h3 id="Asterisk13ManagerEvent_Hangup-SeeAlso">See Also</h3>
  93. <h3 id="Asterisk13ManagerEvent_Hangup-ImportVersion">Import Version</h3>
  94. <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
  95. </div>
  96. </div> </div>
  97. <div id="footer">
  98. <section class="footer-body">
  99. <p>Document generated by Confluence on Aug 11, 2014 13:39</p>
  100. </section>
  101. </div>
  102. </div> </body>
  103. </html>