feed/telephony.git
22 months agortpengine: update libwebsockets dependency 798/head
Sebastian Kemper [Mon, 9 Jan 2023 11:15:24 +0000 (12:15 +0100)]
rtpengine: update libwebsockets dependency

The rtpengine daemon requires lws_get_ssl(). This function is not
available in libwebsockets-mbedtls. This commit updates the dependency
to libwebsockets-openssl.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
23 months agoMerge pull request #792 from micmac1/ast-18.5.1-22.03
Jiri Slachta [Wed, 7 Dec 2022 20:50:23 +0000 (21:50 +0100)]
Merge pull request #792 from micmac1/ast-18.5.1-22.03

[22.03] asterisk: bump to 18.15.1

23 months agoasterisk: bump to 18.15.1 792/head
Sebastian Kemper [Fri, 2 Dec 2022 20:40:22 +0000 (21:40 +0100)]
asterisk: bump to 18.15.1

Fixes

AST-2022-007
AST-2022-008
AST-2022-009

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
23 months agopjproject: backport security fixes from 2.13
Sebastian Kemper [Fri, 2 Dec 2022 17:10:38 +0000 (18:10 +0100)]
pjproject: backport security fixes from 2.13

Backports two security fixes (c4d3498 and 450baca) from pjproject 2.13.
Source: asterisk 20.0.1.

Also drop AUTORELEASE as OpenWrt project wants to get rid of it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 472f1ac7ac867b8fbc2841c56e7d61935dba9d52)

23 months agoasterisk: bump to 18.14.0
Sebastian Kemper [Sat, 20 Aug 2022 09:28:34 +0000 (11:28 +0200)]
asterisk: bump to 18.14.0

- add new modules
- res-geolocation depends on asterisk being built with libxlt support,
  but to make libxslt a general dependency is probably not a good idea
  for small devices, so this adds a config option
  ASTERISK_LIBXSLT_SUPPORT that is off by default except on x86_64
  builds
- correct some module titles by removing the extraneous "support" string
- refresh patches
- 170-time-add-support-for-time64-libcs.patch,
  180_build-fix-bininstall-launchd-issue-on-cross-platfrom.patch and
  190-logger-workaround-woefully-small-BUFSIZ-in-MUSL.patch removed as
  included in upstream release
- added 170-menuselect-force-use-of-xml2-config.patch as upstream
  switched to use pkg-config for libxml2 detection, which would be fine,
  except OpenWrt's host libxml2 is static and Asterisk can't handle that

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit aa3bc352e787768fbf5f1f806a9b2b06a74b19fc)

23 months agopjproject: bump to 2.12.1
Sebastian Kemper [Sat, 20 Aug 2022 09:06:39 +0000 (11:06 +0200)]
pjproject: bump to 2.12.1

- add "--disable-android-mediacodec" to configure
- add EXCLUDE_APP=1 to "make" calls so some apps aren't built (speeds up
  the build a bit)
- drop "sed" call as no longer needed
- drop uclibc related patches
  (0002-uclibc-linker-unrecognized-options.patch and
  0003-non-gnu-pthreads.patch)
- update 0004-config_site.patch to sync up with Asterisk 18.14.0
- drop 0005-remove-hardcoded-lstdc++.patch as uclibcxx was removed from
  OpenWrt
- update 0006-fix-pkg_config-file.patch as there were some changes in
  this area upstream
- add 0007-execinfo.patch to prevent errors due to missing <execinfo.h>
- sync patches with 18.14.0

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit a57228588602e5217b95f1e9ded0b76402cb6c72)

2 years agoMerge pull request #769 from micmac1/22.03-sof-1.13.8
micmac1 [Tue, 31 May 2022 19:33:10 +0000 (21:33 +0200)]
Merge pull request #769 from micmac1/22.03-sof-1.13.8

[openwrt-22.03] sofia-sip: bump to 1.13.8

2 years agosofia-sip: bump to 1.13.8 769/head
Sebastian Kemper [Mon, 30 May 2022 16:24:58 +0000 (18:24 +0200)]
sofia-sip: bump to 1.13.8

Some security issues were fixed. Upstream labelled them as follows:

GHSA-79jq-hh82-cv9g: Fix Out-of-bound read in sip_method_d
GHSA-g3x6-p824-x6hm: Fix Out-of-bound read in url_canonize2 and
                     url_canonize3
GHSA-8w5j-6g2j-pxcp: Fix Heap-buffer-overflow in parse_descs and
                     parse_message

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 1efc4f3f98ed46b8bef2e29710d04131cda8ad44)

2 years agoMerge pull request #760 from micmac1/22.03-ast-disable-libxslt
micmac1 [Sun, 17 Apr 2022 10:47:54 +0000 (12:47 +0200)]
Merge pull request #760 from micmac1/22.03-ast-disable-libxslt

[22.03] asterisk: add --without-libxslt to configure

2 years agoasterisk: add --without-libxslt to configure 760/head
Sebastian Kemper [Sun, 17 Apr 2022 08:57:20 +0000 (10:57 +0200)]
asterisk: add --without-libxslt to configure

Since upstream commit b40c4d59b1dd803cad79060fb5b5a48d249ba578
"--disable-xmldoc" does no longer prevent the linking to libxslt, if
available. If that's the case one is greeted with the following error:

Package asterisk is missing dependencies for the following libraries:
libxslt.so.1

This commit explicitly disables the use of libxslt, to avoid the
dependency.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 64a1d2faef62352327c4aaeec803ce71ff5d2c40)

2 years agoMerge pull request #758 from micmac1/22.03-AST-2022-01-02-03-try2
Jiri Slachta [Sat, 16 Apr 2022 17:21:15 +0000 (19:21 +0200)]
Merge pull request #758 from micmac1/22.03-AST-2022-01-02-03-try2

[22.03] asterisk: bump to 18.11.2

2 years agoasterisk: add logger patch 758/head
Sebastian Kemper [Fri, 15 Apr 2022 15:17:07 +0000 (17:17 +0200)]
asterisk: add logger patch

Add a patch from Philip that got upstreamed. This is in reference to
issue #737.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 23925c22f8e57098797343840b64ac80912e323d)

2 years agoasterisk: replace time64 patch
Sebastian Kemper [Fri, 15 Apr 2022 15:15:38 +0000 (17:15 +0200)]
asterisk: replace time64 patch

This replaces the current patch with the one upstreamed by Philip.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit c1cb4fd1a4059df37c28b60b22f43adf5b11df85)

2 years agoasterisk: bump to version 18.11.2
Sebastian Kemper [Fri, 15 Apr 2022 14:25:50 +0000 (16:25 +0200)]
asterisk: bump to version 18.11.2

- add two new modules (app_sf and func_json)
- update 100-build-reproducibly.patch as upstream refactored some of the
  code
- refresh patches

This bump includes fixes for the following security issues:

https://downloads.asterisk.org/pub/security/AST-2022-001.html
https://downloads.asterisk.org/pub/security/AST-2022-002.html
https://downloads.asterisk.org/pub/security/AST-2022-003.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 958401fa8f98e50df02917eded1eb4815997985d)

2 years agopjproject: sync patches with asterisk 18.11.2
Sebastian Kemper [Fri, 15 Apr 2022 14:21:22 +0000 (16:21 +0200)]
pjproject: sync patches with asterisk 18.11.2

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 0c67ab5831bb1509af035ce8f142eabbf14bd82a)

2 years agoasterisk: don't send stdout to syslog by default
Philip Prindeville [Sun, 6 Feb 2022 18:42:04 +0000 (11:42 -0700)]
asterisk: don't send stdout to syslog by default

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit fb0c2cf2b8d5775e46cd8c2e71f9a20414feeb4a)

2 years agoMerge pull request #752 from micmac1/pj-AST
micmac1 [Sun, 6 Mar 2022 11:15:25 +0000 (12:15 +0100)]
Merge pull request #752 from micmac1/pj-AST

pjproject: add upstream security fixes

2 years agopjproject: add upstream security fixes 752/head
Sebastian Kemper [Sat, 5 Mar 2022 15:58:00 +0000 (16:58 +0100)]
pjproject: add upstream security fixes

Details:

https://downloads.asterisk.org/pub/security/AST-2022-004.html
https://downloads.asterisk.org/pub/security/AST-2022-005.html
https://downloads.asterisk.org/pub/security/AST-2022-006.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #751 from micmac1/mod-av-BROKEN
micmac1 [Thu, 3 Mar 2022 23:46:59 +0000 (00:46 +0100)]
Merge pull request #751 from micmac1/mod-av-BROKEN

freeswitch: mark mod-av BROKEN

2 years agofreeswitch: mark mod-av BROKEN 751/head
Sebastian Kemper [Thu, 3 Mar 2022 22:05:58 +0000 (23:05 +0100)]
freeswitch: mark mod-av BROKEN

FS is not yet ready for FFMPEG 5.0. Upstream has a related issue already
([1]).

Also move to AUTORELEASE.

[1] https://github.com/signalwire/freeswitch/issues/1560

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #749 from micmac1/rtpengine-host-perl
micmac1 [Sun, 27 Feb 2022 11:22:52 +0000 (12:22 +0100)]
Merge pull request #749 from micmac1/rtpengine-host-perl

rtpengine: use perl/host when building

2 years agortpengine: use perl/host when building 749/head
Sebastian Kemper [Sat, 26 Feb 2022 17:02:31 +0000 (18:02 +0100)]
rtpengine: use perl/host when building

utils/const_str_hash is called by rtpengine build system. The Perl
script uses shebang "#!/usr/bin/perl" and depends on perl-IPC-Cmd. If
this is missing the build will fail:

../utils/const_str_hash < "control_ng.c" > "control_ng.strhash.c"
Can't locate IPC/Cmd.pm in @INC (you may need to install the IPC::Cmd module) (@INC contains: /usr/local/lib64/perl5/5.34 /usr/local/share/perl5/5.34 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ../utils/const_str_hash line 6.
BEGIN failed--compilation aborted at ../utils/const_str_hash line 6.
make[4]: *** [../lib/common.Makefile:46: control_ng.strhash.c] Error 2

OpenWrt does not depend on perl-IPC-Cmd being available, so this commit
makes rtpengine build depend on perl/host, which provides this Perl
module.

Closes #748

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #745 from micmac1/pj-AST-2021-009-2
micmac1 [Sun, 20 Feb 2022 22:31:56 +0000 (23:31 +0100)]
Merge pull request #745 from micmac1/pj-AST-2021-009-2

pjproject: add missing patch for AST-2021-009

2 years agopjproject: add missing patch for AST-2021-009 745/head
Sebastian Kemper [Sun, 20 Feb 2022 22:10:02 +0000 (23:10 +0100)]
pjproject: add missing patch for AST-2021-009

AST-2021-009 has two patches, the second of which was missed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #744 from micmac1/siproxd-up
Jiri Slachta [Sun, 20 Feb 2022 12:35:39 +0000 (13:35 +0100)]
Merge pull request #744 from micmac1/siproxd-up

siproxd/libosip2: update to latest

2 years agosiproxd: update to latest git 744/head
Sebastian Kemper [Sun, 20 Feb 2022 12:19:10 +0000 (13:19 +0100)]
siproxd: update to latest git

This includes time64 fixes plus allows reproducible builds.

Also switch to $(AUTORELEASE)

Closes #613
Closes #742

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agolibosip2: update to 5.3.0
Sebastian Kemper [Sun, 20 Feb 2022 12:16:21 +0000 (13:16 +0100)]
libosip2: update to 5.3.0

Switch to $(AUTORELEASE).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #740 from svlobanov/kamailio-fix-build-on-macos
micmac1 [Mon, 14 Feb 2022 20:28:56 +0000 (21:28 +0100)]
Merge pull request #740 from svlobanov/kamailio-fix-build-on-macos

kamailio: fix build on macos

2 years agoMerge pull request #743 from micmac1/bare-aud-sup
Jiri Slachta [Mon, 14 Feb 2022 06:23:19 +0000 (07:23 +0100)]
Merge pull request #743 from micmac1/bare-aud-sup

baresip: only build gst with AUDIO_SUPPORT enabled

2 years agokamailio: fix build on macos 740/head
Sergey V. Lobanov [Sun, 6 Feb 2022 22:51:24 +0000 (01:51 +0300)]
kamailio: fix build on macos

kamailio macos build fails due to kamailio Makefile checks OS
(`uname -s`) and OSREL (`uname -r`). If build host is not Linux,
then these checks will provide different results, but OpenWrt is
always Linux so target OS should be always Linux.

This patch explicitly specifies OS=linux and OSREL=$(LINUX_UNAME_VERSION)
to avoid using build host values for target build.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agobaresip: only build gst with AUDIO_SUPPORT enabled 743/head
Sebastian Kemper [Sun, 13 Feb 2022 17:49:58 +0000 (18:49 +0100)]
baresip: only build gst with AUDIO_SUPPORT enabled

Most gstreamer packages aren't build when the target does not have
AUDIO_SUPPORT. This can be seen with realtek target (4kec).

This commit makes the gst plugins depend on AUDIO_SUPPORT, because
otherwise the build dies with this error:

Package baresip-mod-gst-video is missing dependencies for the following libraries:
libgstapp-1.0.so.0

Note: compiling baresip on a target without AUDIO_SUPPORT may be
questionable anyway.

Close #730

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #741 from svlobanov/asterisk-fix-build-on-macos
micmac1 [Sun, 13 Feb 2022 11:41:11 +0000 (12:41 +0100)]
Merge pull request #741 from svlobanov/asterisk-fix-build-on-macos

asterisk: fix build on macos

2 years agoasterisk: fix build on macos 741/head
Sergey V. Lobanov [Tue, 8 Feb 2022 23:03:30 +0000 (02:03 +0300)]
asterisk: fix build on macos

This commit adds a patch to fix /sbin/launchd detection on macos

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoMerge pull request #736 from svlobanov/yate-fix-build-on-macos
micmac1 [Sun, 6 Feb 2022 09:50:52 +0000 (10:50 +0100)]
Merge pull request #736 from svlobanov/yate-fix-build-on-macos

yate: fix build on macos

2 years agoyate: fix build on macos 736/head
Sergey V. Lobanov [Tue, 1 Feb 2022 17:29:13 +0000 (20:29 +0300)]
yate: fix build on macos

yate configure script uses `uname -s` to determine OS and changes
build logic regarding to build host OS. OpenWrt is always Linux so
it should be built as for Linux.

This patch uses fakeuname tool to pass `uname -s` checks as Linux
on macos build host.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoMerge pull request #734 from svlobanov/coturn-repro-and-macos-build-fix
micmac1 [Sun, 6 Feb 2022 07:41:32 +0000 (08:41 +0100)]
Merge pull request #734 from svlobanov/coturn-repro-and-macos-build-fix

coturn: improve reproducibility and fix build on macos

2 years agoMerge pull request #729 from svlobanov/libpri-fix-build-on-macos
micmac1 [Sun, 6 Feb 2022 07:26:39 +0000 (08:26 +0100)]
Merge pull request #729 from svlobanov/libpri-fix-build-on-macos

libpri: fix build on macos

2 years agoMerge pull request #735 from micmac1/restund-remove
Jiri Slachta [Tue, 1 Feb 2022 17:27:17 +0000 (18:27 +0100)]
Merge pull request #735 from micmac1/restund-remove

restund: remove package

2 years agorestund: remove package 735/head
Sebastian Kemper [Tue, 1 Feb 2022 17:16:14 +0000 (18:16 +0100)]
restund: remove package

Removing as upstream dropped the project. Users can use coturn instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agocoturn: fix build on macos 734/head
Sergey V. Lobanov [Tue, 1 Feb 2022 16:49:03 +0000 (19:49 +0300)]
coturn: fix build on macos

coturn build fails on macos due using `ar -r` by default, but macos
system `ar` is not compatible with the objects generated by OpenWrt
GCC toolchain.

This patch redefines ARCHIVERCMD="$(TARGET_AR) -r" to make it possible
to build coturn on macos build host.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agocoturn: improve reproducibility (Ubuntu build host fix)
Sergey V. Lobanov [Tue, 1 Feb 2022 16:26:38 +0000 (19:26 +0300)]
coturn: improve reproducibility (Ubuntu build host fix)

coturn package is reproducible unless the build OS is Ubuntu

coturn configure script detects Ubuntu build host([1]) and changes
compilation flags so produced OpenWrt binaries are different on
Ubuntu and any other build OS (e.g. Debian). It might be necessary
for native build but this check is not valid for cross-compiling.

This patch set LIBEV_OK=1 to generate the same binaries on Ubuntu
and other build OS

Refs:
[1] https://github.com/coturn/coturn/blob/upstream/4.5.2/configure#L426-L435

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoMerge pull request #732 from micmac1/sof-1137
micmac1 [Mon, 31 Jan 2022 18:54:41 +0000 (19:54 +0100)]
Merge pull request #732 from micmac1/sof-1137

sofia-sip: update to 1.13.7

2 years agosofia-sip: update to 1.13.7 732/head
Sebastian Kemper [Mon, 31 Jan 2022 18:34:11 +0000 (19:34 +0100)]
sofia-sip: update to 1.13.7

Contains DOS fix, see [1].

Converted to AUTORELEASE.

[1] https://github.com/signalwire/freeswitch/issues/1518

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agolibpri: fix build on macos 729/head
Sergey V. Lobanov [Sun, 30 Jan 2022 11:27:50 +0000 (14:27 +0300)]
libpri: fix build on macos

libpri can not be built on macos for OpenWrt Linux target due to:
1. Makefile uses `ar` and `ranlib` (without using make variables).
   MacOS system ar and ranlib are not compatible with the objects
   generated by OpenWrt GCC toolchain. This commit adds patch to
   add an ability to redefine `ar` and `ranlib` tools.
   Upstream issue: https://issues.asterisk.org/jira/browse/PRI-188
2. Makefile detects Darwin using `uname -s` and changes build logic
   but it is not need for cross-platfrom build. This commit
   redefines OSARCH=Linux in OpenWrt Makefile
3. After redefining OSARCH=Linux, libpri Makefile uses /sbin/ldconfig
   that does not exist on MacOS. This commit redefines LDCONFIG=ldconfig
   in OpenWrt Makefile to use ldconfig provided by OpenWrt.

Patch '001-fix-include-signal-h-warning.patch' was refreshed to pass
CI checks. The payload of this patch was not changed.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoMerge pull request #728 from micmac1/rtpe9532
micmac1 [Sat, 22 Jan 2022 14:10:53 +0000 (15:10 +0100)]
Merge pull request #728 from micmac1/rtpe9532

rtpengine: bump to 9.5.3.2

2 years agortpengine: bump to 9.5.3.2 728/head
Sebastian Kemper [Sat, 22 Jan 2022 10:55:52 +0000 (11:55 +0100)]
rtpengine: bump to 9.5.3.2

Latest LTS release. Switch to AUTORELEASE.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #726 from shalzz/master
micmac1 [Tue, 4 Jan 2022 13:16:42 +0000 (14:16 +0100)]
Merge pull request #726 from shalzz/master

asterisk-chan-dongle: update to the latest git HEAD

2 years agoasterisk-chan-dongle: update to the latest git HEAD 726/head
Shaleen Jain [Tue, 4 Jan 2022 09:36:48 +0000 (09:36 +0000)]
asterisk-chan-dongle: update to the latest git HEAD

The upstream commit 6073c91fcf0a46a1525d500c274fa5ab96af7dda broke
non-quectel devices due to the channel driver unable to complete
initialization.

This is fixed in the latest upstream commit.

Signed-off-by: Shaleen Jain <shaleen@jain.sh>
2 years agoMerge pull request #725 from BKPepe/coturn
micmac1 [Fri, 31 Dec 2021 11:46:32 +0000 (12:46 +0100)]
Merge pull request #725 from BKPepe/coturn

coturn: add libintl dependency when enabled full language support

2 years agocoturn: add patch for not linking libintl 725/head
Josef Schlehofer [Sat, 25 Dec 2021 19:48:49 +0000 (20:48 +0100)]
coturn: add patch for not linking libintl

If there is enabled CONFIG_BUILD_NLS, coturn can not be compiled.
It fails with the following error:

Package coturn is missing dependencies for the following libraries:
libintl.so.8

But thanks to @micmac1, it was realized that libintl
is not used anywhere in coturn, that's why there was sent PR to upstream.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agoMerge pull request #724 from micmac1/kam-time_t-ldap
Jiri Slachta [Thu, 23 Dec 2021 22:26:16 +0000 (23:26 +0100)]
Merge pull request #724 from micmac1/kam-time_t-ldap

kamailio: add upstreamed patches (compile fix + time64 fixes)

2 years agokamailio: add patch for time64 libc support 724/head
Sebastian Kemper [Wed, 22 Dec 2021 20:41:48 +0000 (21:41 +0100)]
kamailio: add patch for time64 libc support

This was upstreamed recently. All twelve commits were squashed into a
single patch.

Also the Makefile is switched to AUTORELEASE.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agokamailio: ldap: rename function ldap_connect
Sebastian Kemper [Wed, 22 Dec 2021 20:39:29 +0000 (21:39 +0100)]
kamailio: ldap: rename function ldap_connect

With the recently updated openldap, kamailio fails to build. This adds
an upstreamed patch to resolve this.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #722 from micmac1/ast-init
micmac1 [Wed, 22 Dec 2021 20:21:52 +0000 (21:21 +0100)]
Merge pull request #722 from micmac1/ast-init

asterisk: init script changes

2 years agoMerge pull request #723 from micmac1/coturn-conffiles
micmac1 [Wed, 22 Dec 2021 20:21:14 +0000 (21:21 +0100)]
Merge pull request #723 from micmac1/coturn-conffiles

coturn: add /etc/turnserver to conffiles

2 years agocoturn: add /etc/turnserver to conffiles 723/head
Sebastian Kemper [Sun, 19 Dec 2021 11:59:32 +0000 (12:59 +0100)]
coturn: add /etc/turnserver to conffiles

If turndb it created in this folder it should be saved during
sysupgrade.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoasterisk: init: use daemon facility, not user 722/head
Sebastian Kemper [Sun, 19 Dec 2021 11:46:52 +0000 (12:46 +0100)]
asterisk: init: use daemon facility, not user

This facility was suggested in pull request #701.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoasterisk: send SIGHUP on reload
Andre Heider [Thu, 4 Nov 2021 07:15:50 +0000 (08:15 +0100)]
asterisk: send SIGHUP on reload

asterisk reloads its config upon SIGHUP, use it.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2 years agoMerge pull request #721 from BKPepe/fix-baresip-nls
micmac1 [Wed, 15 Dec 2021 21:38:16 +0000 (22:38 +0100)]
Merge pull request #721 from BKPepe/fix-baresip-nls

baresip: fix compilation with NLS

2 years agobaresip: fix compilation with NLS 721/head
Josef Schlehofer [Wed, 15 Dec 2021 12:32:04 +0000 (13:32 +0100)]
baresip: fix compilation with NLS

Fixes issue:

/master/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lintl
  LD [M]  speex_pp.so
  LD [M]  stdio.so
collect2: error: ld returned 1 exit status
  LD [M]  syslog.so
make[3]: *** [mk/mod.mk:41: gst.so] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/master/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/baresip-1.1.0'

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agoMerge pull request #720 from micmac1/restund-cve
Jiri Slachta [Thu, 9 Dec 2021 10:37:04 +0000 (11:37 +0100)]
Merge pull request #720 from micmac1/restund-cve

restund: fix CVE-2021-21382

2 years agoMerge pull request #719 from micmac1/baresip-drop-rem-patch
micmac1 [Wed, 8 Dec 2021 23:29:30 +0000 (00:29 +0100)]
Merge pull request #719 from micmac1/baresip-drop-rem-patch

baresip: drop 002-fix-rem-include.patch

2 years agoMerge pull request #715 from micmac1/coturn-checkin
micmac1 [Wed, 8 Dec 2021 23:28:55 +0000 (00:28 +0100)]
Merge pull request #715 from micmac1/coturn-checkin

coturn: new package

2 years agorestund: fix CVE-2021-21382 720/head
Sebastian Kemper [Mon, 6 Dec 2021 23:02:25 +0000 (00:02 +0100)]
restund: fix CVE-2021-21382

Patches taken from [1].

Added a postinstall note about the upcoming deletion of this package.

[1] https://github.com/wireapp/restund/pull/7

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit dec6316f2f9204f3c34fadc7616435ddecf19e6c)

2 years agocoturn: new package 715/head
Sebastian Kemper [Mon, 6 Dec 2021 23:30:04 +0000 (00:30 +0100)]
coturn: new package

This is meant as a replacement for restund.

By default, sqlite3 support is enabled. The DBs to use can be freely
changed in menuselect, though. sqlite3 is enabled by default as it is
the upstream default DB.

The package installs turnserver, which includes an init script. Options
can be set via /etc/config/turnserver and /etc/turnserver.conf.

turnserver is started as root and later drops privileges to user/group
turnserver/turnserver.

DB schemas etc. get installed to /usr/share/coturn. The default DB path
is set to /etc/turnserver, to avoid volatile /var on OpenWrt.
/etc/turnserver is created and permissions are automatically set to only
allow access for user turnserver (done via fakeroot).

The utilities coturn provides are installed as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agobaresip: drop 002-fix-rem-include.patch 719/head
Sebastian Kemper [Wed, 8 Dec 2021 15:22:22 +0000 (16:22 +0100)]
baresip: drop 002-fix-rem-include.patch

Setting LIBREM_PATH allows dropping the patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #718 from micmac1/baresip110
Jiri Slachta [Wed, 8 Dec 2021 05:57:07 +0000 (06:57 +0100)]
Merge pull request #718 from micmac1/baresip110

baresip: bump to 1.1.0 (re to 2.0.1 and rem to 1.0.0)

2 years agobaresip: bump to 1.1.0 718/head
Sebastian Kemper [Mon, 6 Dec 2021 23:23:18 +0000 (00:23 +0100)]
baresip: bump to 1.1.0

- bump to version 1.1.0
- change to use AUTORELEASE
- drop rtcpsummary from baresip-mods as it is now part of the default
  modules
- update BARESIP_MOD_OPTIONS to allow for defining multiple variables
  per module (the new module ctrl-dbus requires both HAVE_GLIB and
  USE_DBUS)
- add new modules:
  - aac
  - amr (openamr still missing, but maybe amr passthrough becomes
    possible)
  - ausine
  - ctrl_dbus
  - ebuacip
  - gst
  - gst_video
  - httpreq
  - l16
  - mixausrc
  - mqtt
  - multicast
  - opus_multistream
  - serreg
  - snapshot
  - speex_pp
  - syslog
  - vidinfo
