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 ...

Get Building Telephony Systems with OpenSIPS - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.