Hey all,

I'm trying to create a failover / redundant asterisk solution. There's
been some talk on the list in the past about DNS SRV records (
http://www.voip-info.org/wiki-DNS+SRV ) which are promising but I'm
still far away from a complete solution.

I can setup a Linksys SPA942 phone using DNS SRV records to try two
SIP servers. A primary server in Ashburn, VA and a backup in Long
Island, NY. That's the easy part.

Now I'm wondering whats the best way to prevent the NY asterisk from
accepting incoming calls from my DID provider unless the Ashburn, VA
asterisk server is down.

My thought was I could write a quick perl / bash script to be run
within the dialplan to see which server should be answering the call.

I could also automate the start and stopping of asterisk on the NY
server based on the status of the asterisk Ashburn, VA server.

Then just comes keeping the dialplan and voicemails in sync between
the servers. I could use asterisk realtime and keep the databases
synchronized for the dialplan aspect. Then keep the voicemails in sync
with rsync or something along these lines.

Any suggestions? Is there a easier / more reliable way of doing this?

Blaine Aldridge

Reply via email to