feed/telephony.git
3 months agoMerge pull request #853 from micmac1/rtpe-10.5.6.3-22.03 openwrt-22.03
micmac1 [Sat, 6 Jan 2024 09:44:16 +0000 (10:44 +0100)]
Merge pull request #853 from micmac1/rtpe-10.5.6.3-22.03

[22.03] rtpengine: security bump to 9.5.8.2

3 months agoMerge pull request #851 from micmac1/22.03-ast-18.20.2
micmac1 [Sat, 6 Jan 2024 09:41:22 +0000 (10:41 +0100)]
Merge pull request #851 from micmac1/22.03-ast-18.20.2

[22.03] asterisk: security bump to 18.20.2

3 months agortpengine: bump to 9.5.8.2 853/head
Sebastian Kemper [Sat, 6 Jan 2024 09:37:30 +0000 (10:37 +0100)]
rtpengine: bump to 9.5.8.2

Fixes "RTPEngine susceptible to Denial of Service via DTLS Hello packets
during call initiation", see [1].

[1] https://www.openwall.com/lists/oss-security/2023/12/15/8

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 months agoasterisk: bump to 18.20.2 851/head
Sebastian Kemper [Fri, 5 Jan 2024 22:34:56 +0000 (23:34 +0100)]
asterisk: bump to 18.20.2

- Resolves GHSA-98rc-4j27-74hh, GHSA-hxj9-xwr8-w8pq, GHSA-5743-x3p5-3rg7
  and GHSA-8857-hfmw-vg8f
- patches refreshed
- patch 180-app_queue_time_t.patch added to fix new warnings
- 180-chan_iax2.c-Avoid-crash-with-IAX2-switch-support.patch removed as
  it's included in upstream release tar ball.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 months agopjproject: sync patches with asterisk 18.20.2
Sebastian Kemper [Fri, 29 Dec 2023 08:01:10 +0000 (09:01 +0100)]
pjproject: sync patches with asterisk 18.20.2

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

3 months agopjproject: Add PKG_CPE_ID
Andreas Gnau [Wed, 30 Aug 2023 16:36:14 +0000 (18:36 +0200)]
pjproject: Add PKG_CPE_ID

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
(cherry picked from commit 2b3ae318e46bd92b6bbf751f2340d37be87d3065)

4 months agoMerge pull request #846 from micmac1/fs-1.10.11-22.03
micmac1 [Sun, 24 Dec 2023 13:44:30 +0000 (14:44 +0100)]
Merge pull request #846 from micmac1/fs-1.10.11-22.03

[22.03] freeswitch: bump to 1.10.11

4 months agofreeswitch: bump to 1.10.11 846/head
Sebastian Kemper [Sat, 23 Dec 2023 22:40:37 +0000 (23:40 +0100)]
freeswitch: bump to 1.10.11

See [1].

[1] https://github.com/signalwire/freeswitch/security/advisories/GHSA-39gv-hq72-j6m6

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

4 months agosofia-sip: bump to 1.13.17
Sebastian Kemper [Sat, 23 Dec 2023 22:38:30 +0000 (23:38 +0100)]
sofia-sip: bump to 1.13.17

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

6 months agoMerge pull request #833 from micmac1/fs-vpx-CVE-2023-5217-CVE-2023-44488-22
micmac1 [Sat, 7 Oct 2023 08:13:05 +0000 (10:13 +0200)]
Merge pull request #833 from micmac1/fs-vpx-CVE-2023-5217-CVE-2023-44488-22

[22.03] freeswitch: add patches for CVEs in bundled libvpx

6 months agofreeswitch: add patches for CVEs in bundled libvpx 833/head
Sebastian Kemper [Wed, 4 Oct 2023 17:26:07 +0000 (19:26 +0200)]
freeswitch: add patches for CVEs in bundled libvpx

CVE-2023-5217
CVE-2023-44488

Patches are for bundled libvpx, see [1].

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

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

8 months agoMerge pull request #828 from micmac1/fs-1.10.10-22.03
micmac1 [Fri, 25 Aug 2023 17:32:33 +0000 (19:32 +0200)]
Merge pull request #828 from micmac1/fs-1.10.10-22.03

[22.03] freeswitch: bump to 1.10.10

8 months agofreeswitch: bump to 1.10.10 828/head
Sebastian Kemper [Fri, 18 Aug 2023 12:23:53 +0000 (14:23 +0200)]
freeswitch: bump to 1.10.10

- bump to 1.10.10
- remove TARGET_CFLAGS workarounds
- remove BROKEN from modules av & python3
- remove 500-libshout-deprecated.patch
- refresh other patches

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

8 months agofreeswitch: mark mod-python3 BROKEN
Sebastian Kemper [Mon, 29 May 2023 17:53:34 +0000 (19:53 +0200)]
freeswitch: mark mod-python3 BROKEN

mod-python3 is not compatible with Python 3.11 currently, mark it
BROKEN.

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

8 months agofreeswitch: fix compile against musl-1.2.4
Sebastian Kemper [Thu, 18 May 2023 23:00:12 +0000 (01:00 +0200)]
freeswitch: fix compile against musl-1.2.4

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

8 months agofreeswitch: bump to 1.10.9
Sebastian Kemper [Thu, 2 Mar 2023 19:11:57 +0000 (20:11 +0100)]
freeswitch: bump to 1.10.9

ZRTP support removed as it was dropped upstream.

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

8 months agofreeswitch: use return in init script
Sebastian Kemper [Tue, 8 Nov 2022 20:19:19 +0000 (21:19 +0100)]
freeswitch: use return in init script

"start_service()" is a function, hence "return" should be used instead
of "exit".

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

8 months agofreeswitch: workaround mod-shout compile failure
Sebastian Kemper [Mon, 7 Nov 2022 21:07:50 +0000 (22:07 +0100)]
freeswitch: workaround mod-shout compile failure

The recent libshout update causes compile failures due to deprecation.
This works around it. Can be removed once issue is fixed upstream.

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

8 months agofreeswitch: bump to 1.10.8
Sebastian Kemper [Sat, 15 Oct 2022 14:49:19 +0000 (16:49 +0200)]
freeswitch: bump to 1.10.8

- minor version bump
- mod-dingaling, mod-unimrcp and apr-util got removed from source tar
  ball, prompting some cleanup
- patches refreshed

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

8 months agofreeswitch: workaround compile fail with gcc 12
Sebastian Kemper [Sun, 12 Jun 2022 08:05:30 +0000 (10:05 +0200)]
freeswitch: workaround compile fail with gcc 12

An issue report already exists upstream [1].

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

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

8 months agosignalwire-client-c: bump to 1.3.3
Sebastian Kemper [Tue, 22 Aug 2023 19:44:13 +0000 (21:44 +0200)]
signalwire-client-c: bump to 1.3.3

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
8 months agolibks: bump to 1.8.3
Sebastian Kemper [Tue, 22 Aug 2023 19:39:56 +0000 (21:39 +0200)]
libks: bump to 1.8.3

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
8 months agolibks: bump to 1.8.2
Sebastian Kemper [Thu, 2 Mar 2023 19:09:02 +0000 (20:09 +0100)]
libks: bump to 1.8.2

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

8 months agolibks: bump to 1.8.0
Sebastian Kemper [Sat, 15 Oct 2022 14:42:14 +0000 (16:42 +0200)]
libks: bump to 1.8.0

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

8 months agosofia-sip: bump to 1.13.16
Sebastian Kemper [Fri, 18 Aug 2023 10:38:12 +0000 (12:38 +0200)]
sofia-sip: bump to 1.13.16

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

8 months agosofia-sip: bump to 1.13.14
Sebastian Kemper [Thu, 2 Mar 2023 19:10:04 +0000 (20:10 +0100)]
sofia-sip: bump to 1.13.14

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

8 months agosofia-sip: bump to 1.13.11
Sebastian Kemper [Thu, 29 Dec 2022 12:16:12 +0000 (13:16 +0100)]
sofia-sip: bump to 1.13.11

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

8 months agosofia-sip: bump to 1.13.9
Sebastian Kemper [Sun, 25 Sep 2022 09:04:22 +0000 (11:04 +0200)]
sofia-sip: bump to 1.13.9

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

8 months agospandsp3: bump to commit from June 16th
Sebastian Kemper [Fri, 18 Aug 2023 10:36:41 +0000 (12:36 +0200)]
spandsp3: bump to commit from June 16th

Same commit is used by freeswitch 1.10.10 for Windows.

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

8 months agospandsp3: bump to latest commit
Sebastian Kemper [Thu, 2 Mar 2023 19:10:58 +0000 (20:10 +0100)]
spandsp3: bump to latest commit

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

9 months agoMerge pull request #824 from micmac1/22.03-ast-iax2-crash
micmac1 [Sun, 23 Jul 2023 15:59:20 +0000 (17:59 +0200)]
Merge pull request #824 from micmac1/22.03-ast-iax2-crash

[22.03] asterisk: add upstream patch against iax2 crash

9 months agoasterisk: add upstream patch against iax2 crash 824/head
Sebastian Kemper [Sun, 23 Jul 2023 13:58:44 +0000 (15:58 +0200)]
asterisk: add upstream patch against iax2 crash

Reported by Sergio in issue #821. This adds upstream patch for the
crash. See upstream issue [1] for details.

[1] https://github.com/asterisk/asterisk/issues/180

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
9 months agoMerge pull request #819 from micmac1/pj2131-22.03
micmac1 [Thu, 13 Jul 2023 21:08:10 +0000 (23:08 +0200)]
Merge pull request #819 from micmac1/pj2131-22.03

[22.03] pjproject: bump to 2.13.1

9 months agoasterisk: remove dep on libsrtp from res-pjproject 819/head
Sebastian Kemper [Sun, 9 Jul 2023 14:11:09 +0000 (16:11 +0200)]
asterisk: remove dep on libsrtp from res-pjproject

Not required anymore with pjproject 2.13.1.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
9 months agopjproject: bump to 2.13.1
Sebastian Kemper [Sat, 8 Jul 2023 08:39:36 +0000 (10:39 +0200)]
pjproject: bump to 2.13.1

1. add "/refs/tags" to PKG_SOURCE_URL, otherwise the downloaded file is
   broken now
2. bump minor version, includes security related fixes, see [1], [2] and
   [3]

[1] https://github.com/pjsip/pjproject/security/advisories/GHSA-9pfh-r8x4-w26w
[2] https://github.com/pjsip/pjproject/security/advisories/GHSA-cxwq-5g9x-x7fr
[3] https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr

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

9 months agopjproject: bump to 2.13
Sebastian Kemper [Wed, 7 Jun 2023 21:38:52 +0000 (23:38 +0200)]
pjproject: bump to 2.13

- bump to 2.13
- new option "--disable-libsrtp" now available so we can get rid of
  dependency on libsrtp2 (asterisk's SRTP support doesn't depend on pjproject)
- new option "--disable-upnp"
- 0007-execinfo.patch not required anymore, pjproject now checks for
  __GLIBC__
- sync patches with asterisk 20.3.0

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

12 months agoMerge pull request #809 from micmac1/fs-backport-22.03
micmac1 [Wed, 12 Apr 2023 13:32:35 +0000 (15:32 +0200)]
Merge pull request #809 from micmac1/fs-backport-22.03

[22.03] freeswitch: backport commit "allow building with OpenSSL 3.0"

12 months agofreeswitch: allow building with OpenSSL 3.0 809/head
Eneas U de Queiroz [Thu, 9 Feb 2023 18:32:06 +0000 (15:32 -0300)]
freeswitch: allow building with OpenSSL 3.0

Add -Wno-error=deprecated-declarations to CFLAGS to allow usage of
deprecated API.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 09ad78b6cce247f4e610be006d89dfe70003aa58)

15 months agoMerge pull request #798 from micmac1/22.03-rtpe-lws-openssl
micmac1 [Tue, 10 Jan 2023 20:01:14 +0000 (21:01 +0100)]
Merge pull request #798 from micmac1/22.03-rtpe-lws-openssl

[22.03] rtpengine: update libwebsockets dependency

15 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>
16 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

16 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>
16 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)

16 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)

16 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)

22 months 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

22 months 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