feed/telephony.git
3 years agoasterisk: add dependency to asterisk-chan-rtp 606/head
Sebastian Kemper [Fri, 15 Jan 2021 18:59:47 +0000 (19:59 +0100)]
asterisk: add dependency to asterisk-chan-rtp

This commit makes asterisk-chan-rtp depend on
asterisk-res-rtp-multicast. Without the res-rtp-multicast module
chan-rtp cannot be loaded:

OpenWrt*CLI> module load chan_rtp.so
Unable to load module chan_rtp.so
Command 'module load chan_rtp.so' failed.
[Jan  9 08:51:01] ERROR[16337]: loader.c:281 module_load_error: Error loading module 'chan_rtp.so': Error relocating /usr/lib/asterisk/modules/chan_rtp.so: ast_multicast_rtp_create_options: symbol not found

This issue was mentioned in the OpenWrt forum ([1]).

[1] https://forum.openwrt.org/t/asterisk-makes-a-problem-with-loading/84816

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoRevert "asterisk: link in libdl when linking to liblua"
Sebastian Kemper [Fri, 15 Jan 2021 18:51:02 +0000 (19:51 +0100)]
Revert "asterisk: link in libdl when linking to liblua"

This reverts commit 150b85ab350844f1481b9a9d49984b3e16cddd40.

OpenWrt upstream updated the lua package so that liblua now is linked
to libdl.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #605 from neheb/r
micmac1 [Fri, 15 Jan 2021 18:20:14 +0000 (19:20 +0100)]
Merge pull request #605 from neheb/r

rtpengine: fix compilation with newer pcap

3 years agortpengine: fix compilation with newer pcap 605/head
Rosen Penev [Mon, 4 Jan 2021 02:55:59 +0000 (18:55 -0800)]
rtpengine: fix compilation with newer pcap

Backport upstream patch fixing this issue.

Remove uClibc-ng patch as it's no longer in the tree.

Refresh patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoMerge pull request #604 from micmac1/ast-lua
Jiri Slachta [Sun, 3 Jan 2021 19:17:00 +0000 (20:17 +0100)]
Merge pull request #604 from micmac1/ast-lua

asterisk: link in libdl when linking to liblua

3 years agoasterisk: link in libdl when linking to liblua 604/head
Sebastian Kemper [Sun, 3 Jan 2021 17:20:02 +0000 (18:20 +0100)]
asterisk: link in libdl when linking to liblua

Currently building for archs target against glibc fails:

checking for mandatory modules:  CAP GSM ILBC LIBEDIT LIBXML2 LUA PJPROJECT SQLITE3 SRTP ZLIB... fail

configure: ***
configure: *** The LUA installation appears to be missing or broken.

Checking config.log reveals:

/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlopen'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlclose'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlerror'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlsym'

This commit adds "-ldl" to lua linker flags so compilation against glibc
works. This has no ill effect on musl where libdl is just an empty
library archive.

This is not something that should be sent upstream, as they maybe
support non-Linux platforms as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #599 from micmac1/dahto-fix-patch
micmac1 [Fri, 1 Jan 2021 22:05:15 +0000 (23:05 +0100)]
Merge pull request #599 from micmac1/dahto-fix-patch

dahdi-tools: remove broken patch, disable unused features

3 years agoMerge pull request #603 from neheb/f
micmac1 [Fri, 1 Jan 2021 22:03:01 +0000 (23:03 +0100)]
Merge pull request #603 from neheb/f

freeswitch: fix compilation with musl 1.2.0

3 years agofreeswitch: fix compilation with CentOS 7 603/head
Rosen Penev [Fri, 9 Oct 2020 09:26:49 +0000 (02:26 -0700)]
freeswitch: fix compilation with CentOS 7

Fix patch 230 as it's a patch of a patch with fuzz and wrong offsets.
It seems something on CentOS 7 doesn't like fuzz.

The AC_TRY_RUN section was removed as upstream added a check whether or
not cross compilation is being done, making it no/op.

Refresh other patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agodahdi-tools: remove broken patch, disable unused 599/head
Sebastian Kemper [Thu, 31 Dec 2020 11:20:04 +0000 (12:20 +0100)]
dahdi-tools: remove broken patch, disable unused

The patch "010-fix-non-glibc-builds.patch" is broken. The test for
HAVE_EXECINFO_H must happen after including "<autoconfig.h>".

Instead of fixing the patch this commit removes it. In lieu,
CONFIGURES_ARGS are added to the Makefile. These disable the building of
some tools that are not packaged anyway. Like this, "xpp/xtalk/debug.c"
is avoided, hence the patch becomes irrelevant.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #596 from micmac1/ast-AST03-04
Jiri Slachta [Sun, 27 Dec 2020 20:33:50 +0000 (21:33 +0100)]
Merge pull request #596 from micmac1/ast-AST03-04

asterisk: micro version bump to 18.1.1

3 years agoasterisk: add res_timing_timerfd to base package 596/head
Sebastian Kemper [Sun, 27 Dec 2020 15:35:26 +0000 (16:35 +0100)]
asterisk: add res_timing_timerfd to base package

This is a response to [1] and [2]. In short, since upstream commit
"channel.c: Resolve issue with receiving SIP INFO packets for DTMF" a
segmentation fault occurs during DTMF when no timing module is loaded.

This commit adds the timerfd timing module to the asterisk base package.
Other possibilities would have been res_timing_pthread and
res_timing_dahdi, but timerfd is the obvious choice because it's
efficient and OpenWrt offers the required kernel support (see [3] for
more details).

Note: even without any timing module the segmentation fault should not
occur according to upstream. Upstream is still working on that. But in
general it makes sense to have a timing module available (loaded) and
the module is tiny anyway.

[1] https://github.com/openwrt/telephony/issues/597
[2] https://issues.asterisk.org/jira/browse/ASTERISK-28800
[3] https://wiki.asterisk.org/wiki/display/AST/Timing+Interfaces

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #580 from neheb/frees
micmac1 [Sat, 26 Dec 2020 11:24:35 +0000 (12:24 +0100)]
Merge pull request #580 from neheb/frees

freeswitch: fix compilation with musl 1.2.0

3 years agoMerge pull request #577 from micmac1/dah-310
micmac1 [Sat, 26 Dec 2020 10:48:17 +0000 (11:48 +0100)]
Merge pull request #577 from micmac1/dah-310

dahdi: bump and cleanups

3 years agoasterisk: micro version bump to 18.1.1
Sebastian Kemper [Wed, 23 Dec 2020 17:16:28 +0000 (18:16 +0100)]
asterisk: micro version bump to 18.1.1

This addresses CVE-2020-35652 as described in:

https://downloads.asterisk.org/pub/security/AST-2020-003.html
https://downloads.asterisk.org/pub/security/AST-2020-004.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #593 from micmac1/kam-up542
Jiri Slachta [Wed, 23 Dec 2020 17:01:13 +0000 (18:01 +0100)]
Merge pull request #593 from micmac1/kam-up542

kamailio: minor bump + drop 5.x suffix

3 years agoMerge pull request #595 from dkgroot/master
Jiri Slachta [Wed, 23 Dec 2020 16:44:57 +0000 (17:44 +0100)]
Merge pull request #595 from dkgroot/master

asterisk-chan-sccp: update to v4.3.3 release

3 years agoasterisk-chan-sccp: Update to v4.3.3 release 595/head
Diederik de Groot [Sat, 19 Dec 2020 12:35:19 +0000 (13:35 +0100)]
asterisk-chan-sccp: Update to v4.3.3 release
update PKG_MIRROR_HASH

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
4 years agoMerge pull request #594 from micmac1/rtpe8527
micmac1 [Thu, 17 Dec 2020 18:53:52 +0000 (19:53 +0100)]
Merge pull request #594 from micmac1/rtpe8527

rtpengine: minor bump to mr8.5.2.7

4 years agortpengine: minor bump to mr8.5.2.7 594/head
Sebastian Kemper [Sun, 13 Dec 2020 15:34:43 +0000 (16:34 +0100)]
rtpengine: minor bump to mr8.5.2.7

05-support-kernels-greater-equal-5.9.9.patch removed as included in tar
ball.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agokamailio: minor bump + drop 5.x suffix 593/head
Sebastian Kemper [Sat, 12 Dec 2020 22:55:34 +0000 (23:55 +0100)]
kamailio: minor bump + drop 5.x suffix

Bumps kamailio to version 5.4.2 and removes the suffix, as there is only
one kamailio version at a time anyway.

Also:

 - Replaces a few $(PKG_NAME) uses with simply "kamailio"
 - Drops the use of variable PKG_VARIANT (was not set anyway)
 - Drops 160-openssl-deprecated.patch (upstream first accepted the
   patch, then dropped it again after crashes were reported, see [1])

[1] https://github.com/kamailio/kamailio/issues/2466

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #592 from micmac1/kam-build-fixes
Jiri Slachta [Mon, 7 Dec 2020 08:34:48 +0000 (09:34 +0100)]
Merge pull request #592 from micmac1/kam-build-fixes

kamailio-5.x: build fixes

4 years agokamailio-5.x: fix build for new MIPS 4kec target 592/head
Sebastian Kemper [Sat, 5 Dec 2020 11:42:20 +0000 (12:42 +0100)]
kamailio-5.x: fix build for new MIPS 4kec target

Recently support for target rtl838x was added to OpenWrt. It uses 4kec,
which is MIPS32. The Kamailio build system doesn't detect this and
treats it as MIPS I, adding -march=r3000 to the flags, which clashes
with -mips32r2.

mips-openwrt-linux-musl-gcc -mfp32 -march=r3000 -ftree-vectorize -fno-strict-overflow -pthread -DKSR_PTHREAD_MUTEX_SHARED -Wall -Os -pipe -mno-branch-likely -mips32r2 -mtune=4kec -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libiconv-stub/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libintl-stub/include -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/kamailio5-5.4.0=kamailio5-5.4.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DVERSION_NODATE=1 -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-8.4.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-8.4.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-8.4.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libiconv-stub/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libintl-stub/include   -DNAME='"kamailio"' -DVERSION='"5.4.0"' -DARCH='"mips"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"mips-openwrt-linux-musl-gcc 8.4.0"' -D__CPU_mips -D__OS_linux -DVERSIONVAL=5004000 -DCFG_DIR='"/etc/kamailio"' -DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DUSE_SCTP -DMIPS_HAS_LLSC -DNOSMP -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DUSE_PTHREAD_MUTEX -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  -DMODS_DIR='"/usr/lib/kamailio/modules"' -c main.c -o main.o -MMD -MP
cc1: error: '-mips32r2' conflicts with the other architecture options, which specify a mips1 processor
Assembler messages:
Error: -mips32r2 conflicts with the other architecture options, which imply -mips1
Makefile.rules:100: recipe for target 'main.o' failed
make[5]: *** [main.o] Error 1

This commit fixes this by forcing ARCH to mips2 for 4kec CPUs as well
(Kamailio only differentiates between mips, mips2 and mips64).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agokamailio-5.x: fix erlang build
Sebastian Kemper [Sat, 5 Dec 2020 11:37:01 +0000 (12:37 +0100)]
kamailio-5.x: fix erlang build

The Erlang module build checks for libs and includes using the erl tool.
This is a hostpkg tool providing paths into the staging/hostpkg.
Of course this fails:

arc-openwrt-linux-uclibc-gcc -shared  -Wl,-O2 -Wl,-E  -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-8.4.0_uClibc/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-8.4.0_uClibc/lib -L/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libiconv-stub/lib -Wl,-rpath-link=/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libiconv-stub/lib -L/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libintl-stub/lib -Wl,-rpath-link=/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libintl-stub/lib -znow -zrelro -pthread -rdynamic "-ldl" -Wl,-Bsymbolic-functions handle_emsg.o pv_xbuff.o cnode.o erl_api.o epmd.o erl_helpers.o pv_ref.o pv_pid.o pv_atom.o worker.o handle_rpc.o pv_list.o pv_tuple.o erlang_mod.o  -L/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/erlang/lib/erl_interface-4.0/lib -lei -lpthread   -o erlang.so
/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-8.4.0_uClibc/bin/../lib/gcc/arc-openwrt-linux-uclibc/8.4.0/../../../../arc-openwrt-linux-uclibc/bin/ld: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/erlang/lib/erl_interface-4.0/lib/libei.a: error adding symbols: file format not recognized
collect2: error: ld returned 1 exit status
../../Makefile.rules:191: recipe for target 'erlang.so' failed
make[6]: *** [erlang.so] Error 1

This patch prevents this by relying on the standard paths, where Erlang
resides in OpenWrt.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #578 from micmac1/osip512
Jiri Slachta [Sun, 29 Nov 2020 22:38:30 +0000 (23:38 +0100)]
Merge pull request #578 from micmac1/osip512

libosip2: minor version bump

4 years agoMerge pull request #586 from micmac1/ast18
Jiri Slachta [Sun, 29 Nov 2020 07:03:23 +0000 (08:03 +0100)]
Merge pull request #586 from micmac1/ast18

asterisk: add Asterisk 18 LTS

4 years agoMerge pull request #582 from neheb/miax
Jiri Slachta [Mon, 23 Nov 2020 21:02:10 +0000 (22:02 +0100)]
Merge pull request #582 from neheb/miax

miax: fix compilation errors under uClibc-ng and musl

4 years agoMerge pull request #579 from micmac1/srtp-clean-bump
Jiri Slachta [Mon, 23 Nov 2020 20:49:52 +0000 (21:49 +0100)]
Merge pull request #579 from micmac1/srtp-clean-bump

libsrtp(2): cleanup and bump

4 years agoMerge pull request #591 from micmac1/rtpe-kern2
micmac1 [Mon, 23 Nov 2020 18:14:12 +0000 (19:14 +0100)]
Merge pull request #591 from micmac1/rtpe-kern2

rtpengine: bump to 8.5.2.3 + add build fix

4 years agortpengine: bump to 8.5.2.3 + add build fix 591/head
Sebastian Kemper [Mon, 23 Nov 2020 17:39:31 +0000 (18:39 +0100)]
rtpengine: bump to 8.5.2.3 + add build fix

Patch from upstream fixes builds on recent kernels.

Closes #590

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoasterisk: bump to 18.1.0 586/head
Sebastian Kemper [Fri, 6 Nov 2020 18:05:34 +0000 (19:05 +0100)]
asterisk: bump to 18.1.0

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoasterisk-chan-lantiq: update for Asterisk 18 LTS
Sebastian Kemper [Sun, 1 Nov 2020 10:59:01 +0000 (11:59 +0100)]
asterisk-chan-lantiq: update for Asterisk 18 LTS

Also use PKG_SOURCE_DATE now to proper things up. And use INSTALL_DATA
for the configuration file.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoasterisk-chan-sccp: update for Asterisk 18 LTS
Sebastian Kemper [Sun, 1 Nov 2020 10:58:03 +0000 (11:58 +0100)]
asterisk-chan-sccp: update for Asterisk 18 LTS

- Bump commit as upstream recently added some bits to support Asterisk 18.
- Switch to INSTALL_DATA for configuration file.
- Remove VARIANT-related bits as we only have one Asterisk version.
- Remove dep on app_voicemail as chan-sccp has no hard dependency on it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoasterisk-chan-dongle: update for Asterisk 18 LTS
Sebastian Kemper [Sun, 1 Nov 2020 10:57:27 +0000 (11:57 +0100)]
asterisk-chan-dongle: update for Asterisk 18 LTS

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoasterisk-g72x: update for Asterisk 18 LTS
Sebastian Kemper [Sun, 1 Nov 2020 10:56:43 +0000 (11:56 +0100)]
asterisk-g72x: update for Asterisk 18 LTS

Removes VARIANT-related bits as we only have one Asterisk version.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoasterisk-opus: update for Asterisk 18 LTS
Sebastian Kemper [Sun, 1 Nov 2020 10:56:02 +0000 (11:56 +0100)]
asterisk-opus: update for Asterisk 18 LTS

Removes VARIANT-related bits as we only have one Asterisk version.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoasterisk: upgrade to Asterisk 18 LTS
Sebastian Kemper [Sun, 1 Nov 2020 08:37:44 +0000 (09:37 +0100)]
asterisk: upgrade to Asterisk 18 LTS

- Bump to new LTS release.
- Move to folder asterisk and remove AST_MAJOR_VERSION variable, as we
  only have one version anyway.
- Add new modules.
- Rename voicemail to app-voicemail.
- Remove deps of voicemail on res-adsi and res-smdi as they are
  optional.
- Use INSTALL_DATA for headers.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #576 from micmac1/bsip-1.0.0
Jiri Slachta [Fri, 30 Oct 2020 00:00:07 +0000 (01:00 +0100)]
Merge pull request #576 from micmac1/bsip-1.0.0

re+baresip: bump to 1.0.0

4 years agoMerge pull request #558 from neheb/kama
Jiri Slachta [Thu, 29 Oct 2020 23:58:47 +0000 (00:58 +0100)]
Merge pull request #558 from neheb/kama

kamailio-5.x: fix compilation without deprecated OpenSSL APIs

4 years agoMerge pull request #585 from micmac1/rtpe8.5.2
micmac1 [Sun, 25 Oct 2020 08:35:04 +0000 (09:35 +0100)]
Merge pull request #585 from micmac1/rtpe8.5.2

rtpengine: bump to 8.5.2.1 LTS

4 years agortpengine: bump to 8.5.2.1 LTS 585/head
Sebastian Kemper [Sat, 24 Oct 2020 10:15:27 +0000 (12:15 +0200)]
rtpengine: bump to 8.5.2.1 LTS

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #581 from neheb/pri
Daniel Golle [Sat, 17 Oct 2020 13:18:30 +0000 (14:18 +0100)]
Merge pull request #581 from neheb/pri

libpri: remove Werror

4 years agoMerge pull request #584 from micmac1/sipp361
micmac1 [Sat, 17 Oct 2020 12:07:18 +0000 (14:07 +0200)]
Merge pull request #584 from micmac1/sipp361

sipp: bump to 3.6.1

4 years agosipp: bump to 3.6.1 584/head
Sebastian Kemper [Mon, 12 Oct 2020 07:49:52 +0000 (09:49 +0200)]
sipp: bump to 3.6.1

Upstream dropped autotools support, so this converts the build to use
cmake. Adds a simple include fix as well as a fix for older c++
compilers (the latter is a patch from upstream).

Support for pcaps is now also compiled in, to follow what upstream
considers a "common" build.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agofreeswitch: fix compilation with musl 1.2.0 580/head
Rosen Penev [Fri, 9 Oct 2020 09:26:49 +0000 (02:26 -0700)]
freeswitch: fix compilation with musl 1.2.0

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agomiax: fix compilation errors under uClibc-ng and musl 582/head
Rosen Penev [Sun, 30 Aug 2020 21:02:54 +0000 (14:02 -0700)]
miax: fix compilation errors under uClibc-ng and musl

usleep is deprecated. So are bcopy and bzero.

Added extra needed headers.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agolibpri: remove Werror 581/head
Rosen Penev [Sun, 30 Aug 2020 21:04:32 +0000 (14:04 -0700)]
libpri: remove Werror

Fixes compilation under musl 1.2.x where time_t is 64-bit.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agorestund: remove postinst script 576/head
Sebastian Kemper [Sun, 4 Oct 2020 13:44:43 +0000 (15:44 +0200)]
restund: remove postinst script

There are no secrets in /etc/restund.conf. Remove the postinstall script
and install the file with regular permissions.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agobaresip: use FILE_MODES instead of postinst
Sebastian Kemper [Sun, 4 Oct 2020 13:23:05 +0000 (15:23 +0200)]
baresip: use FILE_MODES instead of postinst

We can now set permissions directly thanks to OpenWrt having added
fakeroot support.. This also changes the permissions of /etc/baresip so
that baresip can write to this directory. For instance it wants to write
the file /etc/baresip/current_contact for which it needs the appropriate
permissions (baresip is started by user baresip).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agolibsrtp2: move folder, bump to 2.3.0 579/head
Sebastian Kemper [Sat, 3 Oct 2020 16:58:03 +0000 (18:58 +0200)]
libsrtp2: move folder, bump to 2.3.0

Bump to upstream release 2.3.0. Move folder and change PKG_NAME so that
we don't have to deal with how github names the tar.gz archive.

Also, don't install the libsrtp2.so symlink anymore on target, as it is
not required and only used in staging.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agolibsrtp: remove
Sebastian Kemper [Sat, 3 Oct 2020 16:54:29 +0000 (18:54 +0200)]
libsrtp: remove

Nothing in this repo nor in packages depends on libsrtp anymore. This
removes it from the tree.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agosiproxd: rev bump 578/head
Sebastian Kemper [Sat, 3 Oct 2020 16:52:11 +0000 (18:52 +0200)]
siproxd: rev bump

Increases revision due to SONAME bump of libosip2.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agolibosip2: bump to 5.1.2
Sebastian Kemper [Sat, 3 Oct 2020 16:51:01 +0000 (18:51 +0200)]
libosip2: bump to 5.1.2

This also removes two configure args that are no longer available.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agodahdi-tools: bump to 3.1.0 577/head
Sebastian Kemper [Sat, 3 Oct 2020 16:48:17 +0000 (18:48 +0200)]
dahdi-tools: bump to 3.1.0

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agodahdi-linux: clean up deps, remove unused var
Sebastian Kemper [Sat, 3 Oct 2020 16:46:08 +0000 (18:46 +0200)]
dahdi-linux: clean up deps, remove unused var

The kernel versions are no longer supported by OpenWrt. And the variable
is never used.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agobaresip: bump to 1.0.0
Sebastian Kemper [Sat, 3 Oct 2020 08:40:04 +0000 (10:40 +0200)]
baresip: bump to 1.0.0

- remove 010-openssl-deprecated.patch as upstream seems to have fixed
  the issue
- upstream closed down the server http://www.creytiv.com/ so this
  changes URLs
- dtmfio module removed upstream
- always set DESTDIR so that PREFIX is /usr instead of /usr/local
- update 002-fix-rem-include.patch and remove LIBREM_PATH usage
  altogether as it only adds broken include paths which aren't useful in
  the end anyway

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agore: bump to 1.0.0
Sebastian Kemper [Sat, 3 Oct 2020 08:32:29 +0000 (10:32 +0200)]
re: bump to 1.0.0

- remove 010-openssl-deprecated.patch as it does not apply anymore and
  upstream seems to have fixed the issue
- upstream closed down the server http://www.creytiv.com/ so this
  changes URLs

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #575 from guidosarducci/master-add-siproxd-max-clients
Jiri Slachta [Wed, 23 Sep 2020 09:31:04 +0000 (11:31 +0200)]
Merge pull request #575 from guidosarducci/master-add-siproxd-max-clients

siproxd: add max clients configuration and default

4 years agosiproxd: add max clients configuration and default 575/head
Tony Ambardar [Mon, 21 Sep 2020 14:01:28 +0000 (07:01 -0700)]
siproxd: add max clients configuration and default

Add a configuration option SIPROXD_MAX_CLIENTS used for compile-time sizing
of the maximum supported proxy clients. Set this to a default value of 32,
which is more suitable for a small network or CPE router and uses much
less memory than the upstream value of 512 (e.g. RSS of 2 MB vs 17 MB).

