feed/telephony.git
3 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>
3 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

3 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

3 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

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

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

3 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>
3 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>
3 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>
3 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

3 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

3 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>
3 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>
3 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

3 years agoMerge pull request #697 from micmac1/dongle-perms-dirs
micmac1 [Sat, 23 Oct 2021 18:06:14 +0000 (20:06 +0200)]
Merge pull request #697 from micmac1/dongle-perms-dirs

asterisk/asterisk-chan-dongle: address permission issues

3 years agoasterisk-chan-dongle: add postinst note 697/head
Sebastian Kemper [Sat, 23 Oct 2021 16:28:53 +0000 (18:28 +0200)]
asterisk-chan-dongle: add postinst note

Provide quick hint to users to sort out possible/likely permission
issue.

Also refreshes some patches.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoasterisk: don't start with explicit group
Sebastian Kemper [Fri, 22 Oct 2021 22:12:13 +0000 (00:12 +0200)]
asterisk: don't start with explicit group

Currently the asterisk init script starts the service with the group
"asterisk". Like this, even if the asterisk user is part of other groups,
asterisk will not be able to make use of them. So for instance if you add the
user to the group "dialout", asterisk will run under group "asterisk", instead
of "asterisk" _and_ "dialout".

Not specifying the group gets rid of this limitation.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #683 from micmac1/ast-chan-lantiq-dtmf
micmac1 [Fri, 22 Oct 2021 15:29:50 +0000 (17:29 +0200)]
Merge pull request #683 from micmac1/ast-chan-lantiq-dtmf

asterisk-chan-lantiq: update for DTMF fix

3 years agoMerge pull request #691 from rojer/dongle_update
micmac1 [Fri, 22 Oct 2021 15:25:20 +0000 (17:25 +0200)]
Merge pull request #691 from rojer/dongle_update

asterisk-chan-dongle: bump for upstream fixes

3 years agoMerge pull request #692 from dhewg/asterisk
micmac1 [Fri, 22 Oct 2021 15:17:57 +0000 (17:17 +0200)]
Merge pull request #692 from dhewg/asterisk

asterisk: bump to 18.7.1 and adjust for musl 64bit time_t

3 years agorptengine: update to 9.5.2.1 695/head
Rosen Penev [Wed, 20 Oct 2021 20:40:36 +0000 (13:40 -0700)]
rptengine: update to 9.5.2.1

Fixes compilation with glib 2.7.0.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoasterisk: adjust for musl 64bit time_t 692/head
Andre Heider [Wed, 29 Sep 2021 11:49:23 +0000 (13:49 +0200)]
asterisk: adjust for musl 64bit time_t

Fixes #690.

Signed-off-by: Andre Heider <a.heider@gmail.com>
3 years agoasterisk: bump to 18.7.1
Andre Heider [Tue, 28 Sep 2021 18:11:44 +0000 (20:11 +0200)]
asterisk: bump to 18.7.1

The removed patch has been applied upstream and is part of this release.

Switch to AUTORELEASE while at it.

Signed-off-by: Andre Heider <a.heider@gmail.com>
3 years agopjproject: sync patches with asterisk 18.7.1
Andre Heider [Thu, 7 Oct 2021 16:31:07 +0000 (18:31 +0200)]
pjproject: sync patches with asterisk 18.7.1

Switch to AUTORELEASE while at it.

Signed-off-by: Andre Heider <a.heider@gmail.com>
3 years agoMerge pull request #694 from micmac1/fs-nogroup
micmac1 [Sun, 17 Oct 2021 18:45:01 +0000 (20:45 +0200)]
Merge pull request #694 from micmac1/fs-nogroup

freeswitch: don't start with explicit group

3 years agofreeswitch: don't start with explicit group 694/head
Sebastian Kemper [Sun, 10 Oct 2021 09:26:39 +0000 (11:26 +0200)]
freeswitch: don't start with explicit group

Currently the freeswitch init script starts the service with the group
"freeswitch". Like this, even if the freeswitch user is part of other
groups, freeswitch will not be able to make use of them. So for instance
if you add the user to the group "dialout", freeswitch will run under
group "freeswitch", instead of "freeswitch" _and_ "dialout".

Not specifying the group gets rid of this limitation.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoasterisk-chan-dongle: bump for upstream fixes 691/head
Deomid "rojer" Ryabkov [Wed, 29 Sep 2021 09:14:31 +0000 (10:14 +0100)]
asterisk-chan-dongle: bump for upstream fixes

