Module: kamailio
Branch: master
Commit: 361ff2726320fde0579966ea0214898eb1155644
URL: 
https://github.com/kamailio/kamailio/commit/361ff2726320fde0579966ea0214898eb1155644

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-07-09T09:34:28+02:00

textops: docs for set_reply_body_hex()

---

Modified: src/modules/textops/doc/textops_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/361ff2726320fde0579966ea0214898eb1155644.diff
Patch: 
https://github.com/kamailio/kamailio/commit/361ff2726320fde0579966ea0214898eb1155644.patch

---

diff --git a/src/modules/textops/doc/textops_admin.xml 
b/src/modules/textops/doc/textops_admin.xml
index ce61cccb4d8..c201f134a41 100644
--- a/src/modules/textops/doc/textops_admin.xml
+++ b/src/modules/textops/doc/textops_admin.xml
@@ -947,6 +947,24 @@ set_reply_body("test", "text/plain");
                </example>
        </section>
 
+       <section id="textops.f.set_reply_body_hex">
+               <title>
+               <function moreinfo="none">set_reply_body_hex(txt, 
content_type)</function>
+               </title>
+               <para>
+               Same as set_reply_body(), but with the body provided as 
hexa-encoded
+               value. The whitespaces are ignored when decoding the body 
parameter.
+               </para>
+               <example>
+               <title><function>set_reply_body_hex</function> usage</title>
+               <programlisting format="linespecific">
+...
+set_reply_body_hex("4b 82 00 a2", "binary/data");
+...
+</programlisting>
+               </example>
+       </section>
+
        <section id="textops.f.filter_body">
                <title>
                <function moreinfo="none">filter_body(content_type)</function>

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to