<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_FRAME_TRACE">Asterisk 11 Function_FRAME_TRACE</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_FRAME_TRACE-FRAMETRACE%28%29"></a>FRAME_TRACE()</h1>

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

<p>View internal ast_frames as they are read and written on a channel.</p>
<h3><a name="Asterisk11Function_FRAME_TRACE-Description"></a>Description</h3>



<p>Examples:</p>

<p>exten =&gt; 1,1,Set(FRAME_TRACE(white)=DTMF_BEGIN,DTMF_END); view only DTMF frames.</p>

<p>exten =&gt; 1,1,Set(FRAME_TRACE()=DTMF_BEGIN,DTMF_END); view only DTMF frames.</p>

<p>exten =&gt; 1,1,Set(FRAME_TRACE(black)=DTMF_BEGIN,DTMF_END); view everything except DTMF frames.</p>

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

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>FRAME_TRACE(filter list type)</pre>
</div></div>
<h5><a name="Asterisk11Function_FRAME_TRACE-Arguments"></a>Arguments</h5>


<ul>
        <li>filter list type - A filter can be applied to the trace to limit what frames are viewed. This filter can either be a <tt>white</tt> or <tt>black</tt> list of frame types. When no filter type is present, <tt>white</tt> is used. If no arguments are provided at all, all frames will be output.Below are the different types of frames that can be filtered.
        <ul>
                <li>DTMF_BEGIN</li>
                <li>DTMF_END</li>
                <li>VOICE</li>
                <li>VIDEO</li>
                <li>CONTROL</li>
                <li>NULL</li>
                <li>IAX</li>
                <li>TEXT</li>
                <li>IMAGE</li>
                <li>HTML</li>
                <li>CNG</li>
                <li>MODEM</li>
        </ul>
        </li>
</ul>



<h3><a name="Asterisk11Function_FRAME_TRACE-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_FRAME_TRACE">View Online</a>
              |
       <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_FRAME_TRACE?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>