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