Hi Sasmita,
Why not using DNS-based failover - use multiple A records with different
weights. See:
http://www.opensips.org/html/docs/modules/2.3.x/tm.html#idp5521600
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Summit 2018
http://www.opensips.org/events/Summit-2018Amsterdam
On 01/15/2018 10:25 AM, Sasmita Panda wrote:
Hi All ,
My setup is like . There is 2 proxy and 2 registrar server . When
request comes to proxy that resolve the domain in request URI which is
the registrar domain and forward the request to that IP . There are 2
IP against the domain of the registrar server .
There is 2 different machine in which 2 different script running
for proxy and Registrar . So while resolving the registrar server
domain proxy may get same machine ip or different one also randomly .
What I want is , when proxy resolve the domain of registrar ,
that should first try in the same machine and if that fails then it
should resolve the registrar domain and forward to the new IP
accordingly .
I was trying to set the destination ip while routing but that
wont work for me .
How I will do this . Please help . Thanks .
*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/
_______________________________________________
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