Re: [asterisk-users] load-balancing AMI and load-balancing FastAGI?

2015-08-11 Thread Paul Simon
Anyone? -- _ -- 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

Re: [asterisk-users] Load Balancing with DNS SRV without DUNDI

2015-05-25 Thread Adrian Serafini
On 05/24/2015 11:01 PM, Mehdi Shirazi wrote: Hi I want to load balance SIP calls between two(or more) Asterisks with only DNS SRV. I used bidirectional sync Unison to synchronize configuration files and internal database file between two Asterisk boxes. The problem is when a calls come to

Re: [asterisk-users] Load Balancing

2013-05-06 Thread Olivier
I came accross this article (Asterisk rtp mprovements http://www.voip-forum.com/opensource/2013-04/asterisk-rtp-improvements/) mentioning DNS based load balancing. I will give Opensips loadbalance module further reading to better understand how it works Thanks for the tip. 2013/4/25

Re: [asterisk-users] Load Balancing

2013-04-25 Thread acheraime
You the couple opensips + asterisk will help you. Opensips loadbalance module is your friend. Sent from my iPhone On Apr 25, 2013, at 11:44 AM, Olivier oza_4...@yahoo.fr wrote: Hello, I've been given the task to study what would a good way to load balance SIP trafic. The prospective

Re: [asterisk-users] Load balancing Asterisk.

2008-12-12 Thread Al lists
Foundry serverIron does support SIP and its ASIC not a linux box Load balancer like F5, Refer to Chapter 10 (page 677) of ServerIron manual. It explains everything in detail. Also you may need to play with source nat a little bit to make your specific configuration work, but it should work, at

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Grygoriy Dobrovolskyy
2008/11/20 Nitzan Kon [EMAIL PROTECTED] Hello! We're looking for a solution to reliably load balance our Asterisk boxes. So far we've been using a hodge-podge of directing different services to different boxes/IPs, but eventually I'd like to consolidate things so we can present a single IP

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Nitzan Kon
--- On Thu, 11/20/08, Grygoriy Dobrovolskyy [EMAIL PROTECTED] wrote: 2 openser servers with 3 ip adresses (1 virtual) + heartbeat to ensure the failover + watchdog to ensure if opensips/kamalio/openser crashes a nice failover reboot, it is working stable here (dispatching to 10 servers +

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Alex Balashov
What do you mean by hardware options? There are no ASIC-assisted SIP load balancers out there. :-) The embedded hardware-based options are load balancers built just like PCs - often on top of a UNIX kernel - that run a software application-aware load balancing suite. Your best bet is a

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Jeff LaCoursiere
Hardware solutions are of course simply packaged software solutions. Personally I would go with something that has this wonderful support base and quick solutions versus dealing with a vendor. You did mention that price was a consideration, right? j On Thu, 20 Nov 2008, Nitzan Kon wrote:

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Nitzan Kon
Alex, I realize and agree that hardware load balancers are actually software based. I'm less concerned about that and more about the general specs: Foundry ServerIron XL: rated for 1,000,000 concurrent connections Linux box where OpenSIPS is sitting: rated for ...??? Not to mention a simple

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Alex Balashov
Nitzan Kon wrote: Foundry ServerIron XL: rated for 1,000,000 concurrent connections Linux box where OpenSIPS is sitting: rated for ...??? Because OpenSER's load balancer is hash-based and not stateful, it is rated for far, far more than that. -- Alex Balashov Evariste Systems Web:

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread SIP
Unless the LB is SIP-aware, and can maintain a SIP session, I don't see how it would work. As the SIP command stream sends discrete commands, without some sort of basic level of session awareness, there's no guarantee over a reasonable-length call that the INVITE and BYE would even get sent to the

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Alex Balashov
The solution to make this work and still work statelessly is to hash various unique identifying bits of the SIP headers without maintaining transactional, session or dialog information as such. SIP wrote: Unless the LB is SIP-aware, and can maintain a SIP session, I don't see how it would

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Grey Man
This baby talks about being able to do hardware SIP load balancing. http://www.f5.com/news-press-events/press/2007/20070212.html I've never used an f5 product so I can't provide any comments from experience. I did look at an f5 load balancer product once and the price was over 6 figures that was

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Nitzan Kon
N, SIP-aware LBs do exist - but way way out of my price range. Alex, Remember we are an Asterisk-based provider. I'm not going to drop enough money on a load balancer to go bankrupt. ;) That's exactly why I'm wondering if it's possible to do this with a DUMB load balancer. i.e. one that would

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Alex Balashov
I was about to say, I'm sure F5 can do it... but... price was over 6 figures Why??! It's spending money on these types of things when they are unnecessary that is the undoing of every struggling VoIP provider I watch, in the misguided belief that only will half a million dollars get you

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Alex Balashov
Nitzan Kon wrote: My concerns with OpenSIPS: 1. It's a software based solution, which means higher chance of software-related failure, and higher chance of failure due to problems with the Linux box hosting it. A little bit of proper engineering will overcome that reasonably. 2. Overkill

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread SIP
Alex Balashov wrote: I was about to say, I'm sure F5 can do it... but... price was over 6 figures Why??! It's spending money on these types of things when they are unnecessary that is the undoing of every struggling VoIP provider I watch, in the misguided belief that only will half a

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Grygoriy Dobrovolskyy
2. Overkill to install and maintain (if we can get a simpler solution) I am not agreed on point 2: If I understood how to install opensips + heartbeat WITHOUT knowing any program (opensips ? heartbear ?) or programming language(hell yes!) in a week ( just knew what's invite and bye ;) a more

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Nitzan Kon
--- On Thu, 11/20/08, Grygoriy Dobrovolskyy [EMAIL PROTECTED] wrote: I am not agreed on point 2: If I understood how to install opensips + heartbeat WITHOUT knowing any program (opensips ? heartbear ?) or programming language(hell yes!) in a week ( just knew what's invite and bye ;) a more

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Alex Balashov
Nitzan Kon wrote: --- On Thu, 11/20/08, Grygoriy Dobrovolskyy [EMAIL PROTECTED] wrote: I am not agreed on point 2: If I understood how to install opensips + heartbeat WITHOUT knowing any program (opensips ? heartbear ?) or programming language(hell yes!) in a week ( just knew what's

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Grey Man
3. Incoming calls - I admit complete ignorance. I don't know how OpenSIPS handles incoming calls, but for those to arrive at the user reliably they must arrive from the same IP address the user is registered to. Otherwise their broadband router's NAT firewall will just block the connection.

Re: [asterisk-users] Load balancing Asterisk.

2008-11-20 Thread Alex Balashov
SIP wrote: As for the current F5 SIP load balancer, we tried it a few years back and it was a dismal failure. It wanted to do cookie-based SIP load balancing and only worked with certain SIP proxies. I assume that is because there is no way RFC-supported way to insert a cookie into a SIP

Re: [asterisk-users] load balancing

2008-03-07 Thread CSB
For outbound trunking we go directly from Asterisk to the terminating gateway no SIP Proxy involved. For inbound trunking we do go through the SIP Proxy for the same reason you get users to. Incoming calls are going to be more reliable if they are not tied to a single Asterisk server (I

Re: [asterisk-users] load balancing

2008-03-07 Thread CSB
There are a few gotchas with a SIP Proxy the main one being transfers. But if you can get away with not allowing transfers then you are best to do so as the CDR's Asterisk produces are wrong anyway. What is the transfer problem? Is it the Asterisk native type using features.conf or the SIP

Re: [asterisk-users] load balancing

2008-02-28 Thread Grey Man
On Fri, Feb 29, 2008 at 2:01 AM, Ron [EMAIL PROTECTED] wrote: Hi All, If i have this kind of setup, what do i need to make it's load balance. [ asterisk 1 ] -- [ asterisk 2 ] -- [ asterisk 3 ] -- [ asterisk 4 ] | | | |

Re: [asterisk-users] load balancing

2008-02-28 Thread Ron
Hi Greyman, Should it look like this now? Can i use 2 SIP Proxies just to make sure i have a backup? will that cause any problem again with regards to calling extension to extension? Extensions will register on the asterisk still? How about outbound calls to other SIP provider or a

Re: [asterisk-users] load balancing

2008-02-28 Thread Yehavi Bourvine +972-8-9489444
If i have this kind of setup, what do i need to make it's load balance. [ asterisk 1 ] -- [ asterisk 2 ] -- [ asterisk 3 ] -- [ asterisk 4 ] | | | | - |

Re: [asterisk-users] load balancing

2008-02-28 Thread Grey Man
On Fri, Feb 29, 2008 at 4:03 AM, Ron [EMAIL PROTECTED] wrote: Hi Greyman, Should it look like this now? Can i use 2 SIP Proxies just to make sure i have a backup? will that cause any problem again with regards to calling extension to extension? Extensions will register on the asterisk

Re: [asterisk-users] load balancing

2008-02-28 Thread Grey Man
On Fri, 29 Feb 2008 6:21 +0200, Yehavi Bourvine +972-8-9489444 [EMAIL PROTECTED] wrote: See the discussion a few days ago. The Asterisk server saves the value of SYSNAME (defined in asterisk.conf) in the field REGSERVER inside MySQL. Regards, __Yehavi: Ahh

Re: [asterisk-users] Load balancing SIP extensions.

2008-02-24 Thread Yehavi Bourvine +972-8-9489444
Hello, Here is how I do this. The prerequisits are: - MySQL to hold the extensions realtime database. MySQL is synchronized among all servers using the Master/slave replication model. - The phones are spread by some external algorithm over the Asterisk servers (statefull load balancer,

Re: [asterisk-users] load balancing SIP extensions

2008-02-23 Thread Anthony Francis
Vieri wrote: What I would like to do is have two identical * servers which accept registrations of sip extensions 4000-4999. If I define a rrDNS or LinuxHA then I should have load-balanced registrations. However, say ext. 4001 is registered on *1 and 4002 is registered on *2, if 4001

Re: [asterisk-users] load balancing SIP extensions

2008-02-23 Thread Raj Jain
On Fri, 22 Feb 2008 19:44 +0200, Yehavi Bourvine +972-8-9489444 [EMAIL PROTECTED] wrote: When a call arrives I check whether the REGSERVER coloumn is the same as the local server or not. If not, then there are two options: - Pass the call via IAX to the other servers; this makes both server

Re: [asterisk-users] load balancing SIP extensions

2008-02-23 Thread Vieri
--- Anthony Francis [EMAIL PROTECTED] wrote: Have you tried placing the sip registrations in a db using realtime? I'm not that sure I want to use realtime because I would then depend on the sql service never failing (I could use clustered active-active MySQL but that sounds overkill, or maybe

Re: [asterisk-users] load balancing SIP extensions

2008-02-22 Thread Andres Jimenez
On Fri, Feb 22, 2008 at 11:42 AM, Vieri [EMAIL PROTECTED] wrote: However, say ext. 4001 is registered on *1 and 4002 is registered on *2, if 4001 tries to call 4002 then I would like to do something like: - lookup 4002 on *1, try to establish a call if it's REGISTERED here - if it's

Re: [asterisk-users] load balancing SIP extensions

2008-02-22 Thread Yehavi Bourvine +972-8-9489444
What I would like to do is have two identical * servers which accept registrations of sip extensions 4000-4999. If I define a rrDNS or LinuxHA then I should have load-balanced registrations. However, say ext. 4001 is registered on *1 and 4002 is registered on *2, if 4001 tries to call

Re: [asterisk-users] load balancing SIP extensions

2008-02-22 Thread Vieri
--- Andres Jimenez [EMAIL PROTECTED] wrote: On Fri, Feb 22, 2008 at 11:42 AM, Vieri [EMAIL PROTECTED] wrote: However, say ext. 4001 is registered on *1 and 4002 is registered on *2, if 4001 tries to call 4002 then I would like to do something like: - lookup 4002 on *1, try to

Re: [asterisk-users] load balancing SIP extensions

2008-02-22 Thread Andres Jimenez
On Fri, Feb 22, 2008 at 5:49 PM, Vieri [EMAIL PROTECTED] wrote: --- Andres Jimenez [EMAIL PROTECTED] wrote: On Fri, Feb 22, 2008 at 11:42 AM, Vieri [EMAIL PROTECTED] wrote: However, say ext. 4001 is registered on *1 and 4002 is registered on *2, if 4001 tries to call 4002

Re: [asterisk-users] load balancing SIP extensions

2008-02-22 Thread Andres Jimenez
On Fri, Feb 22, 2008 at 5:49 PM, Vieri [EMAIL PROTECTED] wrote: Thanks. I'll try that although I hope it won't go into an infinite loop between the 2 servers. You are right. That could happen if the phone is not registered anywhere You can put some security in the dialplan. if calls

Re: [asterisk-users] load balancing SIP extensions

2008-02-22 Thread Jared Bellows
I tried to use DUNDi on my local servers but I can't seem to make it work. Most howtos out there explain the use of DUNDi when the extension ranges do not overlap. The following doc describes using the same extensions across multiple * servers. It requires using realtime, but seems to do

Re: [asterisk-users] Load Balancing over 2 E1 Lines

2007-12-30 Thread Dovid B
: Wednesday, December 12, 2007 11:28 AM Subject: Re: [asterisk-users] Load Balancing over 2 E1 Lines On Dec 12, 2007 8:08 AM, Eric Delaporte [EMAIL PROTECTED] wrote: I read something about DIAL(Zap/r1/…) for using round robin, and it seems to work. That will give you the same number of calls routed

Re: [asterisk-users] Load Balancing over 2 E1 Lines

2007-12-12 Thread Andres Jimenez
On Dec 12, 2007 8:08 AM, Eric Delaporte [EMAIL PROTECTED] wrote: I read something about DIAL(Zap/r1/…) for using round robin, and it seems to work. That will give you the same number of calls routed to each line Is there any other possible way to make sure that all lines are used in the

Re: [asterisk-users] Load Balancing over 2 E1 Lines

2007-12-12 Thread Marco Mouta
Why not Random application available in Asterisk ? quite simple I believe. asterisk1*CLI show application Random -= Info about application 'Random' =- [Synopsis] Conditionally branches, based upon a probability [Description] Random([probability]:[[context|]extension|]priority) probability

Re: [asterisk-users] Load balancing SIP trunks?

2007-08-16 Thread Gordon Henderson
On Wed, 15 Aug 2007, Nicholas Blasgen wrote: I have 10 SIP trunks that I'd really like to round-robin load balance. Currently I have a macro that switches between available lines, but there really must be a function in Asterisk to do this on its own. So my question is just that, are there

Re: [asterisk-users] Load balancing SIP trunks?

2007-08-16 Thread Matt Riddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nicholas Blasgen wrote: I have 10 SIP trunks that I'd really like to round-robin load balance. Currently I have a macro that switches between available lines, but there really must be a function in Asterisk to do this on its own. So my question

Re: [asterisk-users] Load balancing of IAX2

2006-08-04 Thread Florian Overkamp
Hi, Kamran Ahmad wrote: any idea how to loadbalance IAX2 trafic to multiple asteirsk Use app_random: exten = _X.,2,Random(50:6) exten = _X.,3,Dial(IAX2/server01/${EXTEN}) exten = _X.,4,Dial(IAX2/server02/${EXTEN}) exten = _X.,5,Goto(8) exten = _X.,6,Dial(IAX2/server02/${EXTEN}) exten =

Re: [Asterisk-Users] Load balancing for each protocol

2005-06-12 Thread Matt Riddell
Yves wrote: Hello, I'm trying to find a good solution for load-balancing of several Asterisk box, for each VoIP protocol (IAX,SIP,H323). My idea is to have a front VoIP router (or several) who dispatches the calls of the different boxes. This routing can be done with SER for SIP (redirect

Re: [Asterisk-Users] Load balancing for each protocol

2005-06-12 Thread Michiel van Baak
On 00:03, Mon 13 Jun 05, Matt Riddell wrote: Yves wrote: Hello, I'm trying to find a good solution for load-balancing of several Asterisk box, for each VoIP protocol (IAX,SIP,H323). My idea is to have a front VoIP router (or several) who dispatches the calls of the different boxes.

Re: [Asterisk-Users] Load balancing for each protocol

2005-06-12 Thread Yves
I was more thinking about a linux-ha heartbeat system between the redundant devices. The voicemail propagation is not a problem as I don't use it, and the dialplan is stored on a remote database (that's another problem to make redundant :) ). The point I have to check now is how to configure

Re: [Asterisk-Users] Load Balancing b/w 2 asterisk servers using SIPload balancer

2005-03-15 Thread Jagan Mohan
I need to do load balancing only for the following functionalities: 1) Registration of SIP clients to * servers. 2) Load balancing of the INVITEs from SIP clients to different * servers. I'm not interested in supporting the features, which you have mentioned below. I'm not aware how the

Re: [Asterisk-Users] Load Balancing b/w 2 asterisk servers usingSIPload balancer

2005-03-15 Thread Matthew Boehm
Jagan Mohan wrote: I need to do load balancing only for the following functionalities: 1) Registration of SIP clients to * servers. 2) Load balancing of the INVITEs from SIP clients to different * servers. I'm not interested in supporting the features, which you have mentioned below.

