Re: Failover-Failback without any Load-Balancing
Kama User via sr-users <[email protected]> Mon, 06 Apr 2026 13:47:27 -0000
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <[email protected]> |
Today I also tried this setup.
request_route {
if (is_method("INVITE|REGISTER")){
rewritehost("10.0.0.65");
t_on_failure("FAILOVER");
t_relay_to_tcp("10.0.0.65","5060");
exit;
}
failure_route[FAILOVER] {
rewritehost("10.0.0.75");
t_relay_to_tcp("10.0.0.75","5060");
exit;
}
This the setup did the trick, when I turn off PBX1 (10.0.0.65) subscriber registers on PBX2 (10.0.0.75) and vice versa.
Sometime connection goes down on the subscriber side though.
But I don't know why I can do call from Subscriber to PBX1 and PBX2 and can hear the voice, but when I try to call from PBX1 and PBX2 I got the call but no voice whatsoever.
Thanks.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!