Skip to content

Commit

Permalink
modules: readme files regenerated - usrloc ... [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
kamailio-dev committed Sep 11, 2020
1 parent 2e9d4e2 commit e52c1f3
Showing 1 changed file with 37 additions and 14 deletions.
51 changes: 37 additions & 14 deletions src/modules/usrloc/README
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ Carsten Bock
3.52. ka_from (str)
3.53. ka_domain (str)
3.54. ka_filter (int)
3.55. ka_loglevel (int)
3.56. ka_logmsg (str)
3.55. ka_timeout (int)
3.56. ka_loglevel (int)
3.57. ka_logmsg (str)

4. RPC Commands

Expand Down Expand Up @@ -197,8 +198,9 @@ Carsten Bock
1.52. ka_from parameter usage
1.53. ka_domain parameter usage
1.54. ka_filter parameter usage
1.55. ka_loglevel parameter usage
1.56. ka_logmsg parameter usage
1.55. Set ka_timeout parameter
1.56. ka_loglevel parameter usage
1.57. ka_logmsg parameter usage

Chapter 1. Admin Guide

Expand Down Expand Up @@ -269,8 +271,9 @@ Chapter 1. Admin Guide
3.52. ka_from (str)
3.53. ka_domain (str)
3.54. ka_filter (int)
3.55. ka_loglevel (int)
3.56. ka_logmsg (str)
3.55. ka_timeout (int)
3.56. ka_loglevel (int)
3.57. ka_logmsg (str)

4. RPC Commands

Expand Down Expand Up @@ -404,8 +407,9 @@ Chapter 1. Admin Guide
3.52. ka_from (str)
3.53. ka_domain (str)
3.54. ka_filter (int)
3.55. ka_loglevel (int)
3.56. ka_logmsg (str)
3.55. ka_timeout (int)
3.56. ka_loglevel (int)
3.57. ka_logmsg (str)

3.1. nat_bflag (int)

Expand Down Expand Up @@ -683,8 +687,8 @@ modparam("usrloc", "desc_time_order", 1)
3.25. timer_interval (int)

Number of seconds between two timer runs. The module uses a timer to
delete expired contacts, synchronize with database and other tasks,
that need to be run periodically.
delete expired contacts, synchronize with database, send keepalives and
other tasks, that need to be run periodically.

Default value is 60.

Expand Down Expand Up @@ -1163,19 +1167,38 @@ modparam("usrloc", "ka_domain", "mydomain.com")
modparam("usrloc", "ka_filter", 1)
...

3.55. ka_loglevel (int)
3.55. ka_timeout (int)

The parameter sets the interval in seconds after which a contact is
removed from location table if it does not reply to SIP keepalives
(usually OPTIONS ping requests).

The features is available only for contacts that are stored in memory
(not working for db only mode of the usrloc module).

Keepalives are sent stateless, not using TM module. The value of this
parameter has to be few times higher than timer interval.

Default value is “0” (feature disabled).

Example 1.55. Set ka_timeout parameter
...
modparam("usrloc", "ka_timeout", 120)
...

3.56. ka_loglevel (int)

The level to print the log message when the keepalive response is
received. It should be a value between -5 (L_ALERT) and 3 (L_DBG).

Default value is “255” (disabled).

Example 1.55. ka_loglevel parameter usage
Example 1.56. ka_loglevel parameter usage
...
modparam("usrloc", "ka_loglevel", 1)
...

3.56. ka_logmsg (str)
3.57. ka_logmsg (str)

The formatted log specification to be added to the message printed when
the keepalive is received and roundtrip time is computed. The log
Expand All @@ -1187,7 +1210,7 @@ modparam("usrloc", "ka_loglevel", 1)

Default value is “ to-uri: [$tu] remote-addr: [$sas]”.

Example 1.56. ka_logmsg parameter usage
Example 1.57. ka_logmsg parameter usage
...
modparam("usrloc", "ka_logmsg", " to-uri: [$tu] remote-addr: [$sas]")
...
Expand Down

0 comments on commit e52c1f3

Please sign in to comment.