Module: kamailio
Branch: 5.7
Commit: 3e510ac68a4b9bc99b6ade5cb7cc862adcbb9eb9
URL: https://github.com/kamailio/kamailio/commit/3e510ac68a4b9bc99b6ade5cb7cc862…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2023-06-19T14:17:02+02:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/ims_usrloc_scscf/README
Modified: src/modules/mqueue/README
---
Diff: https://github.com/kamailio/kamailio/commit/3e510ac68a4b9bc99b6ade5cb7cc862…
Patch: https://github.com/kamailio/kamailio/commit/3e510ac68a4b9bc99b6ade5cb7cc862…
---
diff --git a/src/modules/ims_usrloc_scscf/README b/src/modules/ims_usrloc_scscf/README
index 384d9ee6742..d128b226b00 100644
--- a/src/modules/ims_usrloc_scscf/README
+++ b/src/modules/ims_usrloc_scscf/README
@@ -39,7 +39,7 @@ Yasin Caner
3.11. matching_mode (int)
3.12. cseq_delay (int)
3.13. fetch_rows(int)
- 3.14. hash_size (string)
+ 3.14. hash_size (int)
3.15. subs_hash_size (int)
3.16. contacts_hash_size (integer)
3.17. nat_bflag (integer)
@@ -108,7 +108,7 @@ Chapter 1. Admin Guide
3.11. matching_mode (int)
3.12. cseq_delay (int)
3.13. fetch_rows(int)
- 3.14. hash_size (string)
+ 3.14. hash_size (int)
3.15. subs_hash_size (int)
3.16. contacts_hash_size (integer)
3.17. nat_bflag (integer)
@@ -157,7 +157,7 @@ Chapter 1. Admin Guide
3.11. matching_mode (int)
3.12. cseq_delay (int)
3.13. fetch_rows(int)
- 3.14. hash_size (string)
+ 3.14. hash_size (int)
3.15. subs_hash_size (int)
3.16. contacts_hash_size (integer)
3.17. nat_bflag (integer)
@@ -315,7 +315,7 @@ st/scscf")
...
modparam("ims_usrloc_scscf", "fetch_rows", 3000)
-3.14. hash_size (string)
+3.14. hash_size (int)
The number of entries of the hash table used by usrloc
diff --git a/src/modules/mqueue/README b/src/modules/mqueue/README
index a8981a68aee..3db56e8f54b 100644
--- a/src/modules/mqueue/README
+++ b/src/modules/mqueue/README
@@ -176,12 +176,12 @@ val character varying(4096) DEFAULT "" NOT NULL
+ size: size of the queue. Specifies the maximum number of items
in queue. If exceeded the oldest one is removed. If not set
the queue will be limitless.
- + dbmode: If set to 1, the content of the queue is written to
- database table when the SIP server is stopped (i.e., ensure
- persistency over restarts). If set to 2, it is written at
- shutdown but not read at startup. If set to 3, it is read at
- sartup but not written at shutdown. Default value is 0 (no db
- table interaction).
+ + dbmode: If set to 1, the content of the queue is read from
+ database at startup and is written to database table when the
+ SIP server is stopped (i.e., ensure persistency over
+ restarts). If set to 2, it is read at startup but not written
+ at shutdown. If set to 3, it is written at shutdown but not
+ read at startup. Default value is 0 (no db table interaction).
+ addmode: how to add new (key,value) pairs.
o 0: Will push all new (key,value) pairs at the end of the
queue. (default)
### Description
When a TLS connection is closed and handle_lost_tcp=1 the entry is deleted for usrloc. This deletion is not synced via DMQ even though usrloc_delete=1.
There is also an issue on the same server if a re-registration happens right after before the timeout was supposed to expire then $var(sv_res) = 2 even though the usrloc table is empty. So it seems like the way handle_lost_tcp deletes is not deleting fully in registrar.
usrloc db_mode is 0
### Troubleshooting
#### Reproduction
Setup 2 servers with DMQ and close the TCP connection.
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
```
version: kamailio 5.6.1 (x86_64/linux) d8f98b
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLOCKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: d8f98b
compiled on 19:05:04 Aug 16 2022 with gcc 8.3.0
```
* **Operating System**:
<!--
Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...;
Kernel details (output of `lsb_release -a` and `uname -a`)
-->
```
Debian 10
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3479
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3479(a)github.com>