On 23/06/16 12:57, Colin Morelli wrote:
Yes it is actually terminating and opening a new connection.
I don't need HAProxy for anything at the moment, I was mentioning it
for its support of the proxy protocol which enables applications to
get source address information behind TCP load balancers.
I'm not so much worried about the speed of kamailio - I'm confident
it's quite fast. But for every piece of infrastructure I need to stand
up, there's another opportunity for failure. Being able to use an ELB
at the edge lets me place some of that hard work on Amazon, who has
already thought of things like DNS load balancing, multi zone
I think it'd be great if Kamailio could support something like proxy
protocol to allow this scenario to work (it's just a single line sent
right after a TCP connection is opened)
I haven't found any need myself for
using haproxy, and as we work as a
community adding features as one needs them, if someone will submit a
patch for support of haproxy, will be considered, of course. Personally
I have no haproxy around, so not something that I quickly look further
at such feature.
On Thu, Jun 23, 2016 at 1:34 AM Daniel-Constantin Mierla
<miconda(a)gmail.com <mailto:firstname.lastname@example.org>> wrote:
is the tcp load balancer changing the source address, like
accepting the connection from the phone and then opening one to
Do you need haproxy because of other reasons or only for sip?
A kamailio load balancer (sip aware) is also quite fast.
On 23/06/16 04:32, Colin Morelli wrote:
I'm looking to put Kamailio behind a TCP load balancer that is
SIP-unaware. My application is deployed in AWS and I'm tying to
place Kamailio behind an ELB.
For the most part, everything is fine. For my specific
implementation I'm disabling UDP as a signaling transport and
using only TLS. This enables me to not have to worry about a
SIP-aware LB at the edge because replies to an incoming request
will be sent over the existing established TCP socket (avoiding
any crazy routing requirements).
However - this poses an issue with source addresses. Does
Kamailio support anything like the proxy protocol
getting TCP stream information from a load balancer? Do I need to
go back to exposing it directly to the world so that I can get
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing