Andy Chung (Power-All)
2006-Aug-29 18:49 UTC
[asterisk-users] SER Dispatcher Load Balance How-To?
Hi all, I have three Asterisk servers behind a SER. I want to know how to configure the Dispatcher module of SER to achieve load balance for the Asterisk servers. I have visited http://www.openser.org/docs/modules/1.1.x/dispatcher.html, is there any web sites have more detail information on that? Thanks! Andy
Douglas Garstang
2006-Aug-29 20:04 UTC
[asterisk-users] SER Dispatcher Load Balance How-To?
That might not be a good idea. If you transfer or forward calls on your phones, you MUST make sure the transferred or forwarded call goes back to the same Asterisk box it was handled on. If you use the dispatcher, and load balance, there is no guarantee of that, and transfers and forwarding will break. Doug. -----Original Message----- From: Andy Chung (Power-All) [mailto:andychung@powerallnetworks.com] Sent: Tue 8/29/2006 7:49 PM To: asterisk-users@lists.digium.com Cc: Subject: [asterisk-users] SER Dispatcher Load Balance How-To? Hi all, I have three Asterisk servers behind a SER. I want to know how to configure the Dispatcher module of SER to achieve load balance for the Asterisk servers. I have visited http://www.openser.org/docs/modules/1.1.x/dispatcher.html, is there any web sites have more detail information on that? Thanks! Andy _______________________________________________ --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
Andy Chung (Power-All)
2006-Aug-29 20:08 UTC
[asterisk-users] SER Dispatcher Load Balance How-To?
Hi Douglas, Thanks for your advice. So is there any alternatives? Thanks! Andy Douglas Garstang wrote:> That might not be a good idea. If you transfer or forward calls on your phones, you MUST make sure the transferred or forwarded call goes back to the same Asterisk box it was handled on. If you use the dispatcher, and load balance, there is no guarantee of that, and transfers and forwarding will break. > > Doug. > > -----Original Message----- > From: Andy Chung (Power-All) [mailto:andychung@powerallnetworks.com] > Sent: Tue 8/29/2006 7:49 PM > To: asterisk-users@lists.digium.com > Cc: > Subject: [asterisk-users] SER Dispatcher Load Balance How-To? > > > > Hi all, > > I have three Asterisk servers behind a SER. I want to know how to > configure the Dispatcher module of SER to achieve load balance for the > Asterisk servers. I have visited > http://www.openser.org/docs/modules/1.1.x/dispatcher.html, is there any > web sites have more detail information on that? > > Thanks! > Andy > _______________________________________________ > --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 >
Douglas Garstang
2006-Aug-29 20:42 UTC
[asterisk-users] SER Dispatcher Load Balance How-To?
Not really. You need to make sure that a phone always uses the same primary asterisk system under normal circumstances. You can simulate load balancing my staggering your phones to use different asterisk systems. -----Original Message----- From: Andy Chung (Power-All) [mailto:andychung@powerallnetworks.com] Sent: Tue 8/29/2006 9:08 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Subject: Re: [asterisk-users] SER Dispatcher Load Balance How-To? Hi Douglas, Thanks for your advice. So is there any alternatives? Thanks! Andy Douglas Garstang wrote: > That might not be a good idea. If you transfer or forward calls on your phones, you MUST make sure the transferred or forwarded call goes back to the same Asterisk box it was handled on. If you use the dispatcher, and load balance, there is no guarantee of that, and transfers and forwarding will break. > > Doug. > > -----Original Message----- > From: Andy Chung (Power-All) [mailto:andychung@powerallnetworks.com] > Sent: Tue 8/29/2006 7:49 PM > To: asterisk-users@lists.digium.com > Cc: > Subject: [asterisk-users] SER Dispatcher Load Balance How-To? > > > > Hi all, > > I have three Asterisk servers behind a SER. I want to know how to > configure the Dispatcher module of SER to achieve load balance for the > Asterisk servers. I have visited > http://www.openser.org/docs/modules/1.1.x/dispatcher.html, is there any > web sites have more detail information on that? > > Thanks! > Andy > _______________________________________________ > --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 > _______________________________________________ --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
Jeremy McNamara
2006-Aug-30 00:31 UTC
[asterisk-users] SER Dispatcher Load Balance How-To?
Andy Chung (Power-All) wrote:> Hi all, > > I have three Asterisk servers behind a SER. I want to know how to > configure the Dispatcher module of SER to achieve load balance for the > Asterisk servers. I have visited > http://www.openser.org/docs/modules/1.1.x/dispatcher.html, is there any > web sites have more detail information on that?Why not just use DNS round robin in various route[x] blocks in SER? This way you can load balance anything based on the URI that was requested. We use this approach and it works very very nicely - In fact I haven't even so much as thought about SER in a very long time, it just works. I prefer SER over OpenSER, but that's me. Jeremy McNamara
Douglas Garstang
2006-Aug-30 07:31 UTC
[asterisk-users] SER Dispatcher Load Balance How-To?
Anything is possible. The biggest challenge with OpenSER is getting past the horrible documentation and the cryptic, one line responses to questions asked in the mailing list.> -----Original Message----- > From: Adam Linford [mailto:adam.linford@oralnet.co.uk] > Sent: Wednesday, August 30, 2006 5:33 AM > To: 'Asterisk Users Mailing List - Non-Commercial Discussion' > Subject: RE: [asterisk-users] SER Dispatcher Load Balance How-To? > > > SER/OpenSER can get around call forwarding/transfer problems. > You just need > to account for those SIP dialogue's that can be problematic, > and bypass > using the dispatcher module for those situations. > > One thing to remember is to replicate usr-loc info that is > cached in memory, > otherwise load-balancing for INVITE's will fail if passed to > a proxy that > did not receive the REGISTER request for sending party. The standard > t_replicate() function only supports replication between two > SER/OpenSER > proxies, so if you are looking to add in any more, you will > need a more > manual approach. OpenSER 1.1.0 actually offers the ability to operate > completely out of a database, even for usr-loc, which could > work for you. > > Other approaches for load balancing include DNS round-robin > techniques, and > separate software or hardware appliances dedicated to load > distribution. I > have successfully worked with Foundry ServerIron's, and > Vovida's Open Source > load-balancing proxy, in the past. > > Cheers, > Adam > > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Douglas > Garstang > Sent: 30 August 2006 04:05 > To: Asterisk Users Mailing List - Non-Commercial Discussion; > asterisk-users@lists.digium.com > Subject: RE: [asterisk-users] SER Dispatcher Load Balance How-To? > > That might not be a good idea. If you transfer or forward > calls on your > phones, you MUST make sure the transferred or forwarded call > goes back to > the same Asterisk box it was handled on. If you use the > dispatcher, and load > balance, there is no guarantee of that, and transfers and > forwarding will > break. > > Doug. > > -----Original Message----- > From: Andy Chung (Power-All)[mailto:andychung@powerallnetworks.com] Sent: Tue 8/29/2006 7:49 PM To: asterisk-users@lists.digium.com Cc: Subject: [asterisk-users] SER Dispatcher Load Balance How-To? Hi all, I have three Asterisk servers behind a SER. I want to know how to configure the Dispatcher module of SER to achieve load balance for the Asterisk servers. I have visited http://www.openser.org/docs/modules/1.1.x/dispatcher.html, is there any web sites have more detail information on that? Thanks! Andy _______________________________________________ --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
Douglas Garstang
2006-Aug-30 07:32 UTC
[asterisk-users] SER Dispatcher Load Balance How-To?
> -----Original Message----- > From: Jeremy McNamara [mailto:jj@nufone.net] > Sent: Wednesday, August 30, 2006 1:31 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] SER Dispatcher Load Balance How-To? > > > Andy Chung (Power-All) wrote: > > Hi all, > > > > I have three Asterisk servers behind a SER. I want to know how to > > configure the Dispatcher module of SER to achieve load > balance for the > > Asterisk servers. I have visited > > http://www.openser.org/docs/modules/1.1.x/dispatcher.html, > is there any > > web sites have more detail information on that? > > > Why not just use DNS round robin in various route[x] blocks in SER? > This way you can load balance anything based on the URI that > was requested.What about transfers and forwards?
Douglas Garstang
2006-Aug-30 07:34 UTC
[asterisk-users] SER Dispatcher Load Balance How-To?
> -----Original Message----- > From: Aaron Daniel [mailto:amdtech@shsu.edu] > Sent: Tuesday, August 29, 2006 11:07 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: RE: [asterisk-users] SER Dispatcher Load Balance How-To? > > > Well, it really depends on what he's using the asterisk > servers for. If > it's for voicemail or apps, he'll just have to make sure that certain > apps land on certain servers, and voicemail can be distributed for > various things. If ser can do what I've heard/read it can do, it can > handle all the basic call functions (i.e. forwarding) for plenty of > calls. Also, if the asterisk servers are just acting as > gateways (i.e. > t1, e1, etc), then they will have no problem handling a load balanced > configuration.To do that, you'd need to use the avpops module in OpenSER. You think Asterisk documentation is bad? Wait until you try and get that stuff to work.