Re: [SR-Users] Connection-oriented socket closure event hooks

2020-09-18 Thread Daniel-Constantin Mierla
Hello, I haven't implemented the code for these event routes, but looking at the code, at least for tls (and in most of the cases, websocket is over tls), the file descriptor for connection is passed to libssl for handling, so our C code gets directly the decrypted traffic, therefore the managemen

[SR-Users] Connection-oriented socket closure event hooks

2020-09-17 Thread Alex Balashov
Hi, The `tcpops` module exposes, * event_route[tcp:closed] * event_route[tcp:timeout] * event_route[tcp:reset] These fire on closure of TCP connections and TLS connections. TLS is considered a separate transport in Kamailio, having distinct identifiers in all cases where transport protocol is