It looks like a nat issue. Most probably ACK after first 200 ok is unbale to reach callee. Check debug logs and also make sure you have defined advertised address in kamailio and request is going through kamailio natted route.

On Wed, 14 Nov 2018 at 1:30 PM, Mathias Brodala - Pagemachine AG <mbrodala@pagemachine.de> wrote:
Hi,

I am currently testing a setup to do video calls via WebRTC and have set up Kamailio as SIP server.
So far the calls are working fine, but after around 30 seconds the calls are terminated.

I can reproduce this easily both with the JsSIP demo [0] as well as the SIPjs demo [1].

The browser console using JsSIP log [2] shows me this:

> JsSIP:WebSocketInterface WebSocket wss://sip.example.org closed +60s
> jssip-3.2.10.js:23490 JsSIP:WebSocketInterface WebSocket abrupt disconnection +1ms

Please also have a look at my kamailio.cfg [3]. I tried to follow the docs of the websocket module [4]
as close as possible to get everything up and running.

Kamailio is currently running on a private DigitalOcean droplet and I already tried to disable all
firewall rules without change. I also asked the DO staff if something could lead to UDP packets
getting dropped after some time but I was told that there is no such logic in the DO network.

Please let me know if you can find anything unusual which could cause this behavior or if you
need more information.

Thank you,
Mathias Brodala

--

Dipl.-Inf. (FH) Mathias Brodala
Tel.: 069.260.99.70.45 Fax: .31
mbrodala@pagemachine.de

  


Pagemachine AG
Solmsstraße 6a, 60486 Frankfurt am Main

Vorstand:
Volker Neuenhaus, Stefan Schütt, Miklos Weiszhaupt
Vorsitzender des Aufsichtsrats: Holger Kleinschmidt

Registergericht: Amtsgericht Frankfurt
Registernummer: HRB 56436
Umsatzsteuer-ID: DE226286966

        

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users