We have one asterisk server in our head office.Sometimes we face internet problems and our subscribers are unable to make and receive calls so we decided to have one redundant asterisk server in our branch office.So we need a system that can decide which server is alive and it should redirect all invite and register packets to that server which is alive.I first thought heartbeat is the solution but in heartbeat all ips in the cluster have to be in the same network.Then we thought about dns resolution (we have one) but in some devices which we sent to our customers we had to define IP itself.(some systems dont accept char value for the sip server address field).Finally we thought that there should be a server and all requests should be sent to that server and it should route the requests to the alive one.My question is whether I should use proxy server or redirect server for this purpose? I’m really confused cuz it looks like proxy server and sip server are the same things and I couldnt find how to build a redirect server or proxy server itself.Any idea??Any help will be greatly appreciated.
Thanks in Advance.