I have two FreePBX virtual machines distributed over two different data centers but both are for the same company, I am planning to use sip trunk on those two VMs and seeking to get them to work in failover/load balance mode.
I know that some sip trunk provider provide the capabilities of failover in case my primary Public IP is not responsive however I would like to extend the failover and load balance to the level of the VM as well.
Have anyone tried to do the load balance/failover method on a VM level between two datacenters ? How would VoIP traffic react in case of primary VM down? how about end points configuration ? Can I direct end points to a single FQDN where both IPs can resolve and if one of the VMs are down still the end point would get register and act like nothing is happening ?
I would appreciate any person's comment that have had an experience with such scenario.