[OpenSIPS-Users] Need to set destination as a fixed IP for a domain .

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Jan 15 11:14:08 EST 2018


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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180115/f55b5388/attachment.html>


More information about the Users mailing list