is the tcp load balancer changing the source address, like accepting the connection from the phone and then opening one to kamailio?

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:
Hey all,

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 (http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt) for 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 source addresses?


SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda