[OpenSIPS-Users] Automatically end SIP call over wss if TCP connection is closed
kertor-f at yandex.ru
kertor-f at yandex.ru
Fri Aug 24 05:26:22 EDT 2018
Hello everyone! Can you please help me to understand one thing. I have scheme:
|-------------------------------------------------------------------------------------------------------------------------------------------------------|
| "User with Google Chrome tab with widget" <---------------------------> (WSS)opensips(UDP) <------------> softswitch.|
| SIP in WSS(TCP) SIP(UDP) | - TRANSPORT
|__________________________________________________________________________________________|
When the user has finished work with widget, he just close browser tab with widget. As a consequence of this, opensips cannot received BYE from widget and dialog continues, although the TCP session is closed.
I want to understand, is there a way to detect closed TCP connections and terminate calls for them automatically?
Or other situation - the user has lost the Internet connection and other.
Thank you!
p.s.
version: opensips 2.3.5 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
main.c compiled on 00:00:26 Aug 15 2018 with gcc 4.8.5
More information about the Users
mailing list