Skip to content

Commit

Permalink
textops: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov authored and miconda committed Dec 28, 2022
1 parent d687f75 commit b111ef2
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/modules/textops/doc/textops_admin.xml
Expand Up @@ -144,7 +144,7 @@ if ( search_body("[Ss][Ii][Pp]") ) { /*....*/ };

<section id="textops.f.search_str">
<title>
<function moreinfo="none">search_str(text. re)</function>
<function moreinfo="none">search_str(text, re)</function>
</title>
<para>
Searches for the re in the body of the message.
Expand Down Expand Up @@ -811,7 +811,7 @@ if ( subst_hf("From", "/:test@/:best@/", "a") ) { /*....*/ };

<section id="textops.f.set_body">
<title>
<function moreinfo="none">set_body(txt,content_type)</function>
<function moreinfo="none">set_body(txt, content_type)</function>
</title>
<para>
Set body to a SIP message.
Expand Down Expand Up @@ -845,7 +845,7 @@ set_body("test", "text/plain");

<section id="textops.f.set_reply_body">
<title>
<function moreinfo="none">set_reply_body(txt,content_type)</function>
<function moreinfo="none">set_reply_body(txt, content_type)</function>
</title>
<para>
Set body to a SIP reply to be generated by &kamailio;.
Expand Down Expand Up @@ -950,7 +950,7 @@ append_to_reply("Foo: $rm at $Ts\r\n");
<function moreinfo="none">append_hf(txt[, hdr])</function>
</title>
<para>
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.
</para>
<para>Meaning of the parameters is as follows:</para>
Expand Down Expand Up @@ -989,7 +989,7 @@ append_hf("From-username: $fU\r\n", "Call-ID");
</title>
<para>
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.
</para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
Expand Down Expand Up @@ -1487,7 +1487,7 @@ if(remove_hf_exp("^P-", "^P-Keep-"))
<function moreinfo="none">remove_hf_exp_pv(expmatch, expskip)</function>
</title>
<para>
Same as remove_hf_exp() function, but the parameters can contain variabes.
Same as remove_hf_exp() function, but the parameters can contain variables.
</para>
<example>
<title><function>remove_hf_exp_pv</function> usage</title>
Expand Down Expand Up @@ -1592,7 +1592,7 @@ if(remove_hf_match("X-Info", "in", "^data")) {
</title>
<para>
The function returns <emphasis>true</emphasis> if the SIP message
has a body attached. The checked includes also the
has a body attached. The check includes also the
<quote>Content-Length</quote> header presence and value.
</para>
<para>
Expand Down Expand Up @@ -1896,7 +1896,7 @@ if (str_ifind("$rU", "Alice")) {

<section id="textops.f.set_body_multipart">
<title>
<function moreinfo="none">set_body_multipart([txt,content_type][,boundary])</function>
<function moreinfo="none">set_body_multipart([txt, content_type][, boundary])</function>
</title>
<para>
Set multipart body to a SIP message. If called with no parameters, will convert
Expand Down Expand Up @@ -1924,7 +1924,7 @@ if (str_ifind("$rU", "Alice")) {
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE.
</para>
<para>
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.
</para>
<para>
Expand Down Expand Up @@ -1961,7 +1961,7 @@ text

<section id="textops.f.append_body_part">
<title>
<function moreinfo="none">append_body_part(txt,content_type[, content_disposition])</function>
<function moreinfo="none">append_body_part(txt, content_type[, content_disposition])</function>
</title>
<para>
Append a part on multipart body SIP message. Will use "unique-boundary-1" as boundary.
Expand All @@ -1988,7 +1988,7 @@ text
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE.
</para>
<para>
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.
</para>
<para>
Expand Down Expand Up @@ -2017,7 +2017,7 @@ Content-Disposition: signal;handling=required
</programlisting>
</example>
<para>
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').
</para>
Expand Down Expand Up @@ -2047,7 +2047,7 @@ Content-Disposition: signal;handling=required

<section id="textops.f.append_body_part_hex">
<title>
<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>
</title>
<para>
Append a part on multipart body SIP message, with the content provided
Expand Down Expand Up @@ -2078,7 +2078,7 @@ Content-Disposition: signal;handling=required
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE.
</para>
<para>
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.
</para>
<para>
Expand Down Expand Up @@ -2106,7 +2106,7 @@ kamailio
</programlisting>
</example>
<para>
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.
</para>
</section>
Expand Down Expand Up @@ -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.
</para>
<para>
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.
</para>
<para>
Expand All @@ -2227,7 +2227,7 @@ msg_apply_changes();
<function moreinfo="none">regex_substring(itext, regexp, mindex, mcount, dpv)</function>
</title>
<para>
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.
</para>
<para>Meaning of the parameters is as follows:</para>
Expand Down

0 comments on commit b111ef2

Please sign in to comment.