<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Sasmita,<br>
<br>
Why not using DNS-based failover - use multiple A records with
different weights. See:<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.3.x/tm.html#idp5521600">http://www.opensips.org/html/docs/modules/2.3.x/tm.html#idp5521600</a><br>
<br>
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">http://www.opensips-solutions.com</a>
OpenSIPS Summit 2018
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam">http://www.opensips.org/events/Summit-2018Amsterdam</a>
</pre>
<div class="moz-cite-prefix">On 01/15/2018 10:25 AM, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALf-Q45kCMVjBzmqy_vUrP-CKhvf0OYJx===AEMJ6NUuh9YvjA@mail.gmail.com">
<div dir="ltr">Hi All ,
<div><br>
</div>
<div> 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 .<br>
<div><br>
</div>
<div> 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 . </div>
<div><br>
</div>
<div> 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 . </div>
<div><br>
</div>
<div> I was trying to set the destination ip while
routing but that wont work for me . </div>
<div>How I will do this . Please help . Thanks .</div>
<div><br clear="all">
<div>
<div class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</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>