Re: Failover-Failback without any Load-Balancing

Kama User via sr-users <[email protected]> Tue, 07 Apr 2026 18:30:59 -0000
Newsgroups gmane.comp.voip.ser
Message-ID <[email protected]>
Thanks for the answer.

In my case something strange is happening.

The only code which worked pretty well was this one:

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;
}

I've seen a lot of articles where the ds_select_dst and ds_next_dst approach is working with no issue.

I'll add some debug stuff and see if I can find the cause of that strange behaviour.

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!