<p>George Joseph <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13859">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved; Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_rtp_asterisk: Send correct sender SSRC when p2p bridge in use<br><br>bridge_p2p_rtp_write will forward rtp to the bridged rtp instance<br>without modifying the ssrc. However, it is not updating the SSRC<br>in the bridged rtp. Thus, when SSRC packets are generated, they<br>have the correct SSRC for the sender.<br><br>ASTERISK-28773 #close<br><br>Change-Id: I39f923bde28ebb4f0fddc926b92494aed294a478<br>---<br>M res/res_rtp_asterisk.c<br>1 file changed, 5 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 4244d1b..5669f99 100644</span><br><span>--- a/res/res_rtp_asterisk.c</span><br><span>+++ b/res/res_rtp_asterisk.c</span><br><span>@@ -5373,6 +5373,11 @@</span><br><span> reconstruct |= (mark << 23);</span><br><span> rtpheader[0] = htonl(reconstruct);</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ if (mark) {</span><br><span style="color: hsl(120, 100%, 40%);">+ /* make this rtp instance aware of the new ssrc it is sending */</span><br><span style="color: hsl(120, 100%, 40%);">+ bridged->ssrc = ntohl(rtpheader[2]);</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> /* Send the packet back out */</span><br><span> res = rtp_sendto(instance1, (void *)rtpheader, len, 0, &remote_address, &ice);</span><br><span> if (res < 0) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13859">change 13859</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/+/13859"/><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: I39f923bde28ebb4f0fddc926b92494aed294a478 </div>
<div style="display:none"> Gerrit-Change-Number: 13859 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </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: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>