feed/telephony.git
4 years agoMerge pull request #476 from jslachta/baresip-vp8-vp9
Jiri Slachta [Thu, 24 Oct 2019 05:07:27 +0000 (07:07 +0200)]
Merge pull request #476 from jslachta/baresip-vp8-vp9

baresip: add VP8 and VP9 module

4 years agobaresip: add VP8 and VP9 module 476/head
Jiri Slachta [Tue, 22 Oct 2019 21:47:02 +0000 (23:47 +0200)]
baresip: add VP8 and VP9 module

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
4 years agoMerge pull request #466 from micmac1/libosip2-up-abi
Jiri Slachta [Wed, 16 Oct 2019 13:47:06 +0000 (15:47 +0200)]
Merge pull request #466 from micmac1/libosip2-up-abi

libosip2: bump to 5.1.0

4 years agoMerge pull request #471 from micmac1/pj29
Jiri Slachta [Wed, 16 Oct 2019 13:46:22 +0000 (15:46 +0200)]
Merge pull request #471 from micmac1/pj29

pjproject: bump to version 2.9

4 years agoMerge pull request #472 from micmac1/ast166
Jiri Slachta [Wed, 16 Oct 2019 13:45:04 +0000 (15:45 +0200)]
Merge pull request #472 from micmac1/ast166

asterisk-16.x: bump to 16.6.0

4 years agoMerge pull request #473 from micmac1/kam5.2.5
Jiri Slachta [Wed, 16 Oct 2019 13:40:31 +0000 (15:40 +0200)]
Merge pull request #473 from micmac1/kam5.2.5

kamailio-5.x: bump to 5.2.5

4 years agoMerge pull request #475 from micmac1/bsip-up
Jiri Slachta [Wed, 16 Oct 2019 13:33:15 +0000 (15:33 +0200)]
Merge pull request #475 from micmac1/bsip-up

baresip suite: update to 0.6.4

4 years agoMerge pull request #464 from micmac1/rtpp-rtp-crypto-setup
Jiri Slachta [Wed, 16 Oct 2019 13:32:48 +0000 (15:32 +0200)]
Merge pull request #464 from micmac1/rtpp-rtp-crypto-setup

rtpproxy: fix RTP crypto setup

4 years agorestund: allow parallel build 475/head
Sebastian Kemper [Sun, 13 Oct 2019 17:04:41 +0000 (19:04 +0200)]
restund: allow parallel build

Adds "PKG_BUILD_PARALLEL:=1".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agobaresip: bump to 0.6.4
Sebastian Kemper [Sun, 13 Oct 2019 17:03:04 +0000 (19:03 +0200)]
baresip: bump to 0.6.4

- adds "PKG_BUILD_PARALLEL:=1" for parallel builds
- refreshes patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agorem: allow parallel build
Sebastian Kemper [Sat, 12 Oct 2019 19:20:48 +0000 (21:20 +0200)]
rem: allow parallel build

Adds "PKG_BUILD_PARALLEL:=1".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agore: bump to 0.6.1
Sebastian Kemper [Sat, 12 Oct 2019 19:19:14 +0000 (21:19 +0200)]
re: bump to 0.6.1

Also adds "PKG_BUILD_PARALLEL:=1".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agokamailio-5.x: bump to 5.2.5 473/head
Sebastian Kemper [Fri, 11 Oct 2019 16:20:53 +0000 (18:20 +0200)]
kamailio-5.x: bump to 5.2.5

Minor version bump.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoasterisk-16.x: bump to 16.6.0 472/head
Sebastian Kemper [Fri, 11 Oct 2019 16:17:38 +0000 (18:17 +0200)]
asterisk-16.x: bump to 16.6.0

Also adds two new modules, app-attended-transfer and app-blind-transfer.
Patches refreshed, the ones that are part of the source tarball are
dropped.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agopjproject: bump to version 2.9 471/head
Sebastian Kemper [Fri, 11 Oct 2019 16:06:09 +0000 (18:06 +0200)]
pjproject: bump to version 2.9

Version bump as preparation for Asterisk update.

In other news:

- upgrades ULRs to https
- adds new configure switch --disable-darwin-ssl (doesn't apply to
  OpenWrt, but disable it explicitly anyway)
- use INSTALL_DATA for pkg-config file
- patch naming changed to be in line with Asterisk's patch naming,
  making maintenance easier
- drops some patches, adds some new ones from Asterisk (mainly reverts
  of some pjproject commits which turned out to cause memory leaks)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #470 from micmac1/mas-pcapsipd-strlcpy
Jiri Slachta [Wed, 9 Oct 2019 18:49:58 +0000 (20:49 +0200)]
Merge pull request #470 from micmac1/mas-pcapsipd-strlcpy

pcapsipdump: fix missing libbsd depend

4 years agopcapsipdump: fix missing libbsd depend 470/head
Sebastian Kemper [Wed, 9 Oct 2019 17:40:04 +0000 (19:40 +0200)]
pcapsipdump: fix missing libbsd depend

