Module: kamailio
Branch: master
Commit: ba98cbb78e0e2b9f4075bf548bb8e9bc3c3c8b48
URL:
https://github.com/kamailio/kamailio/commit/ba98cbb78e0e2b9f4075bf548bb8e9b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-04-01T08:50:16+02:00
evrexec: docs update with variable example
---
Modified: src/modules/evrexec/doc/evrexec_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/ba98cbb78e0e2b9f4075bf548bb8e9b…
Patch:
https://github.com/kamailio/kamailio/commit/ba98cbb78e0e2b9f4075bf548bb8e9b…
---
diff --git a/src/modules/evrexec/doc/evrexec_admin.xml
b/src/modules/evrexec/doc/evrexec_admin.xml
index 565b33f560..a2bcfe1403 100644
--- a/src/modules/evrexec/doc/evrexec_admin.xml
+++ b/src/modules/evrexec/doc/evrexec_admin.xml
@@ -102,7 +102,8 @@
<listitem>
<para>
<emphasis>sockaddr</emphasis> - full UDP socket address in format
- 'udp:ip:port' (example: 'udp:127.0.0.1:54321').
+ 'udp:ip:port' (example: 'udp:127.0.0.1:54321'). Received data is
+ made available in the event route via $evr(data).
</para>
</listitem>
@@ -129,7 +130,7 @@ event_route[evrexec:timer] {
}
event_route[evrexec:udp] {
- xinfo("udp socket data: [$evr(data)]\n");
+ xinfo("udp socket data: [$evr(data)] from [$evr(srcip)]\n");
}
...