Module: sip-router
Branch: master
Commit: e1149b05868b918d0bc52b2d46bb02f7799358db
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e1149b0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Aug 15 13:01:43 2012 +0200
dispatcher(k): corrected setid_pvname parameter name
- readme listed it as setid_pvar, the source code expected setid_pvname
- reported by Dan B.
---
modules_k/dispatcher/README | 18 +++++++++---------
modules_k/dispatcher/doc/dispatcher_admin.xml | 8 ++++----
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/modules_k/dispatcher/README b/modules_k/dispatcher/README
index 5b6b13b..d91512e 100644
--- a/modules_k/dispatcher/README
+++ b/modules_k/dispatcher/README
@@ -51,7 +51,7 @@ Carsten Bock
3.14. dstid_avp (str)
3.15. attrs_avp (str)
3.16. hash_pvar (str)
- 3.17. setid_pvar (str)
+ 3.17. setid_pvname (str)
3.18. ds_ping_method (string)
3.19. ds_ping_from (string)
3.20. ds_ping_interval (int)
@@ -118,7 +118,7 @@ Carsten Bock
1.15. Set the "attrs_avp" parameter
1.16. Use $avp(i:273) for hashing:
1.17. Use combination of PVs for hashing:
- 1.18. Set the "setid_pvar" parameter
+ 1.18. Set the "setid_pvname" parameter
1.19. Set the "ds_ping_method" parameter
1.20. Set the "ds_ping_from" parameter
1.21. Set the "ds_ping_interval" parameter
@@ -165,7 +165,7 @@ Chapter 1. Admin Guide
3.14. dstid_avp (str)
3.15. attrs_avp (str)
3.16. hash_pvar (str)
- 3.17. setid_pvar (str)
+ 3.17. setid_pvname (str)
3.18. ds_ping_method (string)
3.19. ds_ping_from (string)
3.20. ds_ping_interval (int)
@@ -263,7 +263,7 @@ Chapter 1. Admin Guide
3.14. dstid_avp (str)
3.15. attrs_avp (str)
3.16. hash_pvar (str)
- 3.17. setid_pvar (str)
+ 3.17. setid_pvname (str)
3.18. ds_ping_method (string)
3.19. ds_ping_from (string)
3.20. ds_ping_interval (int)
@@ -509,16 +509,16 @@ Note
modparam("dispatcher", "hash_pvar", "hash the $fU@$ci")
...
-3.17. setid_pvar (str)
+3.17. setid_pvname (str)
The name of the PV where to store the set ID (group ID) when calling
ds_is_from_list() with no parameter.
Default value is "null" - don't set PV.
- Example 1.18. Set the "setid_pvar" parameter
+ Example 1.18. Set the "setid_pvname" parameter
...
- modparam("dispatcher", "setid_pvar", "$var(setid)")
+ modparam("dispatcher", "setid_pvname", "$var(setid)")
...
3.18. ds_ping_method (string)
@@ -811,8 +811,8 @@ failure_route[tryagain] {
Parameter groupid is optional, when it is missing, then the matching
will be done against all addresses in all groups. Upon a match, the
- variable specified by 'setid_pvar' parameter will be set to groupid of
- matching address.
+ variable specified by 'setid_pvname' parameter will be set to groupid
+ of matching address.
This function can be used from ANY_ROUTE.
diff --git a/modules_k/dispatcher/doc/dispatcher_admin.xml b/modules_k/dispatcher/doc/dispatcher_admin.xml
index b65ca5a..458cfdc 100644
--- a/modules_k/dispatcher/doc/dispatcher_admin.xml
+++ b/modules_k/dispatcher/doc/dispatcher_admin.xml
@@ -455,7 +455,7 @@ modparam("dispatcher", "force_dst", 1)
</example>
</section>
<section>
- <title><varname>setid_pvar</varname> (str)</title>
+ <title><varname>setid_pvname</varname> (str)</title>
<para>
The name of the PV where to store the set ID (group ID) when calling
ds_is_from_list() with no parameter.
@@ -466,10 +466,10 @@ modparam("dispatcher", "force_dst", 1)
</emphasis>
</para>
<example>
- <title>Set the <quote>setid_pvar</quote> parameter</title>
+ <title>Set the <quote>setid_pvname</quote> parameter</title>
<programlisting format="linespecific">
...
- modparam("dispatcher", "setid_pvar", "$var(setid)")
+ modparam("dispatcher", "setid_pvname", "$var(setid)")
...
</programlisting>
</example>
@@ -965,7 +965,7 @@ failure_route[tryagain] {
<para>
Parameter groupid is optional, when it is missing, then the matching
will be done against all addresses in all groups. Upon a match, the
- variable specified by 'setid_pvar' parameter will be set to groupid
+ variable specified by 'setid_pvname' parameter will be set to groupid
of matching address.
</para>
<para>
Module: sip-router
Branch: master
Commit: be05dfc0f4af62f9c368960fe75a810548be8b87
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=be05dfc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Aug 15 12:48:32 2012 +0200
dispatcher(k): corrected the variable which is set by ds_is_from_list()
- setid_pvar is used instead of grp_avp
- reported by Dan B.
---
modules_k/dispatcher/README | 3 ++-
modules_k/dispatcher/doc/dispatcher_admin.xml | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/modules_k/dispatcher/README b/modules_k/dispatcher/README
index e68a2a8..5b6b13b 100644
--- a/modules_k/dispatcher/README
+++ b/modules_k/dispatcher/README
@@ -811,7 +811,8 @@ failure_route[tryagain] {
Parameter groupid is optional, when it is missing, then the matching
will be done against all addresses in all groups. Upon a match, the
- 'grp_avp' will be set to groupid of matching address.
+ variable specified by 'setid_pvar' parameter will be set to groupid of
+ matching address.
This function can be used from ANY_ROUTE.
diff --git a/modules_k/dispatcher/doc/dispatcher_admin.xml b/modules_k/dispatcher/doc/dispatcher_admin.xml
index 3453210..b65ca5a 100644
--- a/modules_k/dispatcher/doc/dispatcher_admin.xml
+++ b/modules_k/dispatcher/doc/dispatcher_admin.xml
@@ -965,7 +965,8 @@ failure_route[tryagain] {
<para>
Parameter groupid is optional, when it is missing, then the matching
will be done against all addresses in all groups. Upon a match, the
- 'grp_avp' will be set to groupid of matching address.
+ variable specified by 'setid_pvar' parameter will be set to groupid
+ of matching address.
</para>
<para>
This function can be used from ANY_ROUTE.