<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2172/18/9/_/styles/combined.css?spaceKey=AST&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_REDIRECTING">Asterisk 11 Function_REDIRECTING</a></h2>
    <h4>Page  <b>added</b> by             <a href="https://wiki.asterisk.org/wiki/display/~wikibot">Wiki Bot</a>
    </h4>
         <br/>
    <div class="notificationGreySide">
         <h1><a name="Asterisk11Function_REDIRECTING-REDIRECTING%28%29"></a>REDIRECTING()</h1>

<h3><a name="Asterisk11Function_REDIRECTING-Synopsis"></a>Synopsis</h3>

<p>Gets or sets Redirecting data on the channel.</p>
<h3><a name="Asterisk11Function_REDIRECTING-Description"></a>Description</h3>



<p>Gets or sets Redirecting data on the channel.</p>

<p>The allowable values for the <em>reason</em> and <em>orig-reason</em> fields are the following:</p>
<ul>
        <li>unknown - Unknown</li>
        <li>cfb - Call Forwarding Busy</li>
        <li>cfnr - Call Forwarding No Reply</li>
        <li>unavailable - Callee is Unavailable</li>
        <li>time_of_day - Time of Day</li>
        <li>dnd - Do Not Disturb</li>
        <li>deflection - Call Deflection</li>
        <li>follow_me - Follow Me</li>
        <li>out_of_order - Called DTE Out-Of-Order</li>
        <li>away - Callee is Away</li>
        <li>cf_dte - Call Forwarding By The Called DTE</li>
        <li>cfu - Call Forwarding Unconditional</li>
</ul>


<p>The allowable values for the <em>xxx-name-charset</em> field are the following:</p>
<ul>
        <li>unknown - Unknown</li>
        <li>iso8859-1 - ISO8859-1</li>
        <li>withdrawn - Withdrawn</li>
        <li>iso8859-2 - ISO8859-2</li>
        <li>iso8859-3 - ISO8859-3</li>
        <li>iso8859-4 - ISO8859-4</li>
        <li>iso8859-5 - ISO8859-5</li>
        <li>iso8859-7 - ISO8859-7</li>
        <li>bmp - ISO10646 Bmp String</li>
        <li>utf8 - ISO10646 UTF-8 String</li>
</ul>


<h3><a name="Asterisk11Function_REDIRECTING-Syntax"></a>Syntax</h3>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>REDIRECTING(datatype,i)</pre>
</div></div>
<h5><a name="Asterisk11Function_REDIRECTING-Arguments"></a>Arguments</h5>


<ul>
        <li>datatype - The allowable datatypes are:
        <ul>
                <li>orig-all</li>
                <li>orig-name</li>
                <li>orig-name-valid</li>
                <li>orig-name-charset</li>
                <li>orig-name-pres</li>
                <li>orig-num</li>
                <li>orig-num-valid</li>
                <li>orig-num-plan</li>
                <li>orig-num-pres</li>
                <li>orig-subaddr</li>
                <li>orig-subaddr-valid</li>
                <li>orig-subaddr-type</li>
                <li>orig-subaddr-odd</li>
                <li>orig-tag</li>
                <li>orig-reason</li>
                <li>from-all</li>
                <li>from-name</li>
                <li>from-name-valid</li>
                <li>from-name-charset</li>
                <li>from-name-pres</li>
                <li>from-num</li>
                <li>from-num-valid</li>
                <li>from-num-plan</li>
                <li>from-num-pres</li>
                <li>from-subaddr</li>
                <li>from-subaddr-valid</li>
                <li>from-subaddr-type</li>
                <li>from-subaddr-odd</li>
                <li>from-tag</li>
                <li>to-all</li>
                <li>to-name</li>
                <li>to-name-valid</li>
                <li>to-name-charset</li>
                <li>to-name-pres</li>
                <li>to-num</li>
                <li>to-num-valid</li>
                <li>to-num-plan</li>
                <li>to-num-pres</li>
                <li>to-subaddr</li>
                <li>to-subaddr-valid</li>
                <li>to-subaddr-type</li>
                <li>to-subaddr-odd</li>
                <li>to-tag</li>
                <li>reason</li>
                <li>count</li>
        </ul>
        </li>
        <li>i - If set, this will prevent the channel from sending out protocol messages because of the value being set</li>
</ul>



<h3><a name="Asterisk11Function_REDIRECTING-ImportVersion"></a>Import Version</h3>

<p>This documentation was imported from Asterisk Version SVN-trunk-r370322</p>
    </div>
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;" class="grey">
                        <a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
       <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_REDIRECTING">View Online</a>
              |
       <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_REDIRECTING?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>