Description

If there are no usrloc registrations, all is good:

[root@lab002194-flip-server install]$ kamcmd ul.dump
{
        Domains: {
                Domain: {
                        Domain: devflip_location
                        Size: 1024
                        AoRs: {
                        }
                        Stats: {
                                Records: 0
                                Max-Slots: 0
                        }
                }
        }
}

But if there are registered SIP endpoints, we get:


[root@lab002194-flip-server install]$ kamcmd ul.dump
{
        Domains: {
                Domain: {
                        Domain: devflip_location
                        Size: 1024
                        AoRs: {
                                Info: {
                                        AoR: oweruaodsiflwosdfjoe@lsjfoasjdfosaodfsdfafolekodc.com
                                        HashID: -2013386516
                                        Contacts: {
                                                Contact: {
                                                        Address: sip:oweruaodsiflwosdfjoe@10.255.255.195:6060
                                                        Expires: 96
                                                        Q: 0
ERROR:: while parsing the record 14, @140: ff : bad record

Reproduction

Just register some SIP endpoints against kamailio and issue 'kamcmd ul.dump'

Additional Information

version: kamailio 5.6.0 (x86_64/linux) 61e86a
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: 61e86a 
compiled on 06:54:55 May 26 2022 with gcc 10.2.1
[root@lab002194-flip-server kamailio-5.6]$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

[root@lab002194-flip-server kamailio-5.6]$ uname -a
Linux lab002194-flip-server 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64 GNU/Linux


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/3123@github.com>