Module: sip-router Branch: adubovikov/homer Commit: 61820242d44105fe8dbbf413d6a916fe3beaaa5a URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=61820242d44105fe8dbbf413d6a916fe3beaaa5a
Author: Alexandr Dubovikov <alexandr.dubovi...@gmail.com> Committer: Alexandr Dubovikov <alexandr.dubovi...@gmail.com> Date: Thu Sep 29 15:24:40 2011 +0200 modules_k:registrar: added description for lookup function (flag support) --- modules_k/registrar/README | 7 ++++++- modules_k/registrar/doc/registrar_admin.xml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/modules_k/registrar/README b/modules_k/registrar/README index d060982..c3b7016 100644 --- a/modules_k/registrar/README +++ b/modules_k/registrar/README @@ -669,7 +669,12 @@ switch ($retcode) { 4.4. lookup(domain,flags) Same as lookup() but it accepts a set of flags for controlling its - behaviour. + behaviour. This method allows you to make choose between different AOR + connnected to the same user id. Example: you can register the same user + multiple times and after lookup you will distribute incoming calls + between these AORs. If you have 4 registration, each AOR will receive + 25% of all incoming calls. It can help to buid a cluster system based + on user registration. Meaning of the parameters is as follows: * domain - Name of table that should be used for the lookup. diff --git a/modules_k/registrar/doc/registrar_admin.xml b/modules_k/registrar/doc/registrar_admin.xml index 74ed609..722c885 100644 --- a/modules_k/registrar/doc/registrar_admin.xml +++ b/modules_k/registrar/doc/registrar_admin.xml @@ -811,7 +811,12 @@ switch ($retcode) { </title> <para> Same as lookup() but it accepts a set of flags for controlling its - behaviour. + behaviour. This method allows you to make choose between + different AOR connnected to the same user id. Example: you can register + the same user multiple times and after lookup you will distribute + incoming calls between these AORs. If you have 4 registration, each + AOR will receive 25% of all incoming calls. It can help to buid a cluster + system based on user registration. </para> <para>Meaning of the parameters is as follows:</para> _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev