[asterisk-users] Source-IP on Asterisk DRBD/-HA-Cluster wrong
Alex Balashov
abalashov at evaristesys.com
Thu Dec 3 14:46:03 CST 2009
Thorolf,
In the [general] section of sip.conf, set the 'bindaddr' parameter to
the cluster IP. If Asterisk is only bound to the floating interface, it
will respond only from that source IP.
-- Alex
Thorolf Godawa wrote:
> Hi all,
>
> I installed a Linux-HA-cluster with DRBD and Asterisk 1.4 on it.
>
> Actually it might work quite good, failover etc. works, even if this is
> not a 0-downtime solution, because current calls are dropped and the
> phones not are reachable until they reregister at the Asterisk.
>
> It "might" work good, because my phones are not able to register at the
> cluster-ip address, because the REGISTER arrives at the cluster-ip,
> while Asterisk responds from the real host-ip of the active cluster-node.
>
> The registration with the real ip works, but then I can't use any
> failover solution.
>
> I have already checked several solutions found at
> http://www.voip-info.org/wiki/view/Asterisk+High+Availability+Solutions
> and some others returned by searching the net, but nothing that helped
> me out.
>
> I see three possible solutions:
> - is there a parameter in Asterisk to set the source-ip?
> - patching Asterisk to include such a parameter?
> - would be changing the primary ip-address to the "cluster"-ip and
> changing the "real" host-ip to an alias, a good solution?
>
> Thanks for any hints in advance,
--
Alex Balashov - Principal
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
More information about the asterisk-users
mailing list