Module: kamailio
Branch: master
Commit: 3eff208df921d6693a015836a266bf87212aae96
URL: 
https://github.com/kamailio/kamailio/commit/3eff208df921d6693a015836a266bf87212aae96

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2024-11-26T13:15:48+01:00

async: docs for async_tkv_emit()

---

Modified: src/modules/async/doc/async_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/3eff208df921d6693a015836a266bf87212aae96.diff
Patch: 
https://github.com/kamailio/kamailio/commit/3eff208df921d6693a015836a266bf87212aae96.patch

---

diff --git a/src/modules/async/doc/async_admin.xml 
b/src/modules/async/doc/async_admin.xml
index 152c6be5db7..f11e28540ed 100644
--- a/src/modules/async/doc/async_admin.xml
+++ b/src/modules/async/doc/async_admin.xml
@@ -463,6 +463,35 @@ route[RESUME] {
    exit;
 }
 ...
+</programlisting>
+       </example>
+       </section>
+       <section id="async.f.async_tkv_emit">
+               <title>
+                       <function moreinfo="none">async_tkv_emit(type, key, 
value)</function>
+               </title>
+               <para>
+               Emit a type-key-value event.
+               </para>
+               <para>
+               This function can be used from ANY_ROUTE.
+               </para>
+               <example>
+               <title><function>async_tkv_emit</function> usage</title>
+               <programlisting format="linespecific">
+...
+async_workers_group="name=tkv;workers=1;nonblock=0;usleep=0"
+...
+request_route {
+    ...
+    async_tkv_emit("8000", "call", "caller='$fU';callee='$tU'");
+    ...
+}
+event_route[core:tkv] {
+    xinfo("$atkv(type) / $atkv(key) / $atkv(val)\n");
+    exit;
+}
+...
 </programlisting>
        </example>
        </section>

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to