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 : [email protected]
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 :[email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users