<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Thank you Dragomir,<br>
      <br>
      So, there is an existing connection to your browser. <br>
      <br>
      Please redo the list_tcp_conns and send me the capture of the BYE
      request received by OpenSIPS.<br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>

OpenSIPS Summit May 2017 Amsterdam
  <a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
    <div class="moz-cite-prefix">On 04/25/2017 04:35 PM, Dragomir
      Haralambiev wrote:<br>
    </div>
    <blockquote
cite="mid:CADzurOJky9+qg-N=ihNYyr4wVdkxak-Gyv1+817-1Eghjn=0=g@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Here is connection list before send BYE</div>
        <div><br>
        </div>
        <div>[root@dev opensips]# opensipsctl fifo list_tcp_conns</div>
        <div>Connection::  ID=1 Type=wss State=0
          Source=<IP:SIP.JS>0:59562
          Destination=<IP:Opensips>:10062 Lifetime=2017-04-25
          16:31:14</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2017-04-25 11:37 GMT+03:00
          Bogdan-Andrei Iancu <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:bogdan@opensips.org"
              target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Dragomir,<br>
                <br>
                So, the problem is about the BYE. Just before sending
                BYE from Zoiper, please run on your opensips:<br>
                    opensipsctl fifo list_tcp_conns<br>
                <br>
                Lets see if your SIP.JS still has a connection to
                OpenSIPS at that point.<br>
                <br>
                Best regards,<br>
              </tt><span class="">
                <pre class="m_7954335389196049544moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a moz-do-not-send="true" class="m_7954335389196049544moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>

OpenSIPS Summit May 2017 Amsterdam
  <a moz-do-not-send="true" class="m_7954335389196049544moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html" target="_blank">http://www.opensips.org/<wbr>events/Summit-2017Amsterdam.<wbr>html</a>
</pre>
    </span><div><div class="h5"><div class="m_7954335389196049544moz-cite-prefix">On 04/25/2017 12:14 AM, Dragomir
      Haralambiev wrote:

    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi Bogdan,
        <div>

        </div>
        <div>Thanks for the detailed and comprehensive answer.

        </div>
        <div>

        </div>
        <div>Zoiper talking (connection is established) with SIP.JS</div>
        <div>Zoiper ---(over UDP)--> Opensips --(over WSS)--->
          SIP.JS</div>
        <div>

        </div>
        <div>Why not possible Opensips send BYE to SIP.JS over
          established connection?</div>
        <div>Why all is OK when SIP.JS send BYE?</div>
        <div>

        </div>
        <div>I need help to setup Opensips to solve this problem.

        </div>
        <div>

        </div>
        <div>Best regards,</div>
        <div>Dragomir</div>
      </div>
      <div class="gmail_extra">

        <div class="gmail_quote">2017-04-24 17:47 GMT+03:00
          Bogdan-Andrei Iancu <span dir="ltr"><<a moz-do-not-send="true" class="m_7954335389196049544moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span>:

          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hi,

              

              Same question, same answer - see <a moz-do-not-send="true" class="m_7954335389196049544moz-txt-link-freetext" href="http://lists.opensips.org/" target="_blank">http://lists.opensips.org/</a>pipe<wbr>rmail/users/2017-April/036925.<wbr>html

              

              Regards,

              <pre class="m_7954335389196049544m_852646183527985223moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a moz-do-not-send="true" class="m_7954335389196049544m_852646183527985223moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>

OpenSIPS Summit May 2017 Amsterdam
  <a moz-do-not-send="true" class="m_7954335389196049544m_852646183527985223moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html" target="_blank">http://www.opensips.org/events<wbr>/Summit-2017Amsterdam.html</a>
</pre><span>
    <div class="m_7954335389196049544m_852646183527985223moz-cite-prefix">On 04/21/2017 07:24 PM, Dragomir
      Haralambiev wrote:

    </div>
    </span><blockquote type="cite">
      <div dir="ltr"><span>
        <div>Hello,</div>
        <div>

        </div>
        <div>I have problem with "topology_hiding_match()" and WSS.</div>
        <div>

        </div>
        <div>Zoiper ---(send BYE)--> Opensips --(can not relay
          to)---> SIP.JS </div>
        <div>

        </div>
        <div>

        </div>
        <div>Here part ot script:</div>
        <div><span class="m_7954335389196049544m_852646183527985223gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>if
          (has_totag()) {</div>
        <div><span class="m_7954335389196049544m_852646183527985223gmail-Apple-tab-span" style="white-space:pre-wrap">          </span>if
          (topology_hiding_match()) {</div>
        <div><span class="m_7954335389196049544m_852646183527985223gmail-Apple-tab-span" style="white-space:pre-wrap">                          </span>t_relay();</div>
        <div><span class="m_7954335389196049544m_852646183527985223gmail-Apple-tab-span" style="white-space:pre-wrap">                          </span>exit;</div>
        <div><span class="m_7954335389196049544m_852646183527985223gmail-Apple-tab-span" style="white-space:pre-wrap">          </span>}</div>
        <div><span class="m_7954335389196049544m_852646183527985223gmail-Apple-tab-span" style="white-space:pre-wrap">          </span>...</div>
        <div>

        </div>
        <div>Opensips receive BYE. When execute "t_relay()" give follow
          ERRORS:</div>
        <div>

        </div>
        <div><a moz-do-not-send="true" class="m_7954335389196049544m_852646183527985223moz-txt-link-freetext">INFO:core:probe_max_sock_buff</a>: using snd buffer of 416 kb</div>
        <div><a moz-do-not-send="true" class="m_7954335389196049544m_852646183527985223moz-txt-link-freetext">INFO:core:init_sock_keepalive</a>: TCP keepalive enabled on
          socket 23</div>
        <div>ERROR:core:tcp_connect_blockin<wbr>g: timeout 99195 ms elapsed
          from 100000 s</div>
        <div>ERROR:proto_<a moz-do-not-send="true" class="m_7954335389196049544m_852646183527985223moz-txt-link-freetext">ws:ws_sync_connect</a><wbr>: tcp_blocking_connect failed</div>
        <div>ERROR:proto_<a moz-do-not-send="true" class="m_7954335389196049544m_852646183527985223moz-txt-link-freetext">ws:ws_connect</a>: connect failed</div>
        <div>ERROR:proto_<a moz-do-not-send="true" class="m_7954335389196049544m_852646183527985223moz-txt-link-freetext">ws:proto_ws_send</a>: connect failed</div>
        <div>ERROR:tm:msg_send: send() for proto 5 failed</div>
        </span><div>ERROR:tm:t_forward_nonack: sending request failed<tt>scheduled
          </tt></div>
        <div>

        </div>
        <div>Where is problem?</div>
      </div>
      

      <fieldset class="m_7954335389196049544m_852646183527985223mimeAttachmentHeader"></fieldset>
      

      <pre>______________________________<wbr>_________________
Users mailing list
<a moz-do-not-send="true" class="m_7954335389196049544m_852646183527985223moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="m_7954335389196049544m_852646183527985223moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    

  </div>

</blockquote></div>
</div>



</blockquote>
</div></div></div></blockquote></div>
</div>



</blockquote>
</body></html>