<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/5825">View Change</a></p><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(+), 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/25/5825/1</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..c64d41f 100644<br>--- a/res/res_pjsip_session.c<br>+++ b/res/res_pjsip_session.c<br>@@ -3124,7 +3124,7 @@<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: newchange </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: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>