[sr-dev] git:5.1:082dd0c1: tm: add missing docs about event_route[tm:local-request], GH #980

Henning Westerholt hw at skalatan.de
Mon Jul 22 21:18:36 CEST 2019


Module: kamailio
Branch: 5.1
Commit: 082dd0c14e4d975a73f658d8f439766f9c878f3b
URL: https://github.com/kamailio/kamailio/commit/082dd0c14e4d975a73f658d8f439766f9c878f3b

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-07-22T21:18:24+02:00

tm: add missing docs about event_route[tm:local-request], GH #980

(cherry picked from commit 8d613cb532fadecddde799a982bd9acf96df1eaf)

---

Modified: src/modules/tm/doc/event_routes.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/082dd0c14e4d975a73f658d8f439766f9c878f3b.diff
Patch: https://github.com/kamailio/kamailio/commit/082dd0c14e4d975a73f658d8f439766f9c878f3b.patch

---

diff --git a/src/modules/tm/doc/event_routes.xml b/src/modules/tm/doc/event_routes.xml
index a85474d3f0..adda5536ed 100644
--- a/src/modules/tm/doc/event_routes.xml
+++ b/src/modules/tm/doc/event_routes.xml
@@ -39,6 +39,25 @@ event_route[tm:branch-failure:myroute] {
 	    </programlisting>
 	</example>
     </section>
+	<section id="tm.e.local-request">
+		<title>
+			<function moreinfo="none">event_route[tm:local-request]</function>
+		</title>
+		<para>
+			Executed after the tm module has sent a local generated, transaction stateful request.
+		</para>
+		<example>
+			<title><function>event_route[tm:local-request]</function> usage</title>
+			<programlisting  format="linespecific">
+...
+event_route [tm:local-request] {
+    xlog("L_INFO", "Routing locally generated $rm to $ru\n");
+    t_set_fr(10000, 10000);
+}
+...
+			</programlisting>
+		</example>
+	</section>
 	<section id="tm.e.local-response">
 		<title>
 			<function moreinfo="none">event_route[tm:local-response]</function>




More information about the sr-dev mailing list