[sr-dev] [kamailio/kamailio] 'kamcmd ul.dump' error on 5.6 (Issue #3123)

MayamaTakeshi notifications at github.com
Thu May 26 00:18:31 CEST 2022


### Description
If there are no usrloc registrations, all is good:
```
[root at 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 at lab002194-flip-server install]$ kamcmd ul.dump
{
        Domains: {
                Domain: {
                        Domain: devflip_location
                        Size: 1024
                        AoRs: {
                                Info: {
                                        AoR: oweruaodsiflwosdfjoe at lsjfoasjdfosaodfsdfafolekodc.com
                                        HashID: -2013386516
                                        Contacts: {
                                                Contact: {
                                                        Address: sip:oweruaodsiflwosdfjoe at 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

  * **Kamailio Version** - output of `kamailio -v`

```
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
```

* **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`)
-->

```
[root at 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 at 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 or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3123
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3123 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220525/977acf12/attachment.htm>


More information about the sr-dev mailing list