<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2176/25/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+10+Function_CHANNEL?focusedCommentId=22085830#comment-22085830">Asterisk 10 Function_CHANNEL</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://wiki.asterisk.org/wiki/display/~mryan">Matt Ryan</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <ul>
        <li>Standard items (provided by all channel technologies) are:
        <ul>
                <li>audioreadformat - R/O format currently being read.</li>
                <li>audionativeformat - R/O format used natively for audio.</li>
                <li>audiowriteformat - R/O format currently being written.</li>
                <li>callgroup - R/W call groups for call pickup.</li>
                <li>pickupgroup - R/W call groups for call pickup.</li>
                <li>channeltype - R/O technology used for channel.</li>
                <li>checkhangup - R/O Whether the channel is hanging up (1/0)</li>
                <li>language - R/W language for sounds played.</li>
                <li>musicclass - R/W class (from musiconhold.conf) for hold music.</li>
                <li>name - The name of the channel</li>
                <li>parkinglot - R/W parkinglot for parking.</li>
                <li>rxgain - R/W set rxgain level on channel drivers that support it.</li>
                <li>secure_bridge_signaling - Whether or not channels bridged to this channel require secure signaling</li>
                <li>secure_bridge_media - Whether or not channels bridged to this channel require secure media</li>
                <li>state - R/O state for channel</li>
                <li>tonezone - R/W zone for indications played</li>
                <li>transfercapability - R/W ISDN Transfer Capability, one of:
                <ul>
                        <li>SPEECH</li>
                        <li>DIGITAL</li>
                        <li>RESTRICTED_DIGITAL</li>
                        <li>3K1AUDIO</li>
                        <li>DIGITAL_W_TONES</li>
                        <li>VIDEO</li>
                </ul>
                </li>
                <li>txgain - R/W set txgain level on channel drivers that support it.</li>
                <li>videonativeformat - R/O format used natively for video</li>
                <li>trace - R/W whether or not context tracing is enabled, only available if CHANNEL_TRACE is defined.</li>
        </ul>
        </li>
        <li>chan_sip provides the following additional options:
        <ul>
                <li>peerip - R/O Get the IP address of the peer.</li>
                <li>recvip - R/O Get the source IP address of the peer.</li>
                <li>from - R/O Get the URI from the From: header.</li>
                <li>uri - R/O Get the URI from the Contact: header.</li>
                <li>useragent - R/O Get the useragent.</li>
                <li>peername - R/O Get the name of the peer.</li>
                <li>t38passthrough - R/O 1 if T38 is offered or enabled in this channel, otherwise 0</li>
                <li>rtpqos - R/O Get QOS information about the RTP stream. This option takes two additional arguments:
                <ul>
                        <li>Argument 1:
                        <ul>
                                <li>audio - Get data about the audio stream</li>
                                <li>video - Get data about the video stream</li>
                                <li>text - Get data about the text stream</li>
                        </ul>
                        </li>
                        <li>Argument 2:
                        <ul>
                                <li>local_ssrc - Local SSRC (stream ID)</li>
                                <li>local_lostpackets - Local lost packets</li>
                                <li>local_jitter - Local calculated jitter</li>
                                <li>local_maxjitter - Local calculated jitter (maximum)</li>
                                <li>local_minjitter - Local calculated jitter (minimum)</li>
                                <li>local_normdevjitter - Local calculated jitter (normal deviation)</li>
                                <li>local_stdevjitter - Local calculated jitter (standard deviation}}</li>
                                <li>local_count - Number of received packets}}</li>
                                <li>remote_ssrc - Remote SSRC (stream ID)</li>
                                <li>remote_lostpackets - Remote lost packets</li>
                                <li>remote_jitter - Remote reported jitter</li>
                                <li>remote_maxjitter - Remote calculated jitter (maximum)</li>
                                <li>remote_minjitter Remote calculated jitter (minimum)</li>
                                <li>remote_normdevjitter - Remote calculated jitter (normal deviation)</li>
                                <li>remote_stdevjitter - Remote calculated jitter (standard deviation}}</li>
                                <li>remote_count - Number of transmitted packets}}</li>
                                <li>rtt - Round trip time</li>
                                <li>maxrtt - Round trip time (maximum)</li>
                                <li>minrtt - Round trip time (minimum)</li>
                                <li>normdevrtt - Round trip time (normal deviation)</li>
                                <li>stdevrtt - Round trip time (standard deviation)</li>
                                <li>all - All statistics (in a form suited to logging, but not for parsing)</li>
                        </ul>
                        </li>
                </ul>
                </li>
                <li>rtpdest - R/O Get remote RTP destination information. This option takes one additional argument:
                <ul>
                        <li>Argument 1:
                        <ul>
                                <li>audio - Get audio destination</li>
                                <li>video - Get video destination</li>
                                <li>text - Get text destination</li>
                        </ul>
                        </li>
                </ul>
                </li>
        </ul>
        </li>
        <li>chan_iax2 provides the following additional options:
        <ul>
                <li>peerip - R/O Get the peer's ip address.</li>
                <li>peername - R/O Get the peer's username.</li>
        </ul>
        </li>
        <li>chan_dahdi provides the following additional options:
        <ul>
                <li>dahdi_channel - R/O DAHDI channel related to this channel.</li>
                <li>dahdi_span - R/O DAHDI span related to this channel.</li>
                <li>dahdi_type - R/O DAHDI channel type, one of:
                <ul>
                        <li>analog</li>
                        <li>mfc/r2</li>
                        <li>pri</li>
                        <li>pseudo</li>
                        <li>ss7</li>
                </ul>
                </li>
                <li>keypad_digits - R/O PRI Keypad digits that came in with the SETUP message.</li>
                <li>reversecharge - R/O PRI Reverse Charging Indication, one of:
                <ul>
                        <li>&#45;1 - None</li>
                        <li>1 - Reverse Charging Requested</li>
                </ul>
                </li>
                <li>no_media_path - R/O PRI Nonzero if the channel has no B channel. The channel is either on hold or a call waiting call.</li>
                <li>buffers - W/O Change the channel's buffer policy (for the current call only). This option takes two arguments:
                <ul>
                        <li>Number of buffers</li>
                        <li>Buffer policy being one of:
                        <ul>
                                <li>full</li>
                                <li>immediate</li>
                                <li>half</li>
                        </ul>
                        </li>
                </ul>
                </li>
                <li>echocan_mode - W/O Change the configuration of the active echo canceller on the channel (if any), for the current call only. Possible values are:
                <ul>
                        <li>on - Normal mode (the echo canceller is actually reinitalized)</li>
                        <li>off - Disabled</li>
                        <li>fax - FAX/data mode (NLP disabled if possible, otherwise completely disabled)</li>
                        <li>voice - Voice mode (returns from FAX mode, reverting the changes that were made)</li>
                </ul>
                </li>
        </ul>
        </li>
        <li>chan_ooh323 provides the following additional options:
        <ul>
                <li>faxdetect - Fax Detect []Returns 0 or 1Write yes or no</li>
                <li>t38support - t38support []Returns 0 or 1Write yes or no</li>
                <li>h323id - Returns h323id <span class="error">&#91;R&#93;</span></li>
        </ul>
        </li>
</ul>

    </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+10+Function_CHANNEL?focusedCommentId=22085830#comment-22085830">View Online</a>
              |
       <a id="reply-22085830" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+10+Function_CHANNEL?replyToComment=22085830#comment-22085830">Reply To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>