[sr-dev] git:master:0cec8619: modules: readme files regenerated - tcpops ...

Kamailio Dev kamailio.dev at kamailio.org
Tue Sep 6 11:01:36 CEST 2016


Module: kamailio
Branch: master
Commit: 0cec8619459b14bb70bc7d41417e5ee3553ca240
URL: https://github.com/kamailio/kamailio/commit/0cec8619459b14bb70bc7d41417e5ee3553ca240

Author: Kamailio Dev <kamailio.dev at kamailio.org>
Committer: Kamailio Dev <kamailio.dev at kamailio.org>
Date: 2016-09-06T11:01:27+02:00

modules: readme files regenerated - tcpops ...

---

Modified: modules/tcpops/README

---

Diff:  https://github.com/kamailio/kamailio/commit/0cec8619459b14bb70bc7d41417e5ee3553ca240.diff
Patch: https://github.com/kamailio/kamailio/commit/0cec8619459b14bb70bc7d41417e5ee3553ca240.patch

---

diff --git a/modules/tcpops/README b/modules/tcpops/README
index a0c7e76..3918b00 100644
--- a/modules/tcpops/README
+++ b/modules/tcpops/README
@@ -31,6 +31,10 @@ Olle E. Johansson
               3.5. tcp_set_connection_lifetime([conid], lifetime)
               3.6. tcp_enable_closed_event([conid])
 
+        4. Event routes
+
+              4.1. tcp:closed
+
    List of Examples
 
    1.1. Set closed_event parameter
@@ -59,6 +63,10 @@ Chapter 1. Admin Guide
         3.5. tcp_set_connection_lifetime([conid], lifetime)
         3.6. tcp_enable_closed_event([conid])
 
+   4. Event routes
+
+        4.1. tcp:closed
+
 1. Overview
 
    This modules allows Kamailio to control the TCP connection options
@@ -277,3 +285,22 @@ request_route {
 event_route[tcp:closed] {
         xlog("connection $conid was closed");
 }
+
+4. Event routes
+
+   4.1. tcp:closed
+
+4.1.  tcp:closed
+
+   This route is called when a socket is closed by the remote party, or
+   reset, or timeout. The corresponding $conid variable will be available
+   in the event route.
+
+   Whether this route is always called, never, or on a per socket basis is
+   controlled by the closed_event parameter.
+
+...
+event_route[tcp:closed] {
+    xlog("L_INFO", "TCP connection closed ($conid)\n");
+}
+...




More information about the sr-dev mailing list