Module: kamailio
Branch: master
Commit: 90b40b0222ec9564a16f4afe91677659fe15250e
URL: https://github.com/kamailio/kamailio/commit/90b40b0222ec9564a16f4afe9167765…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-11-24T11:20:13+01:00
textops: documentation for get_body_part() and get_body_part_raw()
---
Modified: modules/textops/doc/textops_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/90b40b0222ec9564a16f4afe9167765…
Patch: https://github.com/kamailio/kamailio/commit/90b40b0222ec9564a16f4afe9167765…
---
diff --git a/modules/textops/doc/textops_admin.xml b/modules/textops/doc/textops_admin.xml
index 8024429..1cbe72a 100644
--- a/modules/textops/doc/textops_admin.xml
+++ b/modules/textops/doc/textops_admin.xml
@@ -1465,6 +1465,79 @@ Content-Disposition: signal;handling=required
</example>
</section>
+ <section id="textops.f.get_body_part">
+ <title>
+ <function moreinfo="none">get_body_part(content_type, opv)</function>
+ </title>
+ <para>
+ Return the content of a multipart body SIP message, storing it in opv.
+ </para>
+ <para>Meaning of the parameters is as follows:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>content_type</emphasis> - value of Content-Type header
+ of the part to be returned. If more than one exists the first
+ occurrence will be returned.
+ </para>
+ </listitem>
+ <listitem>
+ <para><emphasis>opv</emphasis> - variable name where to store the
+ result.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ This function can be used from REQUEST_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE,
+ ONREPLY_ROUTE.
+ </para>
+
+ <example>
+ <title><function>get_body_part</function> usage</title>
+ <programlisting format="linespecific">
+...
+get_body_part("application/vnd.cirpack.isdn-ext", "$var(pbody)");
+...
+</programlisting>
+ </example>
+ </section>
+
+ <section id="textops.f.get_body_part_raw">
+ <title>
+ <function moreinfo="none">get_body_part_raw(content_type, opv)</function>
+ </title>
+ <para>
+ Return the content of a multipart body SIP message, including headers and
+ boundary string, storing it in opv.
+ </para>
+ <para>Meaning of the parameters is as follows:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>content_type</emphasis> - value of Content-Type header
+ of the part to be returned. If more than one exists the first
+ occurrence will be returned.
+ </para>
+ </listitem>
+ <listitem>
+ <para><emphasis>opv</emphasis> - variable name where to store the
+ result.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ This function can be used from REQUEST_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE,
+ ONREPLY_ROUTE.
+ </para>
+
+ <example>
+ <title><function>get_body_part_raw</function> usage</title>
+ <programlisting format="linespecific">
+...
+get_body_part("application/vnd.cirpack.isdn-ext", "$var(hbody)");
+...
+</programlisting>
+ </example>
+ </section>
+
<section id="textops.f.remove_body_part">
<title>
<function moreinfo="none">remove_body_part(content_type)</function>
Hi!
Letsencrypt.org is now in beta and offer free TLS certificates with a 3 month life time.
Certificates will be updated in the background. I haven’t looked into all scripts but I guess that there’s a script that renews the certificate and somehow tells the application to reload the certs.
We need to be able to reload certs in runtime, not by stopping and restarting Kamailio. Possibly either with a user signal or an RPC command reachable through kamcmd/kamctl.
Anyone else that has looked into how the cron scripts communicates with the server process?
/O