Hello, If one would like to build a redundant Asterisk setup, would it be possible to exchange the locationdb for the SIP users between then? IE, the following setup: SIP Phones -------------- Asterisk ------------------------ SIP carrier | | ------- Asterisk (standby) ------ Asterisk is used as a PABX in this setup, so the sip phones register themselves at the asterisk machine and the asterisk machine calls out if necessary. What I would like to be able to do is if the first asterisk machine fails I want to have a 2nd machine standby. So the standby asterisk monitors the first asterisk and in case of a failure the standby asterisk takes over the IP of the 1st asterisk so the services continues (sync the conf file with rsync for example), however if the phones use a host=dynamic they wont be able to be called until they have reregistered themselves at the backup asterisk. Is there a SER like t_relay kinda thingy to let the backup know the locations of the Sip Phones? Kind regards, E. Versaevel
On Tue, 2004-12-07 at 10:54 +0100, E. Versaevel wrote:> Hello, > > If one would like to build a redundant Asterisk setup, would it be possible > to exchange the locationdb for the SIP users between then?Basically I would start with building redundancy in the the primary server, e.g. a ton of fans so one can break down without frying the box, redundant hot swappable power supplies, hot swappable disks in RAID1 or something like that. That will reduce the chance of the primary server going down due to hardware problems. Interesting problem as you need to be able to preserve state across multiple servers. Did you look at that realtime app that's part of CVS (maybe asterisk-addons)? If it stores the registration state of the phones in a DB then both servers should have no problem being aware of all regs if one of them fails. Question is how do you make the backup server's Asterisk listen on the newly assigned IP of the primary server? Prolly a sip reload would solve that. Wouldn't SER be a better option? Which app do you use for monitoring the primary box and if it fails taking over the IP address by the backup one? I haven't found a suitable (active-active) app so far. Regards, Patrick
On Tue, 2004-07-12 at 10:54 +0100, E. Versaevel wrote:> Hello, > > If one would like to build a redundant Asterisk setup, would it be possible > to exchange the locationdb for the SIP users between then?I haven't tried this, but in my opinion it seems like it would give you what you're looking for: http://openssi.org/cgi-bin/view?page=openssi.html Actually, OpenSSI would work for just about anything, no? HTH, Ranbir -- Kanwar Ranbir Sandhu Systems Aligned Inc. www.systemsaligned.com