O'Reilly logo

Building Telephony Systems with OpenSIPS - Second Edition by Bogdan-Andrei Iancu, Flavio E. Goncalves

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Binary replication

The binary interface (also called the BIN interface) provides you with an efficient way of internal communication between multiple OpenSIPS instances. It is a generic mechanism that allows different OpenSIPS modules to communicate data between different OpenSIPS instances transparently.

Engineers can use the BIN interface to replicate the data and state between OpenSIPS instances used for high-availability or clustering configurations.

To configure an OpenSIPS instance to be a receiver of BIN traffic, the following BIN parameters need to be configured:

bin_listen = 10.0.0.150:5062
bin_children = 2

The following figure shows how binary replication works in an OpenSIPS cluster:

The BIN traffic is tagged with the name of the module ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required