<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/5825">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Sean Bright: Looks good to me, but someone else must approve
Richard Mudgett: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved
Jenkins2: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip_session: Correct inverted test in session_outgoing_nat_hook<br><br>There was a typo introduced in commit 776ffd77 which was preventing<br>the transport's external media address from being used.<br><br>ASTERISK-27024 #close<br>Reported-by: Christopher van de Sande<br>patches:<br> patch.diff submitted by Florian Floimair (license 6892)<br><br>Change-Id: I7ec617171eaa2d86d2680b00cf37d5088adafc27<br>---<br>M res/res_pjsip_session.c<br>1 file changed, 1 insertion(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c<br>index 1fec089..59a8915 100644<br>--- a/res/res_pjsip_session.c<br>+++ b/res/res_pjsip_session.c<br>@@ -3123,8 +3123,7 @@<br> ast_sockaddr_parse(&addr, host, PARSE_PORT_FORBID);<br> <br> if (!transport_state->localnet<br>- || (transport_state->localnet<br>- && ast_apply_ha(transport_state->localnet, &addr) == AST_SENSE_ALLOW)) {<br>+ || ast_apply_ha(transport_state->localnet, &addr) != AST_SENSE_ALLOW) {<br> ast_debug(5, "Setting external media address to %s\n", transport->external_media_address);<br> pj_strdup2(tdata->pool, &sdp->conn->addr, transport->external_media_address);<br> }<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/5825">change 5825</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/5825"/><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-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I7ec617171eaa2d86d2680b00cf37d5088adafc27 </div>
<div style="display:none"> Gerrit-Change-Number: 5825 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>