The registry's are stored in DB. Just export your database with 'database show' Schedule it with cron to run every 5 minutes or so. You can do that with -rx command line switch for asterisk. Send the file across to other node and pipe it through awk/perl/cut or whatever you like and import it when you bring the other node up. You will have to stop and start asterisk I think. I think this should work :) -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Mohamed A. Gombolaty Sent: Thursday, June 30, 2005 10:20 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Failover question Dear All, I am using Linux-High Availability between two Asterisk servers, everything is fine but I do have one problem with this, When a server fails and the other assumes the ip address and start asterisk on server 2, the ip phone must re-register themselves again, otherwise the phones won't ring. Does anyone have Ideas of how to overcome this. Thx MAG _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored... Internet communications cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
What if asterisk was to start have more options for failover from an application perspective? Eg. Some form of heartbeat between the two servers. Within the heartbeat it could pass registration information and call information between servers. (Not sure if this is somehow possible already) So if you were to use that with something like HA/clustering the backup server would always know what calls / registrations were active. Thanks John -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Joseph Sent: Thursday, June 30, 2005 11:46 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Failover question I think this is a weak point in asterisk. It doesn't even have a means of email notification if IAX or SIP registration fails. This would need to be added to the list of priorities. But I'm not sure who to address to. Most phone are controlled by their own software interface and have the ability to re-register at certain intervals (ex. every hour) but that is not much of a help and or acceptable if you are left without phone for one hour. So this is not an asterisk related problem but the software interface that controls the phones. The simplest solution would be to add email notification in such software and/or fail-over IP if one fails. But that is up to the hardware manufacture to come up with this solution. All asterisk could provide is just an email warning that certain phone failed to register. -- #Joseph On Thu, 2005-06-30 at 15:19 +0300, Mohamed A. Gombolaty wrote:> Dear All, > > I am using Linux-High Availability between two Asterisk servers,everything is> fine but I do have one problem with this, When a server fails and theother> assumes the ip address and start asterisk on server 2, the ip phonemust> re-register themselves again, otherwise the phones won't ring. > > Does anyone have Ideas of how to overcome this._______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
John Cianfarani wrote:>What if asterisk was to start have more options for failover from an >application perspective? Eg. Some form of heartbeat between the two >servers. Within the heartbeat it could pass registration information >and call information between servers. (Not sure if this is somehow >possible already) > >So if you were to use that with something like HA/clustering the backup >server would always know what calls / registrations were active. > >Thanks >John > > > >A hot thing in databases right now are clusters. Has anyone setup a linux cluster and installed asterisk on it? -- JD Austin Twin Geckos Technology Services LLC email: jd@twingeckos.com http://www.twingeckos.com phone/fax: 480.288.8195
> A hot thing in databases right now are clusters. > Has anyone setup a linux cluster and installed asterisk on it?I assume you mean replication - and yes, we use that environment here and it works well in most circumstances with HA running the failover.. We do not do much call processing, but use Asterisk mainly for our 3rd party software to do applications that are not possible with CallManager.. Replicated databases and HA failover is OK for us there because we do not have any phones registered (they are always registered to CCM). -Greg
Well maybe look at the support that mysql has... I've been wanting to try it - but don't have the hardware available right now to do it.. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of JD Austin Sent: Thursday, June 30, 2005 3:05 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Failover question John Cianfarani wrote:>What if asterisk was to start have more options for failover from an >application perspective? Eg. Some form of heartbeat between the two >servers. Within the heartbeat it could pass registration information >and call information between servers. (Not sure if this is somehow >possible already) > >So if you were to use that with something like HA/clustering the backup >server would always know what calls / registrations were active. > >Thanks >John > > > >A hot thing in databases right now are clusters. Has anyone setup a linux cluster and installed asterisk on it? -- JD Austin Twin Geckos Technology Services LLC email: jd@twingeckos.com http://www.twingeckos.com phone/fax: 480.288.8195 _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On 14:11, Thu 30 Jun 05, Greg Oliver wrote:> > A hot thing in databases right now are clusters. > > Has anyone setup a linux cluster and installed asterisk on it? > > I assume you mean replication - and yes, we use that environment here > and it works well in most circumstances with HA running the failover.. > > We do not do much call processing, but use Asterisk mainly for our 3rd > party software to do applications that are not possible with > CallManager.. > > Replicated databases and HA failover is OK for us there because we do > not have any phones registered (they are always registered to CCM). > > -GregIs your HA doing failover with database servers on geographic seperate servers ? Like serv1 in USA and serv2 in Europe etc ?? Or just one site ? Michiel