<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dear Bogdan,</p>
<p> Thanks for your response.</p>
<p>I suppose that record route is implicit using topology hiding
module: is that correct?</p>
<p>Greetings,<br>
</p>
<pre class="moz-signature" cols="72">--
Donato Zito | CTO
--------------------
N4COM S.R.L.
Tel: +39 0909148000
Cel: +39 3471388322
Fax: +39 0909148970
mail : <a class="moz-txt-link-abbreviated" href="mailto:donato.zito@n4com.it">donato.zito@n4com.it</a>
</pre>
<div class="moz-cite-prefix">Il 28/03/2018 18:58, Bogdan-Andrei
Iancu ha scritto:<br>
</div>
<blockquote type="cite"
cite="mid:4e164c99-cd31-4400-6323-146d98898e46@opensips.org">
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-15">
<tt>Hi Donato,<br>
<br>
The socket you force for a request will be persistent for the
whole transaction (replies also). Even more, if you use
record_route() for the dialog, the socket will be persistent for
the whole dialog (for all sequential requests). <br>
But again, the important is to force the socket during the
*initial* request. <br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com" moz-do-not-send="true">http://www.opensips-solutions.com</a>
OpenSIPS Summit 2018
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam" moz-do-not-send="true">http://www.opensips.org/events/Summit-2018Amsterdam</a>
</pre>
<div class="moz-cite-prefix">On 03/15/2018 11:13 AM, Donato Zito
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:b4c3b8b8-e599-c6f9-f525-7b4e35ece04c@n4com.it">
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-15">
<p>Dear all,</p>
<p> I need to send message forcing a specific socket versus
an ip destination.</p>
<p>Actually I use servarl IP on my production installation, but
I want to force a specifical ip address versus an ip
destination. <br>
</p>
<p>Using topologt hiding is enough to add in invite route
something like this?<br>
</p>
<p><font size="-1"><b>if( $rd == "1.1.1.1" )</b></font></p>
<p><font size="-1"><b> force_send_socket("udp:2.2.2.2:5060")</b></font><br>
</p>
<p>The socket will be used even on next dialog messages without
forcing anymore?</p>
<p>Is there a better solution?<br>
</p>
<p>Thanks in advance for your response,<br>
</p>
<pre class="moz-signature" cols="72">--
Donato Zito | CTO
--------------------
N4COM S.R.L.
Tel: +39 0909148000
Cel: +39 3471388322
Fax: +39 0909148970
mail : <a class="moz-txt-link-abbreviated" href="mailto:donato.zito@n4com.it" moz-do-not-send="true">donato.zito@n4com.it</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>