[SR-Users] kamailio and virtual IP

2013-06-14 Thread Mino Haluz
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,

Re: [SR-Users] kamailio and virtual IP

2013-06-14 Thread Victor Torre Antunez
If you run kamailio under Linux, you could change this kernel parameter: # *echo 1 /proc/sys/net/ipv4/ip_nonlocal_bind * http://linux-ip.net/html/adv-nonlocal-bind.html If set, allows processes to bind() to non-local IP addresses. I tested in Kamailio 3.x.x (I donĀ“t remember wich version) and

[SR-Users] kamailio and virtual IP

2013-06-14 Thread phillman25
List sr-users@lists.sip-router.org Subject: [SR-Users] kamailio and virtual IP Message-ID: CAFA7yDT0xczGGU31utLoRDui=zb0wfzrtszew6fy5tjhqza...@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

Re: [SR-Users] kamailio and virtual IP

2013-06-14 Thread Mino Haluz
Mailing List sr-users@lists.sip-router.org Subject: [SR-Users] kamailio and virtual IP Message-ID: CAFA7yDT0xczGGU31utLoRDui= zb0wfzrtszew6fy5tjhqza...@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

Re: [SR-Users] kamailio and virtual IP

2013-06-14 Thread Alex Balashov
Hello Mino, On 06/14/2013 04:53 AM, Mino Haluz wrote: If I bind to non-existent IP address, than there is problem with sending OPTIONS. Perhaps this can help? echo 1 /proc/sys/net/ipv4/ip_nonlocal_bind This will allow you to bind to IPs that don't correspond to any existing interfaces

Re: [SR-Users] kamailio and virtual IP

2013-06-14 Thread Mino Haluz
Ok, this works, but dispatcher module keeps on sending OPTIONS from non-existent interface and it generates lots of errors, that I do not like much :) These two hosts share one dispatcher table, so I cannot set it to active non-probing mode. On Fri, Jun 14, 2013 at 10:56 AM, Alex Balashov