Re: [Asterisk-Users] Load Balancing b/w 2 asterisk servers using SIPload balancer

2005-03-11 Thread Matthew Boehm
How do you plan on supporting call queues, parking and agents with 2 * servers? This is something that has blocked us from being able to do our own SER-based load balancing. -Matthew Jagan Mohan wrote: Hi, I'm trying to do load balancing between 2 asterisk servers using SIP load balancer,

Re: [Asterisk-Users] load balancing 20 asterisk servers

2005-02-03 Thread Roy Sigurd Karlsbakk
I beleive what you're looking for is a scalable SIP proxy, like SER :) That way, all clients registers to SER and SER redirects the caller to one of the asterisk boxes. Search the wiki at voip-info.org for asterisk at large :) Yes, that is one of the many pages I've read. But we still have a

Re: [Asterisk-Users] load balancing 20 asterisk servers

2005-02-03 Thread Philipp von Klitzing
Hi! http://drmac.homeunix.net/images/load_balancer.jpg You won't need the second balancer. SER can do that. Seconded. For growth, all you do is add more SER and more Asterisk boxes. Are you sure one SER box won't be sufficient? Makes sense to me to have these TWO - you can take one

Re: [Asterisk-Users] load balancing 20 asterisk servers

2005-02-03 Thread Roy Sigurd Karlsbakk
For growth, all you do is add more SER and more Asterisk boxes. Are you sure one SER box won't be sufficient? Makes sense to me to have these TWO - you can take one of those off-line without interrupting service, and that's the entire idea of this discussion, isn't it? ;- Yeah Get two cisco load

