Merge tag 'upstream/5.8.6' into mr12.5.1

Upstream version 5.8.6

Change-Id: I7cc3968f5eb57d754fad53725eab4df15bac469d
mr12.5.1
Victor Seva 1 year ago
commit b83c1daa04

File diff suppressed because it is too large Load Diff

@ -8,7 +8,7 @@ kamailio \- a very fast and configurable SIP server
.SH SYNOPSIS
.B kamailio
[
.B \-hfcmMdVIhEeblLnvKrRDTNWwtugPGSQOaAxXY
.B \-hfcmMdVIhEebBlLnvKrRDTNWwtugPGSQOaAxXY
] [
.BI \-a " auto\-aliases\-mode"
] [
@ -16,6 +16,8 @@ kamailio \- a very fast and configurable SIP server
] [
.BI \-b " max_rcv_buf_size"
] [
.BI \-B " max_snd_buf_size"
] [
.BI \-f " config\-file"
] [
.BI \-g " gid"
@ -68,7 +70,10 @@ default is yes.
Add config pre-processor define (e.g., -A WITH_AUTH, -A N=1, -A X='"Y"')
.TP
.BI \-b " max_rcv_buf_size"
Maximum receive buffer size which will not be exceeded by the auto-probing procedure even if the OS allows.
Maximum OS UDP receive buffer size which will not be exceeded by auto-probing-and-increase procedure even if OS allows.
.TP
.BI \-B " max_snd_buf_size"
Maximum OS UDP send buffer size which will not be exceeded by auto-probing-and-increase procedure even if OS allows.
.TP
.BI \-c
Checks the config file and displays the aliases and listen interface list.

@ -561,7 +561,7 @@ request_route {
# record routing for dialog forming requests (in case they are routed)
# - remove preloaded route headers
remove_hf("Route");
if (is_method("INVITE|SUBSCRIBE")) {
if (is_method("INVITE|SUBSCRIBE|REFER")) {
record_route();
}
@ -678,8 +678,8 @@ route[WITHINDLG] {
} else if ( is_method("ACK") ) {
# ACK is forwarded statelessly
route(NATMANAGE);
} else if ( is_method("NOTIFY") ) {
# Add Record-Route for in-dialog NOTIFY as per RFC 6665.
} else if ( is_method("NOTIFY|REFER") ) {
# Add Record-Route for in-dialog NOTIFY and REFER (RFC6665, RFC3515)
record_route();
}
route(RELAY);

@ -12,6 +12,6 @@ The following tables (or files) are required:
* ims_charging_create.sql
* ims_dialog-create.sql
* ms_usrloc_scscf-create.sql
* ims_usrloc_scscf-create.sql
* presence-create.sql
* standard-create.sql

@ -4,7 +4,7 @@
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=kamailio
pkgver=5.8.2
pkgver=5.8.6
pkgrel=0
# If building from a git snapshot, specify the gitcommit

@ -1,3 +1,27 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2

@ -636,6 +636,23 @@ Description: TLS support for the Kamailio SIP server (authentication, transport)
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: TLS support for the Kamailio SIP server (authentication, transport)
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides TLS support for encrypted and authenticated using wolfssl
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-outbound-modules
Architecture: any
Multi-Arch: same

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -140,24 +140,27 @@ test_install_all-stamp: build
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(subst install_,,$@)-modules \
cfg_prefix=$(D)-$(subst install_,,$@)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(subst install_,,$@)-modules \
group_include="k$(subst install_,,$@)"
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$${module}-modules/usr/$(LIBDIR)/kamailio" && \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(subst install_,,$@) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(subst install_,,$@)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(subst install_,,$@)-modules -depth -empty -type d -exec rmdir {} \;
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \

@ -1,3 +1,27 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2

@ -620,7 +620,7 @@ Description: TLS support for the Kamailio SIP server (authentication, transport)
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-wolftls-modules
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -140,24 +140,27 @@ test_install_all-stamp: build
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(subst install_,,$@)-modules \
cfg_prefix=$(D)-$(subst install_,,$@)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(subst install_,,$@)-modules \
group_include="k$(subst install_,,$@)"
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$${module}-modules/usr/$(LIBDIR)/kamailio" && \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(subst install_,,$@) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(subst install_,,$@)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(subst install_,,$@)-modules -depth -empty -type d -exec rmdir {} \;
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \

@ -1,3 +1,27 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2

@ -638,6 +638,23 @@ Description: TLS support for the Kamailio SIP server (authentication, transport)
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: TLS support for the Kamailio SIP server (authentication, transport)
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides TLS support for encrypted and authenticated using wolfssl
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-outbound-modules
Architecture: any
Multi-Arch: same

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -140,24 +140,27 @@ test_install_all-stamp: build
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(subst install_,,$@)-modules \
cfg_prefix=$(D)-$(subst install_,,$@)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(subst install_,,$@)-modules \
group_include="k$(subst install_,,$@)"
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$${module}-modules/usr/$(LIBDIR)/kamailio" && \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(subst install_,,$@) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(subst install_,,$@)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(subst install_,,$@)-modules -depth -empty -type d -exec rmdir {} \;
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \

@ -1,3 +1,27 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2

@ -636,6 +636,23 @@ Description: TLS support for the Kamailio SIP server (authentication, transport)
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: TLS support for the Kamailio SIP server (authentication, transport)
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides TLS support for encrypted and authenticated using wolfssl
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-outbound-modules
Architecture: any
Multi-Arch: same

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -140,24 +140,27 @@ test_install_all-stamp: build
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(subst install_,,$@)-modules \
cfg_prefix=$(D)-$(subst install_,,$@)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(subst install_,,$@)-modules \
group_include="k$(subst install_,,$@)"
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$${module}-modules/usr/$(LIBDIR)/kamailio" && \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(subst install_,,$@) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(subst install_,,$@)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(subst install_,,$@)-modules -depth -empty -type d -exec rmdir {} \;
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \

@ -0,0 +1,42 @@
#!/bin/bash
#
# Target dist: Ubuntu 24.04 (Noble Numbat)
DIST=noble
rm -rf ${DIST}
cp -r debian ${DIST}
# No dnssec module:
sed -i -e '/libval-dev/d' -e '/^Package: kamailio-dnssec-modules/,/^$/d' \
${DIST}/control
sed -i -e '/^PACKAGE_GROUPS += dnssec/d' ${DIST}/rules
sed -i -e '/--EXCLUDED--/i EXTRA_EXCLUDED_MODULES += dnssec' ${DIST}/rules
# No app_java due lack of gcj-jdk
sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
${DIST}/control
sed -i -e '/^export JAVA_HOME/d' ${DIST}/rules
sed -i -e '/^PACKAGE_GROUPS += java/d' ${DIST}/rules
sed -i -e '/--EXCLUDED--/i EXTRA_EXCLUDED_MODULES += java' ${DIST}/rules
# no dh-systemd
sed -i -e '/dh-systemd/d' ${DIST}/control
# no python2
sed -i -e '/^ python,/d' -e '/python-dev/d' \
-e '/^Package: kamailio-python-modules/,/^$/d' \
${DIST}/control
sed -i -e '/^PACKAGE_GROUPS += python$/d' ${DIST}/rules
sed -i -e '/--EXCLUDED--/i EXTRA_EXCLUDED_MODULES += python' ${DIST}/rules
# no lsb-base
sed -i -e '/lsb-base/d' ${DIST}/control
# libncurses
sed -i -e 's/libncurses5-dev/libncurses-dev/g' ${DIST}/control
wrap-and-sort -sat -d ${DIST}
# clean backports scripts
rm -rf ${DIST}/backports
exit 0

@ -1,3 +1,27 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2

@ -661,7 +661,7 @@ Description: TLS support for the Kamailio SIP server (authentication, transport)
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-wolftls-modules
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -141,24 +141,27 @@ test_install_all-stamp: build
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(subst install_,,$@)-modules \
cfg_prefix=$(D)-$(subst install_,,$@)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(subst install_,,$@)-modules \
group_include="k$(subst install_,,$@)"
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$${module}-modules/usr/$(LIBDIR)/kamailio" && \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(subst install_,,$@) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(subst install_,,$@)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(subst install_,,$@)-modules -depth -empty -type d -exec rmdir {} \;
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \

@ -1,3 +1,27 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2

@ -637,6 +637,23 @@ Description: TLS support for the Kamailio SIP server (authentication, transport)
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: TLS support for the Kamailio SIP server (authentication, transport)
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides TLS support for encrypted and authenticated using wolfssl
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-outbound-modules
Architecture: any
Multi-Arch: same

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -140,24 +140,27 @@ test_install_all-stamp: build
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(subst install_,,$@)-modules \
cfg_prefix=$(D)-$(subst install_,,$@)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(subst install_,,$@)-modules \
group_include="k$(subst install_,,$@)"
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$${module}-modules/usr/$(LIBDIR)/kamailio" && \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(subst install_,,$@) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(subst install_,,$@)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(subst install_,,$@)-modules -depth -empty -type d -exec rmdir {} \;
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \

@ -1,3 +1,27 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2

@ -621,7 +621,7 @@ Description: TLS support for the Kamailio SIP server (authentication, transport)
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-wolftls-modules
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -140,24 +140,27 @@ test_install_all-stamp: build
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(subst install_,,$@)-modules \
cfg_prefix=$(D)-$(subst install_,,$@)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(subst install_,,$@)-modules \
group_include="k$(subst install_,,$@)"
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$${module}-modules/usr/$(LIBDIR)/kamailio" && \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(subst install_,,$@) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(subst install_,,$@)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(subst install_,,$@)-modules -depth -empty -type d -exec rmdir {} \;
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \

@ -1,3 +1,27 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2

@ -636,6 +636,23 @@ Description: TLS support for the Kamailio SIP server (authentication, transport)
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: TLS support for the Kamailio SIP server (authentication, transport)
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides TLS support for encrypted and authenticated using wolfssl
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-outbound-modules
Architecture: any
Multi-Arch: same

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -141,24 +141,27 @@ test_install_all-stamp: build
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(subst install_,,$@)-modules \
cfg_prefix=$(D)-$(subst install_,,$@)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(subst install_,,$@)-modules \
group_include="k$(subst install_,,$@)"
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$${module}-modules/usr/$(LIBDIR)/kamailio" && \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(subst install_,,$@) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(subst install_,,$@)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(subst install_,,$@)-modules -depth -empty -type d -exec rmdir {} \;
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \

@ -0,0 +1,71 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2
-- Victor Seva <vseva@debian.org> Wed, 12 Jun 2024 09:00:17 +0200
kamailio (5.8.1) unstable; urgency=medium
* version set 5.8.1
-- Victor Seva <vseva@debian.org> Wed, 03 Apr 2024 08:21:53 +0200
kamailio (5.8.0) unstable; urgency=medium
* version set 5.8.0
-- Victor Seva <vseva@debian.org> Thu, 07 Mar 2024 11:40:20 +0100
kamailio (5.8.0~rc0) unstable; urgency=medium
* version set 5.8.0~rc0
-- Victor Seva <vseva@debian.org> Fri, 23 Feb 2024 20:04:35 +0100
kamailio (5.8.0~pre0) unstable; urgency=medium
* version set 5.8.0~pre0
-- Victor Seva <vseva@debian.org> Fri, 02 Feb 2024 15:20:05 +0100
kamailio (5.8.0~dev2) unstable; urgency=medium
* version set 5.8.0~dev2
-- Victor Seva <vseva@debian.org> Tue, 05 Dec 2023 12:04:06 +0100
kamailio (5.8.0~dev1) unstable; urgency=medium
* version set 5.8.0~dev1
-- Victor Seva <vseva@debian.org> Wed, 28 Jun 2023 15:03:56 +0200
kamailio (5.8.0~dev0) unstable; urgency=medium
* version set 5.8.0~dev0
-- Victor Seva <vseva@debian.org> Thu, 04 May 2023 21:45:08 +0200

@ -0,0 +1,942 @@
Source: kamailio
Section: net
Priority: optional
Maintainer: Kamailio Admin Group <kadmin.hq@lists.kamailio.org>
Uploaders:
Victor Seva <vseva@debian.org>,
Build-Depends:
bison,
debhelper (>= 9),
default-libmysqlclient-dev,
docbook-xml,
dpkg-dev (>= 1.16.1.1),
erlang-dev,
flex,
libcurl4-openssl-dev,
libdb-dev (>= 4.6.19),
libev-dev,
libevent-dev,
libexpat1-dev,
libgeoip-dev (>= 1.4.5),
libhiredis-dev (>= 0.10.0),
libjansson-dev,
libjson-c-dev,
libldap2-dev,
liblua5.1-0-dev,
libmaxminddb-dev,
libmemcached-dev,
libmicrohttpd-dev,
libmnl-dev,
libmongoc-dev,
libmono-2.0-dev [amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 ppc64 ppc64el s390x],
libmosquitto-dev,
libnats-dev,
libncurses-dev,
libpcre2-dev,
libperl-dev,
libphonenumber-dev (>= 7),
libpq-dev,
librabbitmq-dev,
libradcli-dev,
libreadline-dev,
libsasl2-dev,
libsctp-dev [any],
libsecsipid-dev [amd64 arm64 armel armhf hurd-i386 i386 powerpc ppc64 ppc64el riscv64 s390x],
libsnmp-dev,
libsqlite3-dev,
libssl-dev,
libsystemd-dev,
libunistring-dev,
libwebsockets-dev,
libwolfssl-dev,
libxml2-dev,
openssl,
pkg-config,
python3,
python3-dev,
ruby-dev,
unixodbc-dev,
uuid-dev,
xsltproc,
zlib1g-dev,
Standards-Version: 4.6.0.1
Homepage: https://www.kamailio.org/
Vcs-Git: https://github.com/kamailio/kamailio.git
Vcs-Browser: https://github.com/kamailio/kamailio/
Rules-Requires-Root: no
Package: kamailio
Architecture: any
Multi-Arch: foreign
Pre-Depends:
${misc:Pre-Depends},
Depends:
adduser,
python3,
${misc:Depends},
${shlibs:Depends},
Replaces:
kamailio-carrierroute-modules,
Suggests:
kamailio-berkeley-modules,
kamailio-cpl-modules,
kamailio-dbg,
kamailio-ldap-modules,
kamailio-lua-modules,
kamailio-mysql-modules,
kamailio-perl-modules,
kamailio-postgres-modules,
kamailio-presence-modules,
kamailio-python-modules,
kamailio-radius-modules,
kamailio-snmpstats-modules,
kamailio-tls-modules,
kamailio-unixodbc-modules,
kamailio-xml-modules,
kamailio-xmpp-modules,
stun-server | turn-server,
Provides:
sip-router,
Description: very fast, dynamic and configurable SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, kamailio can handle thousands requests
per second even on low-budget hardware. It can be configured to act
as a SIP proxy, application server, session border controller,
or call load balancer to handle a set of media servers.
.
A C Shell like scripting language provides full control over the server's
behaviour. It's easy to integrate Kamailio with 3rd party API's and applications
using HTTP, AMQP, database drivers, LDAP, Radius and many other solutions.
In addition there is support for scripting using Lua, Python, Perl, Java and
a set of other languages using Mono.
.
Kamailio's modular architecture allows only required functionality to be loaded.
There are over 100 modules available: WebSockets for WebRTC, authentication,
multiple databases - both traditional SQL databases as well as no-SQL,
message bus systems like Rabbit MQ, instant messaging, a presence agent,
integration with REST-ful APIs using HTTP and JSON or XML,
radius authentication, record routing, an SMS gateway, a XMPP/jabber gateway, a
transaction and dialog module, OSP module, statistics support,
registrar and user location services, SNMP, SIMPLE Presence and much more.
.
This package contains the main Kamailio binary along with the principal modules
and support binaries.
Package: kamailio-dbg
Priority: extra
Section: debug
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
Description: very fast and configurable SIP server [debug symbols]
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package contains the debugging symbols for the Kamailio binaries and
modules. You only need to install it if you need to debug Kamailio.
Package: kamailio-geoip-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The geoip module for the Kamailio SIP Server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the geoip module, an extension enabling
usage of the GeoIP API within the Kamailio configuration file.
Package: kamailio-geoip2-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The geoip2 module for the Kamailio SIP Server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the geoip2 module, an extension enabling
real-time queries against the Max Mind GeoIP2 database within the Kamailio
configuration file.
Package: kamailio-sqlite-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Recommends:
sqlite3,
Description: SQLite database connectivity module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the SQLite database driver for Kamailio.
Package: kamailio-json-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Json parser and Json-RPC modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides a JSON parser for use in the Kamailio
configuration file and the JSON-RPC client over netstrings.
Package: kamailio-memcached-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Replaces:
kamailio-memcached-module,
Description: interface to the memcached server, for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the memcached module, an interface to the memcached
server, a high-performance, distributed memory object caching system.
Package: kamailio-lua-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The app_lua module for Kamailio Lua support
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_lua module, an extension allowing to
execute embedded Lua applications within the configuration file as
well as writing the entire configuration file in Lua.
Package: kamailio-mono-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The app_mono module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_mono module, an extension allowing to
execute embedded Mono applications within the Kamailio SIP routing script.
Package: kamailio-python3-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The app_python3 module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_python3 module, an extension allowing to
execute embedded Python applications within the Kamailio SIP routing script.
Package: kamailio-ruby-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The app_ruby module for Kamailio Ruby support
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_ruby module, an extension allowing to
execute embedded Ruby applications within the Kamailio SIP routing script.
Package: kamailio-redis-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Redis database connectivity module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the Redis NOSQL database driver for Kamailio.
Package: kamailio-mysql-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
default-mysql-client | virtual-mysql-client,
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: MySQL database connectivity module for Kamailio
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the MySQL database driver for Kamailio.
Package: kamailio-postgres-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
postgresql-client,
${misc:Depends},
${shlibs:Depends},
Description: PostgreSQL database connectivity module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the PostgreSQL database driver for Kamailio.
Package: kamailio-cpl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: CPL module (CPL interpreter engine) for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides a CPL (Call Processing Language) interpreter for
Kamailio, turning Kamailio into a CPL server (storage and interpreter).
Package: kamailio-radius-modules
Architecture: any
Multi-Arch: same
Breaks:
kamailio (<<5.1),
Replaces:
kamailio (<<5.1),
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: RADIUS modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides a set of RADIUS modules for Kamailio, for
authentication, peering, group membership and messages URIs checking against a
RADIUS server.
Package: kamailio-unixodbc-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: unixODBC database connectivity module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the unixODBC database driver for Kamailio.
Package: kamailio-presence-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: SIP presence modules for Kamailio
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides several Kamailio modules for implementing a presence
server and presence user agent for rich presence, registrar-based presence,
external triggered presence with SIMPLE and XCAP support, as well as a
set of other SIP event packages..
Package: kamailio-perl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Perl extensions and database driver for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides an interface for Kamailio to write Perl extensions and
the perlvdb database driver for Kamailio.
Package: kamailio-snmpstats-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
snmpd,
${misc:Depends},
${shlibs:Depends},
Description: SNMP AgentX subagent module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the snmpstats module for Kamailio. This module acts
as an AgentX subagent which connects to a master agent. The Kamailio MIBS are
included.
Package: kamailio-xmpp-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: XMPP gateway module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the SIP to XMPP IM translator module for Kamailio.
Package: kamailio-xml-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Replaces:
kamailio-xml-module,
kamailio-xmlrpc-module,
Provides:
kamailio-xmlrpc-modules,
Description: XML based extensions for Kamailio's Management Interface
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides:
- the XMLRPC transport implementations for Kamailio's
Management and Control Interface.
- xmlops module for XPath operations in configuration file
Package: kamailio-berkeley-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
db-util (>= 4.6.19),
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Berkeley database module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the Berkeley database module for Kamailio, a
high-performance embedded database. All database tables are stored
in files, no additional server is necessary.
Package: kamailio-berkeley-bin
Architecture: any
Multi-Arch: foreign
Pre-Depends:
${misc:Pre-Depends},
Depends:
${misc:Depends},
${shlibs:Depends},
Description: Berkeley database module for Kamailio - helper program
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides helper modules for the Berkeley database module for
Kamailio, a high-performance embedded DB kernel. You should normally
install kamailio-berkeley-modules and not this package directly.
Package: kamailio-ldap-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: LDAP modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the ldap and h350 modules for Kamailio, enabling LDAP
queries from the Kamailio routing scripts and storage of SIP account data in an LDAP
directory.
Package: kamailio-ims-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: IMS module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package contains various Diameter interfaces and modules for Kamailio
to run as an IMS core.
Package: kamailio-utils-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Utility functions for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides a set of utility functions for Kamailio, as well
as modules for restful HTTP API access using the CURL library in the
http_client module.
Package: kamailio-sctp-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: SCTP SIP transport module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the SCTP SIP transport module for Kamailio.
Package: kamailio-tls-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: TLS support for the Kamailio SIP server (authentication, transport)
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: TLS support for the Kamailio SIP server (authentication, transport)
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides TLS support for encrypted and authenticated using wolfssl
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-outbound-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: SIP Outbound module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package contains the "outbound" module implementing SIP outbound extension.
Package: kamailio-websocket-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: WebSocket module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package contains the module implementing WebSocket transport layer
for use in SIP over WebSockets, in combination with WebRTC media sessions..
Package: kamailio-autheph-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: authentication using ephemeral credentials for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the ephemeral authentication module for Kamailio,
enabling authentication using a Restful HTTP API.
Package: kamailio-kazoo-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: kazoo modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the Kazoo application server integration module for Kamailio.
Package: kamailio-rabbitmq-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: RabbitMQ and AMQP integration modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the RabbitMQ module for Kamailio, enabling AMQP
integration into the SIP routing scripts for third party service
support.
Package: kamailio-cnxcc-modules
Architecture: any
Multi-Arch: same
Breaks:
kamailio (<<5.1),
Replaces:
kamailio (<<5.1),
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: cnxcc modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the cnxcc call charging control module for Kamailio.
Package: kamailio-erlang-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Erlang modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This Kamailio module provides interaction with the Erlang node from the Kamailio
SIP routing scripts. The module allows sending, receiving Erlang messages
and RPC calls between each other.
Package: kamailio-systemd-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: systemd logging modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides logging to systemd journal directly from the
Kamailio configuration and routing scripts.
Package: kamailio-phonenum-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: phonenum modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides real-time queries against the libphonenumber to be
performed directly from the Kamailio configuration and routing scripts.
Package: kamailio-mongodb-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: mongodb modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the mongodb database driver and non-db connector for
Kamailio.
Package: kamailio-mqtt-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: MQTT modules for the Kamailio SIP Server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
MQTT module allows bidirectional publish/subscribe communication by
connecting Kamailio to a MQTT Broker.
.
Messages can be published from any point in the routing script. Also
the subscriptions can be fully controlled by scripting commands.
Package: kamailio-secsipid-modules
Architecture: amd64 arm64 armel armhf hurd-i386 i386 powerpc ppc64 ppc64el riscv64 s390x
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: contains the secsipid module
Kamailio is a very fast and flexible SIP (RFC3261)
proxy server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package contains the secsipid Module.
Package: kamailio-lwsc-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Libwebsockets module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package contains the lwcs module, which provides a client-side WebSockets
API through libwebsockets.
Package: kamailio-nats-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Nats module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package contains the nats module, which provides a NATS consumer for Kamailio.
NATS is a real time distributed messaging platform, more details about it can be
found at nats.io.
Package: kamailio-microhttpd-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Microhttpd module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides an embedded HTTP server using libmicrohttpd.
Package: kamailio-extra-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Extra modules for the Kamailio SIP Server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides a set of modules for compression of SIP attachments,
UUID usage, JSON data structure support, HTTP restful API asynchronous
access and a few more functions: gzcompress uuid evapi jansson janssonrpcc http_async_client
Package: kamailio-nth
Architecture: any
Pre-Depends:
${misc:Pre-Depends},
Depends:
binutils,
bison,
bvi,
flex,
gcc,
gdb,
iftop,
less | most,
lsof,
mc,
ngrep,
psmisc,
screen,
sipsak,
tcpdump,
vim,
${misc:Depends},
Description: Kamailio SIP server - package for "nice to have" utilities
This is a metapackage for easy installation various useful tools that may be
handy on server with Kamailio installed.

@ -0,0 +1,309 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Kamailio
Upstream-Contact: sr-dev@lists.kamailio.org
Source: https://www.kamailio.org/pub/kamailio/
Files: *
Copyright:
2001-2003 FhG Fokus
2006-2010 iptelorg GmbH
Various others (see AUTHORS file)
License: GPL-2.0+
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.
Files: debian/*
Copyright: 2012, 2013, 2014 Victor Seva <linuxmaniac@torreviejawireless.org>
2009, 2010, 2011, Daniel-Constantin Mierla <miconda@gmail.com>
2010, Jon Bonilla <manwe@aholab.ehu.es>
2009, Jonas Bergler <jonas.bergler@staff.snap.net.nz>
2009, Henning Westerholt <henning.westerholt@1und1.de>
2007, Julien BLACHE <jblache@debian.org>
License: GPL-2+
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.
Files: src/code/atomic/* src/code/atomic_ops.* src/code/basex.* src/code/bit_*.c
src/code/char_msg_val.h src/code/compiler_opt.h src/code/core_stats.h src/code/counters.*
src/code/endianness.* src/code/futexlock.h src/code/hashes.h src/code/io_wait.*
src/core/lock_ops.c src/core/lock_ops_init.h src/core/lvalue.* src/core/mem/ll_malloc.*
src/core/mem/memdbg.h src/core/mem/sf_malloc.* src/core/mod_fix.* src/modules/tm/rpc_uac.*
src/modules/counters/counters.c src/modules/tls/sbufq.h
src/modules/tls/tls_bio.* src/modules/tls/tls_cfg.* src/modules/tls/tls_cfg.h
src/modules/tls/tls_ct_wrq.* src/modules/tls/tls_ct_q.h src/modules/tls/tls_domain.*
src/modules/tls/tls_server.* src/modules/tls/tls_locking.* src/modules/tls/tls_rpc.*
src/modules/malloc_test/malloc_test.c src/modules/blst/blst.c
src/core/parser/case_p_* src/core/parser/case_reas.h src/core/pvapi.h
src/core/pv_core.* src/core/rand/fastrand.* src/core/raw_*
src/core/rpc_lookup.* src/core/rvalue.* src/core/sctp_* src/core/ser_time.h
src/core/shm_init.* src/core/sip_msg_clone.* src/core/sock_ut.*
src/core/sr_compat.* src/core/str_hash.h src/core/switch.*
src/core/tcp_ev.h src/core/tcp_int_send.h src/core/tcp_options.*
src/core/tcp_read.h src/core/tcp_stats.* src/core/timer_proc.*
src/core/tls_hooks.* src/core/tls_hooks_init.h src/core/ver.*
Copyright: 2006-2010 iptelorg GmbH
License: ISC
Files: src/modules/tls/tls_select.* src/modules/tls/tls_dump_vf.*
Copyright: 2005-2010 iptelorg GmbH
License: GPL-2 + OpenSSL exception
Files: src/modules/websocket/* src/modules/outbound/* src/modules/auth_ephemeral/*
Copyright: 2012-2013 Crocodile RCS Ltd
License: GPL-2 + OpenSSL exception
Files: src/core/daemonize.* src/core/fastlock.h src/core/lock_ops.h
src/core/mem/mem.* src/core/mem/f_malloc.h
src/core/mem/meminfo.h src/core/mem/memtest.c src/core/mem/shm_mem.c
src/core/mem/q_malloc.* src/core/mem/shm_mem.h
src/core/mem/f_malloc.c src/core/pt.* src/core/sched_yield.h src/core/ut.*
Copyright: 2001-2003 FhG Fokus
License: ISC
Files: src/core/events.* src/modules/topoh/*
Copyright: 2009 SIP-Router.org
License: ISC
Files: src/modules/pv/pv_xavp.* src/modules/usrloc/ul_rpc.*
src/core/ppcfg.* src/core/xavp.*
Copyright: 2009-2010 Daniel-Constantin Mierla (asipto.com)
License: ISC
Files: src/modules/xmpp/xsnprintf.c
Copyright: 1995-1998, The Apache Group
License: Apache-1.0
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
.
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
.
3. All advertising materials mentioning features or use of this
software must display the following acknowledgment:
"This product includes software developed by the Apache Group
for use in the Apache HTTP server project (http://www.apache.org/)."
.
4. The names "Apache Server" and "Apache Group" must not be used to
endorse or promote products derived from this software without
prior written permission.
.
5. Redistributions of any form whatsoever must retain the following
acknowledgment:
"This product includes software developed by the Apache Group
for use in the Apache HTTP server project (http://www.apache.org/)."
.
THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
Files: src/code/list.h
Copyright: 1991, 1993 The Regents of the University of California
License: BSD-3-clause
Files: src/modules/tm/t_serial.*
Copyright: 2008 Juha Heinanen
License: BSD-2-clause
Files: src/core/parser/sdp/sdp.* src/core/parser/sdp/sdp_helpr_funcs.*
src/core/parser/sdp/sdp_cloner.h
Copyright:
2008-2009 SOMA Networks, INC.
2010 VoIP Embedded, Inc
License: BSD-2-clause
Files: src/modules/tls/fixed_c_zlib.h
Copyright:1998-2005 The OpenSSL Project
Comment: file copied from OpenSSL 0.9.8, refers to OpenSSL License. Note that
this code will not build by default in the Debian packaging.
License: OpenSSL
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
.
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
.
3. All advertising materials mentioning features or use of this
software must display the following acknowledgment:
"This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
.
4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
endorse or promote products derived from this software without
prior written permission. For written permission, please contact
openssl-core@openssl.org.
.
5. Products derived from this software may not be called "OpenSSL"
nor may "OpenSSL" appear in their names without prior written
permission of the OpenSSL Project.
.
6. Redistributions of any form whatsoever must retain the following
acknowledgment:
"This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)"
.
THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
Files: src/core/crypto/md5.* src/core/crypto/md5utils.c
Copyright: 1991-2, RSA Data Security, Inc
Comment: Note that md5.c and md5.h have been replaced in the patches
plum_md5*.patch .
.
As for md5utils.c, according to a mail from Upstream (Daniel-Constantin
Mierla): while the initial commit log for it states that it is derived
from mddriver.c of RFC 1321, it seems that it was, in fact, written from
scratch by Jiri Kuthan (a core developer of SER at that time, working for
FhG Fokus Institute). As you can see it's rather trivial and uses a data
type of SER ("str"). I didn't reimplement it as it's too trivial and
looks like there's no other way to implement it.
License: RSA-MD5
License to copy and use this software is granted provided that it
is identified as the "RSA Data Security, Inc. MD5 Message-Digest
Algorithm" in all material mentioning or referencing this software
or this function.
.
License is also granted to make and use derivative works provided
that such works are identified as "derived from the RSA Data
Security, Inc. MD5 Message-Digest Algorithm" in all material
mentioning or referencing the derived work.
.
RSA Data Security, Inc. makes no representations concerning either
the merchantability of this software or the suitability of this
software for any particular purpose. It is provided "as is"
without express or implied warranty of any kind.
.
These notices must be retained in any copies of any part of this
documentation and/or software.
Files: src/core/mem/dl_*
Copyright: n/a
License: public-domain
This is a version (aka dlmalloc) of malloc/free/realloc written by
Doug Lea and released to the public domain, as explained at
http://creativecommons.org/licenses/publicdomain. Send questions,
comments, complaints, performance data, etc to dl@cs.oswego.edu
Files: src/core/rand/isaac/*
Copyright: n/a
License: public-domain
By Bob Jenkins. My random number generator, ISAAC. Public Domain.
License: ISC
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Files: src/lib/srutils/srjson.*
Copyright: 2009 Dave Gamble
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
,
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
License: GPL-2 + OpenSSL exception
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.
* Exception: permission to copy, modify, propagate, and distribute a work
* formed by combining OpenSSL toolkit software and the code in this file,
* such as linking with software components and libraries released under
* OpenSSL project license.
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
4. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
License: BSD-2-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
.
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
.
THIS SOFTWARE IS PROVIDED BY THE FREEBSD PROJECT ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL THE FREEBSD PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

@ -0,0 +1 @@
kamailio-autheph-modules binary: possible-gpl-code-linked-with-openssl

@ -0,0 +1 @@
kamailio-dnssec-modules binary: possible-gpl-code-linked-with-openssl

@ -0,0 +1 @@
kamailio-outbound-modules binary: possible-gpl-code-linked-with-openssl

@ -0,0 +1 @@
kamailio-secsipid-modules binary: library-not-linked-against-libc

@ -0,0 +1 @@
kamailio-systemd-modules binary: library-not-linked-against-libc

@ -0,0 +1,4 @@
kamailio-tls-modules binary: possible-gpl-code-linked-with-openssl
kamailio-tls-modules binary: library-not-linked-against-libc
# error only on stretch
kamailio-tls-modules binary: embedded-library

@ -0,0 +1 @@
kamailio-websocket-modules binary: possible-gpl-code-linked-with-openssl

@ -0,0 +1,39 @@
Kamailio for Debian
-------------------
* init script check for fork=no
-------------------------------
The Kamailio init script will not start Kamailio on boot if fork=no is
specified in the config file. The check in the initscript will match
any occurrence of fork=no in the file, even inside C-style comments.
You can disable this check in the init script if you wish; just comment
out the calls to the check_fork function in the script. Your changes to
the init script will be preserved upon upgrade, as the file is tagged
as a conffile.
* Kamailio setup
----------------
To setup Kamailio, you need to:
- configure Kamailio properly to suit your needs
- edit /etc/default/kamailio, adjust the MEMORY parameter and set
RUN_KAMAILIO to "yes"
If you are building an HA cluster using heartbeat or similar, you'll want
to disable the init script by running:
update-rc.d kamailio remove
so that Kamailio will not be launched at system startup. You still need
to set RUN_KAMAILIO to "yes" if you want to use the /etc/init.d/kamailio init
script.
Set the DUMP_CORE parameter in /etc/default/kamailio to "yes" if you want to
get a core dump in case Kamailio crashes. The debug symbols for Kamailio are
provided by the kamailio-dbg package.
-- Victor Seva <linuxmaniac@torreviejawireless.org> Wed, 11 Dec 2013 16:07:11 +0100

@ -0,0 +1,36 @@
#
# Kamailio startup options
#
# Set to yes to enable kamailio, once configured properly.
#RUN_KAMAILIO=yes
# User to run as
#USER=kamailio
# Group to run as
#GROUP=kamailio
# On systemd, to change username or group please create drop-in
# /etc/systemd/system/kamailio.service.d/10-user_group.conf file, like
# ```
# [Service]
# User=kamuser
# Group=kamgroup
# ```
# Amount of shared and private memory to allocate
# for the running Kamailio server (in Mb)
#SHM_MEMORY=64
#PKG_MEMORY=8
# Config file
#CFGFILE=/etc/kamailio/kamailio.cfg
# Enable the server to leave a core file when it crashes.
# Set this to 'yes' to enable Kamailio to leave a core file when it crashes
# or 'no' to disable this feature. This option is case sensitive and only
# accepts 'yes' and 'no' and only in lowercase letters.
# On some systems it is necessary to specify a directory for the core files
# to get a dump. Look into the kamailio init file for an example configuration.
#DUMP_CORE=yes

@ -0,0 +1,162 @@
#! /bin/sh
#
### BEGIN INIT INFO
# Provides: kamailio
# Required-Start: $syslog $network $local_fs $remote_fs $time
# Should-Start: $named slapd mysql postgresql snmpd radiusd
# Should-Stop: $named slapd mysql postgresql snmpd radiusd
# Required-Stop: $syslog $network $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start the Kamailio SIP proxy server
# Description: Start the Kamailio SIP proxy server
### END INIT INFO
. /lib/lsb/init-functions
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/kamailio
NAME=`basename "$0"`
DESC="Kamailio SIP Server"
HOMEDIR=/run/$NAME
PIDFILE=$HOMEDIR/$NAME.pid
DEFAULTS=/etc/default/$NAME
CFGFILE=/etc/$NAME/kamailio.cfg
RUN_KAMAILIO=no
USER=kamailio
GROUP=kamailio
# Amount of shared and private memory to allocate
# for the running Kamailio server (in Mb)
SHM_MEMORY=64
PKG_MEMORY=8
DUMP_CORE=no
# Do not start kamailio if fork=no is set in the config file
# otherwise the boot process will just stop
check_fork ()
{
if grep -q "^[[:space:]]*fork[[:space:]]*=[[:space:]]*no.*" $CFGFILE; then
log_failure_msg "Not starting $DESC: fork=no specified in config file; run /etc/init.d/kamailio debug instead"
exit 0
fi
}
check_kamailio_config ()
{
# Check if kamailio configuration is valid before starting the server
set +e
out=$($DAEMON -f $CFGFILE -M $PKG_MEMORY -c 2>&1 > /dev/null)
retcode=$?
set -e
if [ "$retcode" != '0' ]; then
log_failure_msg "Not starting $DESC: invalid configuration file!"
log_failure_msg
log_failure_msg "$out"
log_failure_msg
exit 1
fi
}
create_radius_seqfile ()
{
# Create a radius sequence file to be used by the radius client if
# radius accounting is enabled. This is needed to avoid any issue
# with the file not being writable if kamailio first starts as user
# root because DUMP_CORE is enabled and creates this file as user
# root and then later it switches back to user kamailio and cannot
# write to the file. If the file exists before kamailio starts, it
# won't change its ownership and will be writable for both root
# and kamailio, no matter what options are chosen at install time
RADIUS_SEQ_FILE="$HOMEDIR/kamailio_radius.seq"
if [ -d $HOMEDIR ]; then
chown ${USER}:${GROUP} $HOMEDIR
if [ ! -f $RADIUS_SEQ_FILE ]; then
touch $RADIUS_SEQ_FILE
fi
chown ${USER}:${GROUP} $RADIUS_SEQ_FILE
chmod 660 $RADIUS_SEQ_FILE
fi
}
test -f $DAEMON || exit 0
# Load startup options if available
if [ -f $DEFAULTS ]; then
. $DEFAULTS || true
fi
if [ "$RUN_KAMAILIO" != "yes" ]; then
log_failure_msg "Kamailio not yet configured. Edit /etc/default/$NAME first."
exit 0
fi
set -e
SHM_MEMORY=$((`echo $SHM_MEMORY | sed -e 's/[^0-9]//g'`))
PKG_MEMORY=$((`echo $PKG_MEMORY | sed -e 's/[^0-9]//g'`))
[ -z "$USER" ] && USER=kamailio
[ -z "$GROUP" ] && GROUP=kamailio
[ $SHM_MEMORY -le 0 ] && SHM_MEMORY=64
[ $PKG_MEMORY -le 0 ] && PKG_MEMORY=4
if test "$DUMP_CORE" = "yes" ; then
# set proper ulimit
ulimit -c unlimited
# directory for the core dump files
# COREDIR=/home/corefiles
# [ -d $COREDIR ] || mkdir $COREDIR
# chmod 777 $COREDIR
# echo "$COREDIR/core.%e.sig%s.%p" > /proc/sys/kernel/core_pattern
fi
# $HOMEDIR can be a tmpfs
if [ ! -d $HOMEDIR ]; then
mkdir -p $HOMEDIR
chown ${USER}:${GROUP} $HOMEDIR
fi
OPTIONS="-f $CFGFILE -P $PIDFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP --atexit=no"
case "$1" in
start|debug)
check_kamailio_config
create_radius_seqfile
if [ "$1" != "debug" ]; then
check_fork
fi
log_daemon_msg "Starting $DESC: $NAME"
start-stop-daemon --start --quiet --pidfile $PIDFILE \
--exec $DAEMON -- $OPTIONS || log_failure_msg " already running"
log_end_msg 0
;;
stop)
log_daemon_msg "Stopping $DESC: $NAME"
start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE \
--exec $DAEMON --retry 5
log_end_msg 0
;;
restart|force-reload)
check_kamailio_config
create_radius_seqfile
$0 stop
$0 start
;;
status)
log_daemon_msg "Status of $DESC: "
status_of_proc -p"$PIDFILE" $NAME $NAME
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload|status|debug}" >&2
exit 1
;;
esac
exit 0

@ -0,0 +1 @@
kamailio binary: example-interpreter-not-absolute *

@ -0,0 +1,23 @@
#! /bin/sh
set -e
case "$1" in
configure)
adduser --quiet --system --group --disabled-password \
--shell /bin/false --gecos "Kamailio SIP Server" \
--home /run/kamailio kamailio || true
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#

@ -0,0 +1,27 @@
[Unit]
Description=Kamailio - the Open Source SIP Server
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio
EnvironmentFile=-/etc/default/kamailio.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY --atexit=no
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio
RuntimeDirectoryMode=0770
# necessary for chown of control files e.g. for jsonrpcs and ctl modules
AmbientCapabilities=CAP_CHOWN
[Install]
WantedBy=multi-user.target

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -0,0 +1,270 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/pkg-info.mk
# Enable parallel builds.
NUMJOBS = 1
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
endif
export RADCLI=1
export WOLFSSL_INTERNAL=no
# tlsa
export KTLS_INCLUDE_TLSA=yes
export LIBSSL_STATIC_SRCLIB=yes
export LIBSSL_STATIC_SRCPATH=/usr/$(LIBDIR)
# Modules not in the "main" kamailio package:
EXCLUDED_MODULES =
# Extra modules to skip, because they are not compilable now:
# - regardless if they go to the main kamailio package or to some module
# package, they will be excluded from compile and install of all.
EXTRA_EXCLUDED_MODULES += bdb
EXTRA_EXCLUDED_MODULES += dbtext
EXTRA_EXCLUDED_MODULES += oracle
EXTRA_EXCLUDED_MODULES += pa
EXTRA_EXCLUDED_MODULES += iptrtpproxy
EXTRA_EXCLUDED_MODULES += dnssec
EXTRA_EXCLUDED_MODULES += java
EXTRA_EXCLUDED_MODULES += python
## --EXCLUDED--
# Module groups that are packaged in separate packages (with the name
# kamailio-$(group_name)-modules).
# Note: the order is important (should be in dependency order, the one
# on which other depend first)
PACKAGE_GROUPS += mysql
PACKAGE_GROUPS += postgres
PACKAGE_GROUPS += berkeley
PACKAGE_GROUPS += unixodbc
PACKAGE_GROUPS += radius
PACKAGE_GROUPS += presence
PACKAGE_GROUPS += ldap
PACKAGE_GROUPS += xml
PACKAGE_GROUPS += perl
PACKAGE_GROUPS += utils
PACKAGE_GROUPS += lua
PACKAGE_GROUPS += memcached
PACKAGE_GROUPS += snmpstats
PACKAGE_GROUPS += carrierroute
PACKAGE_GROUPS += xmpp
PACKAGE_GROUPS += cpl
PACKAGE_GROUPS += redis
PACKAGE_GROUPS += geoip
PACKAGE_GROUPS += geoip2
PACKAGE_GROUPS += sqlite
PACKAGE_GROUPS += json
PACKAGE_GROUPS += mono
PACKAGE_GROUPS += ruby
PACKAGE_GROUPS += ims
PACKAGE_GROUPS += sctp
PACKAGE_GROUPS += tls
PACKAGE_GROUPS += outbound
PACKAGE_GROUPS += websocket
PACKAGE_GROUPS += autheph
PACKAGE_GROUPS += kazoo
PACKAGE_GROUPS += cnxcc
PACKAGE_GROUPS += erlang
PACKAGE_GROUPS += systemd
PACKAGE_GROUPS += phonenum
PACKAGE_GROUPS += mongodb
PACKAGE_GROUPS += rabbitmq
PACKAGE_GROUPS += python3
PACKAGE_GROUPS += mqtt
PACKAGE_GROUPS += secsipid
PACKAGE_GROUPS += lwsc
PACKAGE_GROUPS += nats
PACKAGE_GROUPS += tls_wolfssl
PACKAGE_GROUPS += microhttpd
# Module groups to be packaged onto kamailio-extra-modules.
EXTRA_GROUPS += ev
EXTRA_GROUPS += gzcompress
EXTRA_GROUPS += jansson
EXTRA_GROUPS += uuid
EXTRA_GROUPS += http_async
.PHONY: skip-modules
skip-modules:
@echo "$(EXCLUDED_MODULES) $(EXTRA_EXCLUDED_MODULES)"
D = $(CURDIR)/debian/$(DEB_SOURCE)
# Name of libdir in the path for libraries (e.g., the multiarch triplet).
export LIBDIR ?= lib/$(DEB_HOST_MULTIARCH)
# Directories with possible duplicate libraries (that should be deleted
# from current module* packages).
DUP_LIBS_DIRS = $(D)/usr/$(LIBDIR)/kamailio \
$(D)-db-modules/usr/$(LIBDIR)/kamailio
# CFLAGS + CPPFLAGS -> CC_EXTRA_OPTS
CC_EXTRA_OPTS := $(shell dpkg-buildflags --get CPPFLAGS)
CC_EXTRA_OPTS += $(shell dpkg-buildflags --get CFLAGS)
CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
# LDFLAGS -> LD_EXTRA_OPTS
LD_EXTRA_OPTS := $(shell dpkg-buildflags --get LDFLAGS)
# https://wiki.debian.org/ReproducibleBuilds/
CC_EXTRA_OPTS += -DVERSION_NODATE
BUILD_MODULES := $(addprefix build_, $(PACKAGE_GROUPS) $(EXTRA_GROUPS))
INSTALL_MODULES := $(addprefix install_, $(PACKAGE_GROUPS))
INSTALL_EXTRA := $(addprefix install_, $(EXTRA_GROUPS))
.PHONY: test_build_all $(BUILD_MODULES) $(INSTALL_MODULES) $(INSTALL_EXTRA)
test_build_all: configure
dh_testdir
$(MAKE) all quiet=verbose
$(BUILD_MODULES): test_build_all
$(MAKE) every-module group_include="k$(subst build_,,$@)" quiet=verbose
test_install_all-stamp: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-extra-modules \
cfg_prefix=$(D)-extra-modules \
doc-dir=share/doc/$(DEB_SOURCE)-extra-modules \
group_include="k$(subst install_,,$@)"
# Eliminate duplicate extra libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-extra-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing extra lib `basename $$r` present also in $$d"; \
rm -f $(D)-extra-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-extra-modules -depth -empty -type d -exec rmdir {} \;
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
$(MAKE) FLAVOUR=kamailio cfg prefix=/usr cfg_prefix=$(D) \
cfg_target=/etc/kamailio/ \
BASEDIR=$(D) \
skip_modules="$(EXCLUDED_MODULES) $(EXTRA_EXCLUDED_MODULES)" \
CC_EXTRA_OPTS="$(CC_EXTRA_OPTS)" \
LD_EXTRA_OPTS="$(LD_EXTRA_OPTS)" \
group_include="kstandard" quiet=verbose
touch configure-stamp
build: build-stamp
build-arch: build-stamp
build-indep: build-stamp
build-stamp: configure-stamp $(BUILD_MODULES)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp test_install_all-stamp
# Add here commands to clean up after the build process.
$(MAKE) maintainer-clean
dh_clean
install: build $(INSTALL_MODULES) $(INSTALL_EXTRA)
mv $(D)-berkeley-modules/usr/sbin/kambdb_recover \
$(D)-berkeley-bin/usr/sbin/kambdb_recover
# install /etc/default/kamailio file
mkdir -p $(D)/etc/default
cp -f debian/kamailio.default $(D)/etc/default/kamailio
# delete /run/kamailio dir
rm -rf $(D)/usr/local
# This single target is used to build all the packages, all at once, or
# one at a time. So keep in mind: any options passed to commands here will
# affect _all_ packages. Anything you want to only affect one package
# should be put in another target, such as the install target.
binary-common:
dh_testdir
dh_testroot
dh_installdebconf
dh_installdocs
dh_installexamples -Xobsoleted -Xsr
dh_installmenu
dh_systemd_enable -pkamailio
dh_installinit -pkamailio -- defaults 23
dh_systemd_start -pkamailio
dh_installcron
dh_installman
dh_installinfo
dh_lintian
dh_installchangelogs ChangeLog
dh_link
dh_strip --dbg-package=kamailio-dbg
dh_compress
dh_fixperms
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
# Build architecture-independent packages using the common target
binary-indep: build install
# (Uncomment this next line if you have such packages.)
# $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
# We have nothing to do by default.
# Build architecture-dependent packages using the common target
binary-arch: build install
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
# Any other binary targets build just one binary package at a time.
binary-%: build install
$(MAKE) -f debian/rules binary-common DH_OPTIONS=-p$*
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

@ -0,0 +1 @@
kamailio source: debian-watch-file-in-native-package

@ -0,0 +1,3 @@
version=3
opts=dversionmangle=s/\~svn([\d]+)//; \
https://www.kamailio.org/pub/kamailio/([\d.]+)/src/kamailio-([\d.]+)_src\.tar\.gz

@ -1,3 +1,27 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2

@ -593,6 +593,23 @@ Description: TLS support for the Kamailio SIP server (authentication, transport)
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: TLS support for the Kamailio SIP server (authentication, transport)
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides TLS support for encrypted and authenticated using wolfssl
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-outbound-modules
Architecture: any
Multi-Arch: same

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -140,24 +140,27 @@ test_install_all-stamp: build
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(subst install_,,$@)-modules \
cfg_prefix=$(D)-$(subst install_,,$@)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(subst install_,,$@)-modules \
group_include="k$(subst install_,,$@)"
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$${module}-modules/usr/$(LIBDIR)/kamailio" && \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(subst install_,,$@) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(subst install_,,$@)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(subst install_,,$@)-modules -depth -empty -type d -exec rmdir {} \;
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \

@ -1,3 +1,27 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2

@ -620,7 +620,7 @@ Description: TLS support for the Kamailio SIP server (authentication, transport)
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-wolftls-modules
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -140,24 +140,27 @@ test_install_all-stamp: build
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(subst install_,,$@)-modules \
cfg_prefix=$(D)-$(subst install_,,$@)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(subst install_,,$@)-modules \
group_include="k$(subst install_,,$@)"
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$${module}-modules/usr/$(LIBDIR)/kamailio" && \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(subst install_,,$@) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(subst install_,,$@)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(subst install_,,$@)-modules -depth -empty -type d -exec rmdir {} \;
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \

@ -1,3 +1,27 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2

@ -639,6 +639,23 @@ Description: TLS support for the Kamailio SIP server (authentication, transport)
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: TLS support for the Kamailio SIP server (authentication, transport)
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides TLS support for encrypted and authenticated using wolfssl
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-outbound-modules
Architecture: any
Multi-Arch: same

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -141,24 +141,27 @@ test_install_all-stamp: build
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(subst install_,,$@)-modules \
cfg_prefix=$(D)-$(subst install_,,$@)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(subst install_,,$@)-modules \
group_include="k$(subst install_,,$@)"
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$${module}-modules/usr/$(LIBDIR)/kamailio" && \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(subst install_,,$@) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(subst install_,,$@)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(subst install_,,$@)-modules -depth -empty -type d -exec rmdir {} \;
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \

@ -1,3 +1,27 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2

@ -614,6 +614,23 @@ Description: TLS support for the Kamailio SIP server (authentication, transport)
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: TLS support for the Kamailio SIP server (authentication, transport)
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides TLS support for encrypted and authenticated using wolfssl
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-outbound-modules
Architecture: any
Multi-Arch: same

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -141,24 +141,27 @@ test_install_all-stamp: build
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(subst install_,,$@)-modules \
cfg_prefix=$(D)-$(subst install_,,$@)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(subst install_,,$@)-modules \
group_include="k$(subst install_,,$@)"
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$${module}-modules/usr/$(LIBDIR)/kamailio" && \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(subst install_,,$@) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(subst install_,,$@)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(subst install_,,$@)-modules -depth -empty -type d -exec rmdir {} \;
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \

@ -1,3 +1,27 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2

@ -575,6 +575,23 @@ Description: TLS support for the Kamailio SIP server (authentication, transport)
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: TLS support for the Kamailio SIP server (authentication, transport)
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides TLS support for encrypted and authenticated using wolfssl
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-outbound-modules
Architecture: any
Multi-Arch: same

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -140,24 +140,27 @@ test_install_all-stamp: build
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(subst install_,,$@)-modules \
cfg_prefix=$(D)-$(subst install_,,$@)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(subst install_,,$@)-modules \
group_include="k$(subst install_,,$@)"
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$${module}-modules/usr/$(LIBDIR)/kamailio" && \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(subst install_,,$@) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(subst install_,,$@)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(subst install_,,$@)-modules -depth -empty -type d -exec rmdir {} \;
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \

@ -1,3 +1,27 @@
kamailio (5.8.6) unstable; urgency=medium
* version set 5.8.6
-- Victor Seva <vseva@debian.org> Thu, 20 Mar 2025 08:19:52 +0100
kamailio (5.8.5) unstable; urgency=medium
* version set 5.8.5
-- Victor Seva <vseva@debian.org> Thu, 23 Jan 2025 08:31:22 +0100
kamailio (5.8.4) unstable; urgency=medium
* version set 5.8.4
-- Victor Seva <vseva@debian.org> Tue, 12 Nov 2024 10:53:35 +0100
kamailio (5.8.3) unstable; urgency=medium
* version set 5.8.3
-- Victor Seva <vseva@debian.org> Wed, 04 Sep 2024 09:29:45 +0200
kamailio (5.8.2) unstable; urgency=medium
* version set 5.8.2

@ -641,6 +641,23 @@ Description: TLS support for the Kamailio SIP server (authentication, transport)
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-tls-wolfssl-modules
Architecture: any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: TLS support for the Kamailio SIP server (authentication, transport)
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides TLS support for encrypted and authenticated using wolfssl
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-outbound-modules
Architecture: any
Multi-Arch: same

@ -0,0 +1,26 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/default/kamailio-%i
EnvironmentFile=-/etc/default/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio-%i/kamailio.pid -Y /run/kamailio-%i -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -141,24 +141,27 @@ test_install_all-stamp: build
$(MAKE) install quiet=verbose LIBDIR=$(LIBDIR) group_include="kstandard"
touch test_install_all-stamp
# tls_wolfssl => tls-wolfssl
$(INSTALL_MODULES): module = $(subst _,-,$(subst install_,,$@))
$(INSTALL_MODULES): grp = $(subst install_,,$@)
$(INSTALL_MODULES): test_install_all-stamp
$(MAKE) install-modules-all \
quiet=verbose \
LIBDIR=$(LIBDIR) \
BASEDIR=$(D)-$(subst install_,,$@)-modules \
cfg_prefix=$(D)-$(subst install_,,$@)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(subst install_,,$@)-modules \
group_include="k$(subst install_,,$@)"
BASEDIR=$(D)-$(module)-modules \
cfg_prefix=$(D)-$(module)-modules \
doc-dir=share/doc/$(DEB_SOURCE)-$(module)-modules \
group_include="k$(grp)"
# Eliminate duplicate libs.
for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(D)-$${module}-modules/usr/$(LIBDIR)/kamailio" && \
test "$$d" != "$(D)-$(module)-modules/usr/$(LIBDIR)/kamailio" && \
for r in `find $$d -name 'lib*' | xargs`; do \
echo "removing $(subst install_,,$@) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(subst install_,,$@)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
echo "removing $(module) lib `basename $$r` present also in $$d"; \
rm -f $(D)-$(module)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"`; \
done ; \
done
# clean empty dirs
find $(D)-$(subst install_,,$@)-modules -depth -empty -type d -exec rmdir {} \;
find $(D)-$(module)-modules -depth -empty -type d -exec rmdir {} \;
$(INSTALL_EXTRA): test_install_all-stamp
$(MAKE) install-modules-all \

@ -1,5 +1,6 @@
[Unit]
Description=Kamailio - the Open Source SIP Server
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target

@ -1,5 +1,5 @@
%define name kamailio
%define ver 5.8.2
%define ver 5.8.6
%define rel dev1.0%{dist}
%if 0%{?fedora}
@ -116,21 +116,21 @@
%bcond_without wolfssl
%endif
%if 0%{?rhel} == 9
%if 0%{?rhel} == 9 || 0%{?rhel} == 10
%if 0%{?centos_ver}
%define dist_name centos
%define dist_version %{?centos}
%define dist .el9.centos
%define dist .el%{?centos_ver}.centos
%endif
%if 0%{?almalinux_ver}
%define dist_name centos
%define dist_version %{?almalinux}
%define dist .el9.almalinux
%define dist .el%{?almalinux_ver}.almalinux
%endif
%if 0%{?rocky_ver}
%define dist_name centos
%define dist_version %{?rocky}
%define dist .el9.rocky
%define dist .el%{?rocky_ver}.rocky
%endif
%if 0%{?centos_ver} == 0 && 0%{?almalinux_ver} == 0 && 0%{?rocky_ver} == 0
%define dist_name rhel
@ -237,6 +237,7 @@ Conflicts: kamailio-dialplan < %ver, kamailio-dnssec < %ver
Conflicts: kamailio-geoip < %ver, kamailio-gzcompress < %ver
Conflicts: kamailio-http_client < %ver
Conflicts: kamailio-ims < %ver, kamailio-java < %ver, kamailio-json < %ver
Conflicts: kamailio-jwt < %ver
Conflicts: kamailio-kazoo < %ver
Conflicts: kamailio-lcr < %ver, kamailio-ldap < %ver, kamailio-lost < %ver, kamailio-lua < %ver
Conflicts: kamailio-nats < %ver
@ -590,6 +591,17 @@ JSON string handling and RPC modules for Kamailio.
%endif
%package jwt
Summary: JWT (JSON Web Token) functions module for Kamailio
Group: %{PKGGROUP}
Requires: libjwt, kamailio = %ver
BuildRequires: libjwt-devel
%description jwt
This module provides JWT (JSON Web Token) functions to be used in Kamailio configuration file.
It relies on libjwt (at least v1.12.0) library (https://github.com/benmcollins/libjwt).
%if %{with kazoo}
%package kazoo
Summary: Kazoo middle layer connector support for Kamailio
@ -812,9 +824,9 @@ Requires: python2, kamailio = %ver
BuildRequires: python2, python2-devel
%endif
%if %{with python3}
%if 0%{?rhel} == 8
Requires: python39, kamailio = %ver
BuildRequires: python39, python39-devel
%if 0%{?rhel} == 8 || 0%{?rhel} == 9
Requires: python3.12, kamailio = %ver
BuildRequires: python3.12, python3.12-devel
%else
Requires: python3, kamailio = %ver
BuildRequires: python3, python3-devel
@ -1188,11 +1200,11 @@ sed -i -e 's/python3/python2/' utils/kamctl/dbtextdb/dbtextdb.py
# on latest dist need to add --atexit=no for Kamailio options. More details GH #2616
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
sed -i -e 's|/usr/sbin/kamailio|/usr/sbin/kamailio --atexit=no|' pkg/kamailio/obs/kamailio.service
sed -i -e 's|/usr/sbin/kamailio|/usr/sbin/kamailio --atexit=no|' pkg/kamailio/obs/kamailio@.service
%endif
%build
ln -s ../obs pkg/kamailio/%{dist_name}/%{dist_version}
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
export FREERADIUS=1
%endif
@ -1212,7 +1224,7 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
FREERADIUS=1 \
%endif
%if 0%{?rhel} >= 8
PYTHON3=python3.9 \
PYTHON3=python3.12 \
%endif
WOLFSSL_INTERNAL=no \
group_include="kstandard kautheph kberkeley kcarrierroute \
@ -1245,6 +1257,7 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
kjson \
%endif
kjsonrpcs \
kjwt \
%if %{with kazoo}
kkazoo \
%endif
@ -1325,7 +1338,7 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
FREERADIUS=1 \
%endif
%if 0%{?rhel} >= 8
PYTHON3=python3.9 \
PYTHON3=python3.12 \
%endif
WOLFSSL_INTERNAL=no \
group_include="kstandard kautheph kberkeley kcarrierroute \
@ -1358,6 +1371,7 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
kjson \
%endif
kjsonrpcs \
kjwt \
%if %{with kazoo}
kkazoo \
%endif
@ -1429,28 +1443,29 @@ install -d %{buildroot}%{_sharedstatedir}/kamailio
# On RedHat 6 like
install -d %{buildroot}%{_var}/run/kamailio
install -d %{buildroot}%{_sysconfdir}/rc.d/init.d
install -m755 pkg/kamailio/%{dist_name}/%{dist_version}/kamailio.init \
install -m755 pkg/kamailio/obs/kamailio.init \
%{buildroot}%{_sysconfdir}/rc.d/init.d/kamailio
%else
# systemd
install -d %{buildroot}%{_unitdir}
install -Dpm 0644 pkg/kamailio/%{dist_name}/%{dist_version}/kamailio.service %{buildroot}%{_unitdir}/kamailio.service
install -Dpm 0644 pkg/kamailio/%{dist_name}/%{dist_version}/sipcapture.service %{buildroot}%{_unitdir}/sipcapture.service
install -Dpm 0644 pkg/kamailio/%{dist_name}/%{dist_version}/kamailio.tmpfiles %{buildroot}%{_tmpfilesdir}/kamailio.conf
install -Dpm 0644 pkg/kamailio/%{dist_name}/%{dist_version}/sipcapture.tmpfiles %{buildroot}%{_tmpfilesdir}/sipcapture.conf
install -Dpm 0644 pkg/kamailio/obs/kamailio.service %{buildroot}%{_unitdir}/kamailio.service
install -Dpm 0644 pkg/kamailio/obs/kamailio@.service %{buildroot}%{_unitdir}/kamailio@.service
install -Dpm 0644 pkg/kamailio/obs/sipcapture.service %{buildroot}%{_unitdir}/sipcapture.service
install -Dpm 0644 pkg/kamailio/obs/kamailio.tmpfiles %{buildroot}%{_tmpfilesdir}/kamailio.conf
install -Dpm 0644 pkg/kamailio/obs/sipcapture.tmpfiles %{buildroot}%{_tmpfilesdir}/sipcapture.conf
%endif
%if 0%{?suse_version}
install -d %{buildroot}%{_fillupdir}
install -m644 pkg/kamailio/%{dist_name}/%{dist_version}/kamailio.sysconfig \
install -m644 pkg/kamailio/obs/kamailio.sysconfig \
%{buildroot}%{_fillupdir}/sysconfig.kamailio
install -m644 pkg/kamailio/%{dist_name}/%{dist_version}/sipcapture.sysconfig \
install -m644 pkg/kamailio/obs/sipcapture.sysconfig \
%{buildroot}%{_fillupdir}/sysconfig.sipcapture
%else
install -d %{buildroot}%{_sysconfdir}/sysconfig
install -m644 pkg/kamailio/%{dist_name}/%{dist_version}/kamailio.sysconfig \
install -m644 pkg/kamailio/obs/kamailio.sysconfig \
%{buildroot}%{_sysconfdir}/sysconfig/kamailio
install -m644 pkg/kamailio/%{dist_name}/%{dist_version}/sipcapture.sysconfig \
install -m644 pkg/kamailio/obs/sipcapture.sysconfig \
%{buildroot}%{_sysconfdir}/sysconfig/sipcapture
%endif
@ -1666,6 +1681,7 @@ fi
%dir %attr(-,kamailio,kamailio) %{_var}/run/kamailio
%else
%{_unitdir}/kamailio.service
%{_unitdir}/kamailio@.service
%{_tmpfilesdir}/kamailio.conf
%endif
@ -2020,6 +2036,12 @@ fi
%endif
%files jwt
%defattr(-,root,root)
%doc %{_docdir}/kamailio/modules/README.jwt
%{_libdir}/kamailio/modules/jwt.so
%if %{with kazoo}
%files kazoo
%defattr(-,root,root)

@ -0,0 +1,28 @@
[Unit]
Description=Kamailio - the Open Source SIP Server (instance %i)
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio-%i.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=-/etc/sysconfig/kamailio-%i
EnvironmentFile=-/etc/sysconfig/kamailio-%i.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio-%i/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -DD -P /run/kamailio-%i/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -Y /run/kamailio-%i
Restart=on-failure
# necessary for chown of control files e.g. for jsonrpcs and ctl modules
AmbientCapabilities=CAP_CHOWN
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio-%i
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target

@ -106,7 +106,7 @@ INSTALL_FLAVOUR=$(FLAVOUR)
# version number
VERSION = 5
PATCHLEVEL = 8
SUBLEVEL = 2
SUBLEVEL = 6
EXTRAVERSION =
# memory manager switcher
@ -492,7 +492,7 @@ endif
ifeq ($(OS), freebsd)
doc_dir = share/doc/$(MAIN_NAME)/
man_dir = man/
man_dir = share/man/
data_dir = share/$(MAIN_NAME)/
LOCALBASE ?= /usr/local
endif

@ -2,6 +2,6 @@
* DO NOT EDIT IT
*/
#define REPO_VER "3fa5f4"
#define REPO_HASH "3fa5f4"
#define REPO_VER "fb71db"
#define REPO_HASH "fb71db"
#define REPO_STATE ""

@ -985,8 +985,14 @@ assign_stm:
ksr_ipv6_hex_style.len = strlen(ksr_ipv6_hex_style.s);
}
| IPV6_HEX_STYLE error { yyerror("string value expected"); }
| BIND_IPV6_LINK_LOCAL EQUAL NUMBER {sr_bind_ipv6_link_local = $3;}
| BIND_IPV6_LINK_LOCAL error { yyerror("boolean value expected"); }
| BIND_IPV6_LINK_LOCAL EQUAL NUMBER {
sr_bind_ipv6_link_local = $3;
if((sr_bind_ipv6_link_local & KSR_IPV6_LINK_LOCAL_BIND)
&& (sr_bind_ipv6_link_local & KSR_IPV6_LINK_LOCAL_SKIP)) {
yyerror("incompatible modes set");
}
}
| BIND_IPV6_LINK_LOCAL error { yyerror("number expected"); }
| DST_BLST_INIT EQUAL NUMBER { IF_DST_BLOCKLIST(dst_blocklist_init=$3); }
| DST_BLST_INIT error { yyerror("boolean value expected"); }
| USE_DST_BLST EQUAL NUMBER {

@ -147,6 +147,11 @@ int select_cfg_var(str *res, select_t *s, struct sip_msg *msg)
int i;
static char buf[INT2STR_MAX_LEN];
if(res != NULL) {
res->s = 0;
res->len = 0;
}
if(msg == NULL) {
/* fixup call */
@ -207,7 +212,7 @@ int select_cfg_var(str *res, select_t *s, struct sip_msg *msg)
group = (cfg_group_t *)s->params[1].v.p;
var = (cfg_mapping_t *)s->params[2].v.p;
if(!group || !var)
if(!group || !var || !res)
return -1;
/* use the module's handle to access the variable, so the variables
@ -228,12 +233,7 @@ int select_cfg_var(str *res, select_t *s, struct sip_msg *msg)
break;
case CFG_VAR_STR:
if(p) {
memcpy(res, p, sizeof(str));
} else {
res->s = 0;
res->len = 0;
}
memcpy(res, p, sizeof(str));
break;
default:

@ -41,8 +41,11 @@ inline static int char_msg_val(struct sip_msg *msg, char *cv)
str sempty = str_init("");
if(unlikely(!check_transaction_quadruple(msg))) {
LM_ERR("can't calculate char_value due to a parsing error\n");
memset(cv, '0', MD5_LEN);
int i;
for(i = 0; i < MD5_LEN; i++) {
cv[i] = '0';
}
LM_ERR("cannot calculate char_value due to a parsing error\n");
return 0;
}
/* to body is automatically parsed (via check_transactionquadruple /

@ -1697,7 +1697,7 @@ inline static struct dns_hash_entry *dns_get_related(
LM_DBG("(%p (%.*s, %d), %d, *%p) (%d)\n", e, e->name_len, e->name, e->type,
type, *records, cname_chain_len);
if(l->prev != NULL || l->next != NULL) {
LM_WARN("record not alone: %p - type: %d\n", l, (int)l->type);
LM_DBG("record not alone: %p - type: %d\n", l, (int)l->type);
}
clist_init(l, next, prev);
if(type == e->type) {
@ -2044,7 +2044,7 @@ inline static struct dns_hash_entry *dns_cache_do_request(str *name, int type)
#endif
end:
if(e != NULL && e->prev == NULL && e->next == NULL) {
LM_WARN("record not linked: %p - type: %d\n", e, (int)e->type);
LM_DBG("record not linked: %p - type: %d\n", e, (int)e->type);
}
return e;
}
@ -3919,7 +3919,7 @@ int dns_cache_print_entry(rpc_t *rpc, void *ctx, struct dns_hash_entry *e)
}
s.s = ((struct naptr_rdata *)(rr->rdata))->repl;
s.len = ((struct naptr_rdata *)(rr->rdata))->repl_len;
if(rpc->struct_add(sh, "S", "rr_regexp", &s) < 0) {
if(rpc->struct_add(sh, "S", "rr_replacement", &s) < 0) {
rpc->fault(ctx, 500,
"Internal error adding naptre rr_replacement");
return -1;

@ -687,8 +687,8 @@ char *print_dset(struct sip_msg *msg, int *len, int options)
}
if(cnt == 0) {
LM_WARN("no r-uri or branches\n");
goto error;
LM_INFO("no new r-uri or branches\n");
goto notfound;
}
if(p + CRLF_LEN + 1 > end) {
@ -701,7 +701,7 @@ char *print_dset(struct sip_msg *msg, int *len, int options)
memfail:
LM_ERR("redirection buffer length exceed\n");
error:
notfound:
*len = 0;
set_branch_iterator(crt_branch);
return 0;

@ -132,6 +132,7 @@ static inline int msg_send_buffer(
union sockaddr_union local_addr;
struct tcp_connection *con = NULL;
struct ws_event_info wsev;
int dproto;
int ret;
#endif
@ -187,9 +188,21 @@ static inline int msg_send_buffer(
if(likely(port)) {
su2ip_addr(&ip, &dst->to);
if(tcp_connection_match == TCPCONN_MATCH_STRICT) {
/* lookup first for WSS, because transport=ws is in URI,
* but WS is less likely */
if(dst->proto == PROTO_WSS || dst->proto == PROTO_WS) {
dproto = PROTO_WSS;
} else {
dproto = dst->proto;
}
con = tcpconn_lookup(dst->id, &ip, port, from,
(dst->send_sock) ? dst->send_sock->port_no : 0, 0,
dst->proto);
dproto);
if(con == NULL && dst->proto == PROTO_WS) {
con = tcpconn_lookup(dst->id, &ip, port, from,
(dst->send_sock) ? dst->send_sock->port_no : 0, 0,
PROTO_WS);
}
} else {
con = tcpconn_get(dst->id, &ip, port, from, 0);
}

@ -109,6 +109,9 @@ extern int ksr_tcp_script_mode;
#ifdef USE_TLS
extern int tls_disable;
extern unsigned short tls_port_no;
#define KSR_TLS_THREADS_MNONE 0 /* no set of set thread-local variables */
#define KSR_TLS_THREADS_MTEMP 1 /* set thread-local variables in temp thread */
#define KSR_TLS_THREADS_MFORK 2 /* set thread-local variables in at-fork */
extern int ksr_tls_threads_mode;
#endif
#ifdef USE_SCTP

@ -298,6 +298,52 @@ char *ip_addr2strz(struct ip_addr *ip)
return buff;
}
#define IP_ADDR_BUF_NR 8
static char _ksr_addr2x_buff[IP_ADDR_BUF_NR][IP_ADDR_MAX_STR_SIZE];
static int _ksr_addr2x_idx = 0;
/* fast ip_addr -> string converter;
* it uses an internal buffer
*/
char *ip_addr2xa(struct ip_addr *ip)
{
int len;
char *buff;
buff = _ksr_addr2x_buff[_ksr_addr2x_idx];
_ksr_addr2x_idx = (_ksr_addr2x_idx + 1) % IP_ADDR_BUF_NR;
len = ip_addr2sbuf(ip, buff, sizeof(buff) - 1);
buff[len] = 0;
return buff;
}
/* full address in text representation, including [] for ipv6 */
char *ip_addr2xstrz(struct ip_addr *ip)
{
char *p;
int len;
char *buff;
buff = _ksr_addr2x_buff[_ksr_addr2x_idx];
_ksr_addr2x_idx = (_ksr_addr2x_idx + 1) % IP_ADDR_BUF_NR;
p = buff;
if(ip->af == AF_INET6) {
*p++ = '[';
}
len = ip_addr2sbuf(ip, p, sizeof(buff) - 3);
p += len;
if(ip->af == AF_INET6) {
*p++ = ']';
}
*p = 0;
return buff;
}
/* returns an asciiz string containing the ip and the port
* (<ip_addr>:port or [<ipv6_addr>]:port)

@ -603,14 +603,18 @@ int ip_addr2sbufz(struct ip_addr *ip, char *buff, int len);
#define IP_ADDR_MAX_STR_SIZE (IP6_MAX_STR_SIZE + 1) /* ip62ascii + \0*/
#define IP_ADDR_MAX_STRZ_SIZE (IP6_MAX_STR_SIZE + 3) /* ip62ascii + [ + ] + \0*/
/* fast ip_addr -> string converter;
* it uses an internal buffer
*/
/* ip addr to string converter; it uses an internal static buffer */
char *ip_addr2a(struct ip_addr *ip);
/* ip addr to string converter; it uses a pool of internal static buffers */
char *ip_addr2xa(struct ip_addr *ip);
/* full address in text representation, including [] for ipv6 */
/* full address in text representation, including [] for ipv6
* - it uses an internal static buffer */
char *ip_addr2strz(struct ip_addr *ip);
/* full address in text representation, including [] for ipv6
* - it uses a pool of internal static buffers */
char *ip_addr2xstrz(struct ip_addr *ip);
#define SU2A_MAX_STR_SIZE \

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save