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
Browse code

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

Kamailio Dev authored on 15/03/2021 12:01:35
Showing 1 changed files
... ...
@@ -97,6 +97,7 @@ Carsten Bock
97 97
               3.55. ka_timeout (int)
98 98
               3.56. ka_loglevel (int)
99 99
               3.57. ka_logmsg (str)
100
+              3.58. load_rank (int)
100 101
 
101 102
         4. RPC Commands
102 103
 
... ...
@@ -201,6 +202,7 @@ Carsten Bock
201 202
    1.55. Set ka_timeout parameter
202 203
    1.56. ka_loglevel parameter usage
203 204
    1.57. ka_logmsg parameter usage
205
+   1.58. load_rank parameter usage
204 206
 
205 207
 Chapter 1. Admin Guide
206 208
 
... ...
@@ -274,6 +276,7 @@ Chapter 1. Admin Guide
274 276
         3.55. ka_timeout (int)
275 277
         3.56. ka_loglevel (int)
276 278
         3.57. ka_logmsg (str)
279
+        3.58. load_rank (int)
277 280
 
278 281
    4. RPC Commands
279 282
 
... ...
@@ -410,6 +413,7 @@ Chapter 1. Admin Guide
410 413
    3.55. ka_timeout (int)
411 414
    3.56. ka_loglevel (int)
412 415
    3.57. ka_logmsg (str)
416
+   3.58. load_rank (int)
413 417
 
414 418
 3.1. nat_bflag (int)
415 419
 
... ...
@@ -1215,6 +1219,18 @@ modparam("usrloc", "ka_loglevel", 1)
1215 1219
 modparam("usrloc", "ka_logmsg", " to-uri: [$tu] remote-addr: [$sas]")
1216 1220
 ...
1217 1221
 
1222
+3.58. load_rank (int)
1223
+
1224
+   Allows to set the rank of the child SIP worker to load the location
1225
+   records.
1226
+
1227
+   Default value is “1” (PROC_SIPINIT).
1228
+
1229
+   Example 1.58. load_rank parameter usage
1230
+...
1231
+modparam("usrloc", "load_rank", 1)
1232
+...
1233
+
1218 1234
 4. RPC Commands
1219 1235
 
1220 1236
    4.1. ul.dump
Browse code

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

Kamailio Dev authored on 11/09/2020 20:16:12
Showing 1 changed files
... ...
@@ -94,8 +94,9 @@ Carsten Bock
94 94
               3.52. ka_from (str)
95 95
               3.53. ka_domain (str)
96 96
               3.54. ka_filter (int)
97
-              3.55. ka_loglevel (int)
98
-              3.56. ka_logmsg (str)
97
+              3.55. ka_timeout (int)
98
+              3.56. ka_loglevel (int)
99
+              3.57. ka_logmsg (str)
99 100
 
100 101
         4. RPC Commands
101 102
 
... ...
@@ -197,8 +198,9 @@ Carsten Bock
197 198
    1.52. ka_from parameter usage
198 199
    1.53. ka_domain parameter usage
199 200
    1.54. ka_filter parameter usage
200
-   1.55. ka_loglevel parameter usage
201
-   1.56. ka_logmsg parameter usage
201
+   1.55. Set ka_timeout parameter
202
+   1.56. ka_loglevel parameter usage
203
+   1.57. ka_logmsg parameter usage
202 204
 
203 205
 Chapter 1. Admin Guide
204 206
 
... ...
@@ -269,8 +271,9 @@ Chapter 1. Admin Guide
269 271
         3.52. ka_from (str)
270 272
         3.53. ka_domain (str)
271 273
         3.54. ka_filter (int)
272
-        3.55. ka_loglevel (int)
273
-        3.56. ka_logmsg (str)
274
+        3.55. ka_timeout (int)
275
+        3.56. ka_loglevel (int)
276
+        3.57. ka_logmsg (str)
274 277
 
275 278
    4. RPC Commands
276 279
 
... ...
@@ -404,8 +407,9 @@ Chapter 1. Admin Guide
404 407
    3.52. ka_from (str)
405 408
    3.53. ka_domain (str)
406 409
    3.54. ka_filter (int)
407
-   3.55. ka_loglevel (int)
408
-   3.56. ka_logmsg (str)
410
+   3.55. ka_timeout (int)
411
+   3.56. ka_loglevel (int)
412
+   3.57. ka_logmsg (str)
409 413
 
410 414
 3.1. nat_bflag (int)
411 415
 
... ...
@@ -683,8 +687,8 @@ modparam("usrloc", "desc_time_order", 1)
683 687
 3.25. timer_interval (int)
684 688
 
685 689
    Number of seconds between two timer runs. The module uses a timer to
