In my case the transport=TLS is present in contact header, has the same treatment of R-URI?<br><br>Cheers<br><br><div class="gmail_quote">2011/11/29 Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im"><br>
<br>
On 11/29/11 3:08 PM, Andrew Pogrebennyk wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Bruno,<br>
What I have done is an explicit check<br>
if (uri_param(&quot;transport&quot;,&quot;tls&quot;) || uri_param(&quot;transport&quot;,&quot;TLS&quot;))<br>
to call force_send_socket with either udp or tls port.<br>
It would be cool for kamailio to select the proper socket automatically,<br>
I think there was a discussion on that previously but I can&#39;t find it<br>
right now. Hopefully someone else has a hint :)<br>
<br>
On 11/29/2011 02:50 PM, Bruno Bresciani wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi All,<br>
<br>
kamailio 3.1.2 recognize value &quot;transport=TLS&quot; on contact header or only<br>
&quot;transport=tls&quot;?<br>
<br>
kamailio forwards (t_relay function) the message with UDP protocol when<br>
value &quot;transport=TLS&quot; is on contact header.<br>
</blockquote></blockquote></div>
Kamailio is selecting the proper outbound socket when switching transport layers -- if the call comes via UDP and R-URI is over TLS, then it will send over TLS. Parsing of R-URI does case insensitive matching for transport parameter, so TLS is the same as tls. I have many configs doing transport gatewaying, where I don&#39;t use anything but simply t_relay()<br>

<br>
Can you check to see if there is no outbound proxy address set ($du)?<br>
<br>
Ultimately, maybe you can run with debug=3 and look at log messages.<br>
<br>
Cheers,<br>
Daniel<br><font color="#888888">
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
Kamailio Advanced Training, Dec 5-8, Berlin: <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a><br>
<a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a><br>
<br>
</font></blockquote></div><br>