<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thanks for the good advice, DanB!<br>I thought about this to be honest.<br>Yes, FS can add header with X-EndpointTransport: tls and opensisp can detect this.<br>But... I am still not sure how let opensips know that it should use tls instead of udp for invite to endpoint.<br>I tried to use <br><b>force_send_socket(tls:my_IP:5061);</b><br>But looks like I can't convert transport by this.<br><br>Will try to send by <br><b>t_relay("tls:1.2.3.4:6677");</b><br><br>Probably it is the question more for opensips list in this case but <span id="result_box" class="short_text" lang="en"><span class="hps">It is related I hope.<br><br>Will be grateful for advice</span></span><br>Thanks<br><br><div>> Date: Wed, 8 Oct 2014 11:45:48 +0200<br>> From: danb.lists@gmail.com<br>> To: freeswitch-users@lists.freeswitch.org<br>> Subject: Re: [Freeswitch-users] fs_path with a 'transport' parameter<br>> <br>> Hi Yuriy,<br>> <br>> We have solved this issue by adding a custom header with the transport <br>> OpenSIPS need to use when sending the call out (extract that info in <br>> OpenSIPS, eg: X-EndpointTransport: udp).<br>> A more elegant solution would be custom ruri params being sent out by <br>> FreeSWITCH, however not sure how doable that would be technically <br>> speaking since the transport is automatically written out from the one <br>> you set in fs_path.<br>> <br>> Hope this helps,<br>> DanB<br>> <br>> On 07.10.2014 21:06, freeswitch-users-request@lists.freeswitch.org wrote:<br>> > I can add transport parameter I need on FS side, but how opensips will<br>> > >know that it should use a different transport for INVITE to an endpoint?<br>> <br>> <br>> _________________________________________________________________________<br>> Professional FreeSWITCH Consulting Services: <br>> consulting@freeswitch.org<br>> http://www.freeswitchsolutions.com<br>> <br>> Official FreeSWITCH Sites<br>> http://www.freeswitch.org<br>> http://confluence.freeswitch.org<br>> http://www.cluecon.com<br>> <br>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>> http://www.cudatel.com<br>> <br>> FreeSWITCH-users mailing list<br>> FreeSWITCH-users@lists.freeswitch.org<br>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>> http://www.freeswitch.org<br></div>                                            </div></body>
</html>