Browse code

modules: readme files regenerated - modules ... [skip ci]

Kamailio Dev authored on 06/12/2021 14:01:40
Showing 1 changed files
... ...
@@ -222,9 +222,13 @@ Chapter 1. Admin Guide
222 222
    The module implements text based operations over the SIP message
223 223
    processed by Kamailio. SIP is a text based protocol and the module
224 224
    provides a large set of very useful functions to manipulate the message
225
-   at text level, e.g., regular expression search and replace, Perl-like
225
+   at text level, e.g., regular expression search, replace or
226 226
    substitutions, checks for method type, header presence, insert of new
227
-   header and date, etc.
227
+   header and date, string comparisons, multi-part body operations, etc.
228
+
229
+   If not stated otherwise, the regular expressions parameters for search,
230
+   replace or substitute have to be in POSIX format. For PCRE regular
231
+   expression matching, see the pcre or dialplan modules.
228 232
 
229 233
 2. Known Limitations
230 234
 
... ...
@@ -545,7 +549,7 @@ replace_hdrs_str("Kamailio", "Kamailio SIP Proxy", "a");
545 549
 
546 550
 4.15.  subst('/re/repl/flags')
547 551
 
548
-   Replaces re with repl (sed or perl like).
552
+   Replaces re with repl.
549 553
 
550 554
    Meaning of the parameters is as follows:
551 555
      * '/re/repl/flags' - sed like regular expression. flags can be a
... ...
@@ -626,7 +630,7 @@ if (subst_user('/(.*)3642$/$avp(user_prefix)\13642/')){$
626 630
 
627 631
 4.18.  subst_body('/re/repl/flags')
628 632
 
629
-   Replaces re with repl (sed or perl like) in the body of the message.
633
+   Replaces re with repl in the body of the message.
630 634
 
631 635
    Meaning of the parameters is as follows:
632 636
      * '/re/repl/flags' - sed like regular expression. flags can be a
... ...
@@ -647,7 +651,7 @@ if ( subst_body('/^o=(.*) /o=$fU /') ) {};
647 651
 
648 652
 4.19.  subst_hf(hf, subexp, flags)
649 653
 
650
-   Perl-like substitutions in the body of a header field.
654
+   Substitutions in the body of a header field.
651 655
 
652 656
    Meaning of the parameters is as follows:
653 657
      * hf - header field name.
... ...
@@ -713,7 +717,7 @@ set_reply_body("test", "text/plain");
713 717
    Example 1.22. filter_body usage
714 718
 ...
715 719
 if (has_body("multipart/mixed")) {
716
-    if (filter_body("application/sdp") {
720
+    if (filter_body("application/sdp")) {
717 721
         remove_hf("Content-Type");
718 722
         append_hf("Content-Type: application/sdp\r\n");
719 723
     } else {