Browse code

modules: readme files regenerated - usrloc ... [skip ci]

Kamailio Dev authored on 10/09/2021 09:16:30
Showing 1 changed files
... ...
@@ -98,6 +98,7 @@ Carsten Bock
98 98
               3.56. ka_loglevel (int)
99 99
               3.57. ka_logmsg (str)
100 100
               3.58. load_rank (int)
101
+              3.59. db_clean_tcp (int)
101 102
 
102 103
         4. RPC Commands
103 104
 
... ...
@@ -203,6 +204,7 @@ Carsten Bock
203 204
    1.56. ka_loglevel parameter usage
204 205
    1.57. ka_logmsg parameter usage
205 206
    1.58. load_rank parameter usage
207
+   1.59. db_clean_tcp parameter usage
206 208
 
207 209
 Chapter 1. Admin Guide
208 210
 
... ...
@@ -277,6 +279,7 @@ Chapter 1. Admin Guide
277 279
         3.56. ka_loglevel (int)
278 280
         3.57. ka_logmsg (str)
279 281
         3.58. load_rank (int)
282
+        3.59. db_clean_tcp (int)
280 283
 
281 284
    4. RPC Commands
282 285
 
... ...
@@ -414,6 +417,7 @@ Chapter 1. Admin Guide
414 417
    3.56. ka_loglevel (int)
415 418
    3.57. ka_logmsg (str)
416 419
    3.58. load_rank (int)
420
+   3.59. db_clean_tcp (int)
417 421
 
418 422
 3.1. nat_bflag (int)
419 423
 
... ...
@@ -1231,6 +1235,22 @@ modparam("usrloc", "ka_logmsg", " to-uri: [$tu] remote-addr: [$sas]")
1231 1235
 modparam("usrloc", "load_rank", 1)
1232 1236
 ...
1233 1237
 
1238
+3.59. db_clean_tcp (int)
1239
+
1240
+   If set to 1, when Kamailio starts it removes the contacts with
1241
+   transport TCP, TLS or WSS, no longer loading them. Useful when end
1242
+   points do not listen for incoming connections on contact address, which
1243
+   is quite common (end point use only tcp client connections). On
1244
+   restart, connections are lost, therefore the corresponding contact
1245
+   records become useless.
1246
+
1247
+   Default value is “0” (do not clean tcp contacts).
1248
+
1249
+   Example 1.59. db_clean_tcp parameter usage
1250
+...
1251
+modparam("usrloc", "db_clean_tcp", 1)
1252
+...
1253
+
1234 1254
 4. RPC Commands
1235 1255
 
1236 1256
    4.1. ul.dump