Koozali.org: home of the SME Server

Load Balance VoIP traffic

Offline meerkat746

  • 3
  • +0/-0
Load Balance VoIP traffic
« on: January 19, 2011, 10:53:15 PM »
I need to balance the load of the outgoing VoIP traffic over two dsl lines.  The client runs a call center with a legacy PABX (about 45 extensions), but the VoIP traffic is to much for one ADSL line.  I thought about using just a normal load balancer, but seems to be an issue with having the RTP stream coming from different IP's.  Is it possible for SARK/SAIL to do this if I add an extra network card to the machine. 

For instance:

2 Network cards
2 Sip ACCT

Using a PRI link (QSIG) to link the VoIP trunks to the legacy.
Calls going over Trunks 1-15 use NIC 1
Calls going over Trunks 16-30 use NIC 2


Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Load Balance VoIP traffic
« Reply #1 on: January 19, 2011, 11:25:37 PM »
Hello

SAIL won't loadbalance because it doesn't know anything about the network, or the NICs.  We've seen it done with routers that can bond ADSL circuits (Redbrick, Microtik, Cisco) so you might want to look there.

Kind Regards

S

Offline meerkat746

  • 3
  • +0/-0
Re: Load Balance VoIP traffic
« Reply #2 on: January 19, 2011, 11:39:44 PM »
Thanks for the quick reply.

It's been awhile since I used SAIL or Asterisk even, but I think that I can tell an extension which trunk to use to dail out on.  Am I correct on this?

As always your advice always appreciated.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Load Balance VoIP traffic
« Reply #3 on: January 24, 2011, 01:21:34 AM »
yes

There are several ways you can do it, either by dialling a prefix and then removing it in the trunk with a transformation mask or by using clusters or Tenants as they are known in 2.6 and 3.1.  Either will work for you.

Kind Regards

S