Re: [Asterisk-Users] load balancing 20 asterisk servers

2005-02-02 Thread Rich Adamson
Inline... I've read several other emails and pages on the wiki but none give any deffinate answers. if you have 20 asterisk servers each with 4 pri's, all running RealTime Extensions and RealTime SIPBuddies from the same MySQL server, what prevents you from putting all 20 servers behind a

Re: [Asterisk-Users] load balancing 20 asterisk servers

2005-02-02 Thread Matthew Boehm
I'd have to guess that registrations would be the tricky part of an implementation simply because there are so many variations of that. Actually, this is the easiest part. It doesn't matter how often a UA registers nor does it matter to which of the 20 servers handles the registration since

Re: [Asterisk-Users] load balancing 20 asterisk servers

2005-02-02 Thread Rich Adamson
I'd have to guess that registrations would be the tricky part of an implementation simply because there are so many variations of that. Actually, this is the easiest part. It doesn't matter how often a UA registers nor does it matter to which of the 20 servers handles the registration

Re: [Asterisk-Users] load balancing 20 asterisk servers

2005-02-02 Thread Roy Sigurd Karlsbakk
I've read several other emails and pages on the wiki but none give any deffinate answers. if you have 20 asterisk servers each with 4 pri's, all running RealTime Extensions and RealTime SIPBuddies from the same MySQL server, what prevents you from putting all 20 servers behind a single load

Re: [Asterisk-Users] load balancing 20 asterisk servers

2005-02-02 Thread Matthew Boehm
I beleive what you're looking for is a scalable SIP proxy, like SER :) That way, all clients registers to SER and SER redirects the caller to one of the asterisk boxes. Search the wiki at voip-info.org for asterisk at large :) Yes, that is one of the many pages I've read. But we still

Re: [Asterisk-Users] load balancing 20 asterisk servers

2005-02-02 Thread Ariel Mónaco
Non-Commercial Discussion" asterisk-users@lists.digium.com Sent: Wednesday, February 02, 2005 5:43 PM Subject: Re: [Asterisk-Users] load balancing 20 asterisk servers I beleive what you're looking for is a scalable SIP proxy, like SER :) That way, all clients registers to SER and SER redirects

Re: [Asterisk-Users] load balancing 20 asterisk servers

2005-02-01 Thread Shaun Dwyer
Hi, You may want to look into LVS (Linux Virtual Server). It allows load ballancing in a highly configurable way. http://www.linuxvirtualserver.org/ We use it on our web and mail server to load ballance across multiple hosts. The way we have it configured it will maintain a session for 15