(also adding sr-dev)
Hello,
I have cherry-picked the commit. Its technically a new feature addition, which would not qualify for a backport to a stable branch. On the other hand, if KEMI is not usable without that, we certainly import KEMI changes into stable branches so it would qualify for a backport. This unclear status was probably the reason that it was not included into the backports so far.
If somebody is against adding this change, I will revert it of course. I did not cherry-picked it to 5.5 branch.
Cheers,
Henning
From: Michal Hajek <michal.hajek(a)daktela.com>
Sent: Donnerstag, 11. Mai 2023 12:16
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
Subject: [SR-Users] GeoIP2 and KEMI
Hello,
why this commit is not in branch 5.6?
https://github.com/kamailio/kamailio/commit/21817906853140322c701f8cbb82010…
Without this, is KEMI and GeoIP2 incompatible.
Thanks
Michal
Hi Sergey,
I am not the one that works on the Kamailio docker packages, so others can probably comment more.
But I think after we switched the kamailio docker to the github repository, it also make sense to move the other smaller “special” Kamailio repositories from docker hub to github. Just to have it in one place and to be less confusing for users and developers.
Cheers,
Henning
From: Sergey Safarov <s.safarov(a)gmail.com>
Sent: Freitag, 28. April 2023 19:59
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
Subject: [SR-Users] kamailio/kamailio-ci docker image
Hi
Now "kamailio/kamailio-ci" docker image is pushed to GitHub packages<https://github.com/kamailio/kamailio-ci/pkgs/container/kamailio-ci> only.
I have a question should we completely switch to using the GitHub docker repo and remove the "kamailio/kamailio-ci" docker image from Docker Hub<https://hub.docker.com/repository/docker/kamailio/kamailio-ci>?
Or required to push the "kamailio/kamailio-ci" docker image to GitHub packages and Docker Hub repos?
Sergey
Module doc says:
4.5. plp_limit_column (string)
Name of 'limit' column.
Default value is “limit”.
According to source src/modules/pipelimit/pl_db.c default value is plimit
#define RLP_LIMIT_COL "plimit"
So the doc should say:
Default value is “plimit”.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3449
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3449(a)github.com>
Hi, I've built today the 5.7 debs for kamailio together with latest rtpengine master branch debs (commit 13a7e1d), for raspberry pi and tried to give it a try:
```
root@pisip:~# sudo dpkg -l | grep kama
ii kamailio 5.7.0~rc0 armhf very fast, dynamic and configurable SIP server
ii kamailio-dbg:armhf 5.7.0~rc0 armhf very fast and configurable SIP server [debug symbols]
ii kamailio-presence-modules:armhf 5.7.0~rc0 armhf SIP presence modules for Kamailio
ii kamailio-tls-modules:armhf 5.7.0~rc0 armhf TLS support for the Kamailio SIP server (authentication, transport)
ii kamailio-websocket-modules:armhf 5.7.0~rc0 armhf WebSocket module for the Kamailio SIP server
root@pisip:~# sudo dpkg -l | grep rtpe
ii ngcp-rtpengine 11.4.0.0+0~mr11.4.0.0 all NGCP RTP/media proxy - meta package
ii ngcp-rtpengine-daemon 11.4.0.0+0~mr11.4.0.0 armhf proxy for RTP and media streams used in NGCP, userspace part
ii ngcp-rtpengine-iptables 11.4.0.0+0~mr11.4.0.0 armhf IPtables extension module for the kernel-space NGCP media proxy
ii ngcp-rtpengine-kernel-dkms 11.4.0.0+0~mr11.4.0.0 all IPtables kernel module for the NGCP media proxy - DKMS
ii ngcp-rtpengine-recording-daemon 11.4.0.0+0~mr11.4.0.0 armhf recording daemon for RTP and media streams
ii ngcp-rtpengine-utils 11.4.0.0+0~mr11.4.0.0 all scripts and Perl modules for NGCP rtpengine
root@pisip:~# sudo dpkg -l | grep bencode
ii libbencode-perl 1.501-1.1 all Perl module for BitTorrent serialisation format
root@pisip:~# uname -a
Linux ... 6.1.25-v8+ #1647 SMP PREEMPT Wed Apr 26 17:39:08 BST 2023 aarch64 GNU/Linux
root@pisip:~# cat /etc/issue
Raspbian GNU/Linux 11 \n \l
```
Kamailio crashes on startup, only when rtpengine module is loaded and rtp proxies are queried:
```
GNU gdb (Raspbian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kamailio...
Reading symbols from /usr/lib/debug/.build-id/b1/3b2e37e49071a519b33ce95a0b555c21a2d8f4.debug...
warning: Can't open file /dev/zero (deleted) during file-backed mapping note processing
[New LWP 5455]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `/usr/sbin/kamailio -P /var/run/kamailio/kamailio_pid -f /etc/kamailio/kamailio_'.
Program terminated with signal SIGBUS, Bus error.
#0 0xf3237de8 in __bencode_decode_dictionary (end=0xf3294859 <buf+25> "", s=0xf329484a <buf+10> "6:result4:ponge", buf=0xffd06608) at bencode.c:464
464 bencode.c: No such file or directory.
(gdb) bt
#0 0xf3237de8 in __bencode_decode_dictionary (end=0xf3294859 <buf+25> "", s=0xf329484a <buf+10> "6:result4:ponge", buf=0xffd06608) at bencode.c:464
#1 __bencode_decode (buf=buf@entry=0xffd06608, s=0xf3294849 <buf+9> "d6:result4:ponge", end=0xf3294859 <buf+25> "") at bencode.c:613
#2 0xf3238a98 in bencode_decode (buf=buf@entry=0xffd06608, s=<optimized out>, len=<optimized out>) at bencode.c:638
#3 0xf32469dc in bencode_decode_expect (expect=BENCODE_DICTIONARY, len=<optimized out>, s=<optimized out>, buf=0xffd06600) at bencode.h:490
#4 rtpp_test (node=node@entry=0xb31464d0, isdisabled=isdisabled@entry=0, force=force@entry=1) at rtpengine.c:2954
#5 0xf324ef5c in build_rtpp_socks (lmode=lmode@entry=0, rtest=-1968410368, rtest@entry=1) at rtpengine.c:2021
#6 0xf32516d4 in child_init (rank=1) at rtpengine.c:2105
#7 child_init (rank=1) at rtpengine.c:2082
#8 0x0019fe08 in init_mod_child (m=0xf5cbbb54, rank=rank@entry=1) at core/sr_module.c:899
#9 0x0019fdd4 in init_mod_child (m=0xf5cbc2dc, rank=rank@entry=1) at core/sr_module.c:892
#10 0x0019fdd4 in init_mod_child (m=0xf5cbdbe4, rank=rank@entry=1) at core/sr_module.c:892
#11 0x0019fdd4 in init_mod_child (m=0xf5cbe46c, rank=rank@entry=1) at core/sr_module.c:892
#12 0x0019fdd4 in init_mod_child (m=0xf5cbe6fc, rank=rank@entry=1) at core/sr_module.c:892
#13 0x0019fdd4 in init_mod_child (m=0xf5cbea70, rank=rank@entry=1) at core/sr_module.c:892
#14 0x0019fdd4 in init_mod_child (m=0xf5cc4d64, rank=rank@entry=1) at core/sr_module.c:892
#15 0x0019fdd4 in init_mod_child (m=0xf5cc5558, rank=rank@entry=1) at core/sr_module.c:892
#16 0x0019fdd4 in init_mod_child (m=0xf5cc6670, rank=rank@entry=1) at core/sr_module.c:892
#17 0x0019fdd4 in init_mod_child (m=0xf5cc7630, rank=rank@entry=1) at core/sr_module.c:892
#18 0x001a486c in init_child (rank=rank@entry=1) at core/sr_module.c:953
#19 0x001117b0 in fork_process (child_id=1, desc=desc@entry=0xffd06f44 "\230I\244\001\214:\323\365udp receiver child=0 sock=192.168.100.57:50060 (86.123.193.247:50060)", make_sock=make_sock@entry=1)
at core/pt.c:337
#20 0x000369c8 in main_loop () at main.c:1708
#21 0x0002c21c in main (argc=<optimized out>, argv=0xffd074a4) at main.c:3086
```
Looks like some bencode issue I'm having but lib bencode version looks ok. So far couldn't figure it out. Note that I also had a kernel bump to 6.1.25-v8+ recently.
Any opinions on this?
Thank you,
Stefan
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3444
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3444(a)github.com>
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [X] Commit message has the format required by CONTRIBUTING guide
- [X] Commits are split per component (core, individual modules, libs, utils, ...)
- [X] Each component has a single commit (if not, squash them into one commit)
- [X] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [X] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
Needed a way to use_domain but calculate crc32 for user part only.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3427
-- Commit Summary --
* p_usrloc: Add use_domain_crc32 modparam
-- File Changes --
M src/modules/p_usrloc/doc/p_usrloc_admin.xml (21)
M src/modules/p_usrloc/p_usrloc_mod.c (2)
M src/modules/p_usrloc/p_usrloc_mod.h (1)
M src/modules/p_usrloc/ul_db_handle.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3427.patchhttps://github.com/kamailio/kamailio/pull/3427.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3427
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3427(a)github.com>
### Description
Calling ``KSR.dialplan.dp_translate(<id>)`` always produces ERROR in parameters since the default ones are not used in KEMI function ``ki_dp_translate_id()``
#### Log Messages
```
dialplan [dialplan.c:877]: ki_dp_translate(): invalid destination var name for input or output
```
### Possible Solutions
use default "$rU/$rU" as documented
https://kamailio.org/docs/modules/5.6.x/modules/dialplan.html#dialplan.p.dp…
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
```
version: kamailio 5.6.4 (x86_64/linux)
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: unknown
compiled with gcc 10.2.1
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3447
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3447(a)github.com>
Module: kamailio
Branch: master
Commit: 84dbcdb812fce70d6d470050793125698c06d0fd
URL: https://github.com/kamailio/kamailio/commit/84dbcdb812fce70d6d4700507931256…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2023-05-09T20:31:14+02:00
modules: readme files regenerated - registrar ... [skip ci]
---
Modified: src/modules/registrar/README
Modified: src/modules/tls/README
---
Diff: https://github.com/kamailio/kamailio/commit/84dbcdb812fce70d6d4700507931256…
Patch: https://github.com/kamailio/kamailio/commit/84dbcdb812fce70d6d4700507931256…
---
diff --git a/src/modules/registrar/README b/src/modules/registrar/README
index 360577c8d1..92c06d8714 100644
--- a/src/modules/registrar/README
+++ b/src/modules/registrar/README
@@ -745,6 +745,10 @@ modparam("registrar", "reg_callid_avp", "$avp(s:avp)")
* socket - the string representing the socket on which the register
request was received, as alternative to using the sock_hdr. Used in
save().
+ * tcpconn_id This can be set with $conid, the TCP connection ID of
+ the connection the current message. This is useful when calling
+ save() on a reply route to set the connecion of the original
+ request. Used in save().
For example. if this parameter is set to 'reg', then the number of
maximum contacts can be set in $xavp(reg=>max_contacts).
diff --git a/src/modules/tls/README b/src/modules/tls/README
index ed3c290803..7198c45529 100644
--- a/src/modules/tls/README
+++ b/src/modules/tls/README
@@ -81,7 +81,8 @@ Olle E. Johansson
12.1. tls.info
12.2. tls.list
12.3. tls.options
- 12.4. tls.reload
+ 12.4. tls.kill
+ 12.5. tls.reload
13. Status
@@ -213,7 +214,8 @@ Chapter 1. Admin Guide
12.1. tls.info
12.2. tls.list
12.3. tls.options
- 12.4. tls.reload
+ 12.4. tls.kill
+ 12.5. tls.reload
13. Status
@@ -1641,7 +1643,8 @@ verify_client = optional_no_ca
12.1. tls.info
12.2. tls.list
12.3. tls.options
- 12.4. tls.reload
+ 12.4. tls.kill
+ 12.5. tls.reload
12.1. tls.info
@@ -1665,7 +1668,14 @@ verify_client = optional_no_ca
Parameters:
* None.
-12.4. tls.reload
+12.4. tls.kill
+
+ Kill a TLS session by id.
+
+ Parameters:
+ * None.
+
+12.5. tls.reload
Reload the external TLS configuration file (aka tls.cfg). It does not
reload modparam() parameters. Note that existing active TLS connections