sergey-safarov created an issue (kamailio/kamailio#4241)
### Description
In the GitHub Actions present Alpine Docker image build error
```
tar (child): kamailio_min-without_os_files.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
```
https://github.com/kamailio/kamailio/actions/runs/14722992691/job/413201110…
With high probability, this does not work
I will work to fix this, but if possible, it will be fine to switch to use `cmake` for Alpine Docker image.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4241
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4241(a)github.com>
sergey-safarov created an issue (kamailio/kamailio#4257)
### Description
We found a memory leak in the AVP cleanup
### Troubleshooting
#### Reproduction
To reproduce, you need to start Kaamilio 5.8 branch with the config
```
listen=127.0.0.1:5060
tcp_send_timeout=3
loadmodule "xlog.so"
loadmodule "kex.so"
loadmodule "pv.so"
loadmodule "ctl.so"
loadmodule "jsonrpcs.so"
loadmodule "tm.so"
loadmodule "siptrace.so"
modparam("siptrace", "trace_to_database", 0)
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_mode", 1)
modparam("siptrace", "trace_init_mode", 1)
loadmodule "permissions.so"
modparam("permissions", "address_file", "address.list")
modparam("permissions", "peer_tag_avp", "$avp(s:tag)")
modparam("permissions", "peer_tag_mode", 0)
modparam("permissions", "load_backends", 1)
modparam("permissions", "reload_delta", 1)
loadmodule "dispatcher.so"
modparam("dispatcher", "list_file", "/tmp/dispatcher.list")
modparam("dispatcher", "ds_ping_from", "sip:proxy@aggregator.nga911.com")
modparam("dispatcher", "ds_ping_interval", 3)
modparam("dispatcher", "ds_probing_mode", 1)
route{
drop;
}
event_route[siptrace:msg] {
if (allow_address("1", "$siptrace(src_hostip)", "0")) {
xerr("SIP message from $siptrace(src_hostip)\n");
}
}
```
Also need to create `address.list` with content
```
# address file - records to match with allow_address(...) and variants
# * file format details
# - comments start with # and go to end of line
# - each line corresponds to a record with following attributes:
#
# (groupid,int) (address,str) (netmask,int,o), (port,int,o) (tag,str,o)
#
# * description of the tokens used to describe line format
# - int: expected integer value
# - str: expected string value
# - o: optional field
1 127.0.0.0 16 0 tag
```
and `/tmp/dispatcher.list` with content
```
1 sip:sip.telnyx.com:5060;transport=tcp 8
```
When kamailio started required to execute a command
```
kamcmd mod.stats core shm| grep avp
```
This will produce output like
```
create_avp(178): 1360
init_avps(92): 16
init_avps(91): 16
```
Where `create_avp` is constantly increasing
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4257
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4257(a)github.com>
sergey-safarov created an issue (kamailio/kamailio#4255)
### Description
I now make testing `cmake` packaging and see this error
```
RPM build errors:
Directory not found: /root/rpmbuild/BUILDROOT/kamailio-6.1.0-dev1.0.el10.centos.x86_64/usr/share/kamailio/postgres
File not found: /root/rpmbuild/BUILDROOT/kamailio-6.1.0-dev1.0.el10.centos.x86_64/usr/share/kamailio/postgres/*
```
### Troubleshooting
#### Reproduction
I use this module list for build
https://github.com/sergey-safarov/kamailio/blob/master/pkg/kamailio/obs/kam…
@xkaraman could you look?
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4255
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4255(a)github.com>
Module: kamailio
Branch: master
Commit: c7fcdfdb13aeec9aeae726a9cc1ccaeda557e7bb
URL: https://github.com/kamailio/kamailio/commit/c7fcdfdb13aeec9aeae726a9cc1ccae…
Author: Xenofon Karamanos <xk(a)gilawa.com>
Committer: Xenofon Karamanos <xk(a)gilawa.com>
Date: 2025-05-23T11:10:13Z
cmake: Add some check for finding group name if using non K-variants of group names
---
Modified: cmake/groups.cmake
---
Diff: https://github.com/kamailio/kamailio/commit/c7fcdfdb13aeec9aeae726a9cc1ccae…
Patch: https://github.com/kamailio/kamailio/commit/c7fcdfdb13aeec9aeae726a9cc1ccae…
---
diff --git a/cmake/groups.cmake b/cmake/groups.cmake
index a41560f17fc..c629ee49f93 100644
--- a/cmake/groups.cmake
+++ b/cmake/groups.cmake
@@ -764,6 +764,20 @@ function(find_group_name module)
""
PARENT_SCOPE
)
+ # This was need due to the dbschema.cmake
+ # If one select one of these option as group
+ # we want the group name to match instead of the actual group it belongs to
+ if(MODULE_GROUP_NAME STREQUAL "ALL"
+ OR MODULE_GROUP_NAME STREQUAL "DEFAULT"
+ OR MODULE_GROUP_NAME STREQUAL "STANDARD"
+ OR MODULE_GROUP_NAME STREQUAL "COMMON"
+ )
+ set(group_name
+ "${MODULE_GROUP_NAME}"
+ PARENT_SCOPE
+ )
+ return()
+ endif()
# message(WARNING "groups to search in" ${MODULE_GROUP_PACKAGE_GROUPS})
# Get all variable names in the current CMake context
foreach(group IN LISTS MODULE_GROUP_PACKAGE_GROUPS)
@@ -776,6 +790,8 @@ function(find_group_name module)
"${group}"
PARENT_SCOPE
)
+ return()
endif()
endforeach()
+ message((STATUS "module ${module} not found in any group"))
endfunction()
Module: kamailio
Branch: master
Commit: 0fb182720428b276793899debb210279a0b5ec97
URL: https://github.com/kamailio/kamailio/commit/0fb182720428b276793899debb21027…
Author: Xenofon Karamanos <xk(a)gilawa.com>
Committer: Xenofon Karamanos <xk(a)gilawa.com>
Date: 2025-05-23T11:10:13Z
cmake: Add missing package KSTANDARD
- When `ALL_PACKAGED` is used, KSTANDARD should be built as well, but not KMINI which is a subset of it.
- Fix RTP_MEDIA group name
---
Modified: cmake/groups.cmake
---
Diff: https://github.com/kamailio/kamailio/commit/0fb182720428b276793899debb21027…
Patch: https://github.com/kamailio/kamailio/commit/0fb182720428b276793899debb21027…
---
diff --git a/cmake/groups.cmake b/cmake/groups.cmake
index 90c47413d22..a41560f17fc 100644
--- a/cmake/groups.cmake
+++ b/cmake/groups.cmake
@@ -688,6 +688,7 @@ set(MODULE_GROUP_KRTP_MEDIA_SERVER ${MOD_LIST_RTP_MEDIA_SERVER})
set(STATIC_MODULES "")
set(MODULE_GROUP_PACKAGE_GROUPS
+ KSTANDARD
KPCRE
KMYSQL
KPOSTGRES
@@ -748,7 +749,7 @@ set(MODULE_GROUP_PACKAGE_GROUPS
KNGHTTP2
KGCRYPT
KSECSIPID
- KRT_MEDIA_SERVER
+ KRTP_MEDIA_SERVER
)
# Add group names to available group and provide "ALL_PACKAGED" as well
Hello,
I have noticed that the git tag for release 5.7.7 was missing, I've just set it.
The 5.7.7-bullseye docker image is also missing from https://github.com/kamailio/kamailio-docker/pkgs/container/kamailio
Not sure if this is done automatically, if not - please can somebody please trigger the workflow to create it?
Thank you,
Henning