<div dir="ltr">Hi.<div><br></div><div>I came up with idea to set up stand with two kamailio and one b2bua server (for routing).</div><div><br></div><div>The idea consists of failover for dialogs, transactions.</div><div>So if one of kamailio nodes is down, another one is able to catch up the dialog and let users to properly end up the session.</div><div><br></div><div>For better realizing of it, I will try to describe the idea step by step:</div><div>1. UAC invites UAS, they've done three-way-handshake, media stream is up.</div><div>2. Kamailio that processed this dialog is down.</div><div>3. Users decided to end the session with BYE method, but proxy that processed their three-way-handshake recently is down, so one of ua sends BYE to the destination route that contains domain name (that both kamailio serve), BYE achieves the second kamailio to let him properly end the dialog.</div><div> But, there is a big but, this second kamailio hasn't ever known about this dialog, he doesn't support any transactions for it and furthermore he doesn't know anything about this call-id.</div><div><br></div><div>So the solution for it, as I think, is hidden in db mode for user location (columns that contain call-ids, branches etc.</div><div>But I need to be sure, if I'm on the right way.</div><div><br></div><div>For purpose, where one ip is served by two nodes, I have two solutions:</div><div><br></div><div>-First one. I want to create heartbeat cluster with two kamailio nodes, they will have one shared ip address, so when one node gets down, another one brings up shared ip interface and implements the same actions that master does.</div><div><br></div><div>-Another method is to assign a few ip addresses to one domain name (ip addresses of different kamailio proxies).</div><div><br></div><div><br></div><div>So the goal looks simple, if someone has ever done something like that, I will be glad to read the ideas.</div><div><div><br></div>-- <br><div class="m_2950283228654730570gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span>-- <br></span>BR, Donat Zenichev
<br>Wnet VoIP team
<br>Tel:  +380(44) 5-900-808
<br><a href="http://wnet.ua" target="_blank">http://wnet.ua</a></div></div>
</div></div>