<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Thanks <span style="font-family: Verdana; font-size: 12px; line-height: 19.200000762939453px;">Răzvan,</span></div>
<div> </div>
<div><span style="font-family: Verdana; font-size: 12px; line-height: 19.200000762939453px;">That's what I was guessing. </span></div>
<div>Thanks again for the confirmation.</div>
<div> </div>
<div>BR</div>
<div>-Gary</div>
<div> </div>
<div>
<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> Tuesday, August 05, 2014 at 3:20 AM<br/>
<b>From:</b> "Răzvan Crainea" <razvan@opensips.org><br/>
<b>To:</b> users@lists.opensips.org<br/>
<b>Subject:</b> 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'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ăzvan<br/>
<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ăzvan,</div>
<div> </div>
<div>I am using 1.11.2-tls</div>
<div> </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> </div>
<div>Not using any "rtpproxy/media proxy".</div>
<div> </div>
<div>Is "fix_nated_sdp()" is the only function that prepends IP to "<span style="font-family: Verdana;font-size: 12.0px;font-style: italic;line-height: 19.2px;">Connection Information (c)</span>"?</div>
<div> </div>
<div>I am using <span style="font-family: Verdana;font-size: 12.0px;line-height: 19.2px;">"</span><span style="font-family: Verdana;font-size: 12.0px;line-height: 19.2px;">fix_nated_sdp()" before "t_rely()" to destination.</span></div>
<div><span style="font-family: Verdana;font-size: 12.0px;line-height: 19.2px;">In failure_route, I use "</span><span style="font-family: Verdana;font-size: 12.0px;line-height: 19.2px;">fix_nated_sdp()" 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 "</span><span style="font-family: Verdana;font-size: 12.0px;line-height: 19.2px;">fix_nated_sdp()" again in "failure_route" because, I thought, in the 'failure_route' the intial request is processed.</span></div>
<div>May be I am wrong assuming this.</div>
<div> </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> Monday, August 04, 2014 at 4:21 AM<br/>
<b>From:</b> "Răzvan Crainea" <a class="moz-txt-link-rfc2396E" href="razvan@opensips.org" target="_parent"><razvan@opensips.org></a><br/>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="users@lists.opensips.org" target="_parent">users@lists.opensips.org</a><br/>
<b>Subject:</b> 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ăzvan<br/>
<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> </div>
<div>Found that, fix_nated_sdp() is changing the connection info from:</div>
<div> </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> </div>
<div>Is this the expected behavior?</div>
<div> </div>
<div>Thanks<br/>
-Gary</div>
</div>
</div>
<fieldset class="mimeAttachmentHeader"> </fieldset>
<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>
<fieldset class="mimeAttachmentHeader"> </fieldset>
<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>