<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Video and voice calls work fine with Linphone client over UDP, TCP, 3G/4G
and wifi and when using a media proxy. Did not even try to install a TURN server
to test your case, because Opensips does not have any modules to interact with a
TURN server, you may be at a dead end with that. </DIV>
<DIV> </DIV>
<DIV>In the case of the SDP bodies being received by Opensips from the UA, these
would need to be forwarded to the TURN server for modification and then returned
to Opensips to be sent to the UA for the media to be redirected.</DIV>
<DIV> </DIV>
<DIV>Opensips interacts with the TURN in server MediaProxy only. </DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=nabeelshikder@gmail.com
href="mailto:nabeelshikder@gmail.com">Nabeel</A> </DIV>
<DIV><B>Sent:</B> Tuesday, February 02, 2016 2:30 AM</DIV>
<DIV><B>To:</B> <A title=users@lists.opensips.org
href="mailto:users@lists.opensips.org">OpenSIPS users mailling list</A> ; <A
title=hamid2kviii@hotmail.com
href="mailto:hamid2kviii@hotmail.com">hamid2kviii@hotmail.com</A> </DIV>
<DIV><B>Subject:</B> Re: [OpenSIPS-Users] Linphone and OpenSIPS over
TCP</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>
<P dir=ltr>Hi Hamid, </P>
<P dir=ltr>I am not using the location table, I am using memory only to store
the contacts. </P>
<P dir=ltr>If you use TCP within the same network, where a TURN server is not
required (TURN server not set in Linphone settings), I found that the calls then
work depending on what the network allows. Within the same Wi-Fi network, in my
case audio calls work but not video calls. But using 3G/4G only, with or without
a TURN server set in Linphone settings, calls do not work at all. This is why I
think the behaviour of TURN server has something to do with this. To those
people stating that TCP works with Linphone, please test over 3G/4G where a TURN
server might be required. </P>
<P dir=ltr> </P>
<DIV class=gmail_quote>On 2 Feb 2016 7:07 am, "Hamid Hashmi" <<A
href="mailto:hamid2kviii@hotmail.com"
target=_blank>hamid2kviii@hotmail.com</A>> wrote:<BR type="attribution">
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV dir=ltr><FONT color=#2672ec>Nabeel I have been using Linphone 3.6.1 with
opensips for a long time. And its working fine on both UDP and TCP. I have
gone through your logs, there is log line </FONT><SPAN
style="FONT-SIZE: 11px; FONT-FAMILY: consolas,'Liberation Mono',menlo,courier,monospace; COLOR: rgb(51,51,51); LINE-HEIGHT: 19px">DBG:tm:matching_3261:
RFC3261 transaction matching failed</SPAN><FONT color=#2672ec> Please
check contact of your "to number" in location table.
<BR></FONT><BR><BR><B><FONT color=#5133ab size=3
face="Times New Roman"><I>Hamid R. Hashmi</I></FONT></B>
<DIV><FONT size=2>Software Engineer - VoIP</FONT></DIV>
<DIV><FONT style="FONT-SIZE: 10pt" color=#008a17 size=2>Vopium
A/S</FONT></DIV><BR><BR>
<DIV>
<HR>
Date: Mon, 1 Feb 2016 19:35:53 +0000<BR>From: <A
href="mailto:nabeelshikder@gmail.com"
target=_blank>nabeelshikder@gmail.com</A><BR>To: <A
href="mailto:bogdan@opensips.org" target=_blank>bogdan@opensips.org</A>; <A
href="mailto:users@lists.opensips.org"
target=_blank>users@lists.opensips.org</A><BR>Subject: Re: [OpenSIPS-Users]
Linphone and OpenSIPS over TCP<BR><BR>
<DIV dir=ltr>Hi Bogdan,
<DIV> </DIV>
<DIV>Below is the requested log for TCP call attempt. User 1111 is
trying to call user 2222 via OpenSIPS server <SPAN
style="FONT-SIZE: 12px; FONT-FAMILY: consolas,menlo,monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace,serif; COLOR: rgb(51,51,51); LINE-HEIGHT: 24px; BACKGROUND-COLOR: rgb(248,248,248)">162.248.6.120</SPAN>
:</DIV>
<DIV> </DIV>
<DIV><A href="http://pastebin.com/UQ9mEemd"
target=_blank>http://pastebin.com/UQ9mEemd</A><BR></DIV></DIV>
<DIV>
<DIV> </DIV>
<DIV>On 1 February 2016 at 09:41, Bogdan-Andrei Iancu <SPAN dir=ltr><<A
href="mailto:bogdan@opensips.org"
target=_blank>bogdan@opensips.org</A>></SPAN> wrote:<BR>
<BLOCKQUOTE style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid">
<DIV><TT>Hi,<BR><BR>I strongly suggest to look into the opensips logs and
see what opensips try to do with the call. Based on your saying (that you
see a timeout), I suspect your OpenSIPS tries to deliver the call over TCP
to a destination which does not listen on TCP.<BR>If you do not know hoe to
interpret the logs, run opensips in debug=4 mode, upload the logs
corresponding the INVITE execution and provide the
link.<BR><BR>Regards,<BR></TT><PRE>Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<A href="http://www.opensips-solutions.com" target=_blank>http://www.opensips-solutions.com</A></PRE>
<DIV>
<DIV>
<DIV>On 31.01.2016 16:28, Nabeel wrote:<BR></DIV></DIV></DIV>
<BLOCKQUOTE>
<DIV>
<DIV>
<DIV dir=ltr>Without using alias=<A href="http://domain.com"
target=_blank>domain.com</A>, TCP still does not work. My initial
request for someone to test this using Linphone remains. Please test and
let me know if you can call using TCP with OpenSIPS listening on an IP
address.</DIV>
<DIV>
<DIV> </DIV>
<DIV>On 31 January 2016 at 09:28, Nabeel <SPAN dir=ltr><<A
href="mailto:nabeelshikder@gmail.com"
target=_blank>nabeelshikder@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid">
<DIV dir=ltr>On further testing, using the IP address instead of the
domain name in the URI setting of Linphone works with TCP, so I think
this might be to do with SRV/NAPTR records associated with the
domain.</DIV>
<DIV>
<DIV>
<DIV>
<DIV> </DIV>
<DIV>On 31 January 2016 at 08:29, Nabeel <SPAN dir=ltr><<A
href="mailto:nabeelshikder@gmail.com"
target=_blank>nabeelshikder@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid">
<DIV dir=ltr><SPAN style="FONT-SIZE: 12px">Hello,</SPAN>
<DIV style="FONT-SIZE: 12px"> </DIV>
<DIV style="FONT-SIZE: 12px">There seems to be a problem with calls
over TCP using Linphone, and since Linphone is a popular open source
application, I would like someone to please verify this problem. Calls
work fine with Linphone over UDP, but after registering with TCP using
the same credentials, calls do not connect at all and lead to a
request timeout. A request timeout does not say much about the
cause, but in this case I suspect there is something wrong with TCP on
the server side. I would like someone to please install Linphone on
your phone and connect to your OpenSIPS server using UDP and
TCP. Please report here if the calls work over both
transports. </DIV></DIV></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV><BR>
<FIELDSET></FIELDSET> <BR></DIV></DIV><SPAN><PRE>_______________________________________________
Users mailing list
<A href="mailto:Users@lists.opensips.org" target=_blank>Users@lists.opensips.org</A>
<A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target=_blank>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A>
</PRE></SPAN></BLOCKQUOTE><BR></DIV></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV><BR>_______________________________________________
Users mailing list <A href="mailto:Users@lists.opensips.org"
target=_blank>Users@lists.opensips.org</A> <A
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target=_blank>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A></DIV></DIV></DIV><BR>_______________________________________________<BR>Users
mailing list<BR><A href="mailto:Users@lists.opensips.org"
target=_blank>Users@lists.opensips.org</A><BR><A
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=noreferrer
target=_blank>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A><BR><BR></BLOCKQUOTE></DIV></DIV>
<P>
<HR>
_______________________________________________<BR>Users mailing
list<BR>Users@lists.opensips.org<BR>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<BR></DIV></DIV></DIV></BODY></HTML>