<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Dragomir,<br>
      <br>
      Those errors translate into a failed attempt to connect via TCP
      (for WSS protocol) to the needed SIP destination. OR, when you do
      t_relay() in the script, you have a SIP destination that does not
      accept the TCP connections from OpenSIPS. Are you sure that the
      destination/callee party is able to accept incoming TCP
      connections ?<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/04/2017 12:16 AM, Dragomir
      Haralambiev wrote:<br>
    </div>
    <blockquote
cite="mid:CADzurOJoEpP9OLGnAakCcTQfoKHvix2WDe8zkBzs5bGrfJsMHw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>I try to test WebRTC.<br>
          OS: CentOs7.2<br>
          Opensips: 2.2.3<br>
          <span style="color:rgb(24,86,98);font-family:"trebuchet
            ms",sans-serif,verdana,arial;font-size:1.22em">Tutorial:</span><br>
        </div>
        <div><a moz-do-not-send="true"
            href="http://www.opensips.org/Documentation/Tutorials-WebSocket-2-2">http://www.opensips.org/Documentation/Tutorials-WebSocket-2-2</a><br>
        </div>
        <div><br>
        </div>
        <div>Zoiper -------> Opensips -----> Crome(<a
            moz-do-not-send="true" href="http://tryit.jssip.net">tryit.jssip.net</a>)<br>
          <br>
        </div>
        <div>In Opensips log have many ERRORS:<br>
          <br>
        </div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Received
          command 'offer' from <a moz-do-not-send="true"
            href="http://127.0.0.1:53928">127.0.0.1:53928</a></div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ..]:
          Creating new call</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: offer
          time = 0.001532 sec</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Replying
          to 'offer' from <a moz-do-not-send="true"
            href="http://127.0.0.1:53928">127.0.0.1:53928</a></div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Received
          command 'offer' from <a moz-do-not-send="true"
            href="http://127.0.0.1:53928">127.0.0.1:53928</a></div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: offer
          time = 0.000116 sec</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Replying
          to 'offer' from <a moz-do-not-send="true"
            href="http://127.0.0.1:53928">127.0.0.1:53928</a></div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Received
          command 'offer' from <a moz-do-not-send="true"
            href="http://127.0.0.1:53928">127.0.0.1:53928</a></div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: offer
          time = 0.000086 sec</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Replying
          to 'offer' from <a moz-do-not-send="true"
            href="http://127.0.0.1:53928">127.0.0.1:53928</a></div>
        <div>/usr/local/sbin/opensips[4822]:
          <a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd buffer of 416 kb</div>
        <div>/usr/local/sbin/opensips[4822]:
          <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: TCP keepalive enabled on socket
          21</div>
        <div>/usr/local/sbin/opensips[4822]:
          ERROR:core:tcp_connect_blocking: timeout 99200 ms elapsed from
          100000 s</div>
        <div>/usr/local/sbin/opensips[4822]:
          ERROR:proto_<a class="moz-txt-link-freetext" href="wss:ws_sync_connect">wss:ws_sync_connect</a>: tcp_blocking_connect failed</div>
        <div>/usr/local/sbin/opensips[4822]: ERROR:proto_<a class="moz-txt-link-freetext" href="wss:ws_connect">wss:ws_connect</a>:
          connect failed</div>
        <div>/usr/local/sbin/opensips[4822]:
          ERROR:proto_<a class="moz-txt-link-freetext" href="wss:proto_wss_send">wss:proto_wss_send</a>: connect failed</div>
        <div>/usr/local/sbin/opensips[4822]: ERROR:tm:msg_send: send()
          for proto 6 failed</div>
        <div>/usr/local/sbin/opensips[4822]: ERROR:tm:t_forward_nonack:
          sending request failed</div>
        <div>/usr/local/sbin/opensips[4822]:
          <a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd buffer of 416 kb</div>
        <div>/usr/local/sbin/opensips[4822]:
          <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: TCP keepalive enabled on socket
          21</div>
        <div>/usr/local/sbin/opensips[4822]:
          ERROR:core:tcp_connect_blocking: timeout 101189 ms elapsed
          from 100000 s</div>
        <div>/usr/local/sbin/opensips[4822]:
          ERROR:proto_<a class="moz-txt-link-freetext" href="wss:ws_sync_connect">wss:ws_sync_connect</a>: tcp_blocking_connect failed</div>
        <div>/usr/local/sbin/opensips[4822]: ERROR:proto_<a class="moz-txt-link-freetext" href="wss:ws_connect">wss:ws_connect</a>:
          connect failed</div>
        <div>/usr/local/sbin/opensips[4822]:
          ERROR:proto_<a class="moz-txt-link-freetext" href="wss:proto_wss_send">wss:proto_wss_send</a>: connect failed</div>
        <div>/usr/local/sbin/opensips[4822]: ERROR:tm:msg_send: send()
          for proto 6 failed</div>
        <div>/usr/local/sbin/opensips[4822]: ERROR:tm:t_forward_nonack:
          sending request failed</div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50878]: Unknown STUN attribute: 0xc057</div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50879]: Unknown STUN attribute: 0xc057</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Received
          command 'answer' from <a moz-do-not-send="true"
            href="http://127.0.0.1:40991">127.0.0.1:40991</a></div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: answer
          time = 0.001351 sec</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Replying
          to 'answer' from <a moz-do-not-send="true"
            href="http://127.0.0.1:40991">127.0.0.1:40991</a></div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50878]: DTLS: Peer certificate accepted</div>
        <div>rtpengine[719]: WARNING: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50888]: RTP packet with unknown payload type 95 received</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50878]: DTLS-SRTP successfully negotiated</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50879]: DTLS: Peer certificate accepted</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50879]: DTLS-SRTP successfully negotiated</div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50878]: Unknown STUN attribute: 0xc057</div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50879]: Unknown STUN attribute: 0xc057</div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50878]: Unknown STUN attribute: 0xc057</div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50879]: Unknown STUN attribute: 0xc057</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50879]: ICE negotiated: local interface 192.168.1.130</div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50878]: Unknown STUN attribute: 0xc057</div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50879]: Unknown STUN attribute: 0xc057</div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50878]: Unknown STUN attribute: 0xc057</div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50879]: Unknown STUN attribute: 0xc057</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50878]: Confirmed peer address as <a moz-do-not-send="true"
            href="http://192.168.1.104:55185">192.168.1.104:55185</a></div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50888]: Confirmed peer address as <a moz-do-not-send="true"
            href="http://192.168.1.104:8000">192.168.1.104:8000</a></div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50889]: Confirmed peer address as <a moz-do-not-send="true"
            href="http://192.168.1.104:8001">192.168.1.104:8001</a></div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50878]: Unknown STUN attribute: 0xc057</div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50879]: Unknown STUN attribute: 0xc057</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50879]: Confirmed peer address as <a moz-do-not-send="true"
            href="http://192.168.1.104:55188">192.168.1.104:55188</a></div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50878]: Unknown STUN attribute: 0xc057</div>
        <div>rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port
          50879]: Unknown STUN attribute: 0xc057</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Received
          command 'delete' from <a moz-do-not-send="true"
            href="http://127.0.0.1:40991">127.0.0.1:40991</a></div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]:
          Scheduling deletion of call branch 'u4ur4tpq02' (via-branch
          '') in 30 seconds</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: delete
          time = 0.000072 sec</div>
        <div>rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Replying
          to 'delete' from <a moz-do-not-send="true"
            href="http://127.0.0.1:40991">127.0.0.1:40991</a>  </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Dragomir</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>