<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello all,<br>
<div class="moz-forward-container"> <br>
OpenSIPS just got better with a <i>new core interface</i> and a <i>new
failover mechanism</i>!<br>
<br>
The purpose of the new <b>Binary Internal Interface </b>is to
offer a fast and efficient communication channel between OpenSIPS
instances. OpenSIPS modules can now use this core interface to
send/receive packets with specific information. A common usage
case for this feature would be data replication between a primary
instance and a backup one.<br>
<br>
This is especially useful in scenarios with OpenSIPS instances
which handle large amounts of concurrent calls, so that failover
through a database backend is not feasible anymore due to the
significant time required in order to load the needed tables.<br>
<br>
As an example of using the interface, the dialog module now offers
the possibility of <b>replicating dialogs</b> to another
instance. The script writer may now configure a set of proxies
which will receive dialog-related events: <i>creation</i>, <i>confirmation</i>
and <i>deletion</i>, all in <i>realtime</i>.
These messages are compact and they are sent over UDP. The dialog
module now also exports several new statistics which show the
total sent/received replication packets.<br>
<br>
Configuring UDP listeners for the new interface is trivial and
explained in the OpenSIPS manuals [1].<br>
<br>
[1]: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.opensips.org/Documentation/Interface-Binary">http://www.opensips.org/Documentation/Interface-Binary</a><br>
<br>
Best regards,<br>
<pre class="moz-signature" cols="72">--
Liviu Chircu
OpenSIPS Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
</div>
<br>
</body>
</html>