<p>Joshua Colp has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/10049">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">core: Don't stop generators when writing RTCP frames.<br><br>Generators provide such functionality as tone generation or<br>silence generation. RTCP frames provide RTCP information and<br>should not stop generators from operating.<br><br>ASTERISK-28005<br><br>Change-Id: Ieadada07b068a7aa426e8763f1b73a18e1ac34a9<br>---<br>M main/channel.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/49/10049/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/channel.c b/main/channel.c</span><br><span>index 140d8e9..611e812 100644</span><br><span>--- a/main/channel.c</span><br><span>+++ b/main/channel.c</span><br><span>@@ -5051,7 +5051,7 @@</span><br><span>          goto done;</span><br><span>   }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-   if (ast_channel_generatordata(chan) && (!fr->src || strcasecmp(fr->src, "ast_prod"))) {</span><br><span style="color: hsl(120, 100%, 40%);">+       if (ast_channel_generatordata(chan) && (!fr->src || strcasecmp(fr->src, "ast_prod")) && (fr->frametype != AST_FRAME_RTCP)) {</span><br><span>              if (ast_test_flag(ast_channel_flags(chan), AST_FLAG_WRITE_INT)) {</span><br><span>                            ast_deactivate_generator(chan);</span><br><span>              } else {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/10049">change 10049</a>. To unsubscribe, or for help writing mail filters, 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/10049"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ieadada07b068a7aa426e8763f1b73a18e1ac34a9 </div>
<div style="display:none"> Gerrit-Change-Number: 10049 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@digium.com> </div>