feed/telephony.git
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 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>
3 years agoMerge pull request #639 from dhewg/bcg729
Jiri Slachta [Mon, 19 Apr 2021 11:42:33 +0000 (13:42 +0200)]
Merge pull request #639 from dhewg/bcg729

bcg729: update to v1.1.1

3 years agobcg729: update to v1.1.1 639/head
Andre Heider [Mon, 22 Mar 2021 14:27:36 +0000 (15:27 +0100)]
bcg729: update to v1.1.1

The removed patch has been merged upstream.

Signed-off-by: Andre Heider <a.heider@gmail.com>
3 years agoMerge pull request #637 from micmac1/rtpe-lts-8533
micmac1 [Sun, 18 Apr 2021 09:57:32 +0000 (11:57 +0200)]
Merge pull request #637 from micmac1/rtpe-lts-8533

rtpengine: bump to 8.5.3.3

3 years agortpengine: bump to 8.5.3.3 637/head
Sebastian Kemper [Thu, 15 Apr 2021 10:07:56 +0000 (12:07 +0200)]
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>
3 years agoMerge pull request #634 from micmac1/fs-modmake-patch
micmac1 [Thu, 8 Apr 2021 20:01:38 +0000 (22:01 +0200)]
Merge pull request #634 from micmac1/fs-modmake-patch

freeswitch: fix 003-modmake-fix.patch

3 years agofreeswitch: fix 003-modmake-fix.patch 634/head
Sebastian Kemper [Wed, 7 Apr 2021 18:50:44 +0000 (20:50 +0200)]
freeswitch: fix 003-modmake-fix.patch

Somehow this white space change slipped in unintentionally.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #630 from micmac1/fs-1106
micmac1 [Sat, 27 Mar 2021 07:44:39 +0000 (08:44 +0100)]
Merge pull request #630 from micmac1/fs-1106

freeswitch: update to 1.10.6

3 years agofreeswitch: rework init & hotplug 630/head
Sebastian Kemper [Fri, 26 Mar 2021 21:22:18 +0000 (22:22 +0100)]
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>
3 years agofreeswitch: update to 1.10.6
Sebastian Kemper [Fri, 26 Mar 2021 21:15:42 +0000 (22:15 +0100)]
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>
3 years agoMerge pull request #625 from micmac1/rem-circci
Jiri Slachta [Sun, 14 Mar 2021 18:42:30 +0000 (19:42 +0100)]
Merge pull request #625 from micmac1/rem-circci

CI: remove .circleci folder

3 years agoMerge pull request #626 from micmac1/ast1822
Jiri Slachta [Sun, 14 Mar 2021 18:42:11 +0000 (19:42 +0100)]
Merge pull request #626 from micmac1/ast1822

asterisk: bump to 18.2.2

3 years agoasterisk: update to 18.2.2 626/head
Sebastian Kemper [Sun, 14 Mar 2021 17:14:41 +0000 (18:14 +0100)]
asterisk: update to 18.2.2

Patches removed because uclibc was dropped:

001-disable-semaphores-on-uclibc-otherwise-allow.patch
002-configure-fix-detection-of-re-entrant-resolver-funct.patch

Patches updated/refreshed:

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

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agopjproject: sync patches with asterisk 18.2.2
Sebastian Kemper [Sun, 14 Mar 2021 17:14:30 +0000 (18:14 +0100)]
pjproject: sync patches with asterisk 18.2.2

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #624 from micmac1/sng148
micmac1 [Sun, 14 Mar 2021 09:38:44 +0000 (10:38 +0100)]
Merge pull request #624 from micmac1/sng148

sngrep: bump to 1.4.8

3 years agoCI: remove .circleci folder 625/head
Sebastian Kemper [Sat, 13 Mar 2021 09:57:21 +0000 (10:57 +0100)]
CI: remove .circleci folder

This CI has been removed from the hooks.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agosngrep: bump to 1.4.8 624/head
Sebastian Kemper [Sat, 13 Mar 2021 09:52:30 +0000 (10:52 +0100)]
sngrep: bump to 1.4.8

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoCI: add GitHub testing of Pull Requests
Paul Spooren [Fri, 5 Mar 2021 07:50:15 +0000 (21:50 -1000)]
CI: add GitHub testing of Pull Requests

Perform formal checks and see if packages compile on multiple
architectures.

Signed-off-by: Paul Spooren <mail@aparcar.org>
3 years agoMerge pull request #623 from micmac1/fr-uc
micmac1 [Fri, 12 Mar 2021 18:37:40 +0000 (19:37 +0100)]
Merge pull request #623 from micmac1/fr-uc

freeswitch updates

3 years agospandsp3: bump to 2020-10-19 623/head
Sebastian Kemper [Fri, 12 Mar 2021 17:01:50 +0000 (18:01 +0100)]
spandsp3: bump to 2020-10-19

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agosofia-sip: bump to 1.13.3
Sebastian Kemper [Fri, 12 Mar 2021 16:59:18 +0000 (17:59 +0100)]
sofia-sip: bump to 1.13.3

Upstream now provides a release tarball. Use that instead of a git
checkout.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agolibks: bump to 1.7.0
Sebastian Kemper [Fri, 12 Mar 2021 16:57:06 +0000 (17:57 +0100)]
libks: bump to 1.7.0

Drops 05-openssl-deprecated.patch as included upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agofreeswitch-mod-bcg729: use PKG_SOURCE_DATE
Sebastian Kemper [Fri, 12 Mar 2021 16:54:43 +0000 (17:54 +0100)]
freeswitch-mod-bcg729: use PKG_SOURCE_DATE

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agofreeswitch: clean up after uclibc* removal
Sebastian Kemper [Tue, 9 Mar 2021 20:44:27 +0000 (21:44 +0100)]
freeswitch: clean up after uclibc* removal

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #619 from neheb/cxx
Jiri Slachta [Tue, 9 Mar 2021 16:33:20 +0000 (17:33 +0100)]
Merge pull request #619 from neheb/cxx

treewide: remove uClibc++ support

3 years agoMerge pull request #621 from micmac1/pjp-ast-5
Jiri Slachta [Tue, 9 Mar 2021 16:30:37 +0000 (17:30 +0100)]
Merge pull request #621 from micmac1/pjp-ast-5

pjproject: add fix for AST-2021-005 + brush up our Makefile

3 years agopjproject: drop autoreconf, run make dep 621/head
Sebastian Kemper [Sun, 7 Mar 2021 11:22:45 +0000 (12:22 +0100)]
pjproject: drop autoreconf, run make dep

Neither configure.ac nor configure.in exists, so autoreconf is a no-op.
This commit drops it.

Also, run "make dep" as advertised by the README and the configure
script.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agopjproject: add patch for AST-2021-005
Sebastian Kemper [Sun, 7 Mar 2021 11:21:40 +0000 (12:21 +0100)]
pjproject: add patch for AST-2021-005

https://downloads.asterisk.org/pub/security/AST-2021-005.html
https://issues.asterisk.org/jira/browse/ASTERISK-29196

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agotreewide: remove uClibc++ support 619/head
Rosen Penev [Sat, 6 Mar 2021 22:44:13 +0000 (14:44 -0800)]
treewide: remove uClibc++ support

This is in preparation for removing the whole thing from base.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoMerge pull request #615 from micmac1/dah-li-symvers
micmac1 [Fri, 26 Feb 2021 18:19:26 +0000 (19:19 +0100)]
Merge pull request #615 from micmac1/dah-li-symvers

dahdi-linux: fix Module.symvers handling

3 years agoMerge pull request #614 from micmac1/rpte-symvers
micmac1 [Fri, 26 Feb 2021 18:18:49 +0000 (19:18 +0100)]
Merge pull request #614 from micmac1/rpte-symvers

rtpengine: fix Module.symvers handling

3 years agoMerge pull request #602 from neheb/a
Jiri Slachta [Wed, 24 Feb 2021 22:37:23 +0000 (23:37 +0100)]
Merge pull request #602 from neheb/a

asterisk: fix compilation with 1.2.x

3 years agoasterisk: fix compilation with 1.2.x 602/head
Rosen Penev [Fri, 11 Dec 2020 04:02:36 +0000 (20:02 -0800)]
asterisk: fix compilation with 1.2.x

Needs _DECLS and __P definitions.

Refreshed other patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agodahdi-linux: fix Module.symvers handling 615/head
Sebastian Kemper [Sat, 20 Feb 2021 11:04:12 +0000 (12:04 +0100)]
dahdi-linux: fix Module.symvers handling

This sets PKG_EXTMOD_SUBDIRS so kernel.mk can find the DAHDI
Module.symvers file.

Also, this puts KERNEL_MAKE_FLAGS into the make flags. This way
Module.symvers files of other modules are made available, plus there is
no need anymore to specify ARCH and CROSS_COMPILE, as KERNEL_MAKE_FLAGS
already takes care of that.

TARGET_CONFIGURE_OPTS is dropped because this seems out of place
(configure vs. compile).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agortpengine: fix Module.symvers handling 614/head
Sebastian Kemper [Sat, 20 Feb 2021 10:45:49 +0000 (11:45 +0100)]
rtpengine: fix Module.symvers handling

This sets PKG_EXTMOD_SUBDIRS so kernel.mk can find the rtpengine
Module.symvers file.

Also, this puts KERNEL_MAKE_FLAGS into the make flags used to compile
the kernel module. This way Module.symvers files of other modules are
made available, plus there is no need anymore to specify ARCH and
CROSS_COMPILE, as KERNEL_MAKE_FLAGS already takes care of that.

While updating make flags this also adds PKG_JOBS for completeness'
sake.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agortpengine: build in BUILD_DIR
Sebastian Kemper [Sat, 20 Feb 2021 10:41:27 +0000 (11:41 +0100)]
rtpengine: build in BUILD_DIR

rtpengine is not primarily about kernel modules. It's an application
(which also offers a kernel module). So build it in BUILD_DIR instead of
KERNEL_BUILD_DIR.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #612 from micmac1/glib-rtpen-bump
micmac1 [Sun, 14 Feb 2021 21:07:58 +0000 (22:07 +0100)]
Merge pull request #612 from micmac1/glib-rtpen-bump

rtpengine: update to 8.5.3.2

3 years agortpengine: update to 8.5.3.2 612/head
Sebastian Kemper [Sun, 14 Feb 2021 09:29:49 +0000 (10:29 +0100)]
rtpengine: update to 8.5.3.2

02-pcap.patch no longer needed, it's included in upstream release.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #610 from lipnitsk/master
micmac1 [Mon, 1 Feb 2021 19:14:21 +0000 (20:14 +0100)]
Merge pull request #610 from lipnitsk/master

dahdi-linux: patch to compile with linux >= 5.6

3 years agodahdi-linux: patch to compile with linux >= 5.6 610/head
Ilya Lipnitskiy [Mon, 1 Feb 2021 03:20:25 +0000 (19:20 -0800)]
dahdi-linux: patch to compile with linux >= 5.6

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
3 years agoMerge pull request #609 from BKPepe/asterisk-uriparser-disable
Jiri Slachta [Wed, 27 Jan 2021 13:49:34 +0000 (14:49 +0100)]
Merge pull request #609 from BKPepe/asterisk-uriparser-disable

asterisk: disable uriparser

3 years agoasterisk: disable uriparser 609/head
Josef Schlehofer [Wed, 27 Jan 2021 09:50:15 +0000 (10:50 +0100)]
asterisk: disable uriparser

Uriparser is a compliant URI parsing and handling library for RFC 3986.
For now, this is not included in OpenWrt feeds, but in Turris OS
uriparser is used as dependency for Updater-ng.

When Asterisk finds in build system there is uriparser or anything else mentioned in configure,
it tries to enable it by default. This applies to every package in
OpenWrt and because of that new packages which are added to OpenWrt tries to disable almost
everything by default. Because if someone adds library, some packages
are not compiled or tested.

Fixes:
Package asterisk is missing dependencies for the following libraries:
liburiparser.so.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
3 years agoMerge pull request #607 from micmac1/rtpe-up
micmac1 [Mon, 25 Jan 2021 21:32:22 +0000 (22:32 +0100)]
Merge pull request #607 from micmac1/rtpe-up

rtpengine: bump to 8.5.3.1

3 years agoMerge pull request #608 from guidosarducci/master-fix-uid-error
micmac1 [Mon, 25 Jan 2021 21:28:59 +0000 (22:28 +0100)]
Merge pull request #608 from guidosarducci/master-fix-uid-error

siproxd: fix UID variable conflict in init

3 years agosiproxd: fix UID variable conflict in init 608/head
Tony Ambardar [Sun, 24 Jan 2021 08:00:01 +0000 (00:00 -0800)]
siproxd: fix UID variable conflict in init

Variable 'UID' is set readonly in some calling contexts, yielding errors
during e.g. ImageBuilder usage:

  Enabling rpcd
  ./etc/init.d/siproxd: line 14: UID: readonly variable
  Enabling siproxd
  Enabling sysctl

Rename UID and GID variables as SIPROXD_UID and SIPROXD_GID.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
3 years agortpengine: bump to 8.5.3.1 607/head
Sebastian Kemper [Sat, 23 Jan 2021 11:05:09 +0000 (12:05 +0100)]
rtpengine: bump to 8.5.3.1

In other news:

 - removes "mr" from version
 - refreshes patches/02-pcap.patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #606 from micmac1/aster-sup
Jiri Slachta [Fri, 15 Jan 2021 20:45:59 +0000 (21:45 +0100)]
Merge pull request #606 from micmac1/aster-sup

asterisk: revert commit + add missing dep

3 years agoasterisk: add dependency to asterisk-chan-rtp 606/head
Sebastian Kemper [Fri, 15 Jan 2021 18:59:47 +0000 (19:59 +0100)]
asterisk: add dependency to asterisk-chan-rtp

This commit makes asterisk-chan-rtp depend on
asterisk-res-rtp-multicast. Without the res-rtp-multicast module
chan-rtp cannot be loaded:

OpenWrt*CLI> module load chan_rtp.so
Unable to load module chan_rtp.so
Command 'module load chan_rtp.so' failed.
[Jan  9 08:51:01] ERROR[16337]: loader.c:281 module_load_error: Error loading module 'chan_rtp.so': Error relocating /usr/lib/asterisk/modules/chan_rtp.so: ast_multicast_rtp_create_options: symbol not found

This issue was mentioned in the OpenWrt forum ([1]).

[1] https://forum.openwrt.org/t/asterisk-makes-a-problem-with-loading/84816

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoRevert "asterisk: link in libdl when linking to liblua"
Sebastian Kemper [Fri, 15 Jan 2021 18:51:02 +0000 (19:51 +0100)]
Revert "asterisk: link in libdl when linking to liblua"

This reverts commit 150b85ab350844f1481b9a9d49984b3e16cddd40.

OpenWrt upstream updated the lua package so that liblua now is linked
to libdl.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #605 from neheb/r
micmac1 [Fri, 15 Jan 2021 18:20:14 +0000 (19:20 +0100)]
Merge pull request #605 from neheb/r

rtpengine: fix compilation with newer pcap

3 years agortpengine: fix compilation with newer pcap 605/head
Rosen Penev [Mon, 4 Jan 2021 02:55:59 +0000 (18:55 -0800)]
rtpengine: fix compilation with newer pcap

Backport upstream patch fixing this issue.

Remove uClibc-ng patch as it's no longer in the tree.

Refresh patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoMerge pull request #604 from micmac1/ast-lua
Jiri Slachta [Sun, 3 Jan 2021 19:17:00 +0000 (20:17 +0100)]
Merge pull request #604 from micmac1/ast-lua

asterisk: link in libdl when linking to liblua

3 years agoasterisk: link in libdl when linking to liblua 604/head
Sebastian Kemper [Sun, 3 Jan 2021 17:20:02 +0000 (18:20 +0100)]
asterisk: link in libdl when linking to liblua

Currently building for archs target against glibc fails:

checking for mandatory modules:  CAP GSM ILBC LIBEDIT LIBXML2 LUA PJPROJECT SQLITE3 SRTP ZLIB... fail

configure: ***
configure: *** The LUA installation appears to be missing or broken.

Checking config.log reveals:

/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlopen'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlclose'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlerror'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlsym'

This commit adds "-ldl" to lua linker flags so compilation against glibc
works. This has no ill effect on musl where libdl is just an empty
library archive.

This is not something that should be sent upstream, as they maybe
support non-Linux platforms as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #599 from micmac1/dahto-fix-patch
micmac1 [Fri, 1 Jan 2021 22:05:15 +0000 (23:05 +0100)]
Merge pull request #599 from micmac1/dahto-fix-patch

dahdi-tools: remove broken patch, disable unused features

3 years agoMerge pull request #603 from neheb/f
micmac1 [Fri, 1 Jan 2021 22:03:01 +0000 (23:03 +0100)]
Merge pull request #603 from neheb/f

freeswitch: fix compilation with musl 1.2.0

3 years agofreeswitch: fix compilation with CentOS 7 603/head
Rosen Penev [Fri, 9 Oct 2020 09:26:49 +0000 (02:26 -0700)]
freeswitch: fix compilation with CentOS 7

Fix patch 230 as it's a patch of a patch with fuzz and wrong offsets.
It seems something on CentOS 7 doesn't like fuzz.

The AC_TRY_RUN section was removed as upstream added a check whether or
not cross compilation is being done, making it no/op.

Refresh other patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agodahdi-tools: remove broken patch, disable unused 599/head
Sebastian Kemper [Thu, 31 Dec 2020 11:20:04 +0000 (12:20 +0100)]
dahdi-tools: remove broken patch, disable unused

The patch "010-fix-non-glibc-builds.patch" is broken. The test for
HAVE_EXECINFO_H must happen after including "<autoconfig.h>".

Instead of fixing the patch this commit removes it. In lieu,
CONFIGURES_ARGS are added to the Makefile. These disable the building of
some tools that are not packaged anyway. Like this, "xpp/xtalk/debug.c"
is avoided, hence the patch becomes irrelevant.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #596 from micmac1/ast-AST03-04
Jiri Slachta [Sun, 27 Dec 2020 20:33:50 +0000 (21:33 +0100)]
Merge pull request #596 from micmac1/ast-AST03-04

asterisk: micro version bump to 18.1.1

3 years agoasterisk: add res_timing_timerfd to base package 596/head
Sebastian Kemper [Sun, 27 Dec 2020 15:35:26 +0000 (16:35 +0100)]
asterisk: add res_timing_timerfd to base package

This is a response to [1] and [2]. In short, since upstream commit
"channel.c: Resolve issue with receiving SIP INFO packets for DTMF" a
segmentation fault occurs during DTMF when no timing module is loaded.

This commit adds the timerfd timing module to the asterisk base package.
Other possibilities would have been res_timing_pthread and
res_timing_dahdi, but timerfd is the obvious choice because it's
efficient and OpenWrt offers the required kernel support (see [3] for
more details).

Note: even without any timing module the segmentation fault should not
occur according to upstream. Upstream is still working on that. But in
general it makes sense to have a timing module available (loaded) and
the module is tiny anyway.

[1] https://github.com/openwrt/telephony/issues/597
[2] https://issues.asterisk.org/jira/browse/ASTERISK-28800
[3] https://wiki.asterisk.org/wiki/display/AST/Timing+Interfaces

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #580 from neheb/frees
micmac1 [Sat, 26 Dec 2020 11:24:35 +0000 (12:24 +0100)]
Merge pull request #580 from neheb/frees

freeswitch: fix compilation with musl 1.2.0

3 years agoMerge pull request #577 from micmac1/dah-310
micmac1 [Sat, 26 Dec 2020 10:48:17 +0000 (11:48 +0100)]
Merge pull request #577 from micmac1/dah-310

dahdi: bump and cleanups

3 years agoasterisk: micro version bump to 18.1.1
Sebastian Kemper [Wed, 23 Dec 2020 17:16:28 +0000 (18:16 +0100)]
asterisk: micro version bump to 18.1.1

This addresses CVE-2020-35652 as described in:

https://downloads.asterisk.org/pub/security/AST-2020-003.html
https://downloads.asterisk.org/pub/security/AST-2020-004.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoMerge pull request #593 from micmac1/kam-up542
Jiri Slachta [Wed, 23 Dec 2020 17:01:13 +0000 (18:01 +0100)]
Merge pull request #593 from micmac1/kam-up542

kamailio: minor bump + drop 5.x suffix

3 years agoMerge pull request #595 from dkgroot/master
Jiri Slachta [Wed, 23 Dec 2020 16:44:57 +0000 (17:44 +0100)]
Merge pull request #595 from dkgroot/master

asterisk-chan-sccp: update to v4.3.3 release