<p>George Joseph <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/10259">View Change</a></p><div style="white-space:pre-wrap">Approvals:
George Joseph: Looks good to me, approved; Approved for Submit
Objections:
Kevin Harwell: I would prefer this is not merged as is
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_rtp_asterisk: Raise event when RTP port is allocated<br><br>This change raises a testsuite event to provide what port<br>Asterisk has actually allocated for RTP. This ensures that<br>testsuite tests can remove any assumption of ports and instead<br>use the actual port in use.<br><br>ASTERISK-28070<br><br>Change-Id: I91bd45782e84284e01c89acf4b2da352e14ae044<br>---<br>M res/res_rtp_asterisk.c<br>1 file changed, 1 insertion(+), 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 192840c..6915186 100644</span><br><span>--- a/res/res_rtp_asterisk.c</span><br><span>+++ b/res/res_rtp_asterisk.c</span><br><span>@@ -3492,6 +3492,7 @@</span><br><span> if (!ast_bind(rtp->s, &rtp->bind_address)) {</span><br><span> ast_debug(1, "Allocated port %d for RTP instance '%p'\n", x, instance);</span><br><span> ast_rtp_instance_set_local_address(instance, &rtp->bind_address);</span><br><span style="color: hsl(120, 100%, 40%);">+ ast_test_suite_event_notify("RTP_PORT_ALLOCATED", "Port: %d", x);</span><br><span> break;</span><br><span> }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/10259">change 10259</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/10259"/><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: merged </div>
<div style="display:none"> Gerrit-Change-Id: I91bd45782e84284e01c89acf4b2da352e14ae044 </div>
<div style="display:none"> Gerrit-Change-Number: 10259 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>