[sr-dev] [kamailio/kamailio] Catch exceptions in cfg event_route when using tcp to transmit sip (#2614)

zhangyang notifications at github.com
Fri Jan 29 10:03:44 CET 2021


### Description

  When we use tcp to transmit the regester message of softphone and kamailio, we want to check whether the softphone is disconnected in real time. At present, we can get the broken link in the log, but cannot process it from the cfg file. Can we add an Event Routes?

### Expected behavior

 add an Event Routes when sip tcp broke


#### Log Messages
this is we get log

![image](https://user-images.githubusercontent.com/16113837/106254191-661e4700-6253-11eb-9d3c-6d2a8a800ff5.png)



### Additional Information

version: kamailio 5.4.2 (x86_64/linux) 
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id:  
compiled on 20:13:39 Nov  9 2020 with gcc 4.8.5

* **Operating System**:
CentOS Linux release 7.8.2003 (Core)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2614
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210129/2514aa15/attachment.htm>


More information about the sr-dev mailing list