Module: kamailio
Branch: 5.2
Commit: 0d3c8cfe6be0ab712baa75a0d0b972f79fa19226
URL:
https://github.com/kamailio/kamailio/commit/0d3c8cfe6be0ab712baa75a0d0b972f…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2020-01-23T15:16:27+01:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/tls/README
Modified: src/modules/tm/README
---
Diff:
https://github.com/kamailio/kamailio/commit/0d3c8cfe6be0ab712baa75a0d0b972f…
Patch:
https://github.com/kamailio/kamailio/commit/0d3c8cfe6be0ab712baa75a0d0b972f…
---
diff --git a/src/modules/tls/README b/src/modules/tls/README
index c02343ca3a..ccb1ba7812 100644
--- a/src/modules/tls/README
+++ b/src/modules/tls/README
@@ -1394,7 +1394,7 @@ modparam("tls", "config",
"/usr/local/etc/kamailio/tls.cfg")
modparam("tls", "xavp_cfg", "tls")
...
$xavp(tls=>server_name) = "kamailio.org";
- $xavp(tls=>server_id) = "kamailio.org";
+ $xavp(tls[0]=>server_id) = "kamailio.org";
$du = "sip:kamailio.org:5061;transport=tls";
route(RELAY);
...
diff --git a/src/modules/tm/README b/src/modules/tm/README
index 708e7c7e0f..3cca79d0fa 100644
--- a/src/modules/tm/README
+++ b/src/modules/tm/README
@@ -1905,17 +1905,20 @@ branch_route[1] {
the only way a script can add a new transaction in an atomic way.
Typically, it is used to deploy a UAS.
- Note that any flag operations (e.g. for accounting) after this function
- has been called will be ignored. You can use the the tmx module
- function t_flush_flags() to flush the altered flags to the already
- created transaction.
+ Note: once the t_newtran() is executed, the new message flag operations
+ (i.e., setflag() and resetflag()) are not syncronized to the
+ transaction, being stored only in the private memory SIP message
+ structure. Use the tmx module function t_flush_flags() to synchronize
+ the modified message flags to the already created transaction.
Example 1.55. t_newtran usage
...
if (t_newtran()) {
- log("UAS logic");
+ xlog("the transaction has been created\n");
t_reply("999","hello");
-} else sl_reply_error();
+} else {
+ sl_reply_error();
+}
...
See misc/examples/mixed/uas.cfg for more examples.