<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/6794">View Change</a></p><div style="white-space:pre-wrap">Approvals:
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: Rewrite o= with external_media_address.<br><br>PJSIP allows a domain name as external_media_address. This allows chan_pjsip to<br>be used behind a NAT with changing IP addresses. The IP address of that domain<br>is resolved to the c= line already. This change sets also the o= line to that<br>domain.<br><br>ASTERISK-27341 #close<br><br>Change-Id: I690163b6e762042ec38b3995aa5c9bea909d8ec4<br>---<br>M res/res_pjsip_session.c<br>1 file changed, 1 insertion(+), 0 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 d8789ae..37ff531 100644<br>--- a/res/res_pjsip_session.c<br>+++ b/res/res_pjsip_session.c<br>@@ -4006,6 +4006,7 @@<br> if (ast_sip_transport_is_local(transport_state, &our_sdp_addr) || !transport_state->localnet) {<br> ast_debug(5, "Setting external media address to %s\n", ast_sockaddr_stringify_host(&transport_state->external_media_address));<br> pj_strdup2(tdata->pool, &sdp->conn->addr, ast_sockaddr_stringify_host(&transport_state->external_media_address));<br>+ pj_strdup2(tdata->pool, &sdp->origin.addr, transport->external_media_address);<br> }<br> }<br> <br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/6794">change 6794</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/6794"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I690163b6e762042ec38b3995aa5c9bea909d8ec4 </div>
<div style="display:none"> Gerrit-Change-Number: 6794 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.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>