The baresip init script is changed to use UCI instead of the debian
style /etc/default basic service configuration.
A uci-defaults script is added to create a basic UCI config:
--
config baresip main
option enable 0
option options ''
--
With this change an issues is also resolved, on which the baresip
service doesn't start due to the baresip user not being the owner of
the /etc/baresip configuration directory.
Additionally a reload_config trigger is added for baresip.
Signed-off-by: Daniel Danzberger <dd@embedd.com>
The previous version 1.1.0 is about 7 years old now and a lot has
changed. Various fixes, improvements and features have been added.
The build system has moved to cmake and pkg-config is used,
which makes it a lot easier to build from the openwrt buildroot.
Therefore a lot of the extra code is removed from it's Makefile.
The librem dependency has been removed, since newer versions of libre
contain all the librem features.
The parallel build patch is no longer required.
Signed-off-by: Daniel Danzberger <dd@embedd.com>
Add pending patch moving package to PCRE2 as PCRE is EOL and won't
receive any updates anymore.
These patch were run uder the freeswitch CI and were validated with
their unit tests.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
[fix conflict, fix typo in commit message, remove @BROKEN dep, refresh
patches]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
There hasn't been a yate release for years but development continues
on github. Let's update the OpenWrt package to a github snapshot.
Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
Output channel state in log message if a digit ends up not being handled.
Report USER_BUSY as cause in case a phone is not on hook while being
called.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Apply hook state timing parameters starting from the biggest
time interval down to the shortest, so the required conditions are
always true while applying.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Update to most recent LTS release addressing multiple security and
stability issues.
Complete changelog:
https://github.com/asterisk/asterisk/compare/20.5.2...20.8.1
Note that res-stir-shaken switched to use libjwt instead of providing
a built-in JWT implementation.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Patch was upstreamed.
Reordered variables for consistency between packages.
Slight modification to configure argument.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
With the recent move to using ZSTD as the default compression format for
packaging git repo clones we must refresh all of the hashes for the
packages feed as well.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Make sure asterisk has permission to access /dev/vmmc* devices as it
will segfault if started without.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
- 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, sent
upstream (see [1])
- 180-res_crypto.c-Avoid-using-the-non-portable-ALLPERMS-m.patch and
190-chan_iax2.c-Avoid-crash-with-IAX2-switch-support.patch removed as
they're included in upstream release tar ball.
[1] https://github.com/asterisk/asterisk/pull/516
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Resolve network devices by first trying 'network_get_device' (L3) and
falling back to 'network_get_physdev' (L2) on failure, which allows using
Wireguard interfaces. Both are needed to avoid breaking existing usage
for some interfaces (e.g. 'wan').
Also add myself as a maintainer.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Bump rtpengine to release 11.5.1.12.
New 11.x release require libopus as a new library and also moved to
PCRE2 library.
Refresh patches and also introduce a new one to disable docs as they
changed doc generation tool and now would require a new prereq and docs
are not useful and would waste space on an embedded scenario.
For recording module libcurl is also now required.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Backport merged patch and move package to PCRE2 as PCRE is EOL and won't
receive any security updates anymore.
Additional patch are backported to minimize changes to the backport
patches. Only patch 010 required adaptation due to a fix backported in
5.7 in the same place where the patch fixed some whitespace issue.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Bump kamailio to release 5.7.2 to make it easier to backport PCRE2
patches.
Drop upstream patch related to time_t and python3 fixes.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Add patch fixing fragile kamcmd where output bin can be renamed to
invalid names due to ENV variable clash.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Add patch to convert the package to PCRE2 as PCRE is EOL and won't
receive any security updates anymore.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
By using an nftables set in this script it's easier to install
and use this script now that OpenWrt uses nftables by default.
Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
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>
Based on Paul Fertser <fercerpav@gmail.com>'s guidance:
Change AUTORELEASE in rules.mk to:
```
AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
```
then update all affected packages by:
```
for i in $(git grep -l PKG_RELEASE:=.*AUTORELEASE | sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/clean
done
```
Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
- bump to 20.3.0
- new modules: app-broadcast, app-if, app-signal, func-export,
res-pjsip-aoc and res-pjsip-rfc3329
- remove "--without-vpb", not available anymore
- add configuration file for res-http-media-cache
- drop libsrtp2 from res-pjproject dependencies, see changes in
pjproject package
- refresh patches
- add upstream patch
180-res_crypto.c-Avoid-using-the-non-portable-ALLPERMS-m.patch to fix
build [1]
[1] https://github.com/asterisk/asterisk/issues/149
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Python was updated to 3.11 and app_python3 doesn't compile anymore.
This commit adds three upstream patches to resolve this.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Add patch fixing compilation warning for kernel module.
Always dynamically allocate buffer for proc_control_read_write.
Fix compilation warning:
/builder/shared-workdir/build/build_dir/target-arm_cortex-a8+vfpv3_musl_eabi/rtpengine-no-transcode/rtpengine-mr10.5.2.6/kernel-module/xt_RTPENGINE.c: In function 'proc_control_read_write':
/builder/shared-workdir/build/build_dir/target-arm_cortex-a8+vfpv3_musl_eabi/rtpengine-no-transcode/rtpengine-mr10.5.2.6/kernel-module/xt_RTPENGINE.c:3573:1: error: the frame size of 1272 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
3573 | }
| ^
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>