<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <tt>Hey Pete,<br>
      <br>
      IMHO you are playing with fire here - non SIP balancer doing
      protocol exchange :D. Seriously now, this is a receipt for
      disaster<br>
      <br>
      Regards, <br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2020 online
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2020Distributed/">https://www.opensips.org/events/Summit-2020Distributed/</a></pre>
    <div class="moz-cite-prefix">On 8/12/20 12:28 PM, Pete Kelly wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEWH9M-K9iLLfwJcBtr1SZbKqik=aFq-7+9cX6ZDW2dPT+V9MA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi all :)
        <div><br>
        </div>
        <div>I am sending an INVITE out to a registered endpoint via a
          (non SIP) load balancer. </div>
        <div><br>
        </div>
        <div>The load balancer provides a transparent TCP/TLS interface
          (TCP to opensips, TLS to the endpoint)</div>
        <div><br>
        </div>
        <div>The obvious problem I am having here is that when the UAC
          receives the INVITE, the transport set by OpenSIPS in the
          Contact /Via/Record-Route headers are all set to TCP, because
          OpenSIPS has no knowledge of any TLS involved - which causes
          problems when any future transaction is sent by the UAC.</div>
        <div><br>
        </div>
        <div>Ideally I want to be able to change any reference to the
          TCP transport to TLS, kind of how set_advertised_address() and
          set_advertised_port() work, however with the protocol.</div>
        <div><br>
        </div>
        <div>Is it currently possible? (using opensips 3.1)</div>
        <div><br>
          Pete</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>