Mike Diehl
2011-Dec-12 00:22 UTC
[asterisk-users] Multiple route failover zaps registration
Hi all, I've got a customer who is bringing up a second Internet connection for fail- over. I've configured a WRT54 with 2 LAN ports and arranged for it to fail over when one of the routes is no longer available. That works just fine at the IP level. However, when the router fails over, the phones lose their registration, presumably because their IP address has changed from Asterisk's point of view. The phones happen to be Polycom 335's, and I'm running Asterisk 1.6.2.9. What is the best way to manage this situation so that the phones don't become unavailable during failover? I'm considering using the Tinc VPN solution to prevent the IP address from chaing, but I'm hoping for a more simple solution. Any ideas? -- Take care and have fun, Mike Diehl.
James Sharp
2011-Dec-12 02:22 UTC
[asterisk-users] Multiple route failover zaps registration
On 12/11/2011 07:22 PM, Mike Diehl wrote:> Hi all, > > I've got a customer who is bringing up a second Internet connection for fail- > over. I've configured a WRT54 with 2 LAN ports and arranged for it to fail > over when one of the routes is no longer available. That works just fine at > the IP level. > > However, when the router fails over, the phones lose their registration, > presumably because their IP address has changed from Asterisk's point of view. > > The phones happen to be Polycom 335's, and I'm running Asterisk 1.6.2.9. > > What is the best way to manage this situation so that the phones don't become > unavailable during failover? > > I'm considering using the Tinc VPN solution to prevent the IP address from > chaing, but I'm hoping for a more simple solution. > > Any ideas? >Shorten the registration expiration time on the phones? It'll make them a bit chattier, but it'll make sure Asterisk has the most recent IP address. Shorten it down to as long as you feel the phones can be without service, but also make sure you don't make them too chatty so they're reregistering every second.
Faisal Hanif
2011-Dec-12 05:02 UTC
[asterisk-users] Multiple route failover zaps registration
Why don't you use FQDN in phone instead of IP of server and configure DNS Server to failover resolve to next IP while set SIP reg expiry same as DNS TTL. Regards, Faisal Hanif -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mike Diehl Sent: Monday, December 12, 2011 5:22 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Multiple route failover zaps registration Hi all, I've got a customer who is bringing up a second Internet connection for fail- over. I've configured a WRT54 with 2 LAN ports and arranged for it to fail over when one of the routes is no longer available. That works just fine at the IP level. However, when the router fails over, the phones lose their registration, presumably because their IP address has changed from Asterisk's point of view. The phones happen to be Polycom 335's, and I'm running Asterisk 1.6.2.9. What is the best way to manage this situation so that the phones don't become unavailable during failover? I'm considering using the Tinc VPN solution to prevent the IP address from chaing, but I'm hoping for a more simple solution. Any ideas? -- Take care and have fun, Mike Diehl. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users