<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi,<br>
        <br>
        You can switch the protocol for the outbound relaying in two ways:<br>
            1) force it via the RURI -&gt; add the transport=tls param
        to RURI :<br>
                   
        <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.11.x/uri.html#id294426">http://www.opensips.org/html/docs/modules/1.11.x/uri.html#id294426</a><br>
            2) force a TLS socket to be used with force_send_socket() or
        $fs<br>
                   
        <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-CoreVar-2-1#toc44">http://www.opensips.org/Documentation/Script-CoreVar-2-1#toc44</a><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="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 09.10.2014 16:40, Yuriy Nasida wrote:<br>
    </div>
    <blockquote cite="mid:DUB122-W3974F3E2E9DEB9D2BC26ACD5A00@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr">Hi there!<br>
        <div dir="ltr"><br>
          I would like to implement this scenario<br>
          <br>
          startpoint --UDP--&gt; opensips ---TLS---&gt; endpoint<br>
          <br>
          How can I say opensips to use TLS ?<br>
          <br>
          The only way I see is <b>t_relay(tls:etc)</b> but.. opensips
          can not use variables in t_relay function but i really need
          this :(<br>
          Also I tried  force_send_socket but had not luck.<br>
          <br>
          Any ideas ?<br>
          Thanks. </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>