Module: sip-router Branch: 3.1 Commit: a62ce2a6b8d90f7d45e62da92f665d4e1ea141b2 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a62ce2a6...
Author: Juha Heinanen jh@tutpro.com Committer: Juha Heinanen jh@tutpro.com Date: Thu Mar 31 16:18:45 2011 +0300
modules/lcr: improved documentation of defunct_gw() function. (cherry picked from commit df7f3bc62783672eff39748450e8845187efb74a)
---
modules/lcr/README | 9 +++++---- modules/lcr/doc/lcr_admin.xml | 1 + 2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/modules/lcr/README b/modules/lcr/README index 617c0e0..0df413e 100644 --- a/modules/lcr/README +++ b/modules/lcr/README @@ -817,10 +817,11 @@ if (!next_gw()) {
4.3. defunct_gw(period)
- Defuncts gateway denoted by lcr_id_avp and defunct_gw_avp for a period - of seconds given as argument. Argument must be a positive integer - constant or a pseudo variable with positive integer value. Value of - defunct column in database is not updated. + Defuncts gateway denoted by lcr_id_avp and defunct_gw_avp (which were + set by previuos next_gw() call) for a period of seconds given as + argument. Argument must be a positive integer constant or a pseudo + variable with positive integer value. Value of defunct column in + database is not updated.
Returns 1 on success and -1 in case of error (see syslog).
diff --git a/modules/lcr/doc/lcr_admin.xml b/modules/lcr/doc/lcr_admin.xml index 12f2d09..050871f 100644 --- a/modules/lcr/doc/lcr_admin.xml +++ b/modules/lcr/doc/lcr_admin.xml @@ -1049,6 +1049,7 @@ if (!next_gw()) { </title> <para> Defuncts gateway denoted by lcr_id_avp and defunct_gw_avp + (which were set by previuos next_gw() call) for a period of seconds given as argument. Argument must be a positive integer constant or a pseudo variable with positive integer value. Value of defunct column in