Hi Donato,

If you do TH, there is no need to do RR as opensips will act as end-point, not as proxy. So do not need to do record_route() and were you have loose_route() in script, just use topology_hiding_match() function.


Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  http://www.opensips-solutions.com
OpenSIPS Summit 2018
  http://www.opensips.org/events/Summit-2018Amsterdam

On 04/04/2018 02:17 PM, Donato Zito wrote:

Dear Bogdan,

 Thanks for your response.

I suppose that record route is implicit using topology hiding module: is that correct?

Greetings,

--
Donato Zito | CTO
--------------------
N4COM S.R.L.

Tel: +39 0909148000
Cel: +39 3471388322
Fax: +39 0909148970
mail :donato.z...@n4com.it
Il 28/03/2018 18:58, Bogdan-Andrei Iancu ha scritto:
Hi Donato,

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). But again, the important is to force the socket during the *initial* request.

Best regards,
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   http://www.opensips-solutions.com
OpenSIPS Summit 2018
   http://www.opensips.org/events/Summit-2018Amsterdam
On 03/15/2018 11:13 AM, Donato Zito wrote:

Dear all,

I need to send message forcing a specific socket versus an ip destination.

Actually I use servarl IP on my production installation, but I want to force a specifical ip address versus an ip destination.

Using topologt hiding is enough to add in invite route something like this?

*if( $rd == "1.1.1.1" )*

*force_send_socket("udp:2.2.2.2:5060")*

The socket will be used even on next dialog messages without forcing anymore?

Is there a better solution?

Thanks in advance for your response,

--
Donato Zito | CTO
--------------------
N4COM S.R.L.

Tel: +39 0909148000
Cel: +39 3471388322
Fax: +39 0909148970
mail :donato.z...@n4com.it


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to