[OpenSIPS-Users] Automatically end SIP call over wss if	TCP	connection is closed
    Pasan Meemaduma 
    pasandev at ymail.com
       
    Fri Aug 24 05:37:50 EDT 2018
    
    
  
Hi Kertor,
Won't dialog module create_dialog() help you achieve this ?
http://www.opensips.org/html/docs/modules/2.3.x/dialog.html#idp5841392
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, kertor-f at yandex.ru <kertor-f at yandex.ru> 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_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
_______________________________________________
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/20180824/14c3cb67/attachment.html>
    
    
More information about the Users
mailing list