<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/5830">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_rtp_asterisk:  Fix ssrc change for rtcp srtp<br><br>It looks like there was a copy/paste error in ast_rtp_change_source<br>where if there was a rtcp srtp instance, instead of updating its<br>ssrc we were updating the srtp instance ssrc twice.<br><br>ASTERISK-27022 #close<br>Reported-by: Michael Walton<br><br>Change-Id: Ic88f3aee7227b401c58745ac265ff92c19620095<br>---<br>M res/res_rtp_asterisk.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/30/5830/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c<br>index c120fc1..600846c 100644<br>--- a/res/res_rtp_asterisk.c<br>+++ b/res/res_rtp_asterisk.c<br>@@ -3447,7 +3447,7 @@<br>           ast_debug(3, "Changing ssrc for SRTP from %u to %u\n", rtp->ssrc, ssrc);<br>                 res_srtp->change_source(srtp, rtp->ssrc, ssrc);<br>                 if (rtcp_srtp != srtp) {<br>-                     res_srtp->change_source(srtp, rtp->ssrc, ssrc);<br>+                        res_srtp->change_source(rtcp_srtp, rtp->ssrc, ssrc);<br>            }<br>     }<br> <br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/5830">change 5830</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/5830"/><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-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ic88f3aee7227b401c58745ac265ff92c19620095 </div>
<div style="display:none"> Gerrit-Change-Number: 5830 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>