[OpenSIPS-Users] OpenSips and WebRTC ERRORS

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Apr 7 06:20:04 EDT 2017


Hi Dragomir,

In your case, you make a call to UA using WebSockets (running inside 
Crome) - you cannot open a _new_ WS connection to the UA inside Crome. 
In order to communicate with that UA, the UA has to create the WS 
connection towards OpenSIPS.
According to the logs, there is no such connection and OpenSIPS is 
trying to create one, but the UA in Crome has no listening capabilities.

Could you check with "opensipsctl fifo list_tcp_conns" to see if your 
Crome has a connection into OpenSIPS.

Best regards,

Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer
   http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
   http://www.opensips.org/events/Summit-2017Amsterdam.html

On 04/05/2017 03:42 PM, Dragomir Haralambiev wrote:
> Hello,
>
> I try to make connection with follow sheme:
>
> Zoiper (sip over udp) -----> (Sip over udp) Opensips (WSS) -------> 
> Crome(tryit.jssip.net <http://tryit.jssip.net/> I can't setup tcp or udp)
>
> Hot to setup WSS in Opensips to use WSS over udp?
>
> 2017-04-04 12:57 GMT+03:00 Bogdan-Andrei Iancu <bogdan at opensips.org 
> <mailto:bogdan at opensips.org>>:
>
>     Hi Dragomir,
>
>     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 ?
>
>     Best regards,
>
>     Bogdan-Andrei Iancu
>        OpenSIPS Founder and Developer
>        http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>
>     OpenSIPS Summit May 2017 Amsterdam
>        http://www.opensips.org/events/Summit-2017Amsterdam.html
>     <http://www.opensips.org/events/Summit-2017Amsterdam.html>
>
>     On 04/04/2017 12:16 AM, Dragomir Haralambiev wrote:
>>     Hello,
>>     I try to test WebRTC. OS: CentOs7.2 Opensips: 2.2.3 Tutorial:
>>     http://www.opensips.org/Documentation/Tutorials-WebSocket-2-2
>>     <http://www.opensips.org/Documentation/Tutorials-WebSocket-2-2>
>>     Zoiper -------> Opensips -----> Crome(tryit.jssip.net
>>     <http://tryit.jssip.net>)
>>     In Opensips log have many ERRORS:
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Received
>>     command 'offer' from 127.0.0.1:53928 <http://127.0.0.1:53928>
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ..]: Creating new call
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: offer time =
>>     0.001532 sec
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Replying to
>>     'offer' from 127.0.0.1:53928 <http://127.0.0.1:53928>
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Received
>>     command 'offer' from 127.0.0.1:53928 <http://127.0.0.1:53928>
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: offer time =
>>     0.000116 sec
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Replying to
>>     'offer' from 127.0.0.1:53928 <http://127.0.0.1:53928>
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Received
>>     command 'offer' from 127.0.0.1:53928 <http://127.0.0.1:53928>
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: offer time =
>>     0.000086 sec
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Replying to
>>     'offer' from 127.0.0.1:53928 <http://127.0.0.1:53928>
>>     /usr/local/sbin/opensips[4822]: INFO:core:probe_max_sock_buff:
>>     using snd buffer of 416 kb
>>     /usr/local/sbin/opensips[4822]: INFO:core:init_sock_keepalive:
>>     TCP keepalive enabled on socket 21
>>     /usr/local/sbin/opensips[4822]: ERROR:core:tcp_connect_blocking:
>>     timeout 99200 ms elapsed from 100000 s
>>     /usr/local/sbin/opensips[4822]: ERROR:proto_wss:ws_sync_connect:
>>     tcp_blocking_connect failed
>>     /usr/local/sbin/opensips[4822]: ERROR:proto_wss:ws_connect:
>>     connect failed
>>     /usr/local/sbin/opensips[4822]: ERROR:proto_wss:proto_wss_send:
>>     connect failed
>>     /usr/local/sbin/opensips[4822]: ERROR:tm:msg_send: send() for
>>     proto 6 failed
>>     /usr/local/sbin/opensips[4822]: ERROR:tm:t_forward_nonack:
>>     sending request failed
>>     /usr/local/sbin/opensips[4822]: INFO:core:probe_max_sock_buff:
>>     using snd buffer of 416 kb
>>     /usr/local/sbin/opensips[4822]: INFO:core:init_sock_keepalive:
>>     TCP keepalive enabled on socket 21
>>     /usr/local/sbin/opensips[4822]: ERROR:core:tcp_connect_blocking:
>>     timeout 101189 ms elapsed from 100000 s
>>     /usr/local/sbin/opensips[4822]: ERROR:proto_wss:ws_sync_connect:
>>     tcp_blocking_connect failed
>>     /usr/local/sbin/opensips[4822]: ERROR:proto_wss:ws_connect:
>>     connect failed
>>     /usr/local/sbin/opensips[4822]: ERROR:proto_wss:proto_wss_send:
>>     connect failed
>>     /usr/local/sbin/opensips[4822]: ERROR:tm:msg_send: send() for
>>     proto 6 failed
>>     /usr/local/sbin/opensips[4822]: ERROR:tm:t_forward_nonack:
>>     sending request failed
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port 50878]:
>>     Unknown STUN attribute: 0xc057
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port 50879]:
>>     Unknown STUN attribute: 0xc057
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Received
>>     command 'answer' from 127.0.0.1:40991 <http://127.0.0.1:40991>
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: answer time =
>>     0.001351 sec
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Replying to
>>     'answer' from 127.0.0.1:40991 <http://127.0.0.1:40991>
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port 50878]:
>>     DTLS: Peer certificate accepted
>>     rtpengine[719]: WARNING: [xgo3OaZkRrYqO3SQFH03JQ.. port 50888]:
>>     RTP packet with unknown payload type 95 received
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port 50878]:
>>     DTLS-SRTP successfully negotiated
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port 50879]:
>>     DTLS: Peer certificate accepted
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port 50879]:
>>     DTLS-SRTP successfully negotiated
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port 50878]:
>>     Unknown STUN attribute: 0xc057
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port 50879]:
>>     Unknown STUN attribute: 0xc057
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port 50878]:
>>     Unknown STUN attribute: 0xc057
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port 50879]:
>>     Unknown STUN attribute: 0xc057
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port 50879]: ICE
>>     negotiated: local interface 192.168.1.130
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port 50878]:
>>     Unknown STUN attribute: 0xc057
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port 50879]:
>>     Unknown STUN attribute: 0xc057
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port 50878]:
>>     Unknown STUN attribute: 0xc057
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port 50879]:
>>     Unknown STUN attribute: 0xc057
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port 50878]:
>>     Confirmed peer address as 192.168.1.104:55185
>>     <http://192.168.1.104:55185>
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port 50888]:
>>     Confirmed peer address as 192.168.1.104:8000
>>     <http://192.168.1.104:8000>
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port 50889]:
>>     Confirmed peer address as 192.168.1.104:8001
>>     <http://192.168.1.104:8001>
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port 50878]:
>>     Unknown STUN attribute: 0xc057
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port 50879]:
>>     Unknown STUN attribute: 0xc057
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ.. port 50879]:
>>     Confirmed peer address as 192.168.1.104:55188
>>     <http://192.168.1.104:55188>
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port 50878]:
>>     Unknown STUN attribute: 0xc057
>>     rtpengine[719]: NOTICE: [xgo3OaZkRrYqO3SQFH03JQ.. port 50879]:
>>     Unknown STUN attribute: 0xc057
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Received
>>     command 'delete' from 127.0.0.1:40991 <http://127.0.0.1:40991>
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Scheduling
>>     deletion of call branch 'u4ur4tpq02' (via-branch '') in 30 seconds
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: delete time =
>>     0.000072 sec
>>     rtpengine[719]: INFO: [xgo3OaZkRrYqO3SQFH03JQ..]: Replying to
>>     'delete' from 127.0.0.1:40991 <http://127.0.0.1:40991>
>>     Regards,
>>     Dragomir
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>     <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170407/bd2b7a35/attachment-0001.html>


More information about the Users mailing list