these new commits on top of those proposed in issue #461 now define 3 modes for the `tcp:closed` event route: - **0**: globally disabled - **1**: globally enabled - **2**: manual (enabled when `tcp_enable_closed_event()` was applied)
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/504
-- Commit Summary --
* tcp: define new flag to control tcpop's tcp:closed * tcpops: per-connection control over tcp:closed * tcpops: add "disabled mode" to closed_event param * tcpops: update README
-- File Changes --
M modules/tcpops/README (97) M modules/tcpops/doc/functions.xml (43) M modules/tcpops/doc/params.xml (29) M modules/tcpops/tcpops.c (10) M modules/tcpops/tcpops.h (2) M modules/tcpops/tcpops_mod.c (64) M tcp_conn.h (1)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/504.patch https://github.com/kamailio/kamailio/pull/504.diff
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/504
Thanks! I will merge this to complete the new feature for event_route on tcp close event.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/504#issuecomment-181785555
Merged #504.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/504#event-544103232