Module: kamailio
Branch: master
Commit: 34a675ba4987f202dfb3477114d6b86be5eeb2a1
URL: https://github.com/kamailio/kamailio/commit/34a675ba4987f202dfb3477114d6b86…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2020-10-26T11:01:20+01:00
modules: readme files regenerated - textops ... [skip ci]
---
Modified: src/modules/textops/README
---
Diff: https://github.com/kamailio/kamailio/commit/34a675ba4987f202dfb3477114d6b86…
Patch: https://github.com/kamailio/kamailio/commit/34a675ba4987f202dfb3477114d6b86…
---
diff --git a/src/modules/textops/README b/src/modules/textops/README
index bd67b08983..74543b05d7 100644
--- a/src/modules/textops/README
+++ b/src/modules/textops/README
@@ -741,10 +741,13 @@ if (has_body("multipart/mixed")) {
4.23. append_to_reply(txt)
- Append txt as header to the reply.
+ Append txt as header to the reply that is going to be generated by
+ Kamailio (e.g., via sl_send_reply(...)).
Meaning of the parameters is as follows:
- * txt - String which may contains pseudo-variables.
+ * txt - String which may contains pseudo-variables. Note that the
+ value has to be ended with "\r\n" (end of header characters
+ sequence).
This function can be used from REQUEST_ROUTE, BRANCH_ROUTE,
FAILURE_ROUTE, ERROR_ROUTE.
@@ -757,12 +760,14 @@ append_to_reply("Foo: $rm at $Ts\r\n");
4.24. append_hf(txt[, hdr])
- Appends 'txt' as header after first header field or after last 'hdr'
- header field.
+ Appends 'txt' as header at the end of the all headers, or after last
+ header named 'hdr' if the second parameter is provided.
Meaning of the parameters is as follows:
* txt - Header field to be appended. The value can contain
- pseudo-variables which will be replaced at run time.
+ pseudo-variables which will be replaced at run time. Note that the
+ value has to be ended with "\r\n" (end of header characters
+ sequence).
* hdr - Header name after which the 'txt' is appended.
This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
@@ -776,12 +781,14 @@ append_hf("From-username: $fU\r\n", "Call-ID");
4.25. insert_hf(txt[, hdr])
- Inserts 'txt' as header before the first header field or before first
- 'hdr' header field if 'hdr' is given.
+ Inserts 'txt' as header before the first header field, or before first
+ header named 'hdr'if the second parameter is provided.
Meaning of the parameters is as follows:
* txt - Header field to be inserted. The value can contain
- pseudo-variables which will be replaced at run time.
+ pseudo-variables which will be replaced at run time. Note that the
+ value has to be ended with "\r\n" (end of header characters
+ sequence).
* hdr - Header name before which the 'txt' is inserted.
This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
Module: kamailio
Branch: master
Commit: 374f0f05bdf27ddaf5d8652560738fbfb886c43c
URL: https://github.com/kamailio/kamailio/commit/374f0f05bdf27ddaf5d8652560738fb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-10-26T10:53:24+01:00
textops: docs - some enhancements to basic header operations functions
---
Modified: src/modules/textops/doc/textops_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/374f0f05bdf27ddaf5d8652560738fb…
Patch: https://github.com/kamailio/kamailio/commit/374f0f05bdf27ddaf5d8652560738fb…
---
diff --git a/src/modules/textops/doc/textops_admin.xml b/src/modules/textops/doc/textops_admin.xml
index a8685510a0..44540841d4 100644
--- a/src/modules/textops/doc/textops_admin.xml
+++ b/src/modules/textops/doc/textops_admin.xml
@@ -872,13 +872,15 @@ if (has_body("multipart/mixed")) {
<function moreinfo="none">append_to_reply(txt)</function>
</title>
<para>
- Append txt as header to the reply.
+ Append txt as header to the reply that is going to be generated by
+ &kamailio; (e.g., via sl_send_reply(...)).
</para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
<listitem>
<para><emphasis>txt</emphasis> - String which may contains
- pseudo-variables.
+ pseudo-variables. Note that the value has to be ended with "\r\n"
+ (end of header characters sequence).
</para>
</listitem>
</itemizedlist>
@@ -902,15 +904,16 @@ append_to_reply("Foo: $rm at $Ts\r\n");
<function moreinfo="none">append_hf(txt[, hdr])</function>
</title>
<para>
- Appends 'txt' as header after first header field or after
- last 'hdr' header field.
+ Appends 'txt' as header at the end of the all headers, or after
+ last header named 'hdr' if the second parameter is provided.
</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.
+ time. Note that the value has to be ended with "\r\n" (end of header
+ characters sequence).
</para>
</listitem>
<listitem>
@@ -939,15 +942,16 @@ append_hf("From-username: $fU\r\n", "Call-ID");
<function moreinfo="none">insert_hf(txt[, hdr])</function>
</title>
<para>
- Inserts 'txt' as header before the first header field or before
- first 'hdr' header field if 'hdr' is given.
+ Inserts 'txt' as header before the first header field, or before
+ first header named 'hdr'if the second parameter is provided.
</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.
+ time. Note that the value has to be ended with "\r\n" (end of header
+ characters sequence).
</para>
</listitem>
<listitem>
#### Type Of Change
- [x] bug fix (non-breaking change which fixes an issue)
- [x] refactoring
- [x] Tested changes locally
#### Description
- Bridge disconnection was over complicated, to simplify things both legs will automatically be disconnected for now.
- The "state machine" is only a POC at this point, I made sure it was easy to pinpoint problems.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2532
-- Commit Summary --
* rtp_media_server: state transition improvement
-- File Changes --
M src/modules/rtp_media_server/rms_dialog_info.c (21)
M src/modules/rtp_media_server/rms_dialog_info.h (4)
M src/modules/rtp_media_server/rtp_media_server.c (16)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2532.patchhttps://github.com/kamailio/kamailio/pull/2532.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2532