<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/8613">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Corey Farrell: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Jenkins2: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">func_channel: Delete dead CHANNEL_TRACE code<br><br>The functions behind the flag and the flag itself were removed<br>from Asterisk 12 as incompatible with the new architecture.<br><br>Change-Id: I058493ef7a53ee290fd225bbcbb07bf46b623ccf<br>---<br>M funcs/func_channel.c<br>1 file changed, 0 insertions(+), 22 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/funcs/func_channel.c b/funcs/func_channel.c<br>index 793ea3f..d2a7a04 100644<br>--- a/funcs/func_channel.c<br>+++ b/funcs/func_channel.c<br>@@ -204,10 +204,6 @@<br>                                       <enum name="videonativeformat"><br>                                               <para>R/O format used natively for video</para><br>                                   </enum><br>-                                        <enum name="trace"><br>-                                          <para>R/W whether or not context tracing is enabled, only available<br>-                                            <emphasis>if CHANNEL_TRACE is defined</emphasis>.</para><br>-                                   </enum><br>                                         <enum name="hangupsource"><br>                                            <para>R/W returns the channel responsible for hangup.</para><br>                                      </enum><br>@@ -327,10 +323,6 @@<br>           locked_copy_string(chan, buf, ast_format_get_name(ast_channel_readformat(chan)), len);<br>        } else if (!strcasecmp(data, "audiowriteformat")) {<br>                 locked_copy_string(chan, buf, ast_format_get_name(ast_channel_writeformat(chan)), len);<br>-#ifdef CHANNEL_TRACE<br>-       } else if (!strcasecmp(data, "trace")) {<br>-           locked_copy_string(chan, buf, ast_channel_trace_is_enabled(chan) ? "1" : "0", len);<br>-#endif<br>      } else if (!strcasecmp(data, "tonezone") && ast_channel_zone(chan)) {<br>               locked_copy_string(chan, buf, ast_channel_zone(chan)->country, len);<br>       } else if (!strcasecmp(data, "dtmf_features")) {<br>@@ -512,20 +504,6 @@<br>      else if (!strcasecmp(data, "hangupsource"))<br>                 /* XXX - should we be forcing this here? */<br>           ast_set_hangupsource(chan, value, 0);<br>-#ifdef CHANNEL_TRACE<br>- else if (!strcasecmp(data, "trace")) {<br>-             ast_channel_lock(chan);<br>-              if (ast_true(value))<br>-                 ret = ast_channel_trace_enable(chan);<br>-                else if (ast_false(value))<br>-                   ret = ast_channel_trace_disable(chan);<br>-               else {<br>-                       ret = -1;<br>-                    ast_log(LOG_WARNING, "Invalid value for CHANNEL(trace).\n");<br>-               }<br>-            ast_channel_unlock(chan);<br>-    }<br>-#endif<br>    else if (!strcasecmp(data, "tonezone")) {<br>           struct ast_tone_zone *new_zone;<br>               if (!(new_zone = ast_get_indication_zone(value))) {<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8613">change 8613</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/8613"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I058493ef7a53ee290fd225bbcbb07bf46b623ccf </div>
<div style="display:none"> Gerrit-Change-Number: 8613 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Ivan Poddubny <ivan.poddubny@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>