Asterisk-13-Function_REDIRECTING_29394656.html 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Asterisk Project : Asterisk 13 Function_REDIRECTING</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-Functions_29394287.html">Asterisk 13 Dialplan Functions</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 Function_REDIRECTING
  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="Asterisk13Function_REDIRECTING-REDIRECTING()">REDIRECTING()</h1>
  37. <h3 id="Asterisk13Function_REDIRECTING-Synopsis">Synopsis</h3>
  38. <p>Gets or sets Redirecting data on the channel.</p>
  39. <h3 id="Asterisk13Function_REDIRECTING-Description">Description</h3>
  40. <p>Gets or sets Redirecting data on the channel.</p>
  41. <p>The allowable values for the <em>reason</em> and <em>orig-reason</em> fields are the following:</p>
  42. <ul>
  43. <li><code>unknown</code> - Unknown</li>
  44. <li><code>cfb</code> - Call Forwarding Busy</li>
  45. <li><code>cfnr</code> - Call Forwarding No Reply</li>
  46. <li><code>unavailable</code> - Callee is Unavailable</li>
  47. <li><code>time_of_day</code> - Time of Day</li>
  48. <li><code>dnd</code> - Do Not Disturb</li>
  49. <li><code>deflection</code> - Call Deflection</li>
  50. <li><code>follow_me</code> - Follow Me</li>
  51. <li><code>out_of_order</code> - Called DTE Out-Of-Order</li>
  52. <li><code>away</code> - Callee is Away</li>
  53. <li><code>cf_dte</code> - Call Forwarding By The Called DTE</li>
  54. <li><code>cfu</code> - Call Forwarding Unconditional<br />
  55. The allowable values for the <em>xxx-name-charset</em> field are the following:</li>
  56. </ul>
  57. <ul>
  58. <li><code>unknown</code> - Unknown</li>
  59. <li><code>iso8859-1</code> - ISO8859-1</li>
  60. <li><code>withdrawn</code> - Withdrawn</li>
  61. <li><code>iso8859-2</code> - ISO8859-2</li>
  62. <li><code>iso8859-3</code> - ISO8859-3</li>
  63. <li><code>iso8859-4</code> - ISO8859-4</li>
  64. <li><code>iso8859-5</code> - ISO8859-5</li>
  65. <li><code>iso8859-7</code> - ISO8859-7</li>
  66. <li><code>bmp</code> - ISO10646 Bmp String</li>
  67. <li><code>utf8</code> - ISO10646 UTF-8 String</li>
  68. </ul>
  69. <h3 id="Asterisk13Function_REDIRECTING-Syntax">Syntax</h3>
  70. <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
  71. <pre>REDIRECTING(datatype,i)</pre>
  72. </div></div>
  73. <h5 id="Asterisk13Function_REDIRECTING-Arguments">Arguments</h5>
  74. <ul>
  75. <li><code>datatype</code> - The allowable datatypes are:
  76. <ul>
  77. <li><code>orig-all</code></li>
  78. <li><code>orig-name</code></li>
  79. <li><code>orig-name-valid</code></li>
  80. <li><code>orig-name-charset</code></li>
  81. <li><code>orig-name-pres</code></li>
  82. <li><code>orig-num</code></li>
  83. <li><code>orig-num-valid</code></li>
  84. <li><code>orig-num-plan</code></li>
  85. <li><code>orig-num-pres</code></li>
  86. <li><code>orig-subaddr</code></li>
  87. <li><code>orig-subaddr-valid</code></li>
  88. <li><code>orig-subaddr-type</code></li>
  89. <li><code>orig-subaddr-odd</code></li>
  90. <li><code>orig-tag</code></li>
  91. <li><code>orig-reason</code></li>
  92. <li><code>from-all</code></li>
  93. <li><code>from-name</code></li>
  94. <li><code>from-name-valid</code></li>
  95. <li><code>from-name-charset</code></li>
  96. <li><code>from-name-pres</code></li>
  97. <li><code>from-num</code></li>
  98. <li><code>from-num-valid</code></li>
  99. <li><code>from-num-plan</code></li>
  100. <li><code>from-num-pres</code></li>
  101. <li><code>from-subaddr</code></li>
  102. <li><code>from-subaddr-valid</code></li>
  103. <li><code>from-subaddr-type</code></li>
  104. <li><code>from-subaddr-odd</code></li>
  105. <li><code>from-tag</code></li>
  106. <li><code>to-all</code></li>
  107. <li><code>to-name</code></li>
  108. <li><code>to-name-valid</code></li>
  109. <li><code>to-name-charset</code></li>
  110. <li><code>to-name-pres</code></li>
  111. <li><code>to-num</code></li>
  112. <li><code>to-num-valid</code></li>
  113. <li><code>to-num-plan</code></li>
  114. <li><code>to-num-pres</code></li>
  115. <li><code>to-subaddr</code></li>
  116. <li><code>to-subaddr-valid</code></li>
  117. <li><code>to-subaddr-type</code></li>
  118. <li><code>to-subaddr-odd</code></li>
  119. <li><code>to-tag</code></li>
  120. <li><code>priv-orig-all</code></li>
  121. <li><code>priv-orig-name</code></li>
  122. <li><code>priv-orig-name-valid</code></li>
  123. <li><code>priv-orig-name-charset</code></li>
  124. <li><code>priv-orig-name-pres</code></li>
  125. <li><code>priv-orig-num</code></li>
  126. <li><code>priv-orig-num-valid</code></li>
  127. <li><code>priv-orig-num-plan</code></li>
  128. <li><code>priv-orig-num-pres</code></li>
  129. <li><code>priv-orig-subaddr</code></li>
  130. <li><code>priv-orig-subaddr-valid</code></li>
  131. <li><code>priv-orig-subaddr-type</code></li>
  132. <li><code>priv-orig-subaddr-odd</code></li>
  133. <li><code>priv-orig-tag</code></li>
  134. <li><code>priv-from-all</code></li>
  135. <li><code>priv-from-name</code></li>
  136. <li><code>priv-from-name-valid</code></li>
  137. <li><code>priv-from-name-charset</code></li>
  138. <li><code>priv-from-name-pres</code></li>
  139. <li><code>priv-from-num</code></li>
  140. <li><code>priv-from-num-valid</code></li>
  141. <li><code>priv-from-num-plan</code></li>
  142. <li><code>priv-from-num-pres</code></li>
  143. <li><code>priv-from-subaddr</code></li>
  144. <li><code>priv-from-subaddr-valid</code></li>
  145. <li><code>priv-from-subaddr-type</code></li>
  146. <li><code>priv-from-subaddr-odd</code></li>
  147. <li><code>priv-from-tag</code></li>
  148. <li><code>priv-to-all</code></li>
  149. <li><code>priv-to-name</code></li>
  150. <li><code>priv-to-name-valid</code></li>
  151. <li><code>priv-to-name-charset</code></li>
  152. <li><code>priv-to-name-pres</code></li>
  153. <li><code>priv-to-num</code></li>
  154. <li><code>priv-to-num-valid</code></li>
  155. <li><code>priv-to-num-plan</code></li>
  156. <li><code>priv-to-num-pres</code></li>
  157. <li><code>priv-to-subaddr</code></li>
  158. <li><code>priv-to-subaddr-valid</code></li>
  159. <li><code>priv-to-subaddr-type</code></li>
  160. <li><code>priv-to-subaddr-odd</code></li>
  161. <li><code>priv-to-tag</code></li>
  162. <li><code>reason</code></li>
  163. <li><code>count</code></li>
  164. </ul>
  165. </li>
  166. <li><code>i</code> - If set, this will prevent the channel from sending out protocol messages because of the value being set</li>
  167. </ul>
  168. <h3 id="Asterisk13Function_REDIRECTING-SeeAlso">See Also</h3>
  169. <h3 id="Asterisk13Function_REDIRECTING-ImportVersion">Import Version</h3>
  170. <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
  171. </div>
  172. </div> </div>
  173. <div id="footer">
  174. <section class="footer-body">
  175. <p>Document generated by Confluence on Aug 11, 2014 13:48</p>
  176. </section>
  177. </div>
  178. </div> </body>
  179. </html>