From kenankocaerkek@gmail.com Mon Jan 29 19:05:30 2018 From: Kenan Kocaerkek To: sr-users@lists.kamailio.org Subject: [SR-Users] i can not receive BYE after websocket has been closed and reconnected during the call Date: Mon, 29 Jan 2018 21:05:22 +0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1381989272==" --===============1381989272== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, I have a WebRTC softphone based on JsSIP and kamailio 4.4.7. Generally it works well but sometimes websocket connections interrupt and reconnect immediately (especially running behind proxies). If the interruption occurs during an active call, kamailio tries to send BYE message to softphone over closed websocket. gruu_enabled flag is active on registrar module and JsSIP sends proper sip.instance value. So after ws reconnects, registered contact details do not change on kamailio except Expires value. Is it possible to send BYE message via contact's last active websocket after reconnect? Jan 29 14:35:20 registrar-kenan /usr/local/sbin/kamailio[30357]: WARNING: