Module: sip-router
Branch: kamailio_3.0
Commit: 5b03a409076e5ccf1b0bcf356ce7365972d134d2
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5b03a40…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Dec 30 22:47:35 2009 +0200
modules_k/nathelper: improved handle_ruri_alias() documentation
- Improved handle_ruri_alias() documentation based on suggestion by Klaus.
(cherry picked from commit 7bb718bb680dd5faf398217583796247bb51813a)
---
modules_k/nathelper/README | 8 +++++++-
modules_k/nathelper/doc/nathelper_admin.xml | 11 ++++++++++-
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/modules_k/nathelper/README b/modules_k/nathelper/README
index 449bfd3..cf67a99 100644
--- a/modules_k/nathelper/README
+++ b/modules_k/nathelper/README
@@ -848,7 +848,13 @@ start_recording();
6.15. handle_ruri_alias()
Checks if Request URI has alias param and if so, removes it and sets
- $du based on its value.
+ $du based on its value. Note that this means that routing of request is
+ based on alias parameter value of Request URI rather than Request URI
+ itself. If you call handle_ruri_alias() on a request, make thus sure
+ that you screen alias parameter value of Request URI the same way as
+ you would screen Request URI itself.
+
+ Note that th
This function can be used from REQUEST_ROUTE, BRANCH_ROUTE, and
LOCAL_ROUTE.
diff --git a/modules_k/nathelper/doc/nathelper_admin.xml b/modules_k/nathelper/doc/nathelper_admin.xml
index 3a4d3c7..5f75ee2 100644
--- a/modules_k/nathelper/doc/nathelper_admin.xml
+++ b/modules_k/nathelper/doc/nathelper_admin.xml
@@ -1031,7 +1031,16 @@ start_recording();
</title>
<para>
Checks if Request URI has alias param and if so, removes
- it and sets $du based on its value.
+ it and sets $du based on its value. Note that this
+ means that routing of request is based on alias
+ parameter value of Request URI rather than Request URI
+ itself. If you call handle_ruri_alias() on a request,
+ make thus sure that you screen alias parameter value of
+ Request URI the same way as you would screen
+ Request URI itself.
+ </para>
+ <para>
+ Note that th
</para>
<para>
This function can be used from
Module: sip-router
Branch: kamailio_3.0
Commit: 455cc830b07621bda68cde3689430bddcf94b3c1
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=455cc83…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Dec 31 14:57:01 2009 +0200
modules_k/nathelper: removed garbage from documentation (credits to Klaus)
(cherry picked from commit c16ac01fc138b6e17b90853dc4d0b885d6970d59)
---
modules_k/nathelper/README | 2 --
modules_k/nathelper/doc/nathelper_admin.xml | 3 ---
2 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/modules_k/nathelper/README b/modules_k/nathelper/README
index cf67a99..9f923db 100644
--- a/modules_k/nathelper/README
+++ b/modules_k/nathelper/README
@@ -854,8 +854,6 @@ start_recording();
that you screen alias parameter value of Request URI the same way as
you would screen Request URI itself.
- Note that th
-
This function can be used from REQUEST_ROUTE, BRANCH_ROUTE, and
LOCAL_ROUTE.
diff --git a/modules_k/nathelper/doc/nathelper_admin.xml b/modules_k/nathelper/doc/nathelper_admin.xml
index 5f75ee2..856f950 100644
--- a/modules_k/nathelper/doc/nathelper_admin.xml
+++ b/modules_k/nathelper/doc/nathelper_admin.xml
@@ -1040,9 +1040,6 @@ start_recording();
Request URI itself.
</para>
<para>
- Note that th
- </para>
- <para>
This function can be used from
REQUEST_ROUTE, BRANCH_ROUTE, and LOCAL_ROUTE.
</para>
Module: sip-router
Branch: kamailio_3.0
Commit: accf708dc5878f387ec1f5769b83b2760a1d2539
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=accf708…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Nov 16 00:45:27 2009 +0200
* modules_k/nathelper
Added two new functions add_contact_alias() and handle_ruri_alias() and
two new pseudo variables $rr_count and $rr_top_count that can be used to
implement tcp connection sharing and produce correct Request URI for
in-dialog requests to NATed UAs.
(cherry picked from commit a85444180860da454831c5c0b366a6cc2f7f189f)
---
modules_k/nathelper/README | 871 ++++++++++++++++-----------
modules_k/nathelper/doc/nathelper.xml | 19 +
modules_k/nathelper/doc/nathelper_admin.xml | 127 ++++-
modules_k/nathelper/nathelper.c | 297 +++++++++-
4 files changed, 959 insertions(+), 355 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=acc…