Module: kamailio
Branch: 4.3
Commit: f050389b568aaab3717484b67b9b157199c63bbc
URL: https://github.com/kamailio/kamailio/commit/f050389b568aaab3717484b67b9b157…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-06-09T10:34:16+02:00
tm: extended docs for t_reply()
(cherry picked from commit a221ec34074c25838f470070cb6c7e604a33fc98)
---
Modified: modules/tm/README
Modified: modules/tm/doc/functions.xml
---
Diff: https://github.com/kamailio/kamailio/commit/f050389b568aaab3717484b67b9b157…
Patch: https://github.com/kamailio/kamailio/commit/f050389b568aaab3717484b67b9b157…
---
diff --git a/modules/tm/README b/modules/tm/README
index 01ec6ac..3b30194 100644
--- a/modules/tm/README
+++ b/modules/tm/README
@@ -1728,7 +1728,7 @@ failure_route[1] {
deciding if the transaction is complete. In the referred block, you can
start a new branch which is required for failover of multiple outbound
flows (RFC 5626). Note that the set of commands which are usable within
- a branch_failure route is limited to a subset of the failure_rotue
+ a branch_failure route is limited to a subset of the failure_route
commands including logging, rewriting URI and initiating new branches.
Any other commands may generate errors or result in unpredictable
behavior. Note that whenever failure_route is entered, uri is reset to
@@ -1829,6 +1829,17 @@ if (t_newtran()) {
Sends a stateful reply after a transaction has been established. See
t_newtran for usage.
+ If the code is in the range 300-399 (redirect reply), the current
+ destination set is appended to the reply as Contact headers. The
+ destination set contains the request URI (R-URI), if it is modified
+ compared to the received one, plus the branches added to the request
+ (e.g., after an append_branch() or lookup("location")). If the R-URI
+ was changed but it is not desired to be part of the destination set, it
+ can be reverted using the function revert_uri().
+
+ Custom headers to the reply can be added using append_to_reply()
+ function from textops module.
+
Meaning of the parameters is as follows:
* code - Reply code number.
* reason_phrase - Reason string.
diff --git a/modules/tm/doc/functions.xml b/modules/tm/doc/functions.xml
index d93d181..5146d40 100644
--- a/modules/tm/doc/functions.xml
+++ b/modules/tm/doc/functions.xml
@@ -326,6 +326,19 @@ if (t_newtran()) {
Sends a stateful reply after a transaction has been
established. See <function>t_newtran</function> for usage.
</para>
+ <para>
+ If the code is in the range 300-399 (redirect reply), the current
+ destination set is appended to the reply as Contact headers.
+ The destination set contains the request URI (R-URI), if it is
+ modified compared to the received one, plus the branches added to the
+ request (e.g., after an append_branch() or lookup("location")).
+ If the R-URI was changed but it is not desired to be part of the
+ destination set, it can be reverted using the function revert_uri().
+ </para>
+ <para>
+ Custom headers to the reply can be added using append_to_reply()
+ function from textops module.
+ </para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
<listitem>
Module: kamailio
Branch: 4.3
Commit: 1a08fa07b601c5f9636c6dba223230ec91301768
URL: https://github.com/kamailio/kamailio/commit/1a08fa07b601c5f9636c6dba223230e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-06-09T10:34:07+02:00
sl: extended docs for sl_send_reply()
(cherry picked from commit 29aa683f7c3d507a88b83ecd84d9023c5e162ab1)
---
Modified: modules/sl/README
Modified: modules/sl/doc/sl_functions.xml
---
Diff: https://github.com/kamailio/kamailio/commit/1a08fa07b601c5f9636c6dba223230e…
Patch: https://github.com/kamailio/kamailio/commit/1a08fa07b601c5f9636c6dba223230e…
---
diff --git a/modules/sl/README b/modules/sl/README
index 5d7723d..a45dc33 100644
--- a/modules/sl/README
+++ b/modules/sl/README
@@ -191,6 +191,17 @@ modparam("sl", "bind_tm", 0) # feature disabled
text reason. The reply is sent stateless, totally independent of the
Transaction module and with no retransmission for the INVITE's replies.
+ If the code is in the range 300-399 (redirect reply), the current
+ destination set is appended to the reply as Contact headers. The
+ destination set contains the request URI (R-URI), if it is modified
+ compared to the received one, plus the branches added to the request
+ (e.g., after an append_branch() or lookup("location")). If the R-URI
+ was changed but it is not desired to be part of the destination set, it
+ can be reverted using the function revert_uri().
+
+ Custom headers to the reply can be added using append_to_reply()
+ function from textops module.
+
Meaning of the parameters is as follows:
* code - Return code.
* reason - Reason phrase.
diff --git a/modules/sl/doc/sl_functions.xml b/modules/sl/doc/sl_functions.xml
index 1420e86..76c9067 100644
--- a/modules/sl/doc/sl_functions.xml
+++ b/modules/sl/doc/sl_functions.xml
@@ -16,6 +16,19 @@
of the Transaction module and with no retransmission for the
INVITE's replies.
</para>
+ <para>
+ If the code is in the range 300-399 (redirect reply), the current
+ destination set is appended to the reply as Contact headers.
+ The destination set contains the request URI (R-URI), if it is
+ modified compared to the received one, plus the branches added to the
+ request (e.g., after an append_branch() or lookup("location")).
+ If the R-URI was changed but it is not desired to be part of the
+ destination set, it can be reverted using the function revert_uri().
+ </para>
+ <para>
+ Custom headers to the reply can be added using append_to_reply()
+ function from textops module.
+ </para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
<listitem>
Module: kamailio
Branch: 4.3
Commit: 9e05772c277f487d0c5bacdb33b1aaa8634e133f
URL: https://github.com/kamailio/kamailio/commit/9e05772c277f487d0c5bacdb33b1aaa…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-06-09T10:33:28+02:00
mtree: more details about what module does and max prefix size
(cherry picked from commit 74fadc549929d3dc873ce3b8b1db20559562ab54)
---
Modified: modules/mtree/doc/mtree_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/9e05772c277f487d0c5bacdb33b1aaa…
Patch: https://github.com/kamailio/kamailio/commit/9e05772c277f487d0c5bacdb33b1aaa…
---
diff --git a/modules/mtree/doc/mtree_admin.xml b/modules/mtree/doc/mtree_admin.xml
index 17c2c8f..8ca17e0 100644
--- a/modules/mtree/doc/mtree_admin.xml
+++ b/modules/mtree/doc/mtree_admin.xml
@@ -17,8 +17,18 @@
<section>
<title>Overview</title>
<para>
- This module loads data indexed by prefixes from database and returns
- associated string or precompiled value.
+ This module loads (prefix, value) records from database and indexes
+ them in a named memory tree. Name of the tree is specified for each
+ record or as module parameter.
+ </para>
+ <para>
+ It exports to configuration file functions to match against in-memory
+ trees and return the values (raw or precompiled) associated with
+ matched prefixes.
+ </para>
+ <para>
+ The maximum size of the prefix is limited internally to 63, database
+ table definition may enforce lower maximum size.
</para>
</section>
<section>
Module: kamailio
Branch: master
Commit: a221ec34074c25838f470070cb6c7e604a33fc98
URL: https://github.com/kamailio/kamailio/commit/a221ec34074c25838f470070cb6c7e6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-06-08T22:37:07+02:00
tm: extended docs for t_reply()
---
Modified: modules/tm/README
Modified: modules/tm/doc/functions.xml
---
Diff: https://github.com/kamailio/kamailio/commit/a221ec34074c25838f470070cb6c7e6…
Patch: https://github.com/kamailio/kamailio/commit/a221ec34074c25838f470070cb6c7e6…
---
diff --git a/modules/tm/README b/modules/tm/README
index 01ec6ac..3b30194 100644
--- a/modules/tm/README
+++ b/modules/tm/README
@@ -1728,7 +1728,7 @@ failure_route[1] {
deciding if the transaction is complete. In the referred block, you can
start a new branch which is required for failover of multiple outbound
flows (RFC 5626). Note that the set of commands which are usable within
- a branch_failure route is limited to a subset of the failure_rotue
+ a branch_failure route is limited to a subset of the failure_route
commands including logging, rewriting URI and initiating new branches.
Any other commands may generate errors or result in unpredictable
behavior. Note that whenever failure_route is entered, uri is reset to
@@ -1829,6 +1829,17 @@ if (t_newtran()) {
Sends a stateful reply after a transaction has been established. See
t_newtran for usage.
+ If the code is in the range 300-399 (redirect reply), the current
+ destination set is appended to the reply as Contact headers. The
+ destination set contains the request URI (R-URI), if it is modified
+ compared to the received one, plus the branches added to the request
+ (e.g., after an append_branch() or lookup("location")). If the R-URI
+ was changed but it is not desired to be part of the destination set, it
+ can be reverted using the function revert_uri().
+
+ Custom headers to the reply can be added using append_to_reply()
+ function from textops module.
+
Meaning of the parameters is as follows:
* code - Reply code number.
* reason_phrase - Reason string.
diff --git a/modules/tm/doc/functions.xml b/modules/tm/doc/functions.xml
index 59955bc..b53b97d 100644
--- a/modules/tm/doc/functions.xml
+++ b/modules/tm/doc/functions.xml
@@ -326,6 +326,19 @@ if (t_newtran()) {
Sends a stateful reply after a transaction has been
established. See <function>t_newtran</function> for usage.
</para>
+ <para>
+ If the code is in the range 300-399 (redirect reply), the current
+ destination set is appended to the reply as Contact headers.
+ The destination set contains the request URI (R-URI), if it is
+ modified compared to the received one, plus the branches added to the
+ request (e.g., after an append_branch() or lookup("location")).
+ If the R-URI was changed but it is not desired to be part of the
+ destination set, it can be reverted using the function revert_uri().
+ </para>
+ <para>
+ Custom headers to the reply can be added using append_to_reply()
+ function from textops module.
+ </para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
<listitem>
Module: kamailio
Branch: master
Commit: 29aa683f7c3d507a88b83ecd84d9023c5e162ab1
URL: https://github.com/kamailio/kamailio/commit/29aa683f7c3d507a88b83ecd84d9023…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-06-08T22:37:07+02:00
sl: extended docs for sl_send_reply()
---
Modified: modules/sl/README
Modified: modules/sl/doc/sl_functions.xml
---
Diff: https://github.com/kamailio/kamailio/commit/29aa683f7c3d507a88b83ecd84d9023…
Patch: https://github.com/kamailio/kamailio/commit/29aa683f7c3d507a88b83ecd84d9023…
---
diff --git a/modules/sl/README b/modules/sl/README
index 5d7723d..a45dc33 100644
--- a/modules/sl/README
+++ b/modules/sl/README
@@ -191,6 +191,17 @@ modparam("sl", "bind_tm", 0) # feature disabled
text reason. The reply is sent stateless, totally independent of the
Transaction module and with no retransmission for the INVITE's replies.
+ If the code is in the range 300-399 (redirect reply), the current
+ destination set is appended to the reply as Contact headers. The
+ destination set contains the request URI (R-URI), if it is modified
+ compared to the received one, plus the branches added to the request
+ (e.g., after an append_branch() or lookup("location")). If the R-URI
+ was changed but it is not desired to be part of the destination set, it
+ can be reverted using the function revert_uri().
+
+ Custom headers to the reply can be added using append_to_reply()
+ function from textops module.
+
Meaning of the parameters is as follows:
* code - Return code.
* reason - Reason phrase.
diff --git a/modules/sl/doc/sl_functions.xml b/modules/sl/doc/sl_functions.xml
index 1420e86..76c9067 100644
--- a/modules/sl/doc/sl_functions.xml
+++ b/modules/sl/doc/sl_functions.xml
@@ -16,6 +16,19 @@
of the Transaction module and with no retransmission for the
INVITE's replies.
</para>
+ <para>
+ If the code is in the range 300-399 (redirect reply), the current
+ destination set is appended to the reply as Contact headers.
+ The destination set contains the request URI (R-URI), if it is
+ modified compared to the received one, plus the branches added to the
+ request (e.g., after an append_branch() or lookup("location")).
+ If the R-URI was changed but it is not desired to be part of the
+ destination set, it can be reverted using the function revert_uri().
+ </para>
+ <para>
+ Custom headers to the reply can be added using append_to_reply()
+ function from textops module.
+ </para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
<listitem>