Re: [asterisk-users] Multiple IAX2 Trunks Load balancing

2013-12-15 Thread Brian LaVallee
Are you looking for something like this? Note: This will continuously go between the two trunks until the caller hangs up, can be fixed by adding loop counter. ; ; extensions.conf ; [LOADBALANCE] exten = _X.,1,NoOp(Connect to least used trunk) ; - show active count exten = _X.,n,NoOp(Calls:

Re: [asterisk-users] Multiple IAX2 Trunks Load balancing

2013-12-13 Thread Steven Howes
On 13 Dec 2013, at 07:48, Muhammad Usman replyus...@gmail.com wrote: Hi - I have 2 Asterisk servers connected using 05 IAX2 trunks. I want to load balance incoming calls over IAX2 trunks. If any trunk goes down the calls traffic will be shared with other available trunks. When it gets Up the

Re: [asterisk-users] Multiple IAX2 Trunks Load balancing

2013-12-13 Thread Muhammad Usman
yeah -- searching how to perform this magic ... On Fri, Dec 13, 2013 at 2:29 PM, Steven Howes steve-li...@geekinter.netwrote: On 13 Dec 2013, at 07:48, Muhammad Usman replyus...@gmail.com wrote: Hi - I have 2 Asterisk servers connected using 05 IAX2 trunks. I want to load balance incoming

Re: [asterisk-users] Multiple IAX2 Trunks Load balancing

2013-12-13 Thread Hans Witv;iet
On Fri, 2013-12-13 at 12:48 +0500, Muhammad Usman wrote: Hi - I have 2 Asterisk servers connected using 05 IAX2 trunks. I want to load balance incoming calls over IAX2 trunks. If any trunk goes down the calls traffic will be shared with other available trunks. When it gets Up the script is

Re: [asterisk-users] Multiple IAX2 Trunks Load balancing

2013-12-13 Thread Don Kelly
On Fri, 2013-12-13 at 12:48 +0500, Muhammad Usman wrote: Hi - I have 2 Asterisk servers connected using 05 IAX2 trunks. I want to load balance incoming calls over IAX2 trunks. If any trunk goes down the calls traffic will be shared with other available trunks. When it gets Up the script is

Re: [asterisk-users] Multiple IAX2 Trunks Load balancing

2013-12-13 Thread Steve Edwards
On Fri, 13 Dec 2013, Don Kelly wrote: What's the value of load balancing multiple IAX trunks between the same system pair? What resources are being balanced? 1) It's been said (but I've never experienced it) that IAX performs poorly at high channel levels. Something about all those packets

Re: [asterisk-users] Multiple IAX2 Trunks Load balancing

2013-12-13 Thread Hans Witvliet
On Fri, 2013-12-13 at 06:20 -0600, Don Kelly wrote: On Fri, 2013-12-13 at 12:48 +0500, Muhammad Usman wrote: Hi - I have 2 Asterisk servers connected using 05 IAX2 trunks. I want to load balance incoming calls over IAX2 trunks. If any trunk goes down the calls traffic will be shared with

Re: [asterisk-users] Multiple IAX2 Trunks Load balancing

2013-12-13 Thread Muhammad Usman
Friends let me define the scenario please; Scenario: 2 asterisk servers (A B) are connected using 05 IAX2 trunks between them. The machine A is running asterisk Openvpn server in TUN mode (5 instances with difference IP addresses for clients). The machine B is running asterisk with 05 OpenVPN