<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi Muhammad,<br>
<br>
Take a look at
<a class="moz-txt-link-freetext" href="https://blog.opensips.org/2019/10/03/re-homing-your-calls-with-opensips-3-0/">https://blog.opensips.org/2019/10/03/re-homing-your-calls-with-opensips-3-0/</a><br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 2021
<a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre>
<div class="moz-cite-prefix">On 1/14/22 3:32 PM, Muhammad Danish
Moosa wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEX7+sC0Onru9b-P1JbvKkbTELKCznB+fj_FTipf20aeRFDXQw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">I have a pair of opensips stateful proxies and am
trying to achieve Active-Passive failover model with clusterer
dialog replication. Primary Proxy is working in the middle of 2
SBCs and all nodes are within the same network so NATing is NOT
involved ;secondary proxy is accessible through VPN. It's pretty
simple configuration, proxy is just adding and removing headers
in the middle.
<div><br>
</div>
<div>So if I stop the opensips service on primary IP , SBCs
blacklist that and start sending new invites to secondary IP
that takes active state. That's all good.</div>
<div><br>
</div>
<div>But if I reproduce this failover during a connected session
, SBCs do not send mid-dialog requests/responses to failover
IP. I can see they still try to send messages to primary SBC
which obviously end up with timeout. I understand the most
natural solution is HA with Virual IP but it's not possible
because secondary IP is accessible through VPN.</div>
<div><br>
</div>
<div>I tried to use DNS SRV record with priorities but that also
does not work with mid-dialog messages, I also have tried to
change record-route/via header to fqdn through
advertise_address. Its not changing record-route but via only
but I am still not getting expected results.</div>
<div><br>
Any guidance of possible solution(s) here will be appreciated.</div>
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">Muhammad Danish Moosa<br>
<br>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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>