<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi, Pete!<br>
<br>
The best way to do it is choice number 1, where you specify the
transport=tls parameter in the URI. The socket field is used to
specify which listener OpenSIPS should use to send the request to
that destination. It has a similar meaning with force_send_socket()
(iirc, internally it is implemented in the same way).<br>
Therefore with choice number 2, it is not guaranteed to work. In
most cases it will, but if you force a different transport for
your destination (for example you have a TCP destination) and use
a TLS socket, it might not work (haven't tested that).<br>
<br>
I hope my answer is clear.<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 12/22/2015 04:52 PM, Pete Kelly
wrote:<br>
</div>
<blockquote
cite="mid:CAEWH9M-T=GEZ=b8jEOc8NFS-pj4OZkKOCzdR3MUK3t+2JaAM1g@mail.gmail.com"
type="cite">
<div dir="ltr">Hi all!
<div><br>
<div>Is there an "approved" way to send to a TLS destination
using the dispatcher module?</div>
<div><br>
I notice there could be 2 ways to specify TLS within the
tables/configuration:</div>
<div><br>
</div>
<div>1) By using the destination field (by suffixing with
;transport=tls)</div>
<div>2) By using the socket field (by specifying the local
tls: socket).</div>
<div><br>
</div>
<div>Is only one (or both) of these normally required?</div>
</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>