<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>is the tcp load balancer changing the source address, like
      accepting the connection from the phone and then opening one to
      kamailio?</p>
    <p>Do you need haproxy because of other reasons or only for sip?</p>
    <p>A kamailio load balancer (sip aware) is also quite fast.<br>
    </p>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 23/06/16 04:32, Colin Morelli wrote:<br>
    </div>
    <blockquote
cite="mid:CAPtU-UrGWnRSuoVJmavLSzVeBxkC4r+aPaOXXckr0=2LrGyhig@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hey all,
        <div><br>
        </div>
        <div>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.</div>
        <div><br>
        </div>
        <div>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).</div>
        <div><br>
        </div>
        <div>However - this poses an issue with source addresses. Does
          Kamailio support anything like the proxy protocol (<a
            moz-do-not-send="true"
            href="http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt"><a class="moz-txt-link-freetext" href="http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt">http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt</a></a>)
          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?</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Colin</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> - <a class="moz-txt-link-freetext" href="http://www.kamailio.org">http://www.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>