[OpenSIPS-Users] webrtc does not work

Mikhail Sidorov m.sidorov83 at gmail.com
Wed Jun 21 07:43:18 EDT 2017


Hi Răzvan

Proposed solution does not work for me. And I just re-read rr module
decription.
Core issue is that opensips try to send bye to already closed connection.
I think I could not use loose_route with sip.js as far as web client change
its port on re-register. Or I have to forbid sip.js to open new websocket
connection and force it to use old one.
Probably I will try to write special custom code for BYE.


2017-06-21 17:25 GMT+07:00 Răzvan Crainea <razvan at opensips.org>:

> Hi, Mikhail!
>
> This issue was already discussed in a different thread. The solution was
> posted by Dragomir here[1].
>
> [1] http://lists.opensips.org/pipermail/users/2017-May/037372.html
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Solutionswww.opensips-solutions.com
>
> On 06/21/2017 12:16 PM, Mikhail Sidorov wrote:
>
> Hi
>
> I am trying to use opensips 2.2.3 + freeswitch + sip.js and I found that
> loose_relay could not find proper websocket connection to send BYE if
> client re-register during call.
> Is there any way to handle this?
>
> Steps to reproduce:
> 1. Connect 2 web clients using sip.js to opensips
> 2. Initiate the call
> 3. Wait for about a minute for client A to re-register
> 4. Let client B hangup the call.
> 5. Client A never receive hangup
>
> logs:
>
> Jun 21 09:04:26 s /usr/sbin/opensips[10054]: INFO:core:probe_max_sock_buff:
> using snd buffer of 416 kb
> Jun 21 09:04:26 s /usr/sbin/opensips[10054]: INFO:core:init_sock_keepalive:
> TCP keepalive enabled on socket 23
> Jun 21 09:04:26 s /usr/sbin/opensips[10054]: ERROR:core:tcp_connect_blocking:
> timeout 99219 ms elapsed from 100000 s
> Jun 21 09:04:26 s /usr/sbin/opensips[10054]: ERROR:proto_wss:ws_sync_
> connect: tcp_blocking_connect failed
> Jun 21 09:04:26 s /usr/sbin/opensips[10054]: ERROR:proto_wss:ws_connect:
> connect failed
> Jun 21 09:04:26 s /usr/sbin/opensips[10054]: ERROR:proto_
> wss:proto_wss_send: connect failed
> Jun 21 09:04:26 s /usr/sbin/opensips[10054]: ERROR:tm:msg_send: send() for
> proto 6 failed
> Jun 21 09:04:26 s /usr/sbin/opensips[10054]: ERROR:tm:t_forward_nonack:
> sending request failed
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170621/47e30b9f/attachment.html>


More information about the Users mailing list