<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Thanks&nbsp;<span style="font-family: Verdana; font-size: 12px; line-height: 19.200000762939453px;">R&#259;zvan,</span></div>

<div>&nbsp;</div>

<div><span style="font-family: Verdana; font-size: 12px; line-height: 19.200000762939453px;">That&#39;s what I was guessing.&nbsp;</span></div>

<div>Thanks again for the confirmation.</div>

<div>&nbsp;</div>

<div>BR</div>

<div>-Gary</div>

<div>&nbsp;</div>

<div>&nbsp;
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Sent:</b>&nbsp;Tuesday, August 05, 2014 at 3:20 AM<br/>
<b>From:</b>&nbsp;&quot;R&#259;zvan Crainea&quot; &lt;razvan@opensips.org&gt;<br/>
<b>To:</b>&nbsp;users@lists.opensips.org<br/>
<b>Subject:</b>&nbsp;Re: [OpenSIPS-Users] fix_nated_sdp</div>

<div name="quoted-content">
<div style="background-color: rgb(255,255,255);">Hi, Gary!<br/>
<br/>
If you call fix_nated_sdp() before t_relay() there&#39;s no need to call it once again in failure route. When failure route is called, you are processing the request just before t_relay(), so it already has the SDP fixed. Although this is a bit counter-intuitive, we are planning to change this behavior :).<br/>
<br/>
Best regards,<br/>
R&#259;zvan<br/>
&nbsp;
<div class="moz-cite-prefix">On 08/04/2014 10:40 PM, Gary Nyquist wrote:</div>

<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>
<div>Hi R&#259;zvan,</div>

<div>&nbsp;</div>

<div>I am using 1.11.2-tls</div>

<div>&nbsp;</div>

<div>version: opensips 1.11.2-tls (x86_64/linux)<br/>
flags: STATS: On, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br/>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br/>
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br/>
git revision: 5708ad4</div>

<div>&nbsp;</div>

<div>Not using any &quot;rtpproxy/media proxy&quot;.</div>

<div>&nbsp;</div>

<div>Is &quot;fix_nated_sdp()&quot; is the only function that prepends IP to &quot;<span style="font-family: Verdana;font-size: 12.0px;font-style: italic;line-height: 19.2px;">Connection Information (c)</span>&quot;?</div>

<div>&nbsp;</div>

<div>I am using&nbsp;<span style="font-family: Verdana;font-size: 12.0px;line-height: 19.2px;">&quot;</span><span style="font-family: Verdana;font-size: 12.0px;line-height: 19.2px;">fix_nated_sdp()&quot; before &quot;t_rely()&quot; to destination.</span></div>

<div><span style="font-family: Verdana;font-size: 12.0px;line-height: 19.2px;">In failure_route, I use&nbsp;&quot;</span><span style="font-family: Verdana;font-size: 12.0px;line-height: 19.2px;">fix_nated_sdp()&quot; again to route the call to a different destination.</span></div>

<div><span style="font-family: Verdana;font-size: 12.0px;line-height: 19.2px;">I do&nbsp;&quot;</span><span style="font-family: Verdana;font-size: 12.0px;line-height: 19.2px;">fix_nated_sdp()&quot; again in &quot;failure_route&quot; because, I thought, in the &#39;failure_route&#39; the intial request is processed.</span></div>

<div>May be I am wrong assuming this.</div>

<div>&nbsp;</div>

<div>BR<br/>
-Gary</div>
</div>

<div>
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Sent:</b>&nbsp;Monday, August 04, 2014 at 4:21 AM<br/>
<b>From:</b>&nbsp;&quot;R&#259;zvan Crainea&quot; <a class="moz-txt-link-rfc2396E" href="razvan@opensips.org" target="_parent">&lt;razvan@opensips.org&gt;</a><br/>
<b>To:</b>&nbsp;<a class="moz-txt-link-abbreviated" href="users@lists.opensips.org" target="_parent">users@lists.opensips.org</a><br/>
<b>Subject:</b>&nbsp;Re: [OpenSIPS-Users] fix_nated_sdp</div>

<div>
<div style="background-color: rgb(255,255,255);">Hi, Gary!<br/>
<br/>
What version of OpenSIPS are you using?<br/>
Are you also using rtpproxy/media proxy for your calls? Most likely you are changing the SDP information twice.<br/>
<br/>
Best regards,<br/>
R&#259;zvan<br/>
&nbsp;
<div class="moz-cite-prefix">On 08/02/2014 04:31 AM, Gary Nyquist wrote:</div>

<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Hi,</div>

<div>&nbsp;</div>

<div>Found that, fix_nated_sdp() is changing the connection info from:</div>

<div>&nbsp;</div>

<div>Connection Information (c): IN IP4 64.71.31.202<br/>
to<br/>
Connection Information (c): IN IP4 64.71.31.20264.71.31.202</div>

<div>&nbsp;</div>

<div>Is this the expected behavior?</div>

<div>&nbsp;</div>

<div>Thanks<br/>
-Gary</div>
</div>
</div>
&nbsp;

<fieldset class="mimeAttachmentHeader">&nbsp;</fieldset>
&nbsp;

<pre>_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br/>
_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="Users@lists.opensips.org" target="_parent">Users@lists.opensips.org</a> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
</div>
</div>
</div>
</div>
</div>
&nbsp;

<fieldset class="mimeAttachmentHeader">&nbsp;</fieldset>
&nbsp;

<pre>_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="Users@lists.opensips.org" target="_parent">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br/>
_______________________________________________ Users mailing list Users@lists.opensips.org <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
</div>
</div>
</div>
</div></div></body></html>