686
-   delete expired contacts, synchronize with database and other tasks,
687
-   that need to be run periodically.
690
+   delete expired contacts, synchronize with database, send keepalives and
691
+   other tasks, that need to be run periodically.
688 692
 
689 693
    Default value is 60.
690 694
 
... ...
@@ -1163,19 +1167,38 @@ modparam("usrloc", "ka_domain", "mydomain.com")
1163 1167
 modparam("usrloc", "ka_filter", 1)
1164 1168
 ...
1165 1169
 
1166
-3.55. ka_loglevel (int)
1170
+3.55. ka_timeout (int)
1171
+
1172
+   The parameter sets the interval in seconds after which a contact is
1173
+   removed from location table if it does not reply to SIP keepalives
1174
+   (usually OPTIONS ping requests).
1175
+
1176
+   The features is available only for contacts that are stored in memory
1177
+   (not working for db only mode of the usrloc module).
1178
+
1179
+   Keepalives are sent stateless, not using TM module. The value of this
1180
+   parameter has to be few times higher than timer interval.
1181
+
1182
+   Default value is “0” (feature disabled).
1183
+
1184
+   Example 1.55. Set ka_timeout parameter
1185
+...
1186
+modparam("usrloc", "ka_timeout", 120)
1187
+...
1188
+
1189
+3.56. ka_loglevel (int)
1167 1190
 
1168 1191
    The level to print the log message when the keepalive response is
1169 1192
    received. It should be a value between -5 (L_ALERT) and 3 (L_DBG).
1170 1193
 
1171 1194
    Default value is “255” (disabled).
1172 1195
 
1173
-   Example 1.55. ka_loglevel parameter usage
1196
+   Example 1.56. ka_loglevel parameter usage
1174 1197
 ...
1175 1198
 modparam("usrloc", "ka_loglevel", 1)
1176 1199
 ...
1177 1200
 
1178
-3.56. ka_logmsg (str)
1201
+3.57. ka_logmsg (str)
1179 1202
 
1180 1203
    The formatted log specification to be added to the message printed when
1181 1204
    the keepalive is received and roundtrip time is computed. The log
... ...
@@ -1187,7 +1210,7 @@ modparam("usrloc", "ka_loglevel", 1)
1187 1210
 
1188 1211
    Default value is “ to-uri: [$tu] remote-addr: [$sas]”.
1189 1212
 
1190
-   Example 1.56. ka_logmsg parameter usage
1213
+   Example 1.57. ka_logmsg parameter usage
1191 1214
 ...
1192 1215
 modparam("usrloc", "ka_logmsg", " to-uri: [$tu] remote-addr: [$sas]")
1193 1216
 ...
Browse code

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

Kamailio Dev authored on 29/03/2020 15:31:14
Showing 1 changed files
... ...
@@ -1166,9 +1166,9 @@ modparam("usrloc", "ka_filter", 1)
1166 1166
 3.55. ka_loglevel (int)
1167 1167
 
1168 1168
    The level to print the log message when the keepalive response is
1169
-   received. It should be a value between LOG_ALERT
1169
+   received. It should be a value between -5 (L_ALERT) and 3 (L_DBG).
1170 1170
 
1171
-   Default value is “kamailio.org”.
1171
+   Default value is “255” (disabled).
1172 1172
 
1173 1173
    Example 1.55. ka_loglevel parameter usage
1174 1174
 ...
... ...
@@ -1185,11 +1185,11 @@ modparam("usrloc", "ka_loglevel", 1)
1185 1185
    The value of this parameter can contain script variables that are
1186 1186
    evaluated with the SIP response.
1187 1187
 
1188
-   Default value is “ to-uri: [$tu] src-uri: [$su]”.
1188
+   Default value is “ to-uri: [$tu] remote-addr: [$sas]”.
1189 1189
 
1190 1190
    Example 1.56. ka_logmsg parameter usage
1191 1191
 ...
1192
-modparam("usrloc", "ka_logmsg", " to-uri: [$tu] src-uri: [$su]")
1192
+modparam("usrloc", "ka_logmsg", " to-uri: [$tu] remote-addr: [$sas]")
1193 1193
 ...
1194 1194
 
1195 1195
 4. RPC Commands
Browse code

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

Kamailio Dev authored on 28/03/2020 09:31:12
Showing 1 changed files
... ...
@@ -94,6 +94,8 @@ Carsten Bock
94 94
               3.52. ka_from (str)
95 95
               3.53. ka_domain (str)
96 96
               3.54. ka_filter (int)
97
+              3.55. ka_loglevel (int)
98
+              3.56. ka_logmsg (str)
97 99
 
98 100
         4. RPC Commands
99 101
 
... ...
@@ -195,6 +197,8 @@ Carsten Bock
195 197
    1.52. ka_from parameter usage
196 198
    1.53. ka_domain parameter usage
197 199
    1.54. ka_filter parameter usage
200
+   1.55. ka_loglevel parameter usage
201
+   1.56. ka_logmsg parameter usage
198 202
 
199 203
 Chapter 1. Admin Guide
200 204
 
... ...
@@ -265,6 +269,8 @@ Chapter 1. Admin Guide
265 269
         3.52. ka_from (str)
266 270
         3.53. ka_domain (str)
267 271
         3.54. ka_filter (int)
272
+        3.55. ka_loglevel (int)
273
+        3.56. ka_logmsg (str)
268 274
 
269 275
    4. RPC Commands
270 276
 
... ...
@@ -398,6 +404,8 @@ Chapter 1. Admin Guide
398 404
    3.52. ka_from (str)
399 405
    3.53. ka_domain (str)
400 406
    3.54. ka_filter (int)
407
+   3.55. ka_loglevel (int)
408
+   3.56. ka_logmsg (str)
401 409
 
402 410
 3.1. nat_bflag (int)
403 411
 
... ...
@@ -1155,6 +1163,35 @@ modparam("usrloc", "ka_domain", "mydomain.com")
1155 1163
 modparam("usrloc", "ka_filter", 1)
1156 1164
 ...
1157 1165
 
1166
+3.55. ka_loglevel (int)
1167
+
1168
+   The level to print the log message when the keepalive response is
1169
+   received. It should be a value between LOG_ALERT
1170
+
1171
+   Default value is “kamailio.org”.
1172
+
1173
+   Example 1.55. ka_loglevel parameter usage
1174
+...
1175
+modparam("usrloc", "ka_loglevel", 1)
1176
+...
1177
+
1178
+3.56. ka_logmsg (str)
1179
+
1180
+   The formatted log specification to be added to the message printed when
1181
+   the keepalive is received and roundtrip time is computed. The log
1182
+   message starts with "keepalive roundtrip: %u.%06u sec - ruid [%.*s]",
1183
+   then concatenates the value of this parameter and the end of line.
1184
+
1185
+   The value of this parameter can contain script variables that are
1186
+   evaluated with the SIP response.
1187
+
1188
+   Default value is “ to-uri: [$tu] src-uri: [$su]”.
1189
+
1190
+   Example 1.56. ka_logmsg parameter usage
1191
+...
1192
+modparam("usrloc", "ka_logmsg", " to-uri: [$tu] src-uri: [$su]")
1193
+...
1194
+
1158 1195
 4. RPC Commands
1159 1196
 
1160 1197
    4.1. ul.dump
Browse code

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

Kamailio Dev authored on 27/03/2020 17:31:09
Showing 1 changed files
... ...
@@ -93,6 +93,7 @@ Carsten Bock
93 93
               3.51. ka_method (str)
94 94
               3.52. ka_from (str)
95 95
               3.53. ka_domain (str)
96
+              3.54. ka_filter (int)
96 97
 
97 98
         4. RPC Commands
98 99
 
... ...
@@ -193,6 +194,7 @@ Carsten Bock
193 194
    1.51. ka_method parameter usage
194 195
    1.52. ka_from parameter usage
195 196
    1.53. ka_domain parameter usage
197
+   1.54. ka_filter parameter usage
196 198
 
197 199
 Chapter 1. Admin Guide
198 200
 
... ...
@@ -262,6 +264,7 @@ Chapter 1. Admin Guide
262 264
         3.51. ka_method (str)
263 265
         3.52. ka_from (str)
264 266
         3.53. ka_domain (str)
267
+        3.54. ka_filter (int)
265 268
 
266 269
    4. RPC Commands
267 270
 
... ...
@@ -394,6 +397,7 @@ Chapter 1. Admin Guide
394 397
    3.51. ka_method (str)
395 398
    3.52. ka_from (str)
396 399
    3.53. ka_domain (str)
400
+   3.54. ka_filter (int)
397 401
 
398 402
 3.1. nat_bflag (int)
399 403
 
... ...
@@ -1066,14 +1070,15 @@ modparam("usrloc", "version_table", 0)
1066 1070
 3.50. ka_mode (int)
1067 1071
 
1068 1072
    Keepalive mode - control the internal keepalive mechanism. With this
1069
-   feature enable, the module sends periodically (based on timer interval)
1070
-   SIP requests to location contacts and measures the round trip in
1071
-   microseconds (the round trip value can be seen in the response of the
1072
-   RPC command 'ul.dump').
1073
+   feature enabled, the module sends periodically (based on timer
1074
+   interval) SIP requests to location contacts and measures the round trip
1075
+   in microseconds (the round trip value can be seen in the response of
1076
+   the RPC command 'ul.dump').
1073 1077
 
1074 1078
    Its value is a set of flags:
1075 1079
      * 0 - if the value is zero, no keepalive is sent
1076
-     * 1 - if set to 1, the keepalive is enabled for all contacts
1080
+     * 1 (bit 1 set) - if set to 1, the keepalive is enabled for all
1081
+       contacts
1077 1082
      * 2 (bit 2 set) - the keepalive is sent only for natted contacts
1078 1083
        (nat_bflag set)
1079 1084
      * 4 (bit 3 set) - the keepalive is sent only for UDP contacts
... ...
@@ -1134,6 +1139,22 @@ modparam("usrloc", "ka_from", "sip:server@mydomain.com")
1134 1139
 modparam("usrloc", "ka_domain", "mydomain.com")
1135 1140
 ...
1136 1141
 
1142
+3.54. ka_filter (int)
1143
+
1144
+   Set filters for keepalive processing.
1145
+
1146
+   Its value is a set of flags:
1147
+     * 0 - if the value is zero, no filter is enabled for keepalives
1148
+     * 1 (bit 1 set) - keepalives sent only to records matching the
1149
+       server_id global parameter.
1150
+
1151
+   Default value is “0” (no filter).
1152
+
1153
+   Example 1.54. ka_filter parameter usage
1154
+...
1155
+modparam("usrloc", "ka_filter", 1)
1156
+...
1157
+
1137 1158
 4. RPC Commands
1138 1159
 
1139 1160
    4.1. ul.dump
Browse code

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

Kamailio Dev authored on 27/03/2020 09:31:18
Showing 1 changed files
... ...
@@ -89,6 +89,10 @@ Carsten Bock
89 89
               3.47. rm_expired_delay (int)
90 90
               3.48. server_id_filter (int)
91 91
               3.49. version_table (int)
92
+              3.50. ka_mode (int)
93
+              3.51. ka_method (str)
94
+              3.52. ka_from (str)
95
+              3.53. ka_domain (str)
92 96
 
93 97
         4. RPC Commands
94 98
 
... ...
@@ -185,6 +189,10 @@ Carsten Bock
185 189
    1.47. Set rm_expired_delay parameter
186 190
    1.48. Set server_id_filter parameter
187 191
    1.49. version_table parameter usage
192
+   1.50. ka_mode parameter usage
193
+   1.51. ka_method parameter usage
194
+   1.52. ka_from parameter usage
195
+   1.53. ka_domain parameter usage
188 196
 
189 197
 Chapter 1. Admin Guide
190 198
 
... ...
@@ -250,6 +258,10 @@ Chapter 1. Admin Guide
250 258
         3.47. rm_expired_delay (int)
251 259
         3.48. server_id_filter (int)
252 260
         3.49. version_table (int)
261
+        3.50. ka_mode (int)
262
+        3.51. ka_method (str)
263
+        3.52. ka_from (str)
264
+        3.53. ka_domain (str)
253 265
 
254 266
    4. RPC Commands
255 267
 
... ...
@@ -378,6 +390,10 @@ Chapter 1. Admin Guide
378 390
    3.47. rm_expired_delay (int)
379 391
    3.48. server_id_filter (int)
380 392
    3.49. version_table (int)
393
+   3.50. ka_mode (int)
394
+   3.51. ka_method (str)
395
+   3.52. ka_from (str)
396
+   3.53. ka_domain (str)
381 397
 
382 398
 3.1. nat_bflag (int)
383 399
 
... ...
@@ -1047,6 +1063,77 @@ modparam("usrloc", "server_id_filter", 1)
1047 1063
 modparam("usrloc", "version_table", 0)
1048 1064
 ...
1049 1065
 
1066
+3.50. ka_mode (int)
1067
+
1068
+   Keepalive mode - control the internal keepalive mechanism. With this
1069
+   feature enable, the module sends periodically (based on timer interval)
1070
+   SIP requests to location contacts and measures the round trip in
1071
+   microseconds (the round trip value can be seen in the response of the
1072
+   RPC command 'ul.dump').
1073
+
1074
+   Its value is a set of flags:
1075
+     * 0 - if the value is zero, no keepalive is sent
1076
+     * 1 - if set to 1, the keepalive is enabled for all contacts
1077
+     * 2 (bit 2 set) - the keepalive is sent only for natted contacts
1078
+       (nat_bflag set)
1079
+     * 4 (bit 3 set) - the keepalive is sent only for UDP contacts
1080
+
1081
+   For example, if set to 6, then keepalive is sent only natted UDP
1082
+   contacs.
1083
+
1084
+   Note: the internal keepalive of usrloc module conflicts in some way
1085
+   with the keepalive done by nathelper module. It is recommended to
1086
+   enable only one.
1087
+
1088
+   Note: the internal keepalive is for the moment implemented only for
1089
+   contact records stored in memory.
1090
+
1091
+   Note: it is recommeder to set 'timer_procs' parameter in order to have
1092
+   dedicated timer processes for usrloc module and off-load the keepalive
1093
+   sending process from the core timers.
1094
+
1095
+   Default value is “0 (keepalive disabled)”.
1096
+
1097
+   Example 1.50. ka_mode parameter usage
1098
+...
1099
+modparam("usrloc", "ka_mode", 1)
1100
+...
1101
+
1102
+3.51. ka_method (str)
1103
+
1104
+   The SIP method type for keepalive requests.
1105
+
1106
+   Default value is “OPTIONS”.
1107
+
1108
+   Example 1.51. ka_method parameter usage
1109
+...
1110
+modparam("usrloc", "ka_method", "NOTIFY")
1111
+...
1112
+
1113
+3.52. ka_from (str)
1114
+
1115
+   The SIP URI to be set in the From header of the keepalive requests.
1116
+
1117
+   Default value is “sip:server@kamailio.org”.
1118
+
1119
+   Example 1.52. ka_from parameter usage
1120
+...
1121
+modparam("usrloc", "ka_from", "sip:server@mydomain.com")
1122
+...
1123
+
1124
+3.53. ka_domain (str)
1125
+
1126
+   The domain to be set in To header URI if the multi-domain is not
1127
+   enabled. If multi-domain is enabled, then the domain from the location
1128
+   record is used and this parameter is ignored.
1129
+
1130
+   Default value is “kamailio.org”.
1131
+
1132
+   Example 1.53. ka_domain parameter usage
1133
+...
1134
+modparam("usrloc", "ka_domain", "mydomain.com")
1135
+...
1136
+
1050 1137
 4. RPC Commands
1051 1138
 
1052 1139
    4.1. ul.dump
Browse code

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

Kamailio Dev authored on 04/03/2020 09:46:17
Showing 1 changed files
... ...
@@ -57,37 +57,38 @@ Carsten Bock
57 57
               3.15. path_column (string)
58 58
               3.16. ruid_column (string)
59 59
               3.17. instance_column (string)
60
-              3.18. server_id_column (string)
61
-              3.19. connection_id_column (string)
62
-              3.20. keepalive_column (string)
63
-              3.21. partition_column (string)
64
-              3.22. use_domain (int)
65
-              3.23. desc_time_order (int)
66
-              3.24. timer_interval (int)
67
-              3.25. db_url (string)
68
-              3.26. db_mode (int)
69
-              3.27. db_load (int)
70
-              3.28. db_insert_update (int)
71
-              3.29. matching_mode (int)
72
-              3.30. cseq_delay (int)
73
-              3.31. fetch_rows (int)
74
-              3.32. hash_size (int)
75
-              3.33. preload (string)
76
-              3.34. db_update_as_insert (int)
77
-              3.35. db_check_update (int)
78
-              3.36. timer_procs (int)
79
-              3.37. xavp_contact (string)
80
-              3.38. db_ops_ruid (int)
81
-              3.39. handle_lost_tcp (int)
82
-              3.40. close_expired_tcp (int)
83
-              3.41. expires_type (int)
84
-              3.42. db_raw_fetch_type (int)
85
-              3.43. db_insert_null (int)
86
-              3.44. skip_remote_socket (int)
87
-              3.45. db_timer_clean (int)
88
-              3.46. rm_expired_delay (int)
89
-              3.47. server_id_filter (int)
90
-              3.48. version_table (int)
60
+              3.18. reg_id_column (string)
61
+              3.19. server_id_column (string)
62
+              3.20. connection_id_column (string)
63
+              3.21. keepalive_column (string)
64
+              3.22. partition_column (string)
65
+              3.23. use_domain (int)
66
+              3.24. desc_time_order (int)
67
+              3.25. timer_interval (int)
68
+              3.26. db_url (string)
69
+              3.27. db_mode (int)
70
+              3.28. db_load (int)
71
+              3.29. db_insert_update (int)
72
+              3.30. matching_mode (int)
73
+              3.31. cseq_delay (int)
74
+              3.32. fetch_rows (int)
75
+              3.33. hash_size (int)
76
+              3.34. preload (string)
77
+              3.35. db_update_as_insert (int)
78
+              3.36. db_check_update (int)
79
+              3.37. timer_procs (int)
80
+              3.38. xavp_contact (string)
81
+              3.39. db_ops_ruid (int)
82
+              3.40. handle_lost_tcp (int)
83
+              3.41. close_expired_tcp (int)
84
+              3.42. expires_type (int)
85
+              3.43. db_raw_fetch_type (int)
86
+              3.44. db_insert_null (int)
87
+              3.45. skip_remote_socket (int)
88
+              3.46. db_timer_clean (int)
89
+              3.47. rm_expired_delay (int)
90
+              3.48. server_id_filter (int)
91
+              3.49. version_table (int)
91 92
 
92 93
         4. RPC Commands
93 94
 
... ...
@@ -152,37 +153,38 @@ Carsten Bock
152 153
    1.15. Set path_column parameter
153 154
    1.16. Set ruid_column parameter
154 155
    1.17. Set instance_column parameter
155
-   1.18. Set server_id_column parameter
156
-   1.19. Set connection_id_column parameter
157
-   1.20. Set keepalive_column parameter
158
-   1.21. Set partitioncolumn parameter
159
-   1.22. Set use_domain parameter
160
-   1.23. Set desc_time_order parameter
161
-   1.24. Set timer_interval parameter
162
-   1.25. Set db_url parameter
163
-   1.26. Set db_mode parameter
164
-   1.27. Set db_load parameter
165
-   1.28. Set db_insert_update parameter
166
-   1.29. Set matching_mode parameter
167
-   1.30. Set cseq_delay parameter
168
-   1.31. Set fetch_rows parameter
169
-   1.32. Set hash_size parameter
170
-   1.33. Set preload parameter
171
-   1.34. Set db_update_as_insert parameter
172
-   1.35. Set db_check_update parameter
173
-   1.36. Set timer_procs parameter
174
-   1.37. Set xavp_contact parameter
175
-   1.38. Set db_ops_ruid parameter
176
-   1.39. Set handle_lost_tcp parameter
177
-   1.40. Set close_expired_tcp parameter
178
-   1.41. Set expires_type parameter
179
-   1.42. Set db_raw_fetch_type parameter
180
-   1.43. Set db_insert_null parameter
181
-   1.44. Set skip_remote_socket parameter
182
-   1.45. Set db_timer_clean parameter
183
-   1.46. Set rm_expired_delay parameter
184
-   1.47. Set server_id_filter parameter
185
-   1.48. version_table parameter usage
156
+   1.18. Set reg_id_column parameter
157
+   1.19. Set server_id_column parameter
158
+   1.20. Set connection_id_column parameter
159
+   1.21. Set keepalive_column parameter
160
+   1.22. Set partition_column parameter
161
+   1.23. Set use_domain parameter
162
+   1.24. Set desc_time_order parameter
163
+   1.25. Set timer_interval parameter
164
+   1.26. Set db_url parameter
165
+   1.27. Set db_mode parameter
166
+   1.28. Set db_load parameter
167
+   1.29. Set db_insert_update parameter
168
+   1.30. Set matching_mode parameter
169
+   1.31. Set cseq_delay parameter
170
+   1.32. Set fetch_rows parameter
171
+   1.33. Set hash_size parameter
172
+   1.34. Set preload parameter
173
+   1.35. Set db_update_as_insert parameter
174
+   1.36. Set db_check_update parameter
175
+   1.37. Set timer_procs parameter
176
+   1.38. Set xavp_contact parameter
177
+   1.39. Set db_ops_ruid parameter
178
+   1.40. Set handle_lost_tcp parameter
179
+   1.41. Set close_expired_tcp parameter
180
+   1.42. Set expires_type parameter
181
+   1.43. Set db_raw_fetch_type parameter
182
+   1.44. Set db_insert_null parameter
183
+   1.45. Set skip_remote_socket parameter
184
+   1.46. Set db_timer_clean parameter
185
+   1.47. Set rm_expired_delay parameter
186
+   1.48. Set server_id_filter parameter
187
+   1.49. version_table parameter usage
186 188
 
187 189
 Chapter 1. Admin Guide
188 190
 
... ...
@@ -216,37 +218,38 @@ Chapter 1. Admin Guide
216 218
         3.15. path_column (string)
217 219
         3.16. ruid_column (string)
218 220
         3.17. instance_column (string)
219
-        3.18. server_id_column (string)
220
-        3.19. connection_id_column (string)
221
-        3.20. keepalive_column (string)
222
-        3.21. partition_column (string)
223
-        3.22. use_domain (int)
224
-        3.23. desc_time_order (int)
225
-        3.24. timer_interval (int)
226
-        3.25. db_url (string)
227
-        3.26. db_mode (int)
228
-        3.27. db_load (int)
229
-        3.28. db_insert_update (int)
230
-        3.29. matching_mode (int)
231
-        3.30. cseq_delay (int)
232
-        3.31. fetch_rows (int)
233
-        3.32. hash_size (int)
234
-        3.33. preload (string)
235
-        3.34. db_update_as_insert (int)
236
-        3.35. db_check_update (int)
237
-        3.36. timer_procs (int)
238
-        3.37. xavp_contact (string)
239
-        3.38. db_ops_ruid (int)
240
-        3.39. handle_lost_tcp (int)
241
-        3.40. close_expired_tcp (int)
242
-        3.41. expires_type (int)
243
-        3.42. db_raw_fetch_type (int)
244
-        3.43. db_insert_null (int)
245
-        3.44. skip_remote_socket (int)
246
-        3.45. db_timer_clean (int)
247
-        3.46. rm_expired_delay (int)
248
-        3.47. server_id_filter (int)
249
-        3.48. version_table (int)
221
+        3.18. reg_id_column (string)
222
+        3.19. server_id_column (string)
223
+        3.20. connection_id_column (string)
224
+        3.21. keepalive_column (string)
225
+        3.22. partition_column (string)
226
+        3.23. use_domain (int)
227
+        3.24. desc_time_order (int)
228
+        3.25. timer_interval (int)
229
+        3.26. db_url (string)
230
+        3.27. db_mode (int)
231
+        3.28. db_load (int)
232
+        3.29. db_insert_update (int)
233
+        3.30. matching_mode (int)
234
+        3.31. cseq_delay (int)
235
+        3.32. fetch_rows (int)
236
+        3.33. hash_size (int)
237
+        3.34. preload (string)
238
+        3.35. db_update_as_insert (int)
239
+        3.36. db_check_update (int)
240
+        3.37. timer_procs (int)
241
+        3.38. xavp_contact (string)
242
+        3.39. db_ops_ruid (int)
243
+        3.40. handle_lost_tcp (int)
244
+        3.41. close_expired_tcp (int)
245
+        3.42. expires_type (int)
246
+        3.43. db_raw_fetch_type (int)
247
+        3.44. db_insert_null (int)
248
+        3.45. skip_remote_socket (int)
249
+        3.46. db_timer_clean (int)
250
+        3.47. rm_expired_delay (int)
251
+        3.48. server_id_filter (int)
252
+        3.49. version_table (int)
250 253
 
251 254
    4. RPC Commands
252 255
 
... ...
@@ -305,7 +308,7 @@ Chapter 1. Admin Guide
305 308
        check the Call-ID only (independent of the Contact-Header or Path).
306 309
 
307 310
    To find out how to control/select the contact matching algorithm,
308
-   please see the module parameter matching_mode - Section 3.29,
311
+   please see the module parameter matching_mode - Section 3.30,
309 312
    “matching_mode (int)”.
310 313
 
311 314
 2. Dependencies
... ...
@@ -343,37 +346,38 @@ Chapter 1. Admin Guide
343 346
    3.15. path_column (string)
344 347
    3.16. ruid_column (string)
345 348
    3.17. instance_column (string)
346
-   3.18. server_id_column (string)
347
-   3.19. connection_id_column (string)
348
-   3.20. keepalive_column (string)
349
-   3.21. partition_column (string)
350
-   3.22. use_domain (int)
351
-   3.23. desc_time_order (int)
352
-   3.24. timer_interval (int)
353
-   3.25. db_url (string)
354
-   3.26. db_mode (int)
355
-   3.27. db_load (int)
356
-   3.28. db_insert_update (int)
357
-   3.29. matching_mode (int)
358
-   3.30. cseq_delay (int)
359
-   3.31. fetch_rows (int)
360
-   3.32. hash_size (int)
361
-   3.33. preload (string)
362
-   3.34. db_update_as_insert (int)
363
-   3.35. db_check_update (int)
364
-   3.36. timer_procs (int)
365
-   3.37. xavp_contact (string)
366
-   3.38. db_ops_ruid (int)
367
-   3.39. handle_lost_tcp (int)
368
-   3.40. close_expired_tcp (int)
369
-   3.41. expires_type (int)
370
-   3.42. db_raw_fetch_type (int)
371
-   3.43. db_insert_null (int)
372
-   3.44. skip_remote_socket (int)
373
-   3.45. db_timer_clean (int)
374
-   3.46. rm_expired_delay (int)
375
-   3.47. server_id_filter (int)
376
-   3.48. version_table (int)
349
+   3.18. reg_id_column (string)
350
+   3.19. server_id_column (string)
351
+   3.20. connection_id_column (string)
352
+   3.21. keepalive_column (string)
353
+   3.22. partition_column (string)
354
+   3.23. use_domain (int)
355
+   3.24. desc_time_order (int)
356
+   3.25. timer_interval (int)
357
+   3.26. db_url (string)
358
+   3.27. db_mode (int)
359
+   3.28. db_load (int)
360
+   3.29. db_insert_update (int)
361
+   3.30. matching_mode (int)
362
+   3.31. cseq_delay (int)
363
+   3.32. fetch_rows (int)
364
+   3.33. hash_size (int)
365
+   3.34. preload (string)
366
+   3.35. db_update_as_insert (int)
367
+   3.36. db_check_update (int)
368
+   3.37. timer_procs (int)
369
+   3.38. xavp_contact (string)
370
+   3.39. db_ops_ruid (int)
371
+   3.40. handle_lost_tcp (int)
372
+   3.41. close_expired_tcp (int)
373
+   3.42. expires_type (int)
374
+   3.43. db_raw_fetch_type (int)
375
+   3.44. db_insert_null (int)
376
+   3.45. skip_remote_socket (int)
377
+   3.46. db_timer_clean (int)
378
+   3.47. rm_expired_delay (int)
379
+   3.48. server_id_filter (int)
380
+   3.49. version_table (int)
377 381
 
378 382
 3.1. nat_bflag (int)
379 383
 
... ...
@@ -567,52 +571,63 @@ modparam("usrloc", "ruid_column", "myruid")
567 571
 modparam("usrloc", "instance_column", "myinstance")
568 572
 ...
569 573
 
570
-3.18. server_id_column (string)
574
+3.18. reg_id_column (string)
575
+
576
+   Name of database table column containing the value for reg-id.
577
+
578
+   Default value is “reg_id”.
579
+
580
+   Example 1.18. Set reg_id_column parameter
581
+...
582
+modparam("usrloc", "reg_id_column", "r_id")
583
+...
584
+
585
+3.19. server_id_column (string)
571 586
 
572 587
    Name of database table column containing the value for server id.
573 588
 
574 589
    Default value is “server_id”.
575 590
 
576
-   Example 1.18. Set server_id_column parameter
591
+   Example 1.19. Set server_id_column parameter
577 592
 ...
578 593
 modparam("usrloc", "server_id_column", "srv_id")
579 594
 ...
580 595
 
581
-3.19. connection_id_column (string)
596
+3.20. connection_id_column (string)
582 597
 
583 598
    Name of database table column containing the value for connection id.
584 599
 
585 600
    Default value is “connection_id”.
586 601
 
587
-   Example 1.19. Set connection_id_column parameter
602
+   Example 1.20. Set connection_id_column parameter
588 603
 ...
589 604
 modparam("usrloc", "connection_id_column", "con_id")
590 605
 ...
591 606
 
592
-3.20. keepalive_column (string)
607
+3.21. keepalive_column (string)
593 608
 
594 609
    Name of database table column containing the value for keepalive
595 610
    status.
596 611
 
597 612
    Default value is “keepalive”.
598 613
 
599
-   Example 1.20. Set keepalive_column parameter
614
+   Example 1.21. Set keepalive_column parameter
600 615
 ...
601 616
 modparam("usrloc", "keepalive_column", "kalive")
602 617
 ...
603 618
 
604
-3.21. partition_column (string)
619
+3.22. partition_column (string)
605 620
 
606 621
    Name of database table column containing the value for partition id.
607 622
 
608 623
    Default value is “partition”.
609 624
 
610
-   Example 1.21. Set partitioncolumn parameter
625
+   Example 1.22. Set partition_column parameter
611 626
 ...
612 627
 modparam("usrloc", "partition_column", "part")
613 628
 ...
614 629
 
615
-3.22. use_domain (int)
630
+3.23. use_domain (int)
616 631
 
617 632
    If the domain part of the user should be also saved and used for
618 633
    identifying the user (along with the username part). Useful in multi
... ...
@@ -620,24 +635,24 @@ modparam("usrloc", "partition_column", "part")
620 635
 
621 636
    Default value is “0 (false)”.
622 637
 
623
-   Example 1.22. Set use_domain parameter
638
+   Example 1.23. Set use_domain parameter
624 639
 ...
625 640
 modparam("usrloc", "use_domain", 1)
626 641
 ...
627 642
 
628
-3.23. desc_time_order (int)
643
+3.24. desc_time_order (int)
629 644
 
630 645
    If the user's contacts should be kept timestamp ordered; otherwise the
631 646
    contact will be ordered based on q value. Non 0 value means true.
632 647
 
633 648
    Default value is “0 (false)”.
634 649
 
635
-   Example 1.23. Set desc_time_order parameter
650
+   Example 1.24. Set desc_time_order parameter
636 651
 ...
637 652
 modparam("usrloc", "desc_time_order", 1)
638 653
 ...
639 654
 
640
-3.24. timer_interval (int)
655
+3.25. timer_interval (int)
641 656
 
642 657
    Number of seconds between two timer runs. The module uses a timer to
643 658
    delete expired contacts, synchronize with database and other tasks,
... ...
@@ -645,23 +660,23 @@ modparam("usrloc", "desc_time_order", 1)
645 660
 
646 661
    Default value is 60.
647 662
 
648
-   Example 1.24. Set timer_interval parameter
663
+   Example 1.25. Set timer_interval parameter
649 664
 ...
650 665
 modparam("usrloc", "timer_interval", 120)
651