<p>Nasir Iqbal has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/11394">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_amd: issue with silence suppression fixed<br><br>Now AMD algorithm will not ignore AST_FRAME_NULL, As I thing using manual<br>wait time instead of `framelength` is enough to fix timeout / TOOLONG issue.<br><br>ASTERISK-28419 #close<br>Change-Id: I3616aa47e59d0371d7d610c49037b0a619c155d8<br><br>Change-Id: I16ea2d6295bc99b975e8c092e5f9fbd9214debdb<br>---<br>M apps/app_amd.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/94/11394/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/app_amd.c b/apps/app_amd.c</span><br><span>index f56fe79..1c43591 100644</span><br><span>--- a/apps/app_amd.c</span><br><span>+++ b/apps/app_amd.c</span><br><span>@@ -295,7 +295,7 @@</span><br><span>                    break;</span><br><span>               }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-           if (f->frametype == AST_FRAME_VOICE || f->frametype == AST_FRAME_CNG) {</span><br><span style="color: hsl(120, 100%, 40%);">+         if (f->frametype == AST_FRAME_VOICE || f->frametype == AST_FRAME_NULL || f->frametype == AST_FRAME_CNG) {</span><br><span>                   /* Figure out how long the frame is in milliseconds */</span><br><span>                       if (f->frametype == AST_FRAME_VOICE) {</span><br><span>                            framelength = (ast_codec_samples_count(f) / DEFAULT_SAMPLES_PER_MS);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/11394">change 11394</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/c/asterisk/+/11394"/><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-Change-Id: I16ea2d6295bc99b975e8c092e5f9fbd9214debdb </div>
<div style="display:none"> Gerrit-Change-Number: 11394 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Nasir Iqbal <nasir@ictinnovations.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>