<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Alexey,<br></div><div dir="ltr"><br></div><div>I already read some of the articles from the links you provided, but answer is still not straight forward. The relevant part states that "The new dialog clustering support in OpenSIPS 2.4 is a complete one as it not only takes care of dialog replication/sharing, but also of dialog handling in terms of properly triggering dialog-specific actions."</div><div>But there is no information on how or "if" the module will do call representing / re-homing or restoring. </div><div dir="ltr"><br></div><div>/Konrad</div><div dir="ltr"><br></div><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Hi Konrad!
Clustering OpenSIPS is some mix of:
- N OpenSIPS nodes
- N RTPEngine instances (I think you can use one, standalone,
on a different host than OpenSIPSes)
- at least 1 Redis, in case of >=2 RTPEngines, to share
RTP sessions
- some VRRP realisation, e.g. Keepalived or Pacemaker/Corosync.
OpenSIPSes share cluster-related critical data through BIN interface [1],
along with cluster-related options in some modules like usrloc [2],
dialog [3], tm [4]. Please find 'cluster' word on the documentation pages,
I hope this will give you answers on your questions.
[1] <a href="https://www.opensips.org/Documentation/Interface-Binary-2-4">https://www.opensips.org/Documentation/Interface-Binary-2-4</a>
[2] <a href="https://opensips.org/html/docs/modules/2.4.x/usrloc.html">https://opensips.org/html/docs/modules/2.4.x/usrloc.html</a>
[3] <a href="https://opensips.org/html/docs/modules/2.4.x/dialog.html">https://opensips.org/html/docs/modules/2.4.x/dialog.html</a>
[4] <a href="https://opensips.org/html/docs/modules/2.4.x/tm.html">https://opensips.org/html/docs/modules/2.4.x/tm.html</a>
Another kind of clustering is for horizontal scaling,
not redundancy/high-availability.
A good example is registrar server clustering:
<a href="http://www.opensips.org/Documentation/Tutorials-Distributed-User-Location-Federation">http://www.opensips.org/Documentation/Tutorials-Distributed-User-Location-Federation</a>
And some more links:
<a href="https://blog.opensips.org/2018/03/13/the-new-clustering-engine-of-opensips-2-4/">https://blog.opensips.org/2018/03/13/the-new-clustering-engine-of-opensips-2-4/</a>
<a href="https://blog.opensips.org/2018/03/23/clustering-ongoing-calls-with-opensips-2-4/">https://blog.opensips.org/2018/03/23/clustering-ongoing-calls-with-opensips-2-4/</a>
<a href="https://blog.opensips.org/2018/03/27/clustering-presence-services-with-opensips-2-4/">https://blog.opensips.org/2018/03/27/clustering-presence-services-with-opensips-2-4/</a>
<a href="https://github.com/sipwise/rtpengine">https://github.com/sipwise/rtpengine</a>
<a href="https://github.com/sipwise/rtpengine/wiki/Redis-keyspace-notifications">https://github.com/sipwise/rtpengine/wiki/Redis-keyspace-notifications</a></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><br></pre></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 5, 2019 at 11:38 PM Konrad Malewski <<a href="mailto:konrad.malewski@motorolasolutions.com">konrad.malewski@motorolasolutions.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>We ware trying out clusterer module with opensips. We are having problems understanding what is the purpose of clustering when it comes to calls, so if anyone has some insights we would appreciate:<br></div><div> - if in active-backup mode active fails how backup is going to recover the call (with one of our tries nothing happened) ? Does clusterer module handles it ?</div><div> - does the behavior differ when it comes to tcp/udp ? </div><div> - how does opensips support call representing / re-homing or restoring ? </div><div><br></div><div>thanks for any hint,</div><div dir="ltr" class="gmail-m_-8834100319333782911gmail_signature"><div dir="ltr"><div> Konrad <br></div></div><div dir="ltr"><br></div></div></div>
</blockquote></div><div dir="ltr" class="gmail_signature"><div dir="ltr"><br></div></div></div></div></div>