Commit graph

1928 commits

Author SHA1 Message Date
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
micmac1
e2ba088d6f
Merge pull request #675 from micmac1/gsm-ext-intl
gsmlib: disable NLS
2021-08-23 21:20:17 +02:00
Sebastian Kemper
b86cf0cdc6 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>
2021-08-22 16:44:53 +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
micmac1
2feac1069f
Merge pull request #671 from micmac1/fs-stop
freeswitch: set stop level
2021-08-19 21:25:39 +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
Jiri Slachta
49e5506a22
Merge pull request #663 from micmac1/ast1851
asterisk: bump to 18.5.1
2021-08-04 12:56:39 +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
micmac1
3891a2ed06
Merge pull request #665 from micmac1/sofi4
sofia-sip: bump to 1.13.4
2021-08-03 20:48:41 +02: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
75d4a30a06 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>
2021-08-03 18:14:01 +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
95611304d9 pjproject: sync patches with asterisk 18.5.1
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-07-31 11:24:10 +02:00
Jiri Slachta
492c89974b
Merge pull request #662 from micmac1/kam-sed
kamailio: replace patch with sed script
2021-07-24 11:36:45 +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
micmac1
02e43af132
Merge pull request #659 from neheb/gsmm
gsmlib: set C++ standard to 11
2021-07-22 11:58:49 +02:00
Jiri Slachta
27673cd5e3
Merge pull request #657 from micmac1/kam-arm
kamailio: prevent arm -march overrides
2021-07-22 09:36:34 +02:00
Rosen Penev
04ee9bc528 gsmlib: set C++ standard to 11
throw() was removed in C++17, which GCC11 defaults to.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-21 17:37:23 -07:00
Jiri Slachta
9e00d5ff6d
Merge pull request #658 from dangowrt/asterisk-18.5.0
asterisk: update to version 18.5.0 and backport patch
2021-07-21 20:21:49 +02:00
Daniel Golle
20e8c3b2d9 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]: 1e5a2cfe30
[2]: https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+Application_Dial

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-07-21 14:53:21 +01:00
Sebastian Kemper
d6ddedbe50 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>
2021-07-15 22:15:31 +02:00
micmac1
9bcff2c04c
Merge pull request #653 from neheb/d
dahdi-tools: fix compilation with musl 1.2.x
2021-07-13 21:00:37 +02:00
Rosen Penev
972350e2ea dahdi-tools: fix compilation with musl 1.2.x
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-08 17:16:56 -07:00
Jiri Slachta
20abe8c354
Merge pull request #649 from robho/yate_increase_sip_msg_size
yate: increase max acceptable size of incoming SIP messages
2021-06-11 14:58:19 +02:00
Robert Högberg
621352af15 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>
2021-06-08 10:30:36 +02:00
Jiri Slachta
e27d3ea4eb
Merge pull request #648 from robho/yate_6.3.0
yate: bump to 6.3.0 and enable speex codec
2021-06-08 07:45:04 +02:00
Robert Högberg
da7fcbd600 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>
2021-06-07 12:46:45 +02:00
micmac1
2f37c73705
Merge pull request #644 from micmac1/fs1106-nua-mem-leak
sofia-sip: add upstream fix for memory leak
2021-05-27 22:02:37 +02:00
Sebastian Kemper
5585fb0917 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>
2021-05-27 20:17:24 +02:00
Jiri Slachta
2071d9fad2
Merge pull request #643 from jslachta/asterisk.18.4.0
asterisk: update to 18.4.0
2021-05-12 21:14:31 +02:00
Jiri Slachta
ec3a124bfc 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>
2021-05-12 19:02:33 +02:00
Jiri Slachta
6b78ba4b3b
Merge pull request #642 from micmac1/kam550
kamailio: update to version 5.5.0
2021-05-08 21:46:52 +02:00
Sebastian Kemper
62a6a0c2a4 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>
2021-05-08 17:04:33 +02:00
micmac1
1e2c2bcb5f
Merge pull request #641 from micmac1/pcapsipv6
pcapsipdump: update to svn revision r157
2021-05-05 19:07:59 +02:00
Sebastian Kemper
3cdc38c909 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>
2021-05-01 11:57:33 +02:00
Jiri Slachta
4ca2b1d5bf
Merge pull request #639 from dhewg/bcg729
bcg729: update to v1.1.1
2021-04-19 13:42:33 +02:00
Andre Heider
4e34b4b0a5 bcg729: update to v1.1.1
The removed patch has been merged upstream.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-04-19 08:47:47 +02:00
micmac1
41a4c15eee
Merge pull request #637 from micmac1/rtpe-lts-8533
rtpengine: bump to 8.5.3.3
2021-04-18 11:57:32 +02:00
Sebastian Kemper
b193d9e4cd rtpengine: bump to 8.5.3.3
Contains upstream fix for G.729 recording with bcg729.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-04-15 12:07:58 +02:00
micmac1
cfd264f224
Merge pull request #634 from micmac1/fs-modmake-patch
freeswitch: fix 003-modmake-fix.patch
2021-04-08 22:01:38 +02:00
Sebastian Kemper
34e26f180a freeswitch: fix 003-modmake-fix.patch
Somehow this white space change slipped in unintentionally.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-04-07 20:50:53 +02:00
micmac1
cda90c0df7
Merge pull request #630 from micmac1/fs-1106
freeswitch: update to 1.10.6
2021-03-27 08:44:39 +01:00
Sebastian Kemper
601188d0ff freeswitch: rework init & hotplug
This adds a term_timeout uci option which can be used to change the
default timeout that procd uses while waiting for freeswitch to exit
once the TERM signal is sent. freeswitch may take a bit longer to exit,
so adding this option is likely appreciated. By default procd's default
is used, though.

Logging is updated in init script and hotplug script. The used facility
is changed from user to daemon, for instance.

An issue was fixed in the parsing of the ntpq output. In case a positive
offset was printed the parsing failed. Apparently ntpq is now adding a
'+', so this is now accounted for.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-26 22:22:20 +01:00
Sebastian Kemper
a34590f057 freeswitch: update to 1.10.6
- patches which are now upstream were removed
- some patches were refreshed
- 003-modmake-fix.patch was amended a bit because of upstream commit
  91f12b5 (it changed tests/unit/Makefile.am so that it doesn't
  redefine AM_CFLAGS and AM_CPPFLAGS, which results in duplicated flags)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-26 22:15:45 +01:00
Jiri Slachta
04d365ebaf
Merge pull request #625 from micmac1/rem-circci
CI: remove .circleci folder
2021-03-14 19:42:30 +01:00
Jiri Slachta
a075f58db6
Merge pull request #626 from micmac1/ast1822
asterisk: bump to 18.2.2
2021-03-14 19:42:11 +01:00