Yes, is is possible way, but not preferred, because appears time lag between actual time end of call(user close tab) and time when opensips drop call can be up to 25 seconds (my interval reINVITE pinging).
I mean i use create_dialog() with reINVITE, but the accuracy is less. This has a negative effect on the CDR, i have wrong call duration stat.
I want end call exactly at the same time when TCP connection closed.
24.08.2018, 12:42, "Pasan Meemaduma via Users" <[email protected]>:
,Hi Kertor,Won't dialog module create_dialog() help you achieve this ?you can setup in dialog pinging and make dialog end when either party unable to respond to the ReInvites.On Friday, 24 August 2018, 2:57:12 PM GMT+5:30, [email protected] <[email protected]> wrote: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_WAITADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535poll 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_______________________________________________Users mailing list_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
