Module: kamailio
Branch: master
Commit: 2fc867d2861b7a16b0b6836e8de295a6b47597a8
URL:
https://github.com/kamailio/kamailio/commit/2fc867d2861b7a16b0b6836e8de295a…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2024-11-04T21:46:10+01:00
modules: readme files regenerated - timer ... [skip ci]
---
Modified: src/modules/timer/README
Modified: src/modules/tsilo/README
---
Diff:
https://github.com/kamailio/kamailio/commit/2fc867d2861b7a16b0b6836e8de295a…
Patch:
https://github.com/kamailio/kamailio/commit/2fc867d2861b7a16b0b6836e8de295a…
---
diff --git a/src/modules/timer/README b/src/modules/timer/README
index 853fe7304a3..a9705658edf 100644
--- a/src/modules/timer/README
+++ b/src/modules/timer/README
@@ -183,14 +183,14 @@ if (@timer.executed != "") {
Example 1.5. Common example using timer module
...
-loadmodule "modules/xprint/xprint.so"
-loadmodule "modules/timer/timer.so"
+loadmodule "xlog.so"
+loadmodule "timer.so"
modparam("timer", "declare_timer", "tmr1=ONTIMER,1000");
modparam("timer", "declare_timer",
"tmr2=ONTIMER2,2000,slow,enable");
route["print"] {
- xplog("L_INFO", "fired: %(a)timer.executed\n")uot;);
+ xlog("fired: $sel((a)timer.executed)\n")uot;);
}
route["ONTIMER"] {
@@ -227,20 +227,20 @@ end
route section which is called once after Kamailio starts.
...
loadmodule "timer";
-loadmodule "xprint";
+loadmodule "xlog";
modparam("timer", "declare_timer",
"TIMER_TEST=TEST,100,,enable");
request_route {
- xplog("L_E","main route");
+ xlog("main route");
}
route[TEST] {
timer_enable("TIMER_TEST", "0");
- xplog("L_E","test start\n");
+ xlog("test start\n");
# add here tested functionality
- xplog("L_E","test end\n");
- }
+ xlog("test end\n");
+}
...
diff --git a/src/modules/tsilo/README b/src/modules/tsilo/README
index 142cf6536cc..efb0ca84df1 100644
--- a/src/modules/tsilo/README
+++ b/src/modules/tsilo/README
@@ -38,6 +38,7 @@ Donat Zenichev
4.2. ts_append(domain, ruri)
4.3. ts_append_by_contact(domain, ruri [, contact])
4.4. ts_append_to(tindex, tlabel, domain, [uri])
+ 4.5. ts_append_branches(uri)
5. RPC Commands
@@ -60,6 +61,7 @@ Donat Zenichev
1.4. ts_append usage
1.5. ts_append_by_contact usage
1.6. ts_append_to usage
+ 1.7. ts_append_branches usage
Chapter 1. Admin Guide
@@ -82,6 +84,7 @@ Chapter 1. Admin Guide
4.2. ts_append(domain, ruri)
4.3. ts_append_by_contact(domain, ruri [, contact])
4.4. ts_append_to(tindex, tlabel, domain, [uri])
+ 4.5. ts_append_branches(uri)
5. RPC Commands
@@ -166,6 +169,7 @@ modparam("tsilo", "use_domain", 1)
4.2. ts_append(domain, ruri)
4.3. ts_append_by_contact(domain, ruri [, contact])
4.4. ts_append_to(tindex, tlabel, domain, [uri])
+ 4.5. ts_append_branches(uri)
4.1. ts_store([uri])
@@ -278,6 +282,18 @@ if (is_method("REGISTER")) {
}
...
+4.5. ts_append_branches(uri)
+
+ Append the current internal branches to the transaction stored for the
+ uri.
+
+ This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
+
+ Example 1.7. ts_append_branches usage
+...
+ ts_append_branches("sip:alice@$td");
+...
+
5. RPC Commands
5.1. ts.dump