THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#410 - textops: add functions to convert and append multipart bodies.
User who did this - Víctor Seva (linuxmaniac)
----------
Crashes fixed. Flag version only added to build_req_buf_from_sip_req() for now.
Documentation added.
Any comments?
Should I push this to a tmp branch?
----------
One or more files have been attached.
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=410#comment1356
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#410 - textops: add functions to convert and append multipart bodies.
User who did this - Víctor Seva (linuxmaniac)
----------
ups... fixing textops documentation already committed to master.
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=410#comment1357
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Module: sip-router
Branch: master
Commit: 3a56e12090fe7b614430947d8393e16a4fc91b92
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3a56e12…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: Tue Mar 18 11:17:51 2014 +0100
textops: fix doc. insert_hf append_hf functions id are duplicated.
---
modules/textops/doc/textops_admin.xml | 83 ++++-----------------------------
1 files changed, 9 insertions(+), 74 deletions(-)
diff --git a/modules/textops/doc/textops_admin.xml b/modules/textops/doc/textops_admin.xml
index a5e27bf..e76e921 100644
--- a/modules/textops/doc/textops_admin.xml
+++ b/modules/textops/doc/textops_admin.xml
@@ -749,47 +749,11 @@ append_to_reply("Foo: $rm at $Ts\r\n");
<section id="textops.f.append_hf">
<title>
- <function moreinfo="none">append_hf(txt)</function>
+ <function moreinfo="none">append_hf(txt[, hdr])</function>
</title>
<para>
- Appends 'txt' as header after the last header field.
- </para>
- <para>Meaning of the parameters is as follows:</para>
- <itemizedlist>
- <listitem>
- <para><emphasis>txt</emphasis> - Header field to be appended. The
- value can contain pseudo-variables which will be replaced at run
- time.
- </para>
- </listitem>
- </itemizedlist>
- <para>
- Note: Headers which are added in main route cannot be removed in further routes
- (e.g. failure routes). So, the idea is not to add there any headers that you
- might want to remove later. To add headers temporarely use the branch route
- because the changes you do there are per-branch.
- </para>
- <para>
- This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
- FAILURE_ROUTE, BRANCH_ROUTE.
- </para>
- <example>
- <title><function>append_hf</function> usage</title>
- <programlisting format="linespecific">
-...
-append_hf("P-hint: VOICEMAIL\r\n");
-append_hf("From-username: $fU\r\n");
-...
-</programlisting>
- </example>
- </section>
-
- <section id="textops.f.append_hf">
- <title>
- <function moreinfo="none">append_hf(txt, hdr)</function>
- </title>
- <para>
- Appends 'txt' as header after first 'hdr' header field.
+ Appends 'txt' as header after first header field or after
+ last 'hdr' header field.
</para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
@@ -813,7 +777,7 @@ append_hf("From-username: $fU\r\n");
<title><function>append_hf</function> usage</title>
<programlisting format="linespecific">
...
-append_hf("P-hint: VOICEMAIL\r\n", "Call-ID");
+append_hf("P-hint: VOICEMAIL\r\n");
append_hf("From-username: $fU\r\n", "Call-ID");
...
</programlisting>
@@ -822,42 +786,11 @@ append_hf("From-username: $fU\r\n", "Call-ID");
<section id="textops.f.insert_hf">
<title>
- <function moreinfo="none">insert_hf(txt)</function>
+ <function moreinfo="none">insert_hf(txt[, hdr])</function>
</title>
<para>
- Inserts 'txt' as header before the first header field.
- </para>
- <para>Meaning of the parameters is as follows:</para>
- <itemizedlist>
- <listitem>
- <para><emphasis>txt</emphasis> - Header field to be inserted. The
- value can contain pseudo-variables which will be replaced at run
- time.
- </para>
- </listitem>
- </itemizedlist>
- <para>
- This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
- FAILURE_ROUTE, BRANCH_ROUTE.
- </para>
- <example>
- <title><function>insert_hf</function> usage</title>
- <programlisting format="linespecific">
-...
-insert_hf("P-hint: VOICEMAIL\r\n");
-insert_hf("To-username: $tU\r\n");
-...
-</programlisting>
- </example>
- </section>
-
-
- <section id="textops.f.insert_hf">
- <title>
- <function moreinfo="none">insert_hf(txt, hdr)</function>
- </title>
- <para>
- Inserts 'txt' as header before first 'hdr' header field.
+ Inserts 'txt' as header before the first header field or before
+ first 'hdr' header field if 'hdr' is given.
</para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
@@ -881,6 +814,8 @@ insert_hf("To-username: $tU\r\n");
<title><function>insert_hf</function> usage</title>
<programlisting format="linespecific">
...
+insert_hf("P-hint: VOICEMAIL\r\n");
+insert_hf("To-username: $tU\r\n");
insert_hf("P-hint: VOICEMAIL\r\n", "Call-ID");
insert_hf("To-username: $tU\r\n", "Call-ID");
...