Drop the following patch in favour of the new config option:

  * 005-reduce-rtpproxy-urlmap-size.patch

Also fix an incorrect configure option, and silence many warnings due to
unused VCS 'ident' variables in the sources.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
4 years agoMerge pull request #572 from micmac1/span3xml2
micmac1 [Sun, 20 Sep 2020 18:19:17 +0000 (20:19 +0200)]
Merge pull request #572 from micmac1/span3xml2

spandsp3: prevent host include search paths

4 years agospandsp3: prevent host include search paths 572/head
Sebastian Kemper [Sun, 20 Sep 2020 11:40:56 +0000 (13:40 +0200)]
spandsp3: prevent host include search paths

Note the host include path for libxml2 below. This shouldn't cause an
issue because libxml2 is never used. But better safe than sorry as the
configure script probes other host include paths as well.

/bin/sh ../libtool  --tag=CC   --mode=compile ccache_cc -DHAVE_CONFIG_H -I.  -I.. -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-10.2.0_musl/usr/include -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-10.2.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-10.2.0_musl/include  -I/usr/include/libxml2 -DNDEBUG -Wunused-but-set-variable -std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -DHAVE_VISIBILITY=1  -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/openwrt/build_dir/target-mips_24kc_musl/spandsp3-2020-08-14-6ec23e5a=spandsp3-2020-08-14-6ec23e5a -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro   -MT dds_float.lo -MD -MP -MF .deps/dds_float.Tpo -c -o dds_float.lo dds_float.c

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #566 from dhewg/ast
Jiri Slachta [Thu, 17 Sep 2020 18:16:40 +0000 (20:16 +0200)]
Merge pull request #566 from dhewg/ast

asterisk-16.x: bump to 16.13.0

4 years agoMerge pull request #571 from micmac1/fs_rm_spandsp_patch
micmac1 [Sat, 12 Sep 2020 08:36:54 +0000 (10:36 +0200)]
Merge pull request #571 from micmac1/fs_rm_spandsp_patch

freeswitch: remove leftover patch

4 years agofreeswitch: remove leftover patch 571/head
Sebastian Kemper [Sat, 12 Sep 2020 08:29:39 +0000 (10:29 +0200)]
freeswitch: remove leftover patch

This patch was used in 1.10.4 but now it's not used anymore because the
external spandsp3 package is used. Drop the file.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #569 from micmac1/fs_cleanups
micmac1 [Tue, 8 Sep 2020 21:03:56 +0000 (23:03 +0200)]
Merge pull request #569 from micmac1/fs_cleanups

freeswitch: cleanups

4 years agofreeswitch: revisit build setup 569/head
Sebastian Kemper [Tue, 8 Sep 2020 17:35:32 +0000 (19:35 +0200)]
freeswitch: revisit build setup

1. Upstream fixed the parallel build issue in
   90ea0b7a1fdd7d8c5adaac87d74ed1c3c74086d0, so no need to force it off
   anymore.

2. The same sed script for uncommenting modules in modules.conf is used
   multiple times. This commit puts the script into a define that can be
   reused.

3. Some ifdefs removed. They only clutter up the Makefile. The sed
   script can run a few extra times, it does not matter.

4. Add a few extra dependencies that came to light.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agofreeswitch: add mod_rayo gcc 10 upstream fix
Sebastian Kemper [Tue, 8 Sep 2020 17:26:42 +0000 (19:26 +0200)]
freeswitch: add mod_rayo gcc 10 upstream fix

This removes the current workaround and replaces it with upstream fix.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #568 from micmac1/rtpe-bump
micmac1 [Tue, 8 Sep 2020 10:25:19 +0000 (12:25 +0200)]
Merge pull request #568 from micmac1/rtpe-bump

rtpengine: bump to 8.5.1.2, disable parallel build

4 years agortpengine: bump to 8.5.1.2, disable parallel build 568/head
Sebastian Kemper [Mon, 7 Sep 2020 09:23:10 +0000 (11:23 +0200)]
rtpengine: bump to 8.5.1.2, disable parallel build

Minor version bump. This also partially reverts
7e7ab06ccda2befbd517a1b974da44fd6643f72e by disabling parallel builds,
as there are sporadic build failures again

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #567 from guidosarducci/master-update-siproxd-0.8.3
Jiri Slachta [Sun, 6 Sep 2020 19:58:44 +0000 (21:58 +0200)]
Merge pull request #567 from guidosarducci/master-update-siproxd-0.8.3

siproxd: update to version 0.8.3, improve logging and memory usage

4 years agoMerge pull request #564 from micmac1/fs1105
micmac1 [Sun, 6 Sep 2020 09:53:29 +0000 (11:53 +0200)]
Merge pull request #564 from micmac1/fs1105

freeswitch + sofia-sip: version bumps

4 years agoMerge pull request #555 from neheb/ks
micmac1 [Sun, 6 Sep 2020 09:47:31 +0000 (11:47 +0200)]
Merge pull request #555 from neheb/ks

libks: fix compilation without deprecated OpenSSL APIs

4 years agosiproxd: update to version 0.8.3, improve logging and memory usage 567/head
Tony Ambardar [Sun, 30 Aug 2020 06:21:35 +0000 (23:21 -0700)]
siproxd: update to version 0.8.3, improve logging and memory usage

This release includes bug fixes and improvements accumulated over the last
4 years of development snapshots [1].

Bump upstream version, build new plugins 'stats' and 'blacklist', and add
an 'sqlite3' package dependency for siproxd-mod-blacklist.

Disable procd capturing stderr to syslog, since siproxd in 'foreground'
mode writes both to syslog and stderr, duplicating log messages.

Include a patch to drastically reduce memory usage (RSS from 17MB to 5MB
on ipq40xx platform):

  * 005-reduce-rtpproxy-urlmap-size.patch

Drop the following patches now included upstream:

  * 010-syslog-msg.patch
  * 020-gcc10.patch
  * 100-musl-compat.patch

[1] http://siproxd.sourceforge.net/index.php?op=changelog.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
4 years agoasterisk-16.x: bump to 16.13.0 566/head
Andre Heider [Fri, 4 Sep 2020 07:09:35 +0000 (09:09 +0200)]
asterisk-16.x: bump to 16.13.0

Signed-off-by: Andre Heider <a.heider@gmail.com>
4 years agopjproject: bump to version 2.10
Andre Heider [Fri, 4 Sep 2020 06:07:30 +0000 (08:07 +0200)]
pjproject: bump to version 2.10

Sync with asterisk v16.13.0:
* update to v2.10
* update config_site.h settings
* sync patches

Signed-off-by: Andre Heider <a.heider@gmail.com>
4 years agofreeswitch: version bump to 1.10.5 564/head
Sebastian Kemper [Thu, 3 Sep 2020 17:50:25 +0000 (19:50 +0200)]
freeswitch: version bump to 1.10.5

This now uses the external spandsp3 package.

Patches:

 - 390-t38-reinvite-488-fix.patch removed (finally upstreamed)
 - 340-mod-spandsp-fix-typo.patch and 350-gsmopen-spandsp-fixup.patch
   added (both accepted into upstream master already)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agosofia-sip: version bump
Sebastian Kemper [Thu, 3 Sep 2020 17:45:10 +0000 (19:45 +0200)]
sofia-sip: version bump

Includes fix that buildroot submitted upstream.

This introduces a variable to make following upstream versions a bit
easier.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #563 from micmac1/spandsp3
micmac1 [Thu, 3 Sep 2020 17:41:03 +0000 (19:41 +0200)]
Merge pull request #563 from micmac1/spandsp3

spandsp3: new package

4 years agoMerge pull request #562 from micmac1/fs-misc
micmac1 [Tue, 1 Sep 2020 17:20:13 +0000 (19:20 +0200)]
Merge pull request #562 from micmac1/fs-misc

freeswitch: small fixes

4 years agospandsp3: new package 563/head
Sebastian Kemper [Wed, 19 Aug 2020 19:43:23 +0000 (21:43 +0200)]
spandsp3: new package

This commit adds an updated spandsp library. This is not a drop-in
replacement for the "old" spandsp library. Applications that want to use
it need to be updated a bit, according to upstream info [1].

In an effort to not cause any problems for OpenWrt, this package
installs the library and headers in the staging directory into
non-standard paths:

Library: $(STAGING_DIR/usr/lib/spandsp3/lib
Headers: $(STAGING_DIR/usr/lib/spandsp3/include

This way they are hidden aways from all normal users (like asterisk,
baresip etc.) and won't interfere.

To use the new spandsp library users can look for the spandsp3
pkg-config file (the regular spandsp installs spandsp.pc, this package
installs spandsp3.pc). This should be enough. The first such user will
likely be the freeswitch package, once it gets updated to 1.10.5.

[1] https://github.com/freeswitch/spandsp/issues/5

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agofreeswitch: make pkg-config file usable 562/head
Sebastian Kemper [Sat, 15 Aug 2020 10:30:27 +0000 (12:30 +0200)]
freeswitch: make pkg-config file usable

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agofreeswitch: fix shadow dep
Sebastian Kemper [Sat, 15 Aug 2020 10:29:40 +0000 (12:29 +0200)]
freeswitch: fix shadow dep

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #559 from micmac1/fs1104
micmac1 [Mon, 10 Aug 2020 20:58:07 +0000 (22:58 +0200)]
Merge pull request #559 from micmac1/fs1104

freeswitch: bump to 1.10.4

4 years agoMerge pull request #560 from neheb/rtpe
micmac1 [Sat, 8 Aug 2020 14:22:58 +0000 (16:22 +0200)]
Merge pull request #560 from neheb/rtpe

rtpengine: fix compilation without deprecated OpenSSL APIs

4 years agofreeswitch: bump to 1.10.4 559/head
Sebastian Kemper [Fri, 7 Aug 2020 19:27:36 +0000 (21:27 +0200)]
freeswitch:  bump to 1.10.4

Upstream split out spandsp as well. But their spandsp "fork" may not be
a drop-in replacement for the regular spandsp. For now we keep it built
into freeswitch via patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agortpengine: fix compilation without deprecated OpenSSL APIs 560/head
Rosen Penev [Wed, 5 Aug 2020 21:19:12 +0000 (14:19 -0700)]
rtpengine: fix compilation without deprecated OpenSSL APIs

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agoMerge pull request #553 from micmac1/dah-to-gcc10
micmac1 [Fri, 7 Aug 2020 19:06:53 +0000 (21:06 +0200)]
Merge pull request #553 from micmac1/dah-to-gcc10

dahdi-tools: add -fcommon workaround for gcc10

4 years agoMerge pull request #554 from micmac1/rtpengine-lts
micmac1 [Fri, 7 Aug 2020 19:06:17 +0000 (21:06 +0200)]
Merge pull request #554 from micmac1/rtpengine-lts

rtpengine: update to LTS version

4 years agosofia-sip: new package
Sebastian Kemper [Fri, 7 Aug 2020 18:57:45 +0000 (20:57 +0200)]
sofia-sip: new package

FreeSWITCH 1.10.4 split out the sofia-sip library. So here's it's added
as a separate package.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agokamailio-5.x: fix compilation without deprecated OpenSSL APIs 558/head
Rosen Penev [Wed, 5 Aug 2020 21:11:40 +0000 (14:11 -0700)]
kamailio-5.x: fix compilation without deprecated OpenSSL APIs

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agoMerge pull request #557 from neheb/bare
Jiri Slachta [Thu, 6 Aug 2020 14:21:24 +0000 (16:21 +0200)]
Merge pull request #557 from neheb/bare

baresip: fix compilation without deprecated OpenSSL APIs

4 years agoMerge pull request #556 from neheb/re
Jiri Slachta [Thu, 6 Aug 2020 14:19:15 +0000 (16:19 +0200)]
Merge pull request #556 from neheb/re

re: fix compilation without deprecated OpenSSL APIs

4 years agoMerge pull request #549 from micmac1/kam54
Jiri Slachta [Thu, 6 Aug 2020 14:18:13 +0000 (16:18 +0200)]
Merge pull request #549 from micmac1/kam54

kamailio-5.x: bump to 5.4.0

4 years agobaresip: fix compilation without deprecated OpenSSL APIs 557/head
Rosen Penev [Wed, 5 Aug 2020 21:24:33 +0000 (14:24 -0700)]
baresip: fix compilation without deprecated OpenSSL APIs

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agore: fix compilation without deprecated OpenSSL APIs 556/head
Rosen Penev [Wed, 5 Aug 2020 21:25:36 +0000 (14:25 -0700)]
re: fix compilation without deprecated OpenSSL APIs

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agolibks: fix compilation without deprecated OpenSSL APIs 555/head
Rosen Penev [Wed, 5 Aug 2020 21:26:58 +0000 (14:26 -0700)]
libks: fix compilation without deprecated OpenSSL APIs

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agortpengine: update to LTS version 554/head
Sebastian Kemper [Sun, 2 Aug 2020 11:40:29 +0000 (13:40 +0200)]
rtpengine: update to LTS version

Upstreamed patch removed. Build workaround removed as fixed upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #552 from micmac1/fs-jpeg
micmac1 [Sun, 2 Aug 2020 10:43:14 +0000 (12:43 +0200)]
Merge pull request #552 from micmac1/fs-jpeg

freeswitch: update libjpeg deps

4 years agoMerge pull request #551 from neheb/patch-1
micmac1 [Sun, 2 Aug 2020 10:42:45 +0000 (12:42 +0200)]
Merge pull request #551 from neheb/patch-1

rtpengine: add nls.mk

4 years agodahdi-tools: add -fcommon workaround for gcc10 553/head
Sebastian Kemper [Sun, 2 Aug 2020 10:28:09 +0000 (12:28 +0200)]
dahdi-tools: add -fcommon workaround for gcc10

This works around the build failure with gcc-10 until there is a patch
for dahdi-tools that is reviewed and acknowledged by upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>