Module: kamailio
Branch: 5.3
Commit: 3e21c4d96e9f88ef9013467ea43acae6c31f307c
URL: https://github.com/kamailio/kamailio/commit/3e21c4d96e9f88ef9013467ea43acae…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2021-12-06T15:01:40+01:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/textops/README
---
Diff: https://github.com/kamailio/kamailio/commit/3e21c4d96e9f88ef9013467ea43acae…
Patch: https://github.com/kamailio/kamailio/commit/3e21c4d96e9f88ef9013467ea43acae…
---
diff --git a/src/modules/textops/README b/src/modules/textops/README
index 3a9a6658a0..0d6b9347dd 100644
--- a/src/modules/textops/README
+++ b/src/modules/textops/README
@@ -222,9 +222,13 @@ Chapter 1. Admin Guide
The module implements text based operations over the SIP message
processed by Kamailio. SIP is a text based protocol and the module
provides a large set of very useful functions to manipulate the message
- at text level, e.g., regular expression search and replace, Perl-like
+ at text level, e.g., regular expression search, replace or
substitutions, checks for method type, header presence, insert of new
- header and date, etc.
+ header and date, string comparisons, multi-part body operations, etc.
+
+ If not stated otherwise, the regular expressions parameters for search,
+ replace or substitute have to be in POSIX format. For PCRE regular
+ expression matching, see the pcre or dialplan modules.
2. Known Limitations
@@ -545,7 +549,7 @@ replace_hdrs_str("Kamailio", "Kamailio SIP Proxy", "a");
4.15. subst('/re/repl/flags')
- Replaces re with repl (sed or perl like).
+ Replaces re with repl.
Meaning of the parameters is as follows:
* '/re/repl/flags' - sed like regular expression. flags can be a
@@ -626,7 +630,7 @@ if (subst_user('/(.*)3642$/$avp(user_prefix)\13642/')){$
4.18. subst_body('/re/repl/flags')
- Replaces re with repl (sed or perl like) in the body of the message.
+ Replaces re with repl in the body of the message.
Meaning of the parameters is as follows:
* '/re/repl/flags' - sed like regular expression. flags can be a
@@ -647,7 +651,7 @@ if ( subst_body('/^o=(.*) /o=$fU /') ) {};
4.19. subst_hf(hf, subexp, flags)
- Perl-like substitutions in the body of a header field.
+ Substitutions in the body of a header field.
Meaning of the parameters is as follows:
* hf - header field name.
@@ -713,7 +717,7 @@ set_reply_body("test", "text/plain");
Example 1.22. filter_body usage
...
if (has_body("multipart/mixed")) {
- if (filter_body("application/sdp") {
+ if (filter_body("application/sdp")) {
remove_hf("Content-Type");
append_hf("Content-Type: application/sdp\r\n");
} else {
Module: kamailio
Branch: 5.3
Commit: 6a230024af804ab97a2e260e5a644ad1f58d8c76
URL: https://github.com/kamailio/kamailio/commit/6a230024af804ab97a2e260e5a644ad…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-12-06T14:42:18+01:00
core: clarification for -b cli parameter
(cherry picked from commit f068a9ad1892777bfb9a6d1bcfd17a291578c6b6)
(cherry picked from commit 68a694676df0e0a0d0a8d0180ebc39f9893b49bc)
(cherry picked from commit 748cd0834cc9118fec1ee69b749daad7203346fb)
---
Modified: src/main.c
---
Diff: https://github.com/kamailio/kamailio/commit/6a230024af804ab97a2e260e5a644ad…
Patch: https://github.com/kamailio/kamailio/commit/6a230024af804ab97a2e260e5a644ad…
---
diff --git a/src/main.c b/src/main.c
index 6ca7feb5ef..0e16009e19 100644
--- a/src/main.c
+++ b/src/main.c
@@ -164,8 +164,8 @@ Options:\n\
(like for 'alias' global parameter)\n\
-A define Add config pre-processor define (e.g., -A WITH_AUTH,\n\
-A 'FLT_ACC=1', -A 'DEFVAL=\"str-val\"')\n\
- -b nr Maximum receive buffer size which will not be exceeded by\n\
- auto-probing procedure even if OS allows\n\
+ -b nr Maximum OS UDP receive buffer size which will not be exceeded by\n\
+ auto-probing-and-increase procedure even if OS allows\n\
-c Check configuration file for syntax errors\n\
-d Debugging mode (multiple -d increase the level)\n\
-D Control how daemonize is done:\n\
Module: kamailio
Branch: 5.3
Commit: 319477691bfed48749eea5c40626f033bfbcf842
URL: https://github.com/kamailio/kamailio/commit/319477691bfed48749eea5c40626f03…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-12-06T14:40:43+01:00
textops: docs update to state regex params expect posix format
(cherry picked from commit b19aab7fe00f72d0c9e54a7a106ec7a065a3d02b)
(cherry picked from commit a78acd8f40ed38b161a075bef74febd93acb092c)
(cherry picked from commit e4eda3f5131e2788670a1f9f8342a2889e9b1107)
---
Modified: src/modules/textops/doc/textops_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/319477691bfed48749eea5c40626f03…
Patch: https://github.com/kamailio/kamailio/commit/319477691bfed48749eea5c40626f03…
---
diff --git a/src/modules/textops/doc/textops_admin.xml b/src/modules/textops/doc/textops_admin.xml
index 4d5a7372ed..59eba31655 100644
--- a/src/modules/textops/doc/textops_admin.xml
+++ b/src/modules/textops/doc/textops_admin.xml
@@ -19,9 +19,15 @@
The module implements text based operations over the SIP message
processed by &kamailio;. SIP is a text based protocol and the module
provides a large set of very useful functions to manipulate the
- message at text level, e.g., regular expression search and replace,
- Perl-like substitutions, checks for method type, header presence,
- insert of new header and date, etc.
+ message at text level, e.g., regular expression search, replace
+ or substitutions, checks for method type, header presence,
+ insert of new header and date, string comparisons, multi-part body
+ operations, etc.
+ </para>
+ <para>
+ If not stated otherwise, the regular expressions parameters for search,
+ replace or substitute have to be in POSIX format. For PCRE regular
+ expression matching, see the pcre or dialplan modules.
</para>
</section>
<section>
@@ -555,7 +561,7 @@ replace_hdrs_str("&kamailio;", "&kamailio; SIP Proxy", "a");
<function moreinfo="none">subst('/re/repl/flags')</function>
</title>
<para>
- Replaces re with repl (sed or perl like).
+ Replaces re with repl.
</para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
@@ -692,7 +698,7 @@ if (subst_user('/(.*)3642$/$avp(user_prefix)\13642/')){$
<function moreinfo="none">subst_body('/re/repl/flags')</function>
</title>
<para>
- Replaces re with repl (sed or perl like) in the body of the message.
+ Replaces re with repl in the body of the message.
</para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
@@ -732,7 +738,7 @@ if ( subst_body('/^o=(.*) /o=$fU /') ) {};
<function moreinfo="none">subst_hf(hf, subexp, flags)</function>
</title>
<para>
- Perl-like substitutions in the body of a header field.
+ Substitutions in the body of a header field.
</para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>