When libbsd is available in staging it will be picked up by pcapsipdump
during the compile. The binary will link to libbsd, causing an
additional dependency. Currently the builds on the bots are failing
because of this.

The only function pcapsipdump is using from libbsd is strlcpy(). This
function is also provided by uClibc as well as musl.

Attached patch adds a detection mechanism that checks whether libc
provides strlcpy(). This way the dependency on libbsd is only required if
building against a libc which doesn't package strlcpy(), like glibc.
DEPENDS are updated to reflect that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #467 from micmac1/sipp-up
Jiri Slachta [Mon, 7 Oct 2019 21:09:33 +0000 (23:09 +0200)]
Merge pull request #467 from micmac1/sipp-up

sipp: bump to 3.6.0

4 years agoMerge pull request #469 from micmac1/master-sipdump-up
Jiri Slachta [Mon, 7 Oct 2019 21:09:14 +0000 (23:09 +0200)]
Merge pull request #469 from micmac1/master-sipdump-up

pcapsipdump: update to trunk snapshot

4 years agopcapsipdump: update to trunk snapshot 469/head
Sebastian Kemper [Mon, 7 Oct 2019 18:28:15 +0000 (20:28 +0200)]
pcapsipdump: update to trunk snapshot

The last official release is quite old. But pcapsipdump's trunk has seen
a steady stream of fixes and improvements. This commit updates the
package to a current SVN snapshot.

MAKE_FLAGS is simplified. The deleted ARGS are provided by OpenWrt
buildroot, no need to specify them again. All that is needed is LIBS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agosipp: bump to 3.6.0 467/head
Sebastian Kemper [Sat, 5 Oct 2019 15:38:53 +0000 (17:38 +0200)]
sipp: bump to 3.6.0

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agolibosip2: bump to 5.1.0 466/head
Sebastian Kemper [Sat, 5 Oct 2019 15:04:13 +0000 (17:04 +0200)]
libosip2: bump to 5.1.0

Version bump.

- add ABI_VERSION as per OpenWrt package policies [1]
- don't package version-less symlink also as per [1]
- add --disable-silent-rules to keep build verbose
- remove leftover whitespace
- drop patch now included in tarball

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

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #465 from micmac1/sipgrep-up
micmac1 [Sat, 5 Oct 2019 14:00:52 +0000 (16:00 +0200)]
Merge pull request #465 from micmac1/sipgrep-up

sipgrep: update snapshot

4 years agosipgrep: update snapshot 465/head
Sebastian Kemper [Sat, 5 Oct 2019 13:55:56 +0000 (15:55 +0200)]
sipgrep: update snapshot

Update snapshot to latest. Includes a fix for a memory leak.

Version handling changed to use PKG_SOURCE_DATE and PKG_SOURCE_VERSION
as per OpenWrt package policies [1].

PKG_BUILD_PARALLEL:=1 added.

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

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agortpproxy: fix RTP crypto setup 464/head
Sebastian Kemper [Sat, 5 Oct 2019 08:20:27 +0000 (10:20 +0200)]
rtpproxy: fix RTP crypto setup

Compile fails when both libsrtp and libsrtp2 are available. Patch sent
upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #458 from micmac1/bcg729-pkg-config
John Crispin [Wed, 2 Oct 2019 20:21:15 +0000 (22:21 +0200)]
Merge pull request #458 from micmac1/bcg729-pkg-config

bcg729: add pkg-config file

4 years agoMerge pull request #462 from micmac1/rtpp-up
John Crispin [Wed, 2 Oct 2019 20:20:38 +0000 (22:20 +0200)]
Merge pull request #462 from micmac1/rtpp-up

rtpproxy: update to current snapshot

4 years agoMerge pull request #459 from micmac1/ast16-conf
Jiri Slachta [Wed, 2 Oct 2019 19:30:51 +0000 (21:30 +0200)]
Merge pull request #459 from micmac1/ast16-conf

asterisk-16.x: amend config file handling

4 years agoMerge pull request #461 from micmac1/kam5-update
Jiri Slachta [Wed, 2 Oct 2019 19:30:12 +0000 (21:30 +0200)]
Merge pull request #461 from micmac1/kam5-update

kamailio-5.x: update to 5.2.4

4 years agortpproxy: update to current snapshot 462/head
Sebastian Kemper [Wed, 2 Oct 2019 19:22:44 +0000 (21:22 +0200)]
rtpproxy: update to current snapshot

Upstream accepted OpenWrt patches, so most can be removed.

Other changes:

- version handling changed to use PKG_SOURCE_DATE and PKG_SOURCE_VERSION
  as per OpenWrt package policies [1]
- ./files/rtpproxy.config renamed to ./files/rtpproxy.conf also as per
  OpenWrt package policies [1]
