<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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>
<br>
<div class="moz-cite-prefix">On 08/04/2014 10:40 PM, Gary Nyquist
wrote:<br>
</div>
<blockquote
cite="mid:trinity-0ea0fcda-64e1-4f35-8103-5cfa6f363839-1407181219195@3capp-mailcom-lxa09"
type="cite">
<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: 12px;
font-style: italic; line-height: 19.200000762939453px;">Connection
Information (c)</span>"?</div>
<div> </div>
<div>I am using <span style="font-family: Verdana;
font-size: 12px; line-height: 19.200000762939453px;">"</span><span
style="font-family: Verdana; font-size: 12px;
line-height: 19.200000762939453px;">fix_nated_sdp()"
before "t_rely()" to destination.</span></div>
<div><span style="font-family: Verdana; font-size: 12px;
line-height: 19.200000762939453px;">In failure_route, I
use "</span><span style="font-family: Verdana;
font-size: 12px; line-height: 19.200000762939453px;">fix_nated_sdp()"
again to route the call to a different destination.</span></div>
<div><span style="font-family: Verdana; font-size: 12px;
line-height: 19.200000762939453px;">I do "</span><span
style="font-family: Verdana; font-size: 12px;
line-height: 19.200000762939453px;">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 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> Monday,
August 04, 2014 at 4:21 AM<br>
<b>From:</b> "Răzvan Crainea"
<a class="moz-txt-link-rfc2396E" href="mailto:razvan@opensips.org"><razvan@opensips.org></a><br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><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>
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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="Users@lists.opensips.org" target="_parent">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <a
moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>