<div dir="ltr">Hi,<div><br></div><div style>I want to do this:</div><div style><br></div><div style>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.</div>
<div style><br></div><div style>The problem is, I cannot tell kamailio to use virtualIP on hostB because, when I set</div><div style><br></div><div style>listen=virtualIP:5060 - it cannot start because virtualIP is not present </div>
<div style>listen=<a href="http://0.0.0.0:5060">0.0.0.0:5060</a> and force_send_socket(virtualIP) - it does not work as virtualIP is not in the listen list</div><div style><br></div><div style>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.</div>
<div style><br></div><div style>Thanks,</div><div style>Mino</div><div style><br></div></div>