- no longer needed Makefile variables dropped (PKG_SOURCE_SUBDIR etc.)
- PKG_CHECK_FORMAT_SECURITY:=0 dropped, patch for that upstreamed as
  well
- PKG_BUILD_PARALLEL:=1 added
- PKG_LICENSE_FILES updated
- dropped bcg729 deactivation hack (fixed by adding bcg729 pkg-config
  file in other commit)
- dependency on libatomic now required
- updated rtpproxy-mod-acct-csv TITLE
- added --without-xsltproc to CONFIGURE_ARGS to prevent build failure
- added new module rtpproxy-mod-acct-rtcp-hep
- added utilities extractaudio and makeann
- updated patch to prevent debug build of rtpp_acct_rtcp_hep

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

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agokamailio-5.x: update to 5.2.4 461/head
Sebastian Kemper [Wed, 2 Oct 2019 19:08:44 +0000 (21:08 +0200)]
kamailio-5.x: update to 5.2.4

Minor version bump.

Also renamed ./files/kamailio.config to ./files/kamailio.conf as per
OpenWrt package policies [1].

One patch refreshed.

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

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #460 from micmac1/fs-remove-comment
micmac1 [Wed, 2 Oct 2019 19:05:14 +0000 (21:05 +0200)]
Merge pull request #460 from micmac1/fs-remove-comment

net/freeswitch-stable: remove old warning

4 years agonet/freeswitch-stable: remove old warning 460/head
Sebastian Kemper [Wed, 2 Oct 2019 19:03:25 +0000 (21:03 +0200)]
net/freeswitch-stable: remove old warning

This warning is not relevant anymore.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoasterisk-16.x: amend config file handling 459/head
Sebastian Kemper [Wed, 2 Oct 2019 18:55:56 +0000 (20:55 +0200)]
asterisk-16.x: amend config file handling

Use $(INSTALL_CONF) instead of $(CP) for module configuration files.
$(INSTALL_CONF) is already used for the init script and utility
configuration  files

Rename ./files/asterisk.config to ./files/asterisk.conf as per OpenWrt
package policies page [1].

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

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agobcg729: add pkg-config file 458/head
Sebastian Kemper [Wed, 2 Oct 2019 18:47:37 +0000 (20:47 +0200)]
bcg729: add pkg-config file

Patch from upstream.

With the .pc file available we can drop a hack in rtpproxy's Makefile.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #455 from micmac1/AST-2019-004
Jiri Slachta [Fri, 20 Sep 2019 16:18:20 +0000 (18:18 +0200)]
Merge pull request #455 from micmac1/AST-2019-004

asterisk-16.x: add patch for AST-2019-004

4 years agoasterisk-16.x: add patch for AST-2019-004 455/head
Sebastian Kemper [Thu, 5 Sep 2019 17:42:40 +0000 (19:42 +0200)]
asterisk-16.x: add patch for AST-2019-004

Add patch for a remote crash vulnerability. Crash can occur when
negotiating for T.38 with a declined stream.

CVE-2019-15297

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #451 from micmac1/fs1.10-cleanup2
micmac1 [Sat, 31 Aug 2019 17:56:14 +0000 (19:56 +0200)]
Merge pull request #451 from micmac1/fs1.10-cleanup2

freeswitch-stable: use qstrip

4 years agofreeswitch-stable: use qstrip 451/head
Sebastian Kemper [Sat, 31 Aug 2019 17:52:09 +0000 (19:52 +0200)]
freeswitch-stable: use qstrip

It's better to rely on qstrip than to look for certain quotes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #450 from micmac1/fs1.10-cleanup
micmac1 [Sat, 31 Aug 2019 17:30:28 +0000 (19:30 +0200)]
Merge pull request #450 from micmac1/fs1.10-cleanup

freeswitch-stable: some small cleanups

4 years agofreeswitch-stable: remove gratuitous symlinks 450/head
Sebastian Kemper [Sat, 31 Aug 2019 17:26:04 +0000 (19:26 +0200)]
freeswitch-stable: remove gratuitous symlinks

No need to copy the libfree{switch,tdm}.so symlinks into the packages.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agofreeswitch-stable: rename configuration file
Sebastian Kemper [Sat, 31 Aug 2019 17:24:52 +0000 (19:24 +0200)]
freeswitch-stable: rename configuration file

As per convention the configuration file in the files directory should
carry the extension .conf.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agofreeswitch-stable: rename some patches
Sebastian Kemper [Sat, 31 Aug 2019 17:23:48 +0000 (19:23 +0200)]
freeswitch-stable: rename some patches

Some patches don't carry the extension .patch. This fixes that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #449 from micmac1/fs1.10.1
micmac1 [Tue, 20 Aug 2019 21:05:20 +0000 (23:05 +0200)]
Merge pull request #449 from micmac1/fs1.10.1

freeswitch-stable: bump to 1.10.1

4 years agofreeswitch-stable: bump to 1.10.1 449/head
Sebastian Kemper [Tue, 20 Aug 2019 21:01:48 +0000 (23:01 +0200)]
freeswitch-stable: bump to 1.10.1

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #448 from micmac1/fs1.10.fixes
micmac1 [Sun, 18 Aug 2019 10:12:50 +0000 (12:12 +0200)]
Merge pull request #448 from micmac1/fs1.10.fixes

freeswitch-stable: a fix and a new utility

4 years agofreeswitch-stable: workaround libvpx compile issue 448/head
Sebastian Kemper [Sun, 18 Aug 2019 10:01:19 +0000 (12:01 +0200)]
freeswitch-stable: workaround libvpx compile issue

The bundled libvpx got updated and now includes some extra tools. But
the linker is fed with some options it doesn't like, which results in
this:

/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-7.4.0_musl/bin/x86_64-openwrt-linux-musl-ld: unrecognized option '-Wl,-rpath-link=/builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/lib/libiconv-stub/lib'
/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-7.4.0_musl/bin/x86_64-openwrt-linux-musl-ld: use the --help option for usage information
/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/freeswitch-1.10.0.-release/libs/libvpx/tools.mk:52: recipe for target 'tools/tiny_ssim' failed
make[6]: *** [tools/tiny_ssim] Error 1

freeswitch doesn't need these tools, it just needs the library, so this
commit just disables them.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agofreeswitch-stable: add utility fs_tts
Sebastian Kemper [Sun, 18 Aug 2019 09:58:13 +0000 (11:58 +0200)]
freeswitch-stable: add utility fs_tts

Utility not usable right now because it has run-time deps on plugins for
TTS, which we don't have currently. But the utility is built by default,
so package it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #447 from micmac1/fs-1.10
micmac1 [Fri, 16 Aug 2019 18:48:41 +0000 (20:48 +0200)]
Merge pull request #447 from micmac1/fs-1.10

freeswitch-stable: upgrade to version 1.10.0

4 years agofreeswitch-stable: upgrade to version 1.10.0 447/head
Sebastian Kemper [Fri, 16 Aug 2019 18:36:13 +0000 (20:36 +0200)]
freeswitch-stable: upgrade to version 1.10.0

- PostgreSQL is a module now, it's no longer in the core. This commit
  removes the related options.

- New modules: mod_mariadb and mod_pgsql. The latter cannot be compiled
  against uclibcpp because of a missing header ("unordered_map").

- Fixed a typo in the eval line for mod_mp4v.

- Refreshed patches.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #446 from micmac1/lantiq-header-4.19
Jiri Slachta [Sun, 11 Aug 2019 17:52:01 +0000 (19:52 +0200)]
Merge pull request #446 from micmac1/lantiq-header-4.19

asterisk-16.x-chan-lantiq: update snapshot

4 years agoasterisk-16.x-chan-lantiq: update snapshot 446/head
Sebastian Kemper [Sun, 4 Aug 2019 09:46:00 +0000 (11:46 +0200)]
asterisk-16.x-chan-lantiq: update snapshot

@arnysch pointed out on openwrt-devel that chan-lantiq fails to build
against kernel 4.19.x. He already fixed this upstream, so we can just
bump the snapshot to get chan-lantiq to compile again.

This also means that we can remove the malloc/free patch as it is
included upstream as well.

Finally, Build/Prepare and the file "default.exports" can be dropped as
the file got included upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #444 from dkgroot/master
Jiri Slachta [Wed, 31 Jul 2019 19:43:12 +0000 (21:43 +0200)]
Merge pull request #444 from dkgroot/master

<net/asterisk-chan-sccp>: Update to v4.3.2-epsilon

4 years agoUpdate to v4.3.2-epsilon (20190730) 444/head
Diederik de Groot [Wed, 31 Jul 2019 19:37:20 +0000 (21:37 +0200)]
Update to v4.3.2-epsilon (20190730)

4 years agoasterisk-16.x: update init to procd (#421)
micmac1 [Thu, 25 Jul 2019 07:33:06 +0000 (09:33 +0200)]
asterisk-16.x: update init to procd (#421)

Converts the init script to procd. The user "asterisk" is added to the
system. This user will be used by default.

The init script no longer extracts its configuration from
"/etc/default/asterisk". Instead the uci configuration
"/etc/config/asterisk" is introduced.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #443 from micmac1/ast16luadep
Jiri Slachta [Fri, 19 Jul 2019 20:44:08 +0000 (22:44 +0200)]
Merge pull request #443 from micmac1/ast16luadep

asterisk-16.x: upgrade pbx-lua dep to liblua5.3

4 years agoasterisk-16.x: upgrade pbx-lua dep to liblua5.3 443/head
Sebastian Kemper [Fri, 19 Jul 2019 19:29:41 +0000 (21:29 +0200)]
asterisk-16.x: upgrade pbx-lua dep to liblua5.3

Recently liblua5.3 was added in the base repo. When both default liblua
and liblua5.3 are staged, asterisk will prefer the latter. But then the
dependency is wrong, because the linked-to lib is in liblua5.3.

This commit upgrades the dependency from liblua to liblua5.3.

Resolves #441.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #439 from jslachta/asterisk-13-removal
Jiri Slachta [Sun, 14 Jul 2019 18:25:46 +0000 (20:25 +0200)]
Merge pull request #439 from jslachta/asterisk-13-removal

(master) asterisk-13.x: move package to abandoned packages

4 years agoasterisk-13.x: move package to abandoned packages 439/head
Jiri Slachta [Sun, 14 Jul 2019 17:25:59 +0000 (19:25 +0200)]
asterisk-13.x: move package to abandoned packages

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
4 years agoMerge pull request #438 from micmac1/ast13-AST-2019-002-and-003
Jiri Slachta [Fri, 12 Jul 2019 20:14:00 +0000 (22:14 +0200)]
Merge pull request #438 from micmac1/ast13-AST-2019-002-and-003

asterisk-1{3,6}.x: fix AST-2019-002 & AST-2019-003

4 years agoasterisk-16.x: fix AST-2019-002 & AST-2019-003 438/head
Sebastian Kemper [Fri, 12 Jul 2019 18:50:33 +0000 (20:50 +0200)]
asterisk-16.x: fix AST-2019-002 & AST-2019-003

https://downloads.asterisk.org/pub/security/AST-2019-002.html
https://downloads.asterisk.org/pub/security/AST-2019-003.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoasterisk-13.x: fix AST-2019-002 & AST-2019-003
Sebastian Kemper [Fri, 12 Jul 2019 18:49:27 +0000 (20:49 +0200)]
asterisk-13.x: fix AST-2019-002 & AST-2019-003

https://downloads.asterisk.org/pub/security/AST-2019-002.html
https://downloads.asterisk.org/pub/security/AST-2019-003.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #434 from micmac1/fs-187
micmac1 [Sun, 7 Jul 2019 16:12:10 +0000 (18:12 +0200)]
Merge pull request #434 from micmac1/fs-187

freeswitch-stable: bump to 1.8.7

4 years agofreeswitch-stable: bump to 1.8.7 434/head
Sebastian Kemper [Sun, 7 Jul 2019 16:07:50 +0000 (18:07 +0200)]
freeswitch-stable: bump to 1.8.7

Version bump. Patches refreshed. Upstreamed patches removed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #433 from micmac1/baresip-dep
Jiri Slachta [Thu, 27 Jun 2019 07:33:53 +0000 (09:33 +0200)]
Merge pull request #433 from micmac1/baresip-dep

baresip: fix recursive dependency

4 years agobaresip: fix recursive dependency 433/head
Sebastian Kemper [Wed, 26 Jun 2019 19:48:28 +0000 (21:48 +0200)]
baresip: fix recursive dependency

Since OpenWrt commit e82a4d9cfb ("config: regenerate *_shipped sources")
a few recursive dependencies have been discovered that were not visible
before.

$ make menuconfig
tmp/.config-package.in:103098:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:103098: symbol PACKAGE_baresip-mod-pulse depends on PACKAGE_baresip-mod-pulse
tmp/.config-package.in:121863:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:121863: symbol PACKAGE_pulseaudio-profiles depends on PACKAGE_pulseaudio-profiles
tmp/.config-package.in:121878:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:121878: symbol PACKAGE_pulseaudio-tools depends on PACKAGE_pulseaudio-tools

The recursive dependencies were reported at [1] and [2].

This commit addresses the recursive dependency of baresip-mod-pulse. The
new dependency string may look a bit peculiar, but it works and when
specified like this pulseaudio (when selected) doesn't get compiled
automatically when the intention is only to build baresip with mod-pulse
disabled (which in general is why we have the "patsubst" in the module
builder - but this is only triggered when the dependency has a leading
"+").

[1] https://github.com/openwrt/packages/issues/9300
[2] https://forum.openwrt.org/t/make-menuconfig-errors-this-day/38673/5

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #431 from micmac1/ast-remove-chan-phone
Jiri Slachta [Mon, 24 Jun 2019 20:31:32 +0000 (22:31 +0200)]
Merge pull request #431 from micmac1/ast-remove-chan-phone

Asterisk: remove chan-phone

4 years agoasterisk-16.x: remove chan-phone 431/head
Sebastian Kemper [Thu, 20 Jun 2019 20:18:56 +0000 (22:18 +0200)]
asterisk-16.x: remove chan-phone

The telephony headers [1] were removed from the kernel, so the Asterisk
channel driver chan-phone can not be built anymore (it depends on these
headers). This causes failures on the build bots on targets which use
kernel 4.19.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoasterisk-13.x: remove chan-phone
Sebastian Kemper [Thu, 20 Jun 2019 20:04:34 +0000 (22:04 +0200)]
asterisk-13.x: remove chan-phone

The telephony headers [1] were removed from the kernel, so the Asterisk
channel driver chan-phone can not be built anymore (it depends on these
headers). This causes failures on the build bots on targets which use
kernel 4.19.

This commit removes chan-phone.

[1] https://github.com/torvalds/linux/commit/c26dd817d99bc50acf2667ee27c39414a7a6638e

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #430 from micmac1/dahdi-linux-3
Jiri Slachta [Wed, 19 Jun 2019 10:29:00 +0000 (12:29 +0200)]
Merge pull request #430 from micmac1/dahdi-linux-3

dahdi-linux: bump to 3.0.0

4 years agodahdi-linux: bump to 3.0.0 430/head
Sebastian Kemper [Mon, 17 Jun 2019 19:20:52 +0000 (21:20 +0200)]
dahdi-linux: bump to 3.0.0

This commit goes back from using a git checkout to using a regular
upstream tarball. Version bumped to 3.0.0 which works with kernels
equal to or greater than 4.15. Patches refreshed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agofreeswitch: move to packages-abandoned repository
Jiri Slachta [Sun, 16 Jun 2019 10:53:51 +0000 (12:53 +0200)]
freeswitch: move to packages-abandoned repository

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
4 years agoMerge pull request #428 from micmac1/fs-186
micmac1 [Mon, 10 Jun 2019 13:18:12 +0000 (15:18 +0200)]
Merge pull request #428 from micmac1/fs-186

freeswitch-stable: bump to 1.8.6

4 years agofreeswitch-stable: bump to 1.8.6 428/head
Sebastian Kemper [Mon, 10 Jun 2019 12:44:12 +0000 (14:44 +0200)]
freeswitch-stable: bump to 1.8.6

- refresh patches
- drop RAND_bytes patch which was upstreamed
- fix ei_init detection
- add opusfile module

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #426 from micmac1/fs-init-awk
micmac1 [Sun, 12 May 2019 12:07:37 +0000 (14:07 +0200)]
Merge pull request #426 from micmac1/fs-init-awk

freeswitch-stable: init script update

5 years agofreeswitch-stable: init script update 426/head
Sebastian Kemper [Sun, 12 May 2019 11:57:54 +0000 (13:57 +0200)]
freeswitch-stable: init script update

- added trailing '--' to logger to make it foolproof
- the script now checks if user and group exist
- directory creation is now done via awk script (more robust)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #425 from micmac1/sccp-gcc8
Jiri Slachta [Wed, 8 May 2019 18:55:03 +0000 (20:55 +0200)]
Merge pull request #425 from micmac1/sccp-gcc8

asterisk-chan-sccp: fix gcc8 compiles

5 years agoasterisk-chan-sccp: fix gcc8 compiles 425/head
Sebastian Kemper [Wed, 8 May 2019 18:15:36 +0000 (20:15 +0200)]
asterisk-chan-sccp: fix gcc8 compiles

Patch applied upstream. Fixes compiles for arc targets, which already
use new gcc8 toolchain.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #422 from micmac1/ast16-mod-desc
Jiri Slachta [Mon, 6 May 2019 18:53:25 +0000 (20:53 +0200)]
Merge pull request #422 from micmac1/ast16-mod-desc

asterisk-16.x: update module descriptions

5 years agoasterisk-15.x: drop support for asterisk-15.x
Jiri Slachta [Sun, 5 May 2019 20:10:53 +0000 (22:10 +0200)]
asterisk-15.x: drop support for asterisk-15.x

This commit drops support for asterisk-15.x in favor
of asterisk-16.x.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
5 years agoMerge pull request #424 from micmac1/16lantiq
Jiri Slachta [Sun, 5 May 2019 08:37:24 +0000 (10:37 +0200)]
Merge pull request #424 from micmac1/16lantiq

asterisk-16.x-chan-lantiq: add compile fix

5 years agoasterisk-16.x-chan-lantiq: add compile fix 424/head
Sebastian Kemper [Sat, 4 May 2019 20:32:17 +0000 (22:32 +0200)]
asterisk-16.x-chan-lantiq: add compile fix

Patch from upstream pull request
(https://github.com/kochstefan/asterisk_channel_lantiq/pull/3).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #423 from micmac1/ast16-semaphores
Jiri Slachta [Sat, 4 May 2019 05:47:50 +0000 (07:47 +0200)]
Merge pull request #423 from micmac1/ast16-semaphores

asterisk-16.x: disable semaphores only on uClibc

5 years agoMerge pull request #417 from micmac1/ast16-add2
Jiri Slachta [Thu, 2 May 2019 10:01:13 +0000 (12:01 +0200)]
Merge pull request #417 from micmac1/ast16-add2

Asterisk 16 additions II

5 years agoMerge pull request #412 from dhewg/pull/asterisk16
Jiri Slachta [Thu, 2 May 2019 09:59:30 +0000 (11:59 +0200)]
Merge pull request #412 from dhewg/pull/asterisk16

Asterisk 16 additions

5 years agoasterisk-opus: add variant for asterisk 16 412/head
Andre Heider [Fri, 12 Oct 2018 10:41:59 +0000 (12:41 +0200)]
asterisk-opus: add variant for asterisk 16

Signed-off-by: Andre Heider <a.heider@gmail.com>
5 years agoasterisk-g72x: add variant for asterisk 16
Andre Heider [Fri, 12 Oct 2018 10:41:45 +0000 (12:41 +0200)]
asterisk-g72x: add variant for asterisk 16

Signed-off-by: Andre Heider <a.heider@gmail.com>
5 years agopjproject: add patches from asterisk's bundled pjproject
Andre Heider [Wed, 30 Jan 2019 10:16:56 +0000 (11:16 +0100)]
pjproject: add patches from asterisk's bundled pjproject

"check whether UPDATE is supported on outgoing calls", commit 5de36abd:

In ASTERISK-27095 an issue had been fixed because of which chan_pjsip was not
trying to send UPDATE messages when connected_line_method was set to invite.
However this only solved the issue for incoming INVITES. For outgoing INVITES
(important when transferring calls) the options variable needs to be updated
at a different place.

"Add patch for double free issue in timer heap", commit 9c11399b:

Fixed #2172: Avoid double reference counter decrements in
timer in the scenario of race condition between
pj_timer_heap_cancel() and pj_timer_heap_poll().

"Add timer patch from pjproject r5934", commit d4cd2a97.

Signed-off-by: Andre Heider <a.heider@gmail.com>
5 years agoasterisk-16.x: disable semaphores only on uClibc 423/head
Sebastian Kemper [Wed, 1 May 2019 18:43:34 +0000 (20:43 +0200)]
asterisk-16.x: disable semaphores only on uClibc

The current patch disables semaphore use always. But musl and glibc
support semaphores. Only uClibc doesn't support them (the functions are
defined but just throw an error when called).

The patch is updated to allow Asterisk to use the system semaphores when
using anything but uClibc. It is also renamed to reflect that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoasterisk-16.x: update module descriptions 422/head
Sebastian Kemper [Wed, 1 May 2019 18:32:49 +0000 (20:32 +0200)]
asterisk-16.x: update module descriptions

The current module descriptions look a bit topsy-turvy.

This updates the BuildAsteriskModule macro to simply take any sentence
(without trying to integrate the input into another string). If the
input contains '\n' a line break is inserted.

The module descriptions were updated from menuselect-tree.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #411 from micmac1/ast16
Jiri Slachta [Wed, 1 May 2019 09:43:22 +0000 (11:43 +0200)]
Merge pull request #411 from micmac1/ast16

asterisk-16: new package

5 years agoasterisk-16.x: add Asterisk 16 411/head
Sebastian Kemper [Sat, 27 Apr 2019 14:04:34 +0000 (16:04 +0200)]
asterisk-16.x: add Asterisk 16

Initial commit of Asterisk 16. Cleans up Makefile; the version number
now only occurs once in it.

Upstream removed the following modules:

  - format_jpeg
  - res_pjsip_registrar_expire (functionality was moved into
    res_pjsip_registrar.)

pjsip has a new dependency, res-http-websocket.

Notes:

  - replaced res_ninit patch

    Replaced patch with the one from Alpine. It's a bit more flexible and
    allows usage of res_ninit where available (when building against
    glibc).

  - fixed musl compiles

    astmm.h now always gets included by asterisk.h, redefining allocators.
    This causes breakage on musl:

    ccache_cc -o chan_pjsip.o -c chan_pjsip.c -MD -MT chan_pjsip.o -MF .chan_pjsip.o.d -MP -pthread -I/home/sk/tmp/openwrt/build_dir/target-mips_24kc_musl/asterisk-16.2.1/include -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/sk/tmp/openwrt/build_dir/target-mips_24kc_musl/asterisk-16.2.1:asterisk-16.2.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libiconv-stub/include -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libintl-stub/include -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/include -I/home/sk/tmp/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.4.0_musl/usr/include -I/home/sk/tmp/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.4.0_musl/include/fortify -I/home/sk/tmp/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.4.0_musl/include -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libiconv-stub/include -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libintl-stub/include    -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/include/libxml2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations       -fPIC -DAST_MODULE=\"chan_pjsip\" -DAST_MODULE_SELF_SYM=__internal_chan_pjsip_self  -DPJ_AUTOCONF=1 -DPJ_IS_BIG_ENDIAN=1 -DPJ_IS_LITTLE_ENDIAN=0 -fPIC -I/home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/include
    In file included from /home/sk/tmp/openwrt/build_dir/target-mips_24kc_musl/asterisk-16.2.1/include/asterisk.h:23:0,
                     from chan_pjsip.c:35:
    /home/sk/tmp/openwrt/build_dir/target-mips_24kc_musl/asterisk-16.2.1/include/asterisk/astmm.h:158:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
      Do_not_use_calloc__use_ast_calloc->fail(a, b)
                                       ^
    /home/sk/tmp/openwrt/build_dir/target-mips_24kc_musl/asterisk-16.2.1/include/asterisk/astmm.h:162:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
      Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory->fail(a)
                                                                                 ^
    make[4]: *** [/home/sk/tmp/openwrt/build_dir/target-mips_24kc_musl/asterisk-16.2.1/Makefile.rules:153: chan_pjsip.o] Error 1

    The problem is that with _GNU_SOURCE defined musl also declares calloc in
    <sched.h> - and when asterisk's source includes <sched.h> _after_
    "asterisk/astmm.h" the definition clashes with the macro. Timo Teräs from
    Alpine Linux fixed this by including <pthread.h> in "asterisk/compat.h". He
    chose to include <pthread.h> instead of <sched.h> because the original
    header inclusion chain seems to be "asterisk/astobj2.h" ->
    "asterisk/lock.h" -> <pthread.h> -> <sched.h>. It seems Asterisk
    practically never includes <sched.h> directly.

  - added loader workaround for musl

    When the modules are loaded, asterisk segfaults on musl.

       Asterisk Dynamic Loader Starting:
      [Mar  2 22:30:05] NOTICE[20712]: loader.c:2230 load_modules: 91 modules will be loaded.
      Segmentation fault

      [48817.544248] do_page_fault(): sending SIGSEGV to asterisk for invalid read access from 00000000
      [48817.544258] epc = 77f6b764 in libc.so[77ef8000+94000]
      [48817.544285] ra  = 0048d579 in asterisk[400000+160000]

    The real problem is that the loader expects dlopen to always run the
    constructor, which doesn't happen with musl, because its dlopen is
    permanent.

    This commit adds a new configure switch '--enable-permanent-dlopen'.
    When enabled, the loader will manually call 'ast_module_register(...)'
    and 'ast_module_unregister(...)' when needed.

  - allow eventfd detection

    Asterisk 16 wants to use eventfd, but it doesn't allow the detection
    during cross-compiling. This results in runtime warnings, for instance
    when shutting down:

      [Mar  2 22:37:41] WARNING[21593]: alertpipe.c:112 ast_alertpipe_read: read() failed: Bad file descriptor
      [Mar  2 22:37:41] WARNING[21593]: alertpipe.c:112 ast_alertpipe_read: read() failed: Bad file descriptor
      [Mar  2 22:37:41] WARNING[21593]: alertpipe.c:112 ast_alertpipe_read: read() failed: Bad file descriptor

    Relax the configure script so that eventfd can also be detected when
    cross-compiling.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #420 from micmac1/baresip-062
Jiri Slachta [Tue, 30 Apr 2019 16:42:54 +0000 (18:42 +0200)]
Merge pull request #420 from micmac1/baresip-062

baresip: update and a bit of polishing

5 years agobaresip: update to 0.6.2 420/head
Sebastian Kemper [Sun, 21 Apr 2019 13:27:21 +0000 (15:27 +0200)]
baresip: update to 0.6.2

- echo module is now built by default
- natbd, v4l, x264 don't exist anymore

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agobaresip: update default config
Sebastian Kemper [Sun, 21 Apr 2019 13:24:09 +0000 (15:24 +0200)]
baresip: update default config

This adds two (three, really) sed scripts to update the default
configuration. All example accounts are getting disabled/commented. And
the module_path is set to the actual path.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agobaresip: amend file permissions
Sebastian Kemper [Sun, 21 Apr 2019 13:21:36 +0000 (15:21 +0200)]
baresip: amend file permissions

The files in /usr/share/baresip are all read-only anyway, so
INSTALL_DATA can be used.

Use it as well for the included (default) modules, otherwise they'll
have different permissions than the extra modules.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agobaresip: rely on procd for shutdown
Sebastian Kemper [Sun, 21 Apr 2019 13:18:46 +0000 (15:18 +0200)]
baresip: rely on procd for shutdown

No need to stop baresip manually. Just let procd handle it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agobaresip: do not disable on upgrade
Sebastian Kemper [Sun, 21 Apr 2019 13:17:29 +0000 (15:17 +0200)]
baresip: do not disable on upgrade

It is not a nice user experience when a package changes configuration
files during an upgrade. Remove this from the postinstall routine.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agobaresip: disable ffmpeg support on i386
Sebastian Kemper [Sun, 21 Apr 2019 13:14:11 +0000 (15:14 +0200)]
baresip: disable ffmpeg support on i386

The ffmpeg full variant does not compile on i386_pentium currently.
Disable ffmpeg support on i386 to prevent breakage on the buildbots.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agorestund: do not disable on upgrade
Sebastian Kemper [Sun, 21 Apr 2019 13:11:42 +0000 (15:11 +0200)]
restund: do not disable on upgrade

It is not a nice user experience when a package changes configuration
files during an upgrade. Remove this from the postinstall routine.

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