[sr-dev] git:master:1959a8f2: modules: readme files regenerated - evrexec ... [skip ci]
Kamailio Dev
kamailio.dev at kamailio.org
Fri Feb 22 12:32:35 CET 2019
Module: kamailio
Branch: master
Commit: 1959a8f23ff0fd78f1a34045addfc5a096db6556
URL: https://github.com/kamailio/kamailio/commit/1959a8f23ff0fd78f1a34045addfc5a096db6556
Author: Kamailio Dev <kamailio.dev at kamailio.org>
Committer: Kamailio Dev <kamailio.dev at kamailio.org>
Date: 2019-02-22T12:32:12+01:00
modules: readme files regenerated - evrexec ... [skip ci]
---
Modified: src/modules/evrexec/README
---
Diff: https://github.com/kamailio/kamailio/commit/1959a8f23ff0fd78f1a34045addfc5a096db6556.diff
Patch: https://github.com/kamailio/kamailio/commit/1959a8f23ff0fd78f1a34045addfc5a096db6556.patch
---
diff --git a/src/modules/evrexec/README b/src/modules/evrexec/README
index 02ae3c86b8..f7363c4c43 100644
--- a/src/modules/evrexec/README
+++ b/src/modules/evrexec/README
@@ -28,6 +28,10 @@ Daniel-Constantin Mierla
3.1. exec (str)
+ 4. RPC Commands
+
+ 4.1. evrexec.run
+
List of Examples
1.1. Set exec parameter
@@ -46,6 +50,10 @@ Chapter 1. Admin Guide
3.1. exec (str)
+ 4. RPC Commands
+
+ 4.1. evrexec.run
+
1. Overview
The module executes event route blocks or KEMI functions on dedicated
@@ -108,3 +116,30 @@ event_route[evrexec:timer] {
}
}
...
+
+4. RPC Commands
+
+ 4.1. evrexec.run
+
+4.1. evrexec.run
+
+ Run an event_route block or a KEMI function upon an RPC command.
+
+ Name: evroute.run
+
+ Parameters:
+ * evname
+ - the name of the event route block or the KEMI function.
+ * evdata
+ - (optional) - arbitrary data passed as a string, which is made
+ available inside event route block as $evr(data).
+
+ RPC Command Format:
+...
+event_route[evrexec:test] {
+ xlog("rpc command data: $evr(data)\n");
+}
+...
+kamctl rpc evroute.run evroute:test
+kamctl rpc evroute.run evroute:test mydata
+...
More information about the sr-dev
mailing list