Asterisk Load Balancing For TCP/SIP And RTP?

Home » Asterisk Users » Asterisk Load Balancing For TCP/SIP And RTP?
Asterisk Users 2 Comments

Has anyone fronted Asterisk with HAProxy? If so, what is a good production configuration for Asterisk? I need direct_media=yes (and so I have to LB
RTP to the same Asterisk server).

If HAProxy is not a good solution, what other solutions do you propose?

Any insight appreciated.

2 thoughts on - Asterisk Load Balancing For TCP/SIP And RTP?

  • When using HA you have one to one. We use OpenSipS to load balance so you never lose more than half your calls.

    Regards,

    Dovid

    —–Original Message—

  • Have a look at this page for HA ideas:

    http://www.voip-info.org/wiki/view/Asterisk+High+Availability+Design

    There are a lot of tradeoffs in design, and easy to confuse load balancing with HA

    From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Tickling Contest Sent: Tuesday, March 29, 2016 7:02 PM
    To: asterisk-users@lists.digium.com Subject: [asterisk-users] Asterisk load balancing for TCP/SIP and RTP?

    Has anyone fronted Asterisk with HAProxy? If so, what is a good production configuration for Asterisk? I need direct_media=yes (and so I have to LB RTP to the same Asterisk server).

    If HAProxy is not a good solution, what other solutions do you propose?

    Any insight appreciated.