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:
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 c
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
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 be
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 i
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
yeah -- searching how to perform this magic ...
On Fri, Dec 13, 2013 at 2:29 PM, Steven Howes wrote:
> On 13 Dec 2013, at 07:48, 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 d
On 13 Dec 2013, at 07:48, 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 suppo
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 supposed to perform as desired i.e in load balance mode.
Thanks