- URL: https://github.com/kamailio/kamailio/commit/18fead63dca0982df500b35b7c4e2d0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:10:53+01:00
core: set proto on fixing forward actions
(cherry picked from commit e51ccd11fe51f2d53dd7719b8fdec561a6ba7494)
- URL: https://github.com/kamailio/kamailio/commit/065203150aaf2f99bd6fe40ce5ffb96…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:16:40+01:00
dialog: prevent duplicate of leg1 attributes in json for dmq
- reported by #3656
(cherry picked from commit ca7e1e49aecd3e0f12cc783e3b97868980f1d3d2)
- URL: https://github.com/kamailio/kamailio/commit/3046d01bed4bdd0fe763fd770ffc8f7…
Author: Pe����ter Baraba����s <peter.barabas(a)securesoft.hu>
Date: 2024-01-16T11:18:24+01:00
uac: fix socket length settings
- set _uac_req.s_sock.len value to 0 in pv_set_uac_req() method in case of "all" case
- change setting of _uac_req.s_apasswd.len to _uac_req.s_sock.len in pv_set_uac_req() method in case of "sock" case
(cherry picked from commit 10519d199f6cac116399f4473bd82f2b08de72ba)
- URL: https://github.com/kamailio/kamailio/commit/81dce4e5003f3c00301671144ac6787…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:20:20+01:00
core: xavp - info long when skipping serializing a field
(cherry picked from commit 5d97afefd2a8f53072a36b6eb8927c180fb984c9)
- URL: https://github.com/kamailio/kamailio/commit/37621005e38a0191a93fbaf4f39b8b8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:21:55+01:00
dialog: check first the size
(cherry picked from commit 9db18bc48bff0d230e66973a45c8e72e1b7744e8)
- URL: https://github.com/kamailio/kamailio/commit/1189bb2962dd80c21a1d497125f3199…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:23:24+01:00
tm: check get_t() result for consistency
(cherry picked from commit 1191ab4e5e03b35714ec1ad9d9bf2dd9665c71fd)
- URL: https://github.com/kamailio/kamailio/commit/0712576dc4d57ba41e45012486dd206…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:23:49+01:00
registrar: check returned branch pointer
(cherry picked from commit 5d641f56fc1bc342d9be008ecd96959e114fef66)
- URL: https://github.com/kamailio/kamailio/commit/62b76c076ff0f36b847a13c180b7d50…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:24:10+01:00
core: check if conversion could not be done
(cherry picked from commit 077651fa3bfd50e0f654c907f3783b1421497bd5)
- URL: https://github.com/kamailio/kamailio/commit/4371adffc07bb555e2a52dedd6cd5af…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:24:20+01:00
app_python3: check allocated pointer
(cherry picked from commit 49b3b90cd229b7c4da06b61cdfd782450d383cc9)
- URL: https://github.com/kamailio/kamailio/commit/0ca30e87655798e3841c005abb63ca6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:24:53+01:00
core: srjson - init vars and check scanned values
(cherry picked from commit 678b1a68de86d9539adeaf0262d9735b8d435077)
- URL: https://github.com/kamailio/kamailio/commit/2d385c1983a921a95fb392e8aea0332…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:25:18+01:00
pv: typo in transformation log message
(cherry picked from commit ca2a9479adf720e67bf50c9d2795cc8937e223dc)
- URL: https://github.com/kamailio/kamailio/commit/5a26d9e9fba36a49a93bb3b88683661…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:25:38+01:00
pv: removed unnecessary condition
(cherry picked from commit 2f43510be37c157f800389dfb432b6c52d7435a7)
- URL: https://github.com/kamailio/kamailio/commit/916d02d883dc938247576bdf8f5c5b2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:27:30+01:00
tm: make lookup event_route[tm:local-response] only once
- related to issue #3064 and PR #3687
(cherry picked from commit 1f5444fd2e25d227ffd70f1087d057a3b8002558)
- URL: https://github.com/kamailio/kamailio/commit/6cd8f2acc0601fbd040999d776f15b8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:28:03+01:00
tmx: rework cleaning up on init failure
(cherry picked from commit 5192e5d275761ccd1af49d4bf9dd12e1438947b7)
- URL: https://github.com/kamailio/kamailio/commit/fc0bd88b55121e3588f5793480f0594…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:28:34+01:00
statsd: use bool type for local variable to match return of function
(cherry picked from commit 0186246fce8f0e4bb46b30c05174983cd957a3ba)
- URL: https://github.com/kamailio/kamailio/commit/be5b4b160ecff8dc398735fbd28ceb7…
Author: Nikolay Ivanuschak <ivanuschak.nikolay(a)gmail.com>
Date: 2024-01-16T11:29:08+01:00
core: fixed haproxy protocol parser
fixes GH #3683
(cherry picked from commit c5237830f3e7fbeec403a0190471a066081c1117)
- URL: https://github.com/kamailio/kamailio/commit/37a07037b6e3485f3ddd1b27b1998af…
Author: Dennis Yurasov <dennis-y(a)yandex-team.ru>
Date: 2024-01-16T11:29:22+01:00
dialog: fixed saving dialogs on shutdown that are already loaded at startup when using db_mode 3
- The dialogs that loaded at startup are not saved in DB on shutdown, and so not loaded at restart,
fixes issue #3669
(cherry picked from commit 2d00ce546bb0852dc1784d5bc2e794d06f919577)
- URL: https://github.com/kamailio/kamailio/commit/dc59286c26e9799f86e698a9698c9da…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:31:59+01:00
htable: read rpc number value as long
- remove autoconvert for number, it is only for string values
- GH #3674
(cherry picked from commit 577fb11010ff61af3c4b567581c0bbc5404654c8)
- URL: https://github.com/kamailio/kamailio/commit/2dff6f52d1393cf8eabe714262ec8e5…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Date: 2024-01-16T11:32:25+01:00
http_async_client: exit mod_init if tm is not loaded
(cherry picked from commit 5a40d1ef1b484c4fc437a3f0183a101241e80313)
- URL: https://github.com/kamailio/kamailio/commit/a539ca32ec3a898e354aab90d899b99…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:32:57+01:00
core: keep listen socket even if advertise address does not resolve
- the core advertise_address parameter works in the same fashion
- previously it was starting by skipping the listen, which resulted in
unexpected runtime list of sockets
(cherry picked from commit b50036200c5bc09fd2d412a18585b42d63763b27)
<!--
Kamailio Project uses GitHub Issues only for bugs in the code or feature requests. Please use this template only for bug reports.
If you have questions about using Kamailio or related to its configuration file, ask on sr-users mailing list:
* http://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
If you have questions about developing extensions to Kamailio or its existing C code, ask on sr-dev mailing list:
* http://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Please try to fill this template as much as possible for any issue. It helps the developers to troubleshoot the issue.
If there is no content to be filled in a section, the entire section can be removed.
You can delete the comments from the template sections when filling.
You can delete next line and everything above before submitting (it is a comment).
-->
### Description
<!--
Explain what you did, what you expected to happen, and what actually happened.
-->
The dmq_usrloc module is not replicating the extra attributes saved in the xavp for the contact. So remote nodes don't receive these values, being unable to access it properly.
It is expected that the attributes are replicated as well.
#### Reproduction
<!--
If the issue can be reproduced, describe how it can be done.
-->
Setup two nodes using the dmq_usrloc and usrloc in db_mode=0.
When receiving a REGISTER, before saving the contact add some attribute in the xavp_contact. In a subsequent message to this contact (e.g.: INVITE) use a lookup() or registered() and try to access the desired xavp_contact attribute. If the request is received in the local node (which received the original REGISTER), the attribute will be valid, but if the request is received in the remote node, the attribute is empty.
#### Log Messages
<!--
Check the syslog file and if there are relevant log messages printed by Kamailio, add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site).
-->
```
May 29 16:06:18 kamailio-2 /usr/sbin/kamailio[23230]: DEBUG: registrar [save.c:410]: pack_ci(): generated ruid is: uloc-5cee2114-5abe-2
May 29 16:06:18 kamailio-2 /usr/sbin/kamailio[23230]: DEBUG: usrloc [ucontact.c:73]: ucontact_xavp_store(): trying to clone per contact xavps
May 29 16:06:18 kamailio-2 /usr/sbin/kamailio[23230]: DEBUG: <core> [core/xavp.c:697]: xavp_clone_level_nodata(): cloned root xavp [ulattrs]
May 29 16:06:18 kamailio-2 /usr/sbin/kamailio[23230]: DEBUG: <core> [core/xavp.c:721]: xavp_clone_level_nodata(): cloned inner xavp [cluster_node]
May 29 16:06:18 kamailio-2 /usr/sbin/kamailio[23230]: DEBUG: usrloc [ucontact.c:1701]: update_ucontact(): exists callback for type= UL_CONTACT_UPDATE
May 29 16:06:18 kamailio-2 /usr/sbin/kamailio[23230]: DEBUG: usrloc [ul_callback.h:84]: run_ul_callbacks(): contact=0x7f51b624d418, callback type 2/15, id 1 entered
May 29 16:06:18 kamailio-2 /usr/sbin/kamailio[23230]: DEBUG: dmq_usrloc [usrloc_sync.c:776]: dmq_ul_cb_contact(): Callback from usrloc with type=2
May 29 16:06:18 kamailio-2 /usr/sbin/kamailio[23230]: DEBUG: dmq_usrloc [usrloc_sync.c:427]: init_usrloc_dmq_recv(): Initializing usrloc_dmq_recv for pid (23230)
May 29 16:06:18 kamailio-2 /usr/sbin/kamailio[23230]: DEBUG: dmq_usrloc [usrloc_sync.c:785]: dmq_ul_cb_contact(): Replicating local update to other nodes...
May 29 16:06:18 kamailio-2 /usr/sbin/kamailio[23230]: DEBUG: dmq_usrloc [usrloc_sync.c:746]: usrloc_dmq_send_contact(): sending serialized data {"action":1,"aor":"345671002","ruid":"uloc-5cee20df-5953-1","c":"sip:345671002@172.28.128.200:5060;rinstance=38e53fed7e84e081;transport=UDP","received":"","path":"<sip:172.28.128.102:5060;received=sip:172.28.128.200:5060;lr>","callid":"NOeeFh1Bh5JR0eJG8DENkg..","user_agent":"Z 3.15.40006 rv2.8.20","instance":"","expires":1559110577,"cseq":12,"flags":0,"cflags":3072,"q":-1,"last_modified":1559109977,"methods":4294967295,"reg_id":0,"server_id":0}
May 29 16:06:18 kamailio-2 /usr/sbin/kamailio[23230]: DEBUG: dmq_usrloc [usrloc_sync.c:315]: usrloc_dmq_send(): sending dmq broadcast...
```
### Possible Solutions
<!--
If you found a solution or workaround for the issue, describe it. Ideally, provide a pull request with a fix.
-->
Only workaround seems to use usrloc with db_mode=3 and then not use the dmq_usrloc, having the usrloc with attributes info shared via the DB....
### Additional Information
Kamailio 5.2.2 installed from the repo.
```
# kamailio -v
version: kamailio 5.2.2 (x86_64/linux) 67f967
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, 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_BLACKLIST, HAVE_RESOLV_RES
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: 67f967
compiled on 11:40:41 Mar 11 2019 with gcc 4.8.5
```
* **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 `uname -a`)
-->
```
# cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core)
# uname -a
Linux kamailio-2 3.10.0-514.21.2.el7.x86_64 #1 SMP Tue Jun 20 12:24:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1968
Hello,
the kamailio auto build is failing, I noticed after my last commit. But it seems to be related to some docker issue:
[...]
Starting job container
/usr/bin/docker --config /home/runner/work/_temp/.docker_0ae486ca-dcaa-4edb-a953-36dca2bac9d9 login ghcr.io -u henningw --password-stdin
/usr/bin/docker --config /home/runner/work/_temp/.docker_0ae486ca-dcaa-4edb-a953-36dca2bac9d9 pull ghcr.io/kamailio/pkg-kamailio-docker:master-sid
master-sid: Pulling from kamailio/pkg-kamailio-docker
manifest unknown
Warning: Docker pull failed with exit code 1, back off 1.515 seconds before retry.
/usr/bin/docker --config /home/runner/work/_temp/.docker_0ae486ca-dcaa-4edb-a953-36dca2bac9d9 pull ghcr.io/kamailio/pkg-kamailio-docker:master-sid
master-sid: Pulling from kamailio/pkg-kamailio-docker
manifest unknown
Warning: Docker pull failed with exit code 1, back off 1.58 seconds before retry.
/usr/bin/docker --config /home/runner/work/_temp/.docker_0ae486ca-dcaa-4edb-a953-36dca2bac9d9 pull ghcr.io/kamailio/pkg-kamailio-docker:master-sid
master-sid: Pulling from kamailio/pkg-kamailio-docker
manifest unknown
Error: Docker pull failed with exit code 1
Is this an issue from the github infrastructure or some issue in our scripts?
Cheers,
Henning