Re: [asterisk-users] fail-over server

2011-02-10 Thread Jonathan Thurman
On Wed, Feb 9, 2011 at 6:55 AM, Vieri rentor...@yahoo.com wrote: [snip] Since all of the SIP devices in my LAN have static IP addresses, I can keep track of everyone on my own. For instance, could I do fake SIP registrations from localhost (the * server) and specify a LAN IP address?

Re: [asterisk-users] fail-over server

2011-02-10 Thread Vieri
--- On Thu, 2/10/11, Jonathan Thurman jonat...@thurmantech.com wrote: Have you looked at the 'defaultip' sip configuration option?  Or setting host=IP for those devices? I've read that defaultip can only be used on type=peer and when host=dynamic. I use type=friend. host=IP seems to be OK

Re: [asterisk-users] fail-over server

2011-02-09 Thread Vieri
--- On Tue, 2/8/11, Jonathan Thurman jonat...@thurmantech.com wrote: It depends on your configuration.  If you use Asterisk Realtime to store SIP registrations, then the database will contain information on how to contact the device (fullcontact, ipaddr, and port fields). Then on a

Re: [asterisk-users] fail-over server

2011-02-09 Thread Edwin Lam
On 2/9/11 6:55 AM, Vieri wrote: I'd like to do that without Realtime (or with Realtime+FreePBX) or with any other means that doesn't require more than 2 servers (2 asterisk boxes)? we use drbd nfs cluster to store asterisk's ASTDB voice mail files but that would involve installing 2 extra

[asterisk-users] fail-over server

2011-02-08 Thread Vieri
Hi, Suppose you have 2 identical Asterisk servers and 1 alias IP address that you assign to either one, according to system failures, etc. Also suppose that all SIP clients register requests go to the alias IP address. Imagine server1 fails and server2 gets the alias IP address. Correct me if

Re: [asterisk-users] fail-over server

2011-02-08 Thread Gergo Csibra
Tuesday, February 8, 2011, 5:07:29 PM, Vieri wrote: How can I minimize this time lapse? Can Asterisk notify all SIP clients in its sip.conf that they need to acknowledge being on-line or not (thus forcing re-registration in my scenario)? If you have two identical servers online, it is better

Re: [asterisk-users] fail-over server

2011-02-08 Thread Michelle Dupuis
...@lists.digium.com] On Behalf Of Gergo Csibra [csi...@gmail.com] Sent: Tuesday, February 08, 2011 11:17 AM To: Asterisk Users List Subject: Re: [asterisk-users] fail-over server Tuesday, February 8, 2011, 5:07:29 PM, Vieri wrote: How can I minimize this time lapse? Can Asterisk notify all SIP clients in its

Re: [asterisk-users] fail-over server

2011-02-08 Thread Carlos M Cruz
Hi, Thats very simple. Use sip realtime registration with mysql and heartbit to control switiching. Regards, Carlos M Cruz Em 2011/02/08 16:07, Vieri rentor...@yahoo.com escreveu: Hi, Suppose you have 2 identical Asterisk servers and 1 alias IP address that you assign to either one,

Re: [asterisk-users] fail-over server

2011-02-08 Thread Jonathan Thurman
On Tue, Feb 8, 2011 at 8:07 AM, Vieri rentor...@yahoo.com wrote: Suppose you have 2 identical Asterisk servers and 1 alias IP address that you assign to either one, according to system failures, etc. Also suppose that all SIP clients register requests go to the alias IP address. This is a