<div dir="ltr">Razvan,<div><br></div><div><br></div><div>I'd like to correct my statement about this working in 2.1. It is actually working in 2.2. Here is the output of my opensips -V.</div><div>
<p class=""><span class="">flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</span></p>
<p class=""><span class="">ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</span></p>
<p class=""><span class="">poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.</span></p>
<p class=""><span class="">git revision: b7db080</span></p>
<p class=""><span class="">main.c compiled on 22:15:49 Jun 4 2015 with gcc 4.8.3</span></p><p class=""><span class=""><br></span></p><p class=""><span class=""><br></span></p><p class=""><span class="">Here the acks and byes sent from webrtc client work without a problem. Perhaps ws is not fully supported in 2.1?</span></p><p class=""><span class=""><br></span></p><p class=""><span class=""><br></span></p><p class=""><span class=""><br></span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 4, 2015 at 12:32 PM, Tito Cumpen <span dir="ltr"><<a href="mailto:tito@xsvoce.com" target="_blank">tito@xsvoce.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Razvan,<div><br></div><div><br></div><div>I think it didn't meet the size requirements when I attached it. Here is the dropbox link to the tar file containing the traces and logs.</div><div><br></div><div><a href="https://www.dropbox.com/s/3v7p42sxbvf2wv9/2.1issues.tar?dl=0" target="_blank">https://www.dropbox.com/s/3v7p42sxbvf2wv9/2.1issues.tar?dl=0</a><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 4, 2015 at 3:19 AM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<tt>Hi, Tito!<br>
<br>
I can't find the traces anywhere. Can you post them on pastebin?<br>
<br>
Best regards,<br>
</tt><span>
<pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
</span><div><div><div>On 06/03/2015 07:45 PM, Tito Cumpen
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">The traces include the last 2000 lines of the
opensips log.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jun 3, 2015 at 12:44 PM, Tito
Cumpen <span dir="ltr"><<a href="mailto:tito@xsvoce.com" target="_blank">tito@xsvoce.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Razvan,
<div><br>
</div>
<div><br>
</div>
<div>I have attached two traces. The first call opensips
doesn't transmit the bye sent from the ws UAS. The
second call is initiated from the ws uac and answered by
the sip tcp UAS. The ack from the ws uac is not sent
back to the sip tcp side and so the call is hung up . Th
with the last 2000 lines of opensips log running at
level 3. </div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jun 3, 2015 at 10:31
AM, Tito Cumpen <span dir="ltr"><<a href="mailto:tito@xsvoce.com" target="_blank">tito@xsvoce.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Razvan,</p>
<p dir="ltr">The ack is sourcing from the ws party
to the b side which is registered via tcp. Note
this is also occurring when a bye is sent from
the ws side to the sip tcp b client. Meaning
OpenSIPS drops of and throws the aforementioned
error. I will get a trace as soon as I can.</p>
<p dir="ltr">Thanks,<br>
Tito</p>
<div>
<div>
<div style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <tt>Hi,
Tito!<br>
<br>
I'm not sure why the proxy is trying to
send the ACK over WS, since the R-URI
contains a TCP connection. </tt><tt><tt>Can
you send a full pcap trace for the
call?<br>
<br>
</tt>Best regards,<br>
</tt>
<pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
<div>On 06/03/2015 01:55 AM, Tito Cumpen
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Group,
<div><br>
</div>
<div><br>
</div>
<div>I checked out opensips 2.1
branch today as I had been running
a trunk version from about a month
ago. Now I am seeing issues
transmitting acks and byes to the
remote side when they source from a
webrtc client. Opensips is
displaying this statement in the
logs.</div>
<div><br>
</div>
<div>
<p><span>ERROR:proto_<a>ws:proto_ws_send</a>:
no open tcp connection found.
WebSocket connect is not
supported!</span></p>
<p><span>Jun 2
22:47:44/sbin/opensips[10323]:
ERROR:tm:msg_send: send() for
proto 5 failed</span></p>
<p><span>Jun 2 22:47:44
/sbin/opensips[10323]:
ERROR:tm:t_forward_nonack:
sending request failed</span></p>
<p><span><br>
</span></p>
<p><span><br>
</span></p>
<p><span>Here is an ack that fails,</span></p>
<p><span><br>
</span></p>
<p><span><br>
</span></p>
<p><span>ACK <a href="mailto:sip:patientdemo6.gmail@68.195.115.219:49819;transport=tcp" target="_blank">sip:patientdemo6.gmail@68.195.115.219:49819;transport=tcp</a>
SIP/2.0</span></p>
<p><span>Via: SIP/2.0/WS
192.237.160.129:8080;branch=z9hG4bK1941.ac1ea01.3;i=11</span></p>
<p><span>Via: SIP/2.0/WS
df7jal23ls0d.invalid;received=68.195.115.219;branch=z9hG4bKDkzZdVkwTIfn7Q6BMh0h;rport=62612</span></p>
<p><span>From: "tito"<<a href="mailto:sip%3Apatientdemo5.gmail@nurseliveconnect.org" target="_blank">sip:patientdemo5.gmail@nurseliveconnect.org</a>>;tag=E6xwQCRGTOBxlP5EaIxL</span></p>
<p><span>To: <<a href="mailto:sip%3Apatientdemo6.gmail@nurseliveconnect.org" target="_blank">sip:patientdemo6.gmail@nurseliveconnect.org</a>>;tag=k1GPy4-</span></p>
<p><span>Contact:
"tito"<a href="mailto:sip:patientdemo5.gmail@df7jal23ls0d.invalid;rtcweb-breaker=yes;click2call=no;transport=ws" target="_blank"><sip:patientdemo5.gmail@df7jal23ls0d.invalid;rtcweb-breaker=yes;click2call=no;transport=ws></a>;+g.oma.sip-im;language="en,fr"</span></p>
<p><span>Call-ID:
bc03514a-10fd-b1ee-9b92-ca6046c3474f</span></p>
<p><span>CSeq: 44222 ACK</span></p>
<p><span>Content-Length: 0</span></p>
<p><span>Max-Forwards: 69</span></p>
<p><span>Proxy-Authorization: Digest
username="<a href="mailto:patientdemo5.gmail@nurseliveconnect.org" target="_blank">patientdemo5.gmail@nurseliveconnect.org</a>",realm="<a href="http://nurseliveconnect.org" target="_blank">nurseliveconnect.org</a>",nonce="556e3411000001e8de622139149f48392dc597150508b7df",uri=<a href="mailto:sip:patientdemo6.gmail@68.195.115.219:49819;transport=tcp" target="_blank">"sip:patientdemo6.gmail@68.195.115.219:49819;transport=tcp"</a>,response="326e78b8a9de4423c3a7f5d3ecaadf84",algorithm=MD5</span></p>
<p><span>Route:
<sip:192.237.160.129:8080;transport=ws;r2=on;lr;ftag=E6xwQCRGTOBxlP5EaIxL;did=795.654b3927></span></p>
<p><span>Route:
<sip:192.237.160.129;transport=tcp;r2=on;lr;ftag=E6xwQCRGTOBxlP5EaIxL;did=795.654b3927></span></p>
<p><span>User-Agent:
IM-client/OMA1.0
sipML5-v1.2015.03.18</span></p>
<p><span>Organization: Doubango
Telecom</span></p>
<p><span></span><br>
</p>
<p><span>.</span></p>
<p><span>Jun 2 22:53:44
cloud-server-09
/sbin/opensips[10323]:
DBG:core:forward_request: orig.
len=1174, new_len=1208, proto=5</span></p>
<p><span>Jun 2 22:53:44
cloud-server-09
/sbin/opensips[10323]:
ERROR:proto_<a>ws:proto_ws_send</a>:
no open tcp connection found.
WebSocket connect is not
supported!</span></p>
<p><span> </span></p>
<p><span>Jun 2 22:53:44
cloud-server-09
/sbin/opensips[10323]:
ERROR:core:msg_send: send() for
proto 5 failed</span></p>
<p><span><br>
</span></p>
<p><span>Please advise.</span></p>
<p><span><br>
</span></p>
<p><span><br>
</span></p>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<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>
</blockquote>
<br>
</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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<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>
</blockquote>
<br>
</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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>