To pull in fixes, specifically https://github.com/wdoekes/asterisk-chan-dongle/commit/3d2a97f26ba84473a0926a9fe9a32e451a56bc36 which fixes decoding of SMS messages.

Also fixes https://github.com/openwrt/telephony/issues/686
and pulls in Quectel support (alternative to https://github.com/openwrt/telephony/pull/682).

Signed-off-by: Deomid "rojer" Ryabkov <rojer@rojer.me>
3 years agoMerge pull request #689 from micmac1/yate-no-parallel
Jiri Slachta [Thu, 23 Sep 2021 17:13:12 +0000 (19:13 +0200)]
Merge pull request #689 from micmac1/yate-no-parallel

yate: disable parallel builds

3 years agoyate: disable parallel builds 689/head
Sebastian Kemper [Wed, 22 Sep 2021 16:26:01 +0000 (18:26 +0200)]
yate: disable parallel builds

Sporadic build failures are visible on the build bots.

libyate.so: undefined reference to `TelEngine::ClientLogic::initStaticData()'
libyate.so: undefined reference to `TelEngine::DefaultLogic::DefaultLogic(char const*, int)'
collect2: error: ld returned 1 exit status

Turning off parallel builds should (hopefully) work around this.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoasterisk-chan-lantiq: update for DTMF fix 683/head
Sebastian Kemper [Sat, 11 Sep 2021 22:11:50 +0000 (00:11 +0200)]
asterisk-chan-lantiq: update for DTMF fix

Bump to last commit. Includes fix for DTMF causing call release when
using Asterisk 18 (see [1]).

[1] https://github.com/openwrt/telephony/issues/631

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #673 from micmac1/ast-macro
Jiri Slachta [Tue, 7 Sep 2021 21:26:15 +0000 (23:26 +0200)]
Merge pull request #673 from micmac1/ast-macro

asterisk: update AST_EXT_TOOL_CHECK for OpenWrt

3 years agoMerge pull request #679 from micmac1/rtpe9lts
micmac1 [Mon, 30 Aug 2021 08:40:44 +0000 (10:40 +0200)]
Merge pull request #679 from micmac1/rtpe9lts

rtpengine: bump to LTS version 9.5.1.3

3 years agortpengine: bump to LTS version 9.5.1.3 679/head
Sebastian Kemper [Sat, 28 Aug 2021 23:10:46 +0000 (01:10 +0200)]
rtpengine: bump to LTS version 9.5.1.3

This

 - updates the dependencies
 - makes rtpengine use spandsp3 (it supports this version now)
 - fixes /etc/modules.d/ipt-rtpengine (needs user and group ids instead
   of names)
 - adds user as well when kmod is installed so that abovementioned user
   and group ids are available
 - adds /etc/modules.d/ipt-rtpengine to conffiles
 - removes 01-cflags.patch since upstream fixed the flag handling
 - removes 200-openssl-deprecated.patch as it was integrated upstream

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #677 from micmac1/fs-no-bashisms
micmac1 [Sat, 28 Aug 2021 17:19:15 +0000 (19:19 +0200)]
Merge pull request #677 from micmac1/fs-no-bashisms

freeswitch: remove "+=" operator for portability

3 years agofreeswitch: remove "+=" operator for portability 677/head
Sebastian Kemper [Fri, 27 Aug 2021 21:31:24 +0000 (23:31 +0200)]
freeswitch: remove "+=" operator for portability

POSIX shells don't support "+=" operators. This commit replaces it with
something portable.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #675 from micmac1/gsm-ext-intl
micmac1 [Mon, 23 Aug 2021 19:20:17 +0000 (21:20 +0200)]
Merge pull request #675 from micmac1/gsm-ext-intl

gsmlib: disable NLS

3 years agogsmlib: disable NLS 675/head
Sebastian Kemper [Sat, 21 Aug 2021 23:48:47 +0000 (01:48 +0200)]
gsmlib: disable NLS

It's not wanted, so add "--disable-nls" to override user selecting
CONFIG_BUILD_NLS.

This also updates 01-update-autotools.patch to make these disappear:

ERROR: Use of AM_GNU_GETTEXT without [external] argument is no longer supported.

Makefile.am:21: warning: 'intl' should not be in SUBDIRS when AM_GNU_GETTEXT([external]) is used

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoasterisk: update AST_EXT_TOOL_CHECK for OpenWrt 673/head
Sebastian Kemper [Fri, 20 Aug 2021 20:59:49 +0000 (22:59 +0200)]
asterisk: update AST_EXT_TOOL_CHECK for OpenWrt

Issue #672 shows that the current macro has some pitfalls, at least when
running within OpenWrt's buildroot.

The macro is used to detect these tools:

  1. xml2-config
  2. mysql_config
  3. neon-config
  4. net-snmp-config
  5. sdl-config (we're not using SDL)

The macro also adds configure arguments that allow to specify a path
like so:

  --with-mysqlclient=PATH

Macro problems:

  1. If no PATH is specified, it adds "/bin" to the search path.
     Obviously this is a bad thing when cross-compiling.
  2. If a PATH is specified, it adds it to the start of every include
     and library path it encounters. These paths are then broken.

This commit makes problem 1 go away by making the addition of
"${$1_DIR}/bin" to the PATH dependent on there being a PATH handed to
the macro. An alternative would be to remove the PATH addition
altogether, but then the macro wouldn't behave as expected.

It also removes the path filtering of the include and lib dirs to
address problem 2.

Closes #672

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #671 from micmac1/fs-stop
micmac1 [Thu, 19 Aug 2021 19:25:39 +0000 (21:25 +0200)]
Merge pull request #671 from micmac1/fs-stop

freeswitch: set stop level

3 years agofreeswitch: set stop level 671/head
Sebastian Kemper [Mon, 16 Aug 2021 21:09:59 +0000 (23:09 +0200)]
freeswitch: set stop level

This sets STOP to 10 to allow for a graceful shutdown. Users may
additionally need to set "term_timeout" in /etc/config/freeswitch to a
sensible value.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #654 from neheb/g
micmac1 [Wed, 4 Aug 2021 17:07:39 +0000 (19:07 +0200)]
Merge pull request #654 from neheb/g

freeswitch: fix compilation with GCC11

3 years agoMerge pull request #664 from micmac1/bsipvid
Jiri Slachta [Wed, 4 Aug 2021 10:58:22 +0000 (12:58 +0200)]
Merge pull request #664 from micmac1/bsipvid

baresip: allow avcodec build by default

3 years agoMerge pull request #666 from robho/yate_6.4.0
Jiri Slachta [Wed, 4 Aug 2021 10:57:04 +0000 (12:57 +0200)]
Merge pull request #666 from robho/yate_6.4.0

yate: bump to 6.4.0

3 years agoMerge pull request #663 from micmac1/ast1851
Jiri Slachta [Wed, 4 Aug 2021 10:56:39 +0000 (12:56 +0200)]
Merge pull request #663 from micmac1/ast1851

asterisk: bump to 18.5.1

3 years agofreeswitch: fix compilation with GCC11 654/head
Rosen Penev [Fri, 9 Jul 2021 00:19:05 +0000 (17:19 -0700)]
freeswitch: fix compilation with GCC11

GCC 11 is more strict with declarations.

Also backport patch fixing mod_gsmopen compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoMerge pull request #665 from micmac1/sofi4
micmac1 [Tue, 3 Aug 2021 18:48:41 +0000 (20:48 +0200)]
Merge pull request #665 from micmac1/sofi4

sofia-sip: bump to 1.13.4

3 years agoyate: bump to 6.4.0 666/head
Robert Högberg [Tue, 3 Aug 2021 18:34:31 +0000 (20:34 +0200)]
yate: bump to 6.4.0

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
3 years agosofia-sip: bump to 1.13.4 665/head
Sebastian Kemper [Tue, 3 Aug 2021 16:13:59 +0000 (18:13 +0200)]
sofia-sip: bump to 1.13.4

Fixes some issues, for instance a segfault during shutdown when
sofia-sip wasn't fully loaded, see [1]. The segfault was reproducible
by simply calling "freeswitch -help".

The added patch is to address a library versioning regression, patch is
from upstream.

[1] https://github.com/freeswitch/sofia-sip/issues/58

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agobaresip: allow avcodec build by default 664/head
Sebastian Kemper [Sat, 31 Jul 2021 09:49:01 +0000 (11:49 +0200)]
baresip: allow avcodec build by default

ffmpeg hasn't been failing for a while now it seems. And on the forum a
topic was raised regarding the unavailability of the video modules (see
[1]).

[1] https://forum.openwrt.org/t/cant-download-baresip-mod-avcodec-and-baresip-mod-avformat-no-video-with-v4l2-codec-in-baresip-to-baresip-video-call/101037

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoasterisk: bump to 18.5.1 663/head
Sebastian Kemper [Sat, 31 Jul 2021 09:27:21 +0000 (11:27 +0200)]
asterisk: bump to 18.5.1

Update deps of asterisk-res-pjproject. It depends on res_sorcery_config,
which is part of asterisk-res-sorcery.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agopjproject: sync patches with asterisk 18.5.1
Sebastian Kemper [Sat, 31 Jul 2021 09:24:10 +0000 (11:24 +0200)]
pjproject: sync patches with asterisk 18.5.1

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #662 from micmac1/kam-sed
Jiri Slachta [Sat, 24 Jul 2021 09:36:45 +0000 (11:36 +0200)]
Merge pull request #662 from micmac1/kam-sed

kamailio: replace patch with sed script

3 years agokamailio: replace patch with sed script 662/head
Sebastian Kemper [Fri, 23 Jul 2021 15:15:46 +0000 (17:15 +0200)]
kamailio: replace patch with sed script

On the build bots the patch patches clashes with Build/Prepare. This
commit removes it in favor of a simple sed script. The resulting change
is identical.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #659 from neheb/gsmm
micmac1 [Thu, 22 Jul 2021 09:58:49 +0000 (11:58 +0200)]
Merge pull request #659 from neheb/gsmm

gsmlib: set C++ standard to 11

3 years agoMerge pull request #657 from micmac1/kam-arm
Jiri Slachta [Thu, 22 Jul 2021 07:36:34 +0000 (09:36 +0200)]
Merge pull request #657 from micmac1/kam-arm

kamailio: prevent arm -march overrides

3 years agogsmlib: set C++ standard to 11 659/head
Rosen Penev [Thu, 22 Jul 2021 00:36:17 +0000 (17:36 -0700)]
gsmlib: set C++ standard to 11

throw() was removed in C++17, which GCC11 defaults to.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoMerge pull request #658 from dangowrt/asterisk-18.5.0
Jiri Slachta [Wed, 21 Jul 2021 18:21:49 +0000 (20:21 +0200)]
Merge pull request #658 from dangowrt/asterisk-18.5.0

asterisk: update to version 18.5.0 and backport patch

3 years agoasterisk: update to version 18.5.0 and backport patch 658/head
Daniel Golle [Wed, 21 Jul 2021 13:17:09 +0000 (14:17 +0100)]
asterisk: update to version 18.5.0 and backport patch

Update to upstream version 18.5.0 and backport commit[1] completing the
announcements in Dial command to behave like it is stated in the
documenation[2].

[1]: https://github.com/asterisk/asterisk/commit/1e5a2cfe3037823b17dd4ac47b071f02d6f9825f
[2]: https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+Application_Dial

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agokamailio: prevent arm -march overrides 657/head
Sebastian Kemper [Thu, 15 Jul 2021 20:14:07 +0000 (22:14 +0200)]
kamailio: prevent arm -march overrides

src/Makefile.defs adds "-march=..." to target flags for ARM targets.
This can clash with the OpenWrt target flags in
CONFIG_TARGET_OPTIMIZATION. If for example the latter is set to
"-mcpu=cortex-a9" the following warning is issued:

cc1: warning: switch '-mcpu=cortex-a9' conflicts with '-march=armv5t' switch

This commit removes these flags. The addition is unwanted when
cross-compiling.

An issue was raised for this recently, see [1].

[1] https://github.com/openwrt/packages/issues/16135

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #653 from neheb/d
micmac1 [Tue, 13 Jul 2021 19:00:37 +0000 (21:00 +0200)]
Merge pull request #653 from neheb/d

dahdi-tools: fix compilation with musl 1.2.x

3 years agodahdi-tools: fix compilation with musl 1.2.x 653/head
Rosen Penev [Fri, 9 Jul 2021 00:11:03 +0000 (17:11 -0700)]
dahdi-tools: fix compilation with musl 1.2.x

Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoMerge pull request #649 from robho/yate_increase_sip_msg_size
Jiri Slachta [Fri, 11 Jun 2021 12:58:19 +0000 (14:58 +0200)]
Merge pull request #649 from robho/yate_increase_sip_msg_size

yate: increase max acceptable size of incoming SIP messages

3 years agoyate: increase max acceptable size of incoming SIP messages 649/head
Robert Högberg [Fri, 4 Jun 2021 19:16:42 +0000 (21:16 +0200)]
yate: increase max acceptable size of incoming SIP messages

Some SIP UAs support lots of features and codecs which results in
large SIP messages. YATE, with its default configuration, truncates
and fails to parse received SIP messages which are larger than 1500
bytes. Let's increase the default max message size for OpenWrt users
to make it easier to use yate out-of-the-box.

The new max size of 8192 bytes has been arbitrarily chosen.

I've seen the SIP UA baresip produce messages larger than 1500 bytes
with its default configuration when authentication is used.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
3 years agoMerge pull request #648 from robho/yate_6.3.0
Jiri Slachta [Tue, 8 Jun 2021 05:45:04 +0000 (07:45 +0200)]
Merge pull request #648 from robho/yate_6.3.0

yate: bump to 6.3.0 and enable speex codec

3 years agoyate: bump to 6.3.0 and enable speex codec 648/head
Robert Högberg [Thu, 3 Jun 2021 22:01:59 +0000 (00:01 +0200)]
yate: bump to 6.3.0 and enable speex codec

New yate modules in this release:
yate-mod-ilbcwebrtc
yate-mod-speexcodec
yate-mod-wiresniff

Some patches were removed:
110-no-libnsl.patch - not needed
120-create-thread-key-on-access.patch - not needed
150-video-codecs-mapping.patch - already applied upstream

Some additional changes:
* An upstream fix (r6470) is cherry-picked to avoid crashing when YATE
  receives an invalid SIP message.

* Build directory changed to include package version.

* Set PKG_BUILD_PARALLEL to allow parallelized build of yate.

* Speed up build if yate-mod-ilbccodec or yate-mod-sqlitedb is
  disabled (disable ilbc and sqlite in configure step).

* Removing umbrella package yate-collection-basic. It isn't built and
  hasn't been built for years and I think the modules it wants to
  install are a bit strange and probably not useful to most
  users. From the name yate-collection-basic I would expect to get
  some basic functionality, but why would I then need
  yate-mod-dumbchan, yate-mod-rmanager and yate-mod-tonegen? What is
  the use case? I think it's better that users themselves install the
  packages needed for their use case, especially in OpenWrt where
  flash space usually is limited and you don't want to install more
  packages than what you really need.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
3 years agoMerge pull request #644 from micmac1/fs1106-nua-mem-leak
micmac1 [Thu, 27 May 2021 20:02:37 +0000 (22:02 +0200)]
Merge pull request #644 from micmac1/fs1106-nua-mem-leak

sofia-sip: add upstream fix for memory leak

3 years agosofia-sip: add upstream fix for memory leak 644/head
Sebastian Kemper [Thu, 27 May 2021 18:17:21 +0000 (20:17 +0200)]
sofia-sip: add upstream fix for memory leak

Upstream provided a patch for a memory leak in Sofia SIP (see [1] for
more information).

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

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #643 from jslachta/asterisk.18.4.0
Jiri Slachta [Wed, 12 May 2021 19:14:31 +0000 (21:14 +0200)]
Merge pull request #643 from jslachta/asterisk.18.4.0

asterisk: update to 18.4.0

3 years agoasterisk: update to 18.4.0 643/head
Jiri Slachta [Wed, 12 May 2021 16:42:06 +0000 (18:42 +0200)]
asterisk: update to 18.4.0

Patches updated/refreshed:

100-build-reproducibly.patch
130-eventfd.patch
140-use-default-lua.patch

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
3 years agoMerge pull request #642 from micmac1/kam550
Jiri Slachta [Sat, 8 May 2021 19:46:52 +0000 (21:46 +0200)]
Merge pull request #642 from micmac1/kam550

kamailio: update to version 5.5.0

3 years agokamailio: update to version 5.5.0 642/head
Sebastian Kemper [Sat, 8 May 2021 15:04:30 +0000 (17:04 +0200)]
kamailio: update to version 5.5.0

Added new module lrkproxy. Module "userblacklist" was renamed upstream
to "userblocklist".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #641 from micmac1/pcapsipv6
micmac1 [Wed, 5 May 2021 17:07:59 +0000 (19:07 +0200)]
Merge pull request #641 from micmac1/pcapsipv6

pcapsipdump: update to svn revision r157

3 years agopcapsipdump: update to svn revision r157 641/head
Sebastian Kemper [Sat, 1 May 2021 09:27:35 +0000 (11:27 +0200)]
pcapsipdump: update to svn revision r157

Upstream implemented or updated IPv6 support.

This commit also updates the package title and fixes some
spelling/grammar in the package's description.

PKG_MIRRIR_HASH removed from Makefile as per suggestion in [1] (svn
checkouts aren't reproducible).

[1] https://openwrt.org/docs/guide-developer/packages

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