<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">OpenSIPS does not need to interact in anyway with a TURN server. A TURN server is used by the SIP client that has built-in TURN functionality. While they may run side by side, the only interaction of a sip proxy and TURN server is sharing the same database with credentials in order to authenticate the end-users.<div class=""><br class=""></div><div class="">What MediaProxy does, it simulates a TURN server candidate by inserting it into an offer generated by a SIP client that has ICE support. But it is not real TURN in the sense that it does not implement the TURN protocol (which does a lot of other things, not just the relaying packets over UDP part), and the client is unaware of this TURN candidate insertion. Practically, MediaProxy only relays RTP packets over UDP and is fouling both end-points into believing that during the ICE negotiation there is a relay server that can be used when end-to-end RTP does not work. One cannot get RTP over TCP running with this hybrid model.</div><div class=""><br class=""></div><div class="">If you want TCP, you need a real TURN client with a real TURN server.&nbsp;</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Adrian<br class=""><div class=""><br class=""></div><div class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 06 Feb 2016, at 01:07, Nabeel &lt;<a href="mailto:nabeelshikder@gmail.com" class="">nabeelshikder@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote">On 3 February 2016 at 23:42, sevpal <span dir="ltr" class="">&lt;<a href="mailto:sevpal@aol.com" target="_blank" class="">sevpal@aol.com</a>&gt;</span> wrote:</div><div class="gmail_quote"><br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div dir="ltr" class=""><div style="font-size: 12pt; font-family: Calibri;" class="">
<div class="">Opensips interacts with the TURN in server MediaProxy only.</div></div></div></div></blockquote><div class=""><br class=""></div><div class=""><br class=""></div><div class="">That's not completely true, because the TURN server works with OpenSIPS when using UDP for calls. It just doesn't work - or only partially works - with TCP/TLS.&nbsp; I tested by changing configurations in the TURN server to use TCP relays/listeners only, but it still only works with UDP. This leads me to believe that it is a limitation in OpenSIPS that it only handles the TURN server properly when calls are using UDP, not TCP/TLS.</div><div class=""><br class=""></div><div class="">Coturn is probably the most comprehensive TURN server available today. Is there any chance that OpenSIPS will fully support this in the future?</div></div></div></div>
_______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@lists.opensips.org" class="">Users@lists.opensips.org</a><br class="">http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br class=""></div></blockquote></div><br class=""></div></div></div></body></html>