Hello all, I first want to thank everyone for all your contributions. I've building an asterisk system for a month or so now and without everyone in the online asterisk community I wouldn't have made it this far yet. Thanks! ...ok, mushiness out of the way.. :) I am looking for a failover and ultimately a load balancing asterisk solution. I've done a good bit of research and I haven't really found any information for implementing an Asterisk only failover or load balancing solution. Everyone seems to use SER along with asterisk to accomplish this goal. SER with asterisk may be in my future, but for now I need to get this system up and running. I've setup heartbeat (ultramonkey), and are able to take my primary box offline and have the second machine take over, but it isn't working in regards to asterisk. I can't register phones to the virtual ip. I can ssh into the virtual ip but my soft phones wont register. I get the following error. Is this normal? Does anyone have any experience with this sort of setup without the use of SER? Bryan Mahin Please visit us @ www.uneta.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060324/aeb35f67/attachment.htm
Go through the archives (or your own inbox) for a very, very thorough set of conversations that just passed this way only a week or two ago. There are a few key people working on this type of 'HA' solution and they're pretty close to making it work. They have already identified the key issues that need resolving... Bob McDowell ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Bryan Mahin Sent: Friday, March 24, 2006 11:56 AM To: Asterisk-Users Subject: [Asterisk-Users] Asterisk Failover without SER Hello all, I first want to thank everyone for all your contributions. I've building an asterisk system for a month or so now and without everyone in the online asterisk community I wouldn't have made it this far yet. Thanks! ...ok, mushiness out of the way.. :) I am looking for a failover and ultimately a load balancing asterisk solution. I've done a good bit of research and I haven't really found any information for implementing an Asterisk only failover or load balancing solution. Everyone seems to use SER along with asterisk to accomplish this goal. SER with asterisk may be in my future, but for now I need to get this system up and running. I've setup heartbeat (ultramonkey), and are able to take my primary box offline and have the second machine take over, but it isn't working in regards to asterisk. I can't register phones to the virtual ip. I can ssh into the virtual ip but my soft phones wont register. I get the following error. Is this normal? Does anyone have any experience with this sort of setup without the use of SER? Bryan Mahin ________________________________ Rediscover Personal Service with UNETA Please visit us @ www.uneta.com
Well, I should say... Sporadically I can register to the virtual ip. Other times I can't. ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Bryan Mahin Sent: Friday, March 24, 2006 12:56 PM To: Asterisk-Users Subject: [Asterisk-Users] Asterisk Failover without SER Hello all, I first want to thank everyone for all your contributions. I've building an asterisk system for a month or so now and without everyone in the online asterisk community I wouldn't have made it this far yet. Thanks! ...ok, mushiness out of the way.. :) I am looking for a failover and ultimately a load balancing asterisk solution. I've done a good bit of research and I haven't really found any information for implementing an Asterisk only failover or load balancing solution. Everyone seems to use SER along with asterisk to accomplish this goal. SER with asterisk may be in my future, but for now I need to get this system up and running. I've setup heartbeat (ultramonkey), and are able to take my primary box offline and have the second machine take over, but it isn't working in regards to asterisk. I can't register phones to the virtual ip. I can ssh into the virtual ip but my soft phones wont register. I get the following error. Is this normal? Does anyone have any experience with this sort of setup without the use of SER? Bryan Mahin ________________________________ Rediscover Personal Service with UNETA Please visit us @ www.uneta.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060324/aa3a8911/attachment.htm
You can do a version of failover with phones that support a backup registrar. They will repoint themselves to a second server then. _____ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Bryan Mahin Sent: Friday, March 24, 2006 9:56 AM To: Asterisk-Users Subject: [Asterisk-Users] Asterisk Failover without SER Hello all, I first want to thank everyone for all your contributions. I've building an asterisk system for a month or so now and without everyone in the online asterisk community I wouldn't have made it this far yet. Thanks! .ok, mushiness out of the way.. :) I am looking for a failover and ultimately a load balancing asterisk solution. I've done a good bit of research and I haven't really found any information for implementing an Asterisk only failover or load balancing solution. Everyone seems to use SER along with asterisk to accomplish this goal. SER with asterisk may be in my future, but for now I need to get this system up and running. I've setup heartbeat (ultramonkey), and are able to take my primary box offline and have the second machine take over, but it isn't working in regards to asterisk. I can't register phones to the virtual ip. I can ssh into the virtual ip but my soft phones wont register. I get the following error. Is this normal? Does anyone have any experience with this sort of setup without the use of SER? Bryan Mahin _____ Rediscover Personal Service with UNETA Please visit us @ www.uneta.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060324/156b0ee1/attachment.htm
Hi, I want my users to be able to get into VoiceMailMain when they press * while listening to their own greeting. It`s standard operating procedure with most voicemails I have ever used, and luckily it seems Asterisk can support this behavior with the "a" extension. The only thing, is even after reading the Wiki I am not clear on where to put the "a" extension. I`ve tried putting it in the same context that called Voicemail(), but it didn`t work (and to be honest that much was clear in the wiki). So what context should I put "a" in? Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060324/7fcd3a40/attachment.htm
Here's the $64,000 question... how are you handling redundant registrations?> -----Original Message----- > From: Aaron Daniel [mailto:amdtech@shsu.edu] > Sent: Friday, March 24, 2006 11:32 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: RE: [Asterisk-Users] Asterisk Failover without SER > > > We've actually got two servers handling all the call volume, > and when one > server goes down, the other one fields all phone calls. > We're using a > combination of dialplan magic and dns to make it work. As > long as your > phones can handle multiple ip's for host records and you've got the > dialplan set up right, HA is fairly easy to get working right. > > Aaron > > On Fri, 24 Mar 2006, Bryan Mahin wrote: > > > Well, I should say... Sporadically I can register to the virtual ip. > > Other times I can't. > > > > > > > > ________________________________ > > > > From: asterisk-users-bounces@lists.digium.com > > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Bryan > > Mahin > > Sent: Friday, March 24, 2006 12:56 PM > > To: Asterisk-Users > > Subject: [Asterisk-Users] Asterisk Failover without SER > > > > > > > > Hello all, I first want to thank everyone for all your > contributions. > > I've building an asterisk system for a month or so now and without > > everyone in the online asterisk community I wouldn't have > made it this > > far yet. Thanks! ...ok, mushiness out of the way.. :) > > > > > > > > I am looking for a failover and ultimately a load balancing asterisk > > solution. I've done a good bit of research and I haven't > really found > > any information for implementing an Asterisk only failover or load > > balancing solution. Everyone seems to use SER along with asterisk to > > accomplish this goal. SER with asterisk may be in my > future, but for now > > I need to get this system up and running. > > > > > > > > I've setup heartbeat (ultramonkey), and are able to take my > primary box > > offline and have the second machine take over, but it isn't > working in > > regards to asterisk. I can't register phones to the virtual > ip. I can > > ssh into the virtual ip but my soft phones wont register. I get the > > following error. Is this normal? > > > > > > > > Does anyone have any experience with this sort of setup > without the use > > of SER? > > > > Bryan Mahin > > > > > > > > ________________________________ > > > > Rediscover Personal Service with UNETA > > > > Please visit us @ www.uneta.com > > > > > > -- > Aaron Daniel > Computer Systems Technician > Sam Houston State University > amdtech@shsu.edu > (936) 294-4198 > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
> So what context should I put "a" in?If your voicemail context is "default" (that is, is what context the mailbox is), you have to put the "a" exten in the "default" context. hope that clear things up
Don't quite follow. If the phones have a backup proxy configured, wouldn't that mean they would only register with that backup proxy if the primary was unavailable? In that case, they'd only be registered with a single proxy, not two. We're using polycom phones... they support DNS SRV and seem to work (mostly) well. Phones haven't seemed to have been the issue.> -----Original Message----- > From: Aaron Daniel [mailto:amdtech@shsu.edu] > Sent: Friday, March 24, 2006 12:33 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: RE: [Asterisk-Users] Asterisk Failover without SER > > > Well, most phones have a backup proxy setting, so we've got > all our phones > configured to register with both servers using the backup > proxy, with an > outbound proxy set up so the phones can call out from any > server that's > available. We just got the outbound proxy stuff working, so we can > literally walk in the server room and unplug a call server > and only lose > calls that are in progress, and nobody would know the > difference. We just > got some polycoms in, I'm kinda excited to see how well they > handle the > redundancy. The way we have it set up, we can drop a whole > new server > into the cluster, change like 3 lines of dialplan code, and > add the server > to the proxy list and voila, another server handling more call load :) > > Aaron > > On Fri, 24 Mar 2006, Douglas Garstang wrote: > > > Here's the $64,000 question... how are you handling > redundant registrations? > > > >> -----Original Message----- > >> From: Aaron Daniel [mailto:amdtech@shsu.edu] > >> Sent: Friday, March 24, 2006 11:32 AM > >> To: Asterisk Users Mailing List - Non-Commercial Discussion > >> Subject: RE: [Asterisk-Users] Asterisk Failover without SER > >> > >> > >> We've actually got two servers handling all the call volume, > >> and when one > >> server goes down, the other one fields all phone calls. > >> We're using a > >> combination of dialplan magic and dns to make it work. As > >> long as your > >> phones can handle multiple ip's for host records and you've got the > >> dialplan set up right, HA is fairly easy to get working right. > >> > >> Aaron > >> > >> On Fri, 24 Mar 2006, Bryan Mahin wrote: > >> > >>> Well, I should say... Sporadically I can register to the > virtual ip. > >>> Other times I can't. > >>> > >>> > >>> > >>> ________________________________ > >>> > >>> From: asterisk-users-bounces@lists.digium.com > >>> [mailto:asterisk-users-bounces@lists.digium.com] On > Behalf Of Bryan > >>> Mahin > >>> Sent: Friday, March 24, 2006 12:56 PM > >>> To: Asterisk-Users > >>> Subject: [Asterisk-Users] Asterisk Failover without SER > >>> > >>> > >>> > >>> Hello all, I first want to thank everyone for all your > >> contributions. > >>> I've building an asterisk system for a month or so now and without > >>> everyone in the online asterisk community I wouldn't have > >> made it this > >>> far yet. Thanks! ...ok, mushiness out of the way.. :) > >>> > >>> > >>> > >>> I am looking for a failover and ultimately a load > balancing asterisk > >>> solution. I've done a good bit of research and I haven't > >> really found > >>> any information for implementing an Asterisk only failover or load > >>> balancing solution. Everyone seems to use SER along with > asterisk to > >>> accomplish this goal. SER with asterisk may be in my > >> future, but for now > >>> I need to get this system up and running. > >>> > >>> > >>> > >>> I've setup heartbeat (ultramonkey), and are able to take my > >> primary box > >>> offline and have the second machine take over, but it isn't > >> working in > >>> regards to asterisk. I can't register phones to the virtual > >> ip. I can > >>> ssh into the virtual ip but my soft phones wont register. > I get the > >>> following error. Is this normal? > >>> > >>> > >>> > >>> Does anyone have any experience with this sort of setup > >> without the use > >>> of SER? > >>> > >>> Bryan Mahin > >>> > >>> > >>> > >>> ________________________________ > >>> > >>> Rediscover Personal Service with UNETA > >>> > >>> Please visit us @ www.uneta.com > >>> > >>> > >> > >> -- > >> Aaron Daniel > >> Computer Systems Technician > >> Sam Houston State University > >> amdtech@shsu.edu > >> (936) 294-4198 > >> _______________________________________________ > >> --Bandwidth and Colocation provided by Easynews.com -- > >> > >> Asterisk-Users mailing list > >> To UNSUBSCRIBE or update options visit: > >> http://lists.digium.com/mailman/listinfo/asterisk-users > >> > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > -- > Aaron Daniel > Computer Systems Technician > Sam Houston State University > amdtech@shsu.edu > (936) 294-4198 > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Preeeetty darn sure it isn't an option with the Polycoms.> -----Original Message----- > From: Aaron Daniel [mailto:amdtech@shsu.edu] > Sent: Friday, March 24, 2006 1:23 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: RE: [Asterisk-Users] Asterisk Failover without SER > > > On our phones, when you configure a backup proxy, the phone registers > simultaneously with both servers. I can do a sip show peers > on either > server and see all the phones on the system. Not sure if it > works for the > polycoms, which I'm just starting testing on, but works like > a charm with > the Cisco's. This gives us the redundancy we need with the > system, and > hopefully the Polycoms handle it well. > > Aaron > > On Fri, 24 Mar 2006, Douglas Garstang wrote: > > > Don't quite follow. If the phones have a backup proxy > configured, wouldn't that mean they would only register with > that backup proxy if the primary was unavailable? In that > case, they'd only be registered with a single proxy, not two. > > > > We're using polycom phones... they support DNS SRV and seem > to work (mostly) well. Phones haven't seemed to have been the issue. > > > >> -----Original Message----- > >> From: Aaron Daniel [mailto:amdtech@shsu.edu] > >> Sent: Friday, March 24, 2006 12:33 PM > >> To: Asterisk Users Mailing List - Non-Commercial Discussion > >> Subject: RE: [Asterisk-Users] Asterisk Failover without SER > >> > >> > >> Well, most phones have a backup proxy setting, so we've got > >> all our phones > >> configured to register with both servers using the backup > >> proxy, with an > >> outbound proxy set up so the phones can call out from any > >> server that's > >> available. We just got the outbound proxy stuff working, so we can > >> literally walk in the server room and unplug a call server > >> and only lose > >> calls that are in progress, and nobody would know the > >> difference. We just > >> got some polycoms in, I'm kinda excited to see how well they > >> handle the > >> redundancy. The way we have it set up, we can drop a whole > >> new server > >> into the cluster, change like 3 lines of dialplan code, and > >> add the server > >> to the proxy list and voila, another server handling more > call load :) > >> > >> Aaron > >> > >> On Fri, 24 Mar 2006, Douglas Garstang wrote: > >> > >>> Here's the $64,000 question... how are you handling > >> redundant registrations? > >>> > >>>> -----Original Message----- > >>>> From: Aaron Daniel [mailto:amdtech@shsu.edu] > >>>> Sent: Friday, March 24, 2006 11:32 AM > >>>> To: Asterisk Users Mailing List - Non-Commercial Discussion > >>>> Subject: RE: [Asterisk-Users] Asterisk Failover without SER > >>>> > >>>> > >>>> We've actually got two servers handling all the call volume, > >>>> and when one > >>>> server goes down, the other one fields all phone calls. > >>>> We're using a > >>>> combination of dialplan magic and dns to make it work. As > >>>> long as your > >>>> phones can handle multiple ip's for host records and > you've got the > >>>> dialplan set up right, HA is fairly easy to get working right. > >>>> > >>>> Aaron > >>>> > >>>> On Fri, 24 Mar 2006, Bryan Mahin wrote: > >>>> > >>>>> Well, I should say... Sporadically I can register to the > >> virtual ip. > >>>>> Other times I can't. > >>>>> > >>>>> > >>>>> > >>>>> ________________________________ > >>>>> > >>>>> From: asterisk-users-bounces@lists.digium.com > >>>>> [mailto:asterisk-users-bounces@lists.digium.com] On > >> Behalf Of Bryan > >>>>> Mahin > >>>>> Sent: Friday, March 24, 2006 12:56 PM > >>>>> To: Asterisk-Users > >>>>> Subject: [Asterisk-Users] Asterisk Failover without SER > >>>>> > >>>>> > >>>>> > >>>>> Hello all, I first want to thank everyone for all your > >>>> contributions. > >>>>> I've building an asterisk system for a month or so now > and without > >>>>> everyone in the online asterisk community I wouldn't have > >>>> made it this > >>>>> far yet. Thanks! ...ok, mushiness out of the way.. :) > >>>>> > >>>>> > >>>>> > >>>>> I am looking for a failover and ultimately a load > >> balancing asterisk > >>>>> solution. I've done a good bit of research and I haven't > >>>> really found > >>>>> any information for implementing an Asterisk only > failover or load > >>>>> balancing solution. Everyone seems to use SER along with > >> asterisk to > >>>>> accomplish this goal. SER with asterisk may be in my > >>>> future, but for now > >>>>> I need to get this system up and running. > >>>>> > >>>>> > >>>>> > >>>>> I've setup heartbeat (ultramonkey), and are able to take my > >>>> primary box > >>>>> offline and have the second machine take over, but it isn't > >>>> working in > >>>>> regards to asterisk. I can't register phones to the virtual > >>>> ip. I can > >>>>> ssh into the virtual ip but my soft phones wont register. > >> I get the > >>>>> following error. Is this normal? > >>>>> > >>>>> > >>>>> > >>>>> Does anyone have any experience with this sort of setup > >>>> without the use > >>>>> of SER? > >>>>> > >>>>> Bryan Mahin > >>>>> > >>>>> > >>>>> > >>>>> ________________________________ > >>>>> > >>>>> Rediscover Personal Service with UNETA > >>>>> > >>>>> Please visit us @ www.uneta.com > >>>>> > >>>>> > >>>> > >>>> -- > >>>> Aaron Daniel > >>>> Computer Systems Technician > >>>> Sam Houston State University > >>>> amdtech@shsu.edu > >>>> (936) 294-4198 > >>>> _______________________________________________ > >>>> --Bandwidth and Colocation provided by Easynews.com -- > >>>> > >>>> Asterisk-Users mailing list > >>>> To UNSUBSCRIBE or update options visit: > >>>> http://lists.digium.com/mailman/listinfo/asterisk-users > >>>> > >>> _______________________________________________ > >>> --Bandwidth and Colocation provided by Easynews.com -- > >>> > >>> Asterisk-Users mailing list > >>> To UNSUBSCRIBE or update options visit: > >>> http://lists.digium.com/mailman/listinfo/asterisk-users > >>> > >> > >> -- > >> Aaron Daniel > >> Computer Systems Technician > >> Sam Houston State University > >> amdtech@shsu.edu > >> (936) 294-4198 > >> _______________________________________________ > >> --Bandwidth and Colocation provided by Easynews.com -- > >> > >> Asterisk-Users mailing list > >> To UNSUBSCRIBE or update options visit: > >> http://lists.digium.com/mailman/listinfo/asterisk-users > >> > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > -- > Aaron Daniel > Computer Systems Technician > Sam Houston State University > amdtech@shsu.edu > (936) 294-4198 > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >