[SR-Users] Use dmq module with private and public IP addresses

Markus Bönke mb at tenios.de
Tue Jun 4 15:26:13 CEST 2019


Hello NG,

I have a question regarding the dmq / dmq_userloc module.

In my test setup have 2 Kamailio servers in 2 different data centers. 
The data centers are interconnected by a crosslink.
Each Kamailio server has configured an internal (private) and an external (public) IP address.
The internal IPs are routed to use the crosslink.
The external IPs are routed through the public internet by different ISPs.

The requirement is that the replication should primarily be routed via the crosslink, only if the crosslink is down it should be routed via public internet. 

As I understand the „server_address“ parameter can have only one IP address. 
If I configure the public IPs on both sides and one ISP connection gets disconnected, packets will NOT be routed automatically via the crosslink. 
And the other way around, if I configure the private IPs on both sides and the crosslink gets disconnected, packets will NOT be routed automatically via public internet.

Is there any way to setup and use dmq for such a scenario ?  

Thanks and regards

Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190604/a4a9e7e0/attachment.html>


More information about the sr-users mailing list