<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17921">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Kevin Harwell: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved
Friendly Automation: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res/res_rtp_asterisk: fix skip in rtp sequence numbers after dtmf<br><br>When generating dtmfs, asterisk can incorrectly think packet loss<br>occured during the dtmf generation, resulting in a jump in sequence<br>numbers when forwarding voice frames resumes. This patch forces<br>asterisk to re-learn the expected sequence number after each DTMF<br>to avoid this<br><br>ASTERISK-29869 #close<br><br>Change-Id: Icc7de3d947b207b82c99d3c327af8095884df853<br>---<br>M res/res_rtp_asterisk.c<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c</span><br><span>index 7024081..0f85a14 100644</span><br><span>--- a/res/res_rtp_asterisk.c</span><br><span>+++ b/res/res_rtp_asterisk.c</span><br><span>@@ -4359,6 +4359,9 @@</span><br><span> rtp->sending_digit = 0;</span><br><span> rtp->send_digit = 0;</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ /* Re-Learn expected seqno */</span><br><span style="color: hsl(120, 100%, 40%);">+ rtp->expectedseqno = -1;</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> return res;</span><br><span> }</span><br><span> </span><br><span></span><br></pre><div style="white-space:pre-wrap"></div><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17921">change 17921</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/+/17921"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Icc7de3d947b207b82c99d3c327af8095884df853 </div>
<div style="display:none"> Gerrit-Change-Number: 17921 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Torrey Searle <tsearle@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>