Commit graph

1174 commits

Author SHA1 Message Date
Andre Heider
c84e2f7414 asterisk: send SIGHUP on reload
asterisk reloads its config upon SIGHUP, use it.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-12-19 12:43:35 +01:00
Josef Schlehofer
edd47e20a8
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>
2021-12-15 13:38:40 +01:00
Jiri Slachta
5e86575ad3
Merge pull request #720 from micmac1/restund-cve
restund: fix CVE-2021-21382
2021-12-09 11:37:04 +01:00
micmac1
b39127a7b2
Merge pull request #719 from micmac1/baresip-drop-rem-patch
baresip: drop 002-fix-rem-include.patch
2021-12-09 00:29:30 +01:00
micmac1
56e9310c8f
Merge pull request #715 from micmac1/coturn-checkin
coturn: new package
2021-12-09 00:28:55 +01:00
Sebastian Kemper
612a7535ee 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 dec6316f2f)
2021-12-09 00:22:45 +01:00
Sebastian Kemper
ceec95d92d 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>
2021-12-08 16:58:44 +01:00
Sebastian Kemper
8e687b90b7 baresip: drop 002-fix-rem-include.patch
Setting LIBREM_PATH allows dropping the patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-12-08 16:22:31 +01:00
Sebastian Kemper
3dc1f61329 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>
2021-12-07 00:27:35 +01:00
micmac1
5ee7928640
Merge pull request #713 from micmac1/sngrep1410
sngrep: bump to 1.4.10
2021-11-28 18:48:05 +01:00
Sebastian Kemper
58658de45c 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>
2021-11-28 18:25:32 +01:00
Sebastian Kemper
10b7fcd4d1 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>
2021-11-28 18:18:16 +01:00
Sebastian Kemper
10d500efb9 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>
2021-11-09 18:59:56 +01:00
Sebastian Kemper
ebcdcb3547 freeswitch: add missing item to PKG_CONFIG_DEPENDS
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-07 20:26:27 +01:00
micmac1
6130c3a967
Merge pull request #705 from micmac1/python3-setup
freeswitch: build fix + patch update
2021-11-07 11:03:30 +01:00
Sebastian Kemper
6004044dc0 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>
2021-11-06 12:29:18 +01:00
Sebastian Kemper
eb145cd014 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>
2021-11-06 12:25:56 +01:00
Sebastian Kemper
42574d54d4 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>
2021-11-06 12:25:09 +01:00
Sebastian Kemper
04b6b267f1 asterisk: add missing modules + dependency
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-04 19:21:27 +01:00
Andre Heider
a7e5bda0ce 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>
2021-11-03 05:40:03 +01:00
Andre Heider
5bb38c2f09 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>
2021-11-03 04:36:05 +01:00
Sebastian Kemper
7c379687d0 kamailio: bump to 5.5.2
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-02 19:45:10 +01:00
Sebastian Kemper
3fafe1afac 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>
2021-10-31 08:52:51 +01:00
Sebastian Kemper
652d110b2f freeswitch: add python3 support
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-10-30 23:08:00 +02:00
Sebastian Kemper
4ab96a1879 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>
2021-10-30 23:07:04 +02:00
micmac1
5ced7ea4fc
Merge pull request #695 from neheb/1
rtpengine: update to 9.5.2.1
2021-10-23 20:15:29 +02:00
Sebastian Kemper
829c1cf031 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>
2021-10-23 18:28:56 +02:00
Sebastian Kemper
9017e04b87 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>
2021-10-23 00:12:15 +02:00
micmac1
f56b9ff2dc
Merge pull request #683 from micmac1/ast-chan-lantiq-dtmf
asterisk-chan-lantiq: update for DTMF fix
2021-10-22 17:29:50 +02:00
micmac1
f92a7a08ba
Merge pull request #691 from rojer/dongle_update
asterisk-chan-dongle: bump for upstream fixes
2021-10-22 17:25:20 +02:00
Rosen Penev
647996dc78 rptengine: update to 9.5.2.1
Fixes compilation with glib 2.7.0.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-20 13:41:41 -07:00
Andre Heider
a03d699262 asterisk: adjust for musl 64bit time_t
Fixes #690.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-10-18 14:23:47 +02:00
Andre Heider
0399a3dc73 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>
2021-10-18 14:23:47 +02:00
Sebastian Kemper
060be263d2 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>
2021-10-10 11:26:41 +02:00
Deomid "rojer" Ryabkov
02d5dc545e asterisk-chan-dongle: bump for upstream fixes
To pull in fixes, specifically 3d2a97f26b 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>
2021-09-29 11:07:04 +01:00
Sebastian Kemper
ec400c16c3 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>
2021-09-22 18:29:41 +02:00
Sebastian Kemper
ec6ba744b0 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>
2021-09-12 00:11:59 +02:00
Jiri Slachta
12ff4b096d
Merge pull request #673 from micmac1/ast-macro
asterisk: update AST_EXT_TOOL_CHECK for OpenWrt
2021-09-07 23:26:15 +02:00
Sebastian Kemper
d39dc81287 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>
2021-08-29 12:34:46 +02:00
Sebastian Kemper
7392aea053 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>
2021-08-27 23:38:19 +02:00
Sebastian Kemper
79a0acfe56 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>
2021-08-20 23:29:31 +02:00
Sebastian Kemper
0b942dad3f 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>
2021-08-17 18:11:53 +02:00
micmac1
6f004e7dee
Merge pull request #654 from neheb/g
freeswitch: fix compilation with GCC11
2021-08-04 19:07:39 +02:00
Jiri Slachta
e0f93da595
Merge pull request #664 from micmac1/bsipvid
baresip: allow avcodec build by default
2021-08-04 12:58:22 +02:00
Jiri Slachta
a7bbc46a02
Merge pull request #666 from robho/yate_6.4.0
yate: bump to 6.4.0
2021-08-04 12:57:04 +02:00
Rosen Penev
213538cdc8 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>
2021-08-04 01:45:54 -07:00
Robert Högberg
7c35652d3a yate: bump to 6.4.0
Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2021-08-03 20:34:31 +02:00
Sebastian Kemper
db67f9b405 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>
2021-07-31 11:49:03 +02:00
Sebastian Kemper
b621ed3f81 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>
2021-07-31 11:28:46 +02:00
Sebastian Kemper
f25b4a8635 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>
2021-07-23 17:16:36 +02:00