Module: kamailio Branch: master Commit: bbf570485b791d809e07d35539bfde7e6c7f3b90 URL: https://github.com/kamailio/kamailio/commit/bbf570485b791d809e07d35539bfde7e6c7f3b90
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2025-12-12T11:37:41+01:00 tm: docs for evcb_local_ack_sent parameter --- Modified: src/modules/tm/doc/params.xml --- Diff: https://github.com/kamailio/kamailio/commit/bbf570485b791d809e07d35539bfde7e6c7f3b90.diff Patch: https://github.com/kamailio/kamailio/commit/bbf570485b791d809e07d35539bfde7e6c7f3b90.patch --- diff --git a/src/modules/tm/doc/params.xml b/src/modules/tm/doc/params.xml index b8d2f70bac3..906f16bdcc5 100644 --- a/src/modules/tm/doc/params.xml +++ b/src/modules/tm/doc/params.xml @@ -1574,6 +1574,36 @@ end </example> </section> + <section id="tm.p.evcb_local_ack_sent"> + <title><varname>evcb_local_ack_sent</varname> (str)</title> + <para> + The name of the function in the kemi configuration file (embedded + scripting language such as Lua, Python, ...) to be executed instead + of event_route[tm:local-ack-sent] block. The function receives + a string parameter with the name of the event, respectively + "tm:local-ack-sent". + </para> + <para> + <emphasis> + Default value is 'empty' (no function is executed for events). + </emphasis> + </para> + <example> + <title>Set <varname>evcb_local_ack_sent</varname> parameter</title> + <programlisting format="linespecific"> +... +modparam("tm", "evcb_local_ack_sent", "ksr_tm_event_local_ack_sent") +... +-- event callback function implemented in Lua +function ksr_tm_event_local_ack_sent(evname) + KSR.info("===== tm module triggered event: " .. evname .. "\n"); + return 1; +end +... +</programlisting> + </example> + </section> + <section id="tm.p.relay_100"> <title><varname>relay_100</varname> (str)</title> <para> _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
