[sr-dev] git:master: dispatcher(k): corrected setid_pvname parameter name

Daniel-Constantin Mierla miconda at gmail.com
Wed Aug 15 13:02:41 CEST 2012


Module: sip-router
Branch: master
Commit: e1149b05868b918d0bc52b2d46bb02f7799358db
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e1149b05868b918d0bc52b2d46bb02f7799358db

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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>




More information about the sr-dev mailing list