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

Author: Olle E. Johansson <[email protected]>
Committer: Olle E. Johansson <[email protected]>
Date:   Sat Jan 26 17:56:51 2013 +0100

dispatcher - Fix typo in README and add return value information for 
ds_select_dst

The return value was used in the example, but not documented.

---

 modules/dispatcher/README                   |    5 +++--
 modules/dispatcher/doc/dispatcher_admin.xml |    5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/modules/dispatcher/README b/modules/dispatcher/README
index 358730d..576e3fb 100644
--- a/modules/dispatcher/README
+++ b/modules/dispatcher/README
@@ -685,12 +685,13 @@ Note
 
 4.1.  ds_select_dst(set, alg)
 
-   The method selects a destination from addresses set.
+   The method selects a destination from addresses set. It returns true if
+   a new destination is set.
 
    Meaning of the parameters is as follows:
      * set - the id of the set from where to pick up destination address.
        It is the first column in destination list file. The parameter can
-       be an integer or a variable holding an interger.
+       be an integer or a variable holding an integer.
      * alg - the algorithm used to select the destination address. The
        parameter can be an integer or a variable holding an interger.
           + "0" - hash over callid
diff --git a/modules/dispatcher/doc/dispatcher_admin.xml 
b/modules/dispatcher/doc/dispatcher_admin.xml
index 7f66d10..7a02921 100644
--- a/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/modules/dispatcher/doc/dispatcher_admin.xml
@@ -721,7 +721,8 @@ modparam("dispatcher", "force_dst", 1)
                <function moreinfo="none">ds_select_dst(set, alg)</function>
                </title>
                <para>
-               The method selects a destination from addresses set.
+               The method selects a destination from addresses set. It returns 
true if
+               a new destination is set.
                </para>
                <para>Meaning of the parameters is as follows:</para>
                <itemizedlist>
@@ -730,7 +731,7 @@ modparam("dispatcher", "force_dst", 1)
                        <emphasis>set</emphasis> - the id of the set from where 
to pick
                        up destination address. It is the first column in 
destination
                        list file. The parameter can be an integer or a 
variable holding
-                       an interger.
+                       an integer.
                        </para>
                </listitem>
                <listitem>


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to