Hi Moacir

We have only found three ways to handle failover.
1. Change the DNS entry whenever a failure is detected.
2. Use SRV records to display an alternate route.
3. Use the failover mechanism in the phone itself

1. works, but it may take some time for your ua's to become aware of the change
2. never have been able to get this to work as advertised.
3. Works pretty well depending on the phone. (We use mostly Yealink's and they seem to handle the failover pretty well.)

Hope this helps

On 06/05/2016 07:41 AM, Moacir Ferreira wrote:
Hi,

I got two questions regarding high availability:

1 - Should my Kamailio server fail, I would like another Kamailio "box/server" to take over with minimum services disruption. What is the "community" advice for such environment?

2 - Should my main PSTN gateway fail, what would be the best mechanism to redirect calls to a second PSTN gateway?

Cheers!
Moacir


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users