[OpenSIPS-Users] Linphone and OpenSIPS over TCP

Adrian Georgescu ag at ag-projects.com
Sat Feb 6 09:55:58 CET 2016


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.

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.

If you want TCP, you need a real TURN client with a real TURN server. 

Regards,
Adrian


> On 06 Feb 2016, at 01:07, Nabeel <nabeelshikder at gmail.com> wrote:
> 
> On 3 February 2016 at 23:42, sevpal <sevpal at aol.com <mailto:sevpal at aol.com>> wrote:
> 
> Opensips interacts with the TURN in server MediaProxy only.
> 
> 
> 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.  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.
> 
> Coturn is probably the most comprehensive TURN server available today. Is there any chance that OpenSIPS will fully support this in the future?
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160206/37598014/attachment.htm>


More information about the Users mailing list