From b111ef210fa6044c5bc291d09eb1a856e1f959f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD=20=D0=9F=D0=B0=D0=BB=D0=B0?= =?UTF-8?q?=D1=83=D0=B7=D0=BE=D0=B2?= Date: Sat, 24 Dec 2022 18:58:45 +0200 Subject: [PATCH] textops: typos --- src/modules/textops/doc/textops_admin.xml | 34 +++++++++++------------ 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/modules/textops/doc/textops_admin.xml b/src/modules/textops/doc/textops_admin.xml index dbca57e5f0a..2f9c12af954 100644 --- a/src/modules/textops/doc/textops_admin.xml +++ b/src/modules/textops/doc/textops_admin.xml @@ -144,7 +144,7 @@ if ( search_body("[Ss][Ii][Pp]") ) { /*....*/ };
- <function moreinfo="none">search_str(text. re)</function> + <function moreinfo="none">search_str(text, re)</function> Searches for the re in the body of the message. @@ -811,7 +811,7 @@ if ( subst_hf("From", "/:test@/:best@/", "a") ) { /*....*/ };
- <function moreinfo="none">set_body(txt,content_type)</function> + <function moreinfo="none">set_body(txt, content_type)</function> Set body to a SIP message. @@ -845,7 +845,7 @@ set_body("test", "text/plain");
- <function moreinfo="none">set_reply_body(txt,content_type)</function> + <function moreinfo="none">set_reply_body(txt, content_type)</function> Set body to a SIP reply to be generated by &kamailio;. @@ -950,7 +950,7 @@ append_to_reply("Foo: $rm at $Ts\r\n"); append_hf(txt[, hdr]) - Appends 'txt' as header at the end of the all headers, or after + Appends 'txt' as header at the end of all the headers, or after last header named 'hdr' if the second parameter is provided. Meaning of the parameters is as follows: @@ -989,7 +989,7 @@ append_hf("From-username: $fU\r\n", "Call-ID"); Inserts 'txt' as header before the first header field, or before - first header named 'hdr'if the second parameter is provided. + first header named 'hdr' if the second parameter is provided. Meaning of the parameters is as follows: @@ -1487,7 +1487,7 @@ if(remove_hf_exp("^P-", "^P-Keep-")) remove_hf_exp_pv(expmatch, expskip) - Same as remove_hf_exp() function, but the parameters can contain variabes. + Same as remove_hf_exp() function, but the parameters can contain variables. <function>remove_hf_exp_pv</function> usage @@ -1592,7 +1592,7 @@ if(remove_hf_match("X-Info", "in", "^data")) { The function returns true if the SIP message - has a body attached. The checked includes also the + has a body attached. The check includes also the Content-Length header presence and value. @@ -1896,7 +1896,7 @@ if (str_ifind("$rU", "Alice")) {
- <function moreinfo="none">set_body_multipart([txt,content_type][,boundary])</function> + <function moreinfo="none">set_body_multipart([txt, content_type][, boundary])</function> Set multipart body to a SIP message. If called with no parameters, will convert @@ -1924,7 +1924,7 @@ if (str_ifind("$rU", "Alice")) { This function can be used from REQUEST_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE. - The core will take care of the last boundary ending "--". Detecting which one is + The core will take care of the last boundary ending with "--", detecting which one is the last and fixing the others if needed. @@ -1961,7 +1961,7 @@ text
- <function moreinfo="none">append_body_part(txt,content_type[, content_disposition])</function> + <function moreinfo="none">append_body_part(txt, content_type[, content_disposition])</function> Append a part on multipart body SIP message. Will use "unique-boundary-1" as boundary. @@ -1988,7 +1988,7 @@ text This function can be used from REQUEST_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE. - The core will take care of the last boundary ending "--". Detecting wich one is + The core will take care of the last boundary ending with "--", detecting which one is the last and fixing the others if needed. @@ -2017,7 +2017,7 @@ Content-Disposition: signal;handling=required - If other headers are wanted to be added for a body part, they can be + If other headers should be added to a MIME body part, they can be appended after the value of the content-type parameter, separated by `\r\n` (at the very end do not add the '\r\n'). @@ -2047,7 +2047,7 @@ Content-Disposition: signal;handling=required
- <function moreinfo="none">append_body_part_hex(txt,content_type[, content_disposition])</function> + <function moreinfo="none">append_body_part_hex(txt, content_type[, content_disposition])</function> Append a part on multipart body SIP message, with the content provided @@ -2078,7 +2078,7 @@ Content-Disposition: signal;handling=required This function can be used from REQUEST_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE. - The core will take care of the last boundary ending "--". Detecting wich one is + The core will take care of the last boundary ending with "--", detecting which one is the last and fixing the others if needed. @@ -2106,7 +2106,7 @@ kamailio - If other headers are wanted to be added for a body part, see the docs + If other headers should be added to a MIME body part, see the docs for append_body_part(...) function.
@@ -2204,7 +2204,7 @@ get_body_part("application/vnd.cirpack.isdn-ext", "$var(hbody)"); This function can be used from REQUEST_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE.
- The core will take care of the last boundary ending "--". Detecting wich one is + The core will take care of the last boundary ending with "--", detecting which one is the last and fixing the others if needed. @@ -2227,7 +2227,7 @@ msg_apply_changes(); regex_substring(itext, regexp, mindex, mcount, dpv) - Search in text with given regular expression then sets dpv pseudo-variable + Search in text with given regular expression then set dpv pseudo-variable with the matched token at provided index. Meaning of the parameters is as follows: