[SR-Users] kamailio and virtual IP

phillman25 phillman25 at gmail.com
Fri Jun 14 09:32:21 CEST 2013


Hi Mino

I have set up this scenario using heartbeat on both hosts and it works
wonderfully.

Regards
Phillip







Message: 1
Date: Fri, 14 Jun 2013 08:15:28 +0200
From: Mino Haluz <mino.haluz at gmail.com>
To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
        Users   Mailing List" <sr-users at lists.sip-router.org
>
Subject: [SR-Users] kamailio and virtual IP
Message-ID:
        <CAFA7yDT0xczGGU31utLoRDui=zb0wfZrTSzEw6Fy5tJHQZAjZQ at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I want to do this:

2 hosts, with 2 running kamailios, every host has 1 IP address and hostA
has virtualIP assigned. kamailio should run on both hosts. I made a script
which can transfer virtual IP from hostA to hostB.

The problem is, I cannot tell kamailio to use virtualIP on hostB because,
when I set

listen=virtualIP:5060 - it cannot start because virtualIP is not present
listen=0.0.0.0:5060 and force_send_socket(virtualIP) - it does not work as
virtualIP is not in the listen list

Some hint? I could run kamailio automatically after chaning IP address, but
it requires time to load, so it will not be as quick as I change simply the
owner of virtual IP.

Thanks,
Mino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130614/cfcae44f/attachment.html>


More information about the sr-users mailing list