[sr-dev] git:4.4:fbfaa30b: modules: readme files regenerated - textops ...

Kamailio Dev kamailio.dev at kamailio.org
Wed Sep 14 15:16:25 CEST 2016


Module: kamailio
Branch: 4.4
Commit: fbfaa30bc9f3e7fe63f05c0a488e3c331436b9c3
URL: https://github.com/kamailio/kamailio/commit/fbfaa30bc9f3e7fe63f05c0a488e3c331436b9c3

Author: Kamailio Dev <kamailio.dev at kamailio.org>
Committer: Kamailio Dev <kamailio.dev at kamailio.org>
Date: 2016-09-14T15:16:16+02:00

modules: readme files regenerated - textops ...

---

Modified: modules/textops/README

---

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

---

diff --git a/modules/textops/README b/modules/textops/README
index e6c09c9..752607e 100644
--- a/modules/textops/README
+++ b/modules/textops/README
@@ -999,11 +999,19 @@ if (starts_with("$rU", "+358"))
    The core will take care of the last boundary ending "--". Detecting
    wich one is the last and fixing the others if needed.
 
+   Note: it may be required that msg_apply_changes() from textops module
+   has to be executed if there are other operations over the new body.
+
    Example 1.37. set_body_multipart usage
 ...
 set_body_multipart("test", "text/plain", "delimiter");
+msg_apply_changes();
+append_body_part(...);
+
 ...
-Will produce:
+
+# Will produce:
+
 ...
 Content-Type: multipart/mixed;boundary="delimiter"
 Mime-Version: 1.0
@@ -1040,7 +1048,9 @@ $var(b) = "7e Od 04 55 75 69 20 4d 61 6b 65 43 61 6c 6c"
 append_body_part("$var(b)", "application/vnd.cirpack.isdn-ext", "signal;handling
 =required");
 ...
-Will append this the body:
+
+# Will append this to the body:
+
 ...
 Content-Type: application/vnd.cirpack.isdn-ext
 Content-Disposition: signal;handling=required




More information about the sr-dev mailing list