-updated 002-fix-rem-include.patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agorem: bump to 1.0.0
Sebastian Kemper [Mon, 6 Dec 2021 23:16:14 +0000 (00:16 +0100)]
rem: bump to 1.0.0

- bump to version 1.0.0
- change to use AUTORELEASE
- point to github instead of now-defunct www.creytiv.com

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agore: bump to 2.0.1
Sebastian Kemper [Mon, 6 Dec 2021 23:13:33 +0000 (00:13 +0100)]
re: bump to 2.0.1

- bump to version 2.0.1
- change to use AUTORELEASE
- add ABI_VERSION
- refresh patches

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #713 from micmac1/sngrep1410
micmac1 [Sun, 28 Nov 2021 17:48:05 +0000 (18:48 +0100)]
Merge pull request #713 from micmac1/sngrep1410

sngrep: bump to 1.4.10

2 years agoMerge pull request #712 from micmac1/srtp2.4
Jiri Slachta [Sun, 28 Nov 2021 17:39:41 +0000 (18:39 +0100)]
Merge pull request #712 from micmac1/srtp2.4

libsrtp: bump to 2.4.2

2 years agosngrep: bump to 1.4.10 713/head
Sebastian Kemper [Sun, 28 Nov 2021 17:23:15 +0000 (18:23 +0100)]
sngrep: bump to 1.4.10

- switch to $(AUTORELEASE)
- drop PKG_MIRROR_HASH (leftover from when a git checkout was used)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agortpproxy: add build fix 712/head
Sebastian Kemper [Sun, 28 Nov 2021 17:18:13 +0000 (18:18 +0100)]
rtpproxy: add build fix

- add upstream build fix related to libsrtp version bump
- switch to $(AUTORELEASE)
- refresh patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agolibsrtp: bump to 2.4.2
Sebastian Kemper [Sun, 28 Nov 2021 17:13:29 +0000 (18:13 +0100)]
libsrtp: bump to 2.4.2

- switch to $(AUTORELEASE)
- update upstream URL
- add ABI_VERSION
- drop patch that is included upstream

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #710 from micmac1/clean_PKG_CONFIG_DEPENDS
micmac1 [Tue, 9 Nov 2021 18:06:00 +0000 (19:06 +0100)]
Merge pull request #710 from micmac1/clean_PKG_CONFIG_DEPENDS

freeswitch + freetdm: clean pkg config depends

3 years agofreeswitch: clean PKG_CONFIG_DEPENDS 710/head
Sebastian Kemper [Tue, 9 Nov 2021 17:59:52 +0000 (18:59 +0100)]
freeswitch: clean PKG_CONFIG_DEPENDS

CONFIG_FS_WITH_MODCONF doesn't influence configure and doesn't belong
here.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agofreetdm: clean PKG_CONFIG_DEPENDS
Sebastian Kemper [Tue, 9 Nov 2021 17:58:42 +0000 (18:58 +0100)]
freetdm: clean PKG_CONFIG_DEPENDS

CONFIG_FS_WITH_MODCONF doesn't influence configure and doesn't belong
here.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #706 from micmac1/fs-small-fixes
micmac1 [Sun, 7 Nov 2021 21:46:08 +0000 (22:46 +0100)]
Merge pull request #706 from micmac1/fs-small-fixes

freeswitch + freetdm: small fixes

3 years agofreeswitch: add missing item to PKG_CONFIG_DEPENDS 706/head
Sebastian Kemper [Sun, 7 Nov 2021 19:26:25 +0000 (20:26 +0100)]
freeswitch: add missing item to PKG_CONFIG_DEPENDS

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agofreetdm: remove wrong InstallDev defines
Sebastian Kemper [Sun, 7 Nov 2021 19:23:58 +0000 (20:23 +0100)]
freetdm: remove wrong InstallDev defines

They currently don't work, but we don't need them anyway. This removes
them.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agofreetdm: fix PKG_CONFIG_DEPENDS
Sebastian Kemper [Sun, 7 Nov 2021 19:21:34 +0000 (20:21 +0100)]
freetdm: fix PKG_CONFIG_DEPENDS

One is missing and one is misspelled.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #705 from micmac1/python3-setup
micmac1 [Sun, 7 Nov 2021 10:03:30 +0000 (11:03 +0100)]
Merge pull request #705 from micmac1/python3-setup

freeswitch: build fix + patch update

3 years agoMerge pull request #702 from micmac1/ast-master-mods
micmac1 [Sat, 6 Nov 2021 11:38:40 +0000 (12:38 +0100)]
Merge pull request #702 from micmac1/ast-master-mods

asterisk: add missing modules + dependency

3 years agofreeswitch: update 480-fix-libyuv-dependency.patch 705/head
Sebastian Kemper [Sat, 6 Nov 2021 11:29:16 +0000 (12:29 +0100)]
freeswitch: update 480-fix-libyuv-dependency.patch

Update the patch with the version that actually was applied upstream. No
functional change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agofreeswitch: don't check for distutils
Sebastian Kemper [Sat, 6 Nov 2021 11:25:54 +0000 (12:25 +0100)]
freeswitch: don't check for distutils

We're not using distutils, so don't check for it. This fixes #704.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agofreeswitch: only include python3-version.mk
Sebastian Kemper [Sat, 6 Nov 2021 11:24:36 +0000 (12:24 +0100)]
freeswitch: only include python3-version.mk

We're just interested in the version, no need to include more than that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoasterisk: add missing modules + dependency 702/head
Sebastian Kemper [Thu, 4 Nov 2021 18:21:13 +0000 (19:21 +0100)]
asterisk: add missing modules + dependency

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #693 from dhewg/asterisk-opus
micmac1 [Wed, 3 Nov 2021 17:16:03 +0000 (18:16 +0100)]
Merge pull request #693 from dhewg/asterisk-opus

asterisk: add opus read and write support

3 years agoasterisk-opus: enable format_ogg_opus_open_source 693/head
Andre Heider [Fri, 21 May 2021 07:17:35 +0000 (09:17 +0200)]
asterisk-opus: enable format_ogg_opus_open_source

This enables reading and rewriting ogg/opus files.

Signed-off-by: Andre Heider <a.heider@gmail.com>
3 years agoasterisk-opus: update to git master as of 2021-11-01
Andre Heider [Mon, 18 Oct 2021 12:04:04 +0000 (14:04 +0200)]
asterisk-opus: update to git master as of 2021-11-01

Setting AST_MODULE_SELF_SYM is no longer required.

Update the Makefile patch for the new version, the functional changes are
the same except the added -Wall compiler flag.

Switch to AUTORELEASE while at it.

Signed-off-by: Andre Heider <a.heider@gmail.com>
3 years agoMerge pull request #699 from micmac1/kam552
micmac1 [Tue, 2 Nov 2021 21:14:51 +0000 (22:14 +0100)]
Merge pull request #699 from micmac1/kam552

kamailio: bump to 5.5.2

3 years agokamailio: bump to 5.5.2 699/head
Sebastian Kemper [Tue, 2 Nov 2021 18:45:10 +0000 (19:45 +0100)]
kamailio: bump to 5.5.2

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #698 from micmac1/fs1107
micmac1 [Sun, 31 Oct 2021 14:52:17 +0000 (15:52 +0100)]
Merge pull request #698 from micmac1/fs1107

freeswitch: bump to 1.10.7

3 years agofreeswitch: fix 230-mod_radius_cdr.patch 698/head
Sebastian Kemper [Sun, 31 Oct 2021 07:52:48 +0000 (08:52 +0100)]
freeswitch: fix 230-mod_radius_cdr.patch

This is a patch in a patch. It may happen that the patch was already
applied previously, so this amends the patch line to continue if the
patch doesn't apply. It also sets the direction to forward-only.

Also removes two trailing whitespace warnings.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agofreetdm: add package
Sebastian Kemper [Sat, 30 Oct 2021 21:08:36 +0000 (23:08 +0200)]
freetdm: add package

It was moved from the freeswitch source tree into its own package.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agofreeswitch: add python3 support
Sebastian Kemper [Sat, 30 Oct 2021 21:08:00 +0000 (23:08 +0200)]
freeswitch: add python3 support

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agofreeswitch: bump to 1.10.7
Sebastian Kemper [Sat, 30 Oct 2021 20:08:16 +0000 (22:08 +0200)]
freeswitch: bump to 1.10.7

- freetdm is now external
- added the freeswitch library to InstallDev in preparation for freetdm
  package
- add time64 change which always uses "lld" format and casts
- various fixes related to general build and time64 especially
- patches refreshed

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agosofia-sip: bump to 1.13.6
Sebastian Kemper [Sat, 30 Oct 2021 19:32:05 +0000 (21:32 +0200)]
sofia-sip: bump to 1.13.6

Required for freeswitch 1.10.7.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #695 from neheb/1
micmac1 [Sat, 23 Oct 2021 18:15:29 +0000 (20:15 +0200)]
Merge pull request #695 from neheb/1

rtpengine: update to 9.5.2.1