2
0
Эх сурвалжийг харах

modules: readme files regenerated - textops ...

Kamailio Dev 9 жил өмнө
parent
commit
a2b4207cf7

+ 12 - 2
modules/textops/README

@@ -992,11 +992,19 @@ if (starts_with("$rU", "+358"))
    The core will take care of the last boundary ending "--". Detecting
    The core will take care of the last boundary ending "--". Detecting
    wich one is the last and fixing the others if needed.
    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
    Example 1.37. set_body_multipart usage
 ...
 ...
 set_body_multipart("test", "text/plain", "delimiter");
 set_body_multipart("test", "text/plain", "delimiter");
+msg_apply_changes();
+append_body_part(...);
+
 ...
 ...
-Will produce:
+
+# Will produce:
+
 ...
 ...
 Content-Type: multipart/mixed;boundary="delimiter"
 Content-Type: multipart/mixed;boundary="delimiter"
 Mime-Version: 1.0
 Mime-Version: 1.0
@@ -1033,7 +1041,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
 append_body_part("$var(b)", "application/vnd.cirpack.isdn-ext", "signal;handling
 =required");
 =required");
 ...
 ...
-Will append this the body:
+
+# Will append this to the body:
+
 ...
 ...
 Content-Type: application/vnd.cirpack.isdn-ext
 Content-Type: application/vnd.cirpack.isdn-ext
 Content-Disposition: signal;handling=required
 Content-Disposition: signal;handling=required