feed/telephony.git
6 years agochan-lantiq: pull the source from github 204/head
Sebastian Kemper [Mon, 20 Nov 2017 11:24:35 +0000 (12:24 +0100)]
chan-lantiq: pull the source from github

Instead of using local copies pull the source from github. The source
version is selected via CHAN_LANTIQ_VERSION, so there can be a different
version for each VARIANT.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #202 from micmac1/master
Jiri Slachta [Sat, 18 Nov 2017 09:47:31 +0000 (11:47 +0200)]
Merge pull request #202 from micmac1/master

New PR: bump asterisk

6 years agoasterisk-15.x: bump to 15.1.2 202/head
Sebastian Kemper [Thu, 16 Nov 2017 18:48:03 +0000 (19:48 +0100)]
asterisk-15.x: bump to 15.1.2

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: bump to 13.18.2
Sebastian Kemper [Thu, 16 Nov 2017 18:47:08 +0000 (19:47 +0100)]
asterisk-13.x: bump to 13.18.2

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #201 from micmac1/master
Jiri Slachta [Wed, 15 Nov 2017 04:03:07 +0000 (06:03 +0200)]
Merge pull request #201 from micmac1/master

New PR: libsrtp2, pjproject and asterisk-13/15

6 years agoasterisk-15.x: upgrade dependency from libsrtp to libsrtp2 201/head
Sebastian Kemper [Tue, 14 Nov 2017 22:08:04 +0000 (23:08 +0100)]
asterisk-15.x: upgrade dependency from libsrtp to libsrtp2

With the recently updated libsrtp2 asterisk 15 compiles fine, so it
doesn't need to be forcefully prevented anymore from linking against it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: upgrade dependency from libsrtp to libsrtp2
Sebastian Kemper [Tue, 14 Nov 2017 22:04:05 +0000 (23:04 +0100)]
asterisk-13.x: upgrade dependency from libsrtp to libsrtp2

With the recently updated libsrtp2 asterisk 13 compiles fine, so it
doesn't need to be forcefully prevented anymore from linking against it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agopjproject: bump to 2.7.1
Sebastian Kemper [Tue, 14 Nov 2017 21:59:19 +0000 (22:59 +0100)]
pjproject: bump to 2.7.1

- Update from 2.6 to 2.7.1.
- Update sed script because the TARGET_CFLAGS now occur twice in the .pc
  file.
- Upgrade dependency from libsrtp to libsrtp2.
- Drop patches that were included upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agolibsrtp2: install library symlink
Sebastian Kemper [Tue, 14 Nov 2017 21:54:26 +0000 (22:54 +0100)]
libsrtp2: install library symlink

Install the symlink from libsrtp2.so to libsrtp2.so.1 as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #199 from micmac1/master
Jiri Slachta [Mon, 13 Nov 2017 11:26:13 +0000 (13:26 +0200)]
Merge pull request #199 from micmac1/master

asterisk-chan-lantiq: remove nonshared hack

6 years agoasterisk-chan-lantiq: remove nonshared hack 199/head
Sebastian Kemper [Sun, 12 Nov 2017 19:17:17 +0000 (20:17 +0100)]
asterisk-chan-lantiq: remove nonshared hack

The previously conceived hack - to make the buildbots actually build
this package during the target phase - does not work. This patch removes
the hack. This includes removing the lines from the asterisk Makefiles
that tar up the asterisk headers.

The upside of removing the hack is that the package name can be reverted
to what it was before, so it can be found in the same place like all the
other asterisk modules, i.e. below its asterisk version.

Another upside is that the Makefile does not pretend to solve the
problem anymore. Issue #193 is still open for the same. Maybe some day
somebody can figure out how to resolve the problem properly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agorem: update to 0.5.2
Jiri Slachta [Tue, 7 Nov 2017 19:50:00 +0000 (20:50 +0100)]
rem: update to 0.5.2

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agore: update to 0.5.6
Jiri Slachta [Tue, 7 Nov 2017 19:49:23 +0000 (20:49 +0100)]
re: update to 0.5.6

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agobaresip: update to 0.5.6
Jiri Slachta [Tue, 7 Nov 2017 19:48:49 +0000 (20:48 +0100)]
baresip: update to 0.5.6

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agortpproxy: fix build for bcg729 >1.0.1
Jiri Slachta [Tue, 7 Nov 2017 19:07:03 +0000 (20:07 +0100)]
rtpproxy: fix build for bcg729 >1.0.1

Several method signatures have changed in bcg729 1.0.1
and higher. This issue was already resolved in upstream.
In the current development branch, there is no compilable
version. Due to those changes, I have disabled linking
against bcg729 since we have bcg729 at version 1.0.2.

By disabling bcg729 the internal g729 rtpproxy API
will be used.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-15.x: introduce new package
Jiri Slachta [Tue, 7 Nov 2017 08:29:45 +0000 (09:29 +0100)]
asterisk-15.x: introduce new package

I introduce asterisk 15.x as a replacement for asterisk 11.x. Currently
without support for chan-lantiq and sccp-b. Those features are going to
be added soon after this introduction.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-13.x: patch for TLS support, closes #195
Jiri Slachta [Sun, 5 Nov 2017 16:59:58 +0000 (17:59 +0100)]
asterisk-13.x: patch for TLS support, closes #195

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agolibsrtp2: update to 2.1.0
Jiri Slachta [Wed, 1 Nov 2017 10:59:29 +0000 (11:59 +0100)]
libsrtp2: update to 2.1.0

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agolibsrtp: update to 1.6.0
Jiri Slachta [Wed, 1 Nov 2017 10:58:15 +0000 (11:58 +0100)]
libsrtp: update to 1.6.0

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-13.x: rm not applicable patch to 13.18
Jiri Slachta [Wed, 1 Nov 2017 09:46:45 +0000 (10:46 +0100)]
asterisk-13.x: rm not applicable patch to 13.18

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-13.x: update to 13.18.0
Jiri Slachta [Tue, 31 Oct 2017 15:10:28 +0000 (16:10 +0100)]
asterisk-13.x: update to 13.18.0

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoortp: export to abandoned packages repository
Jiri Slachta [Sun, 29 Oct 2017 17:29:49 +0000 (18:29 +0100)]
ortp: export to abandoned packages repository

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-11.x: export to abandoned repository
Jiri Slachta [Sun, 29 Oct 2017 17:22:19 +0000 (18:22 +0100)]
asterisk-11.x: export to abandoned repository

Asterisk-11.x has been marked as obsolete by upstream, thus we
cannot provide support for this version in telephony repository.

Asterisk at version 11.x is no longer with us, however its successor
is going to be in the repository for a quite a long time. Please use
13.x or newer version.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agochan-sccp-b: removal of asterisk-11.x variant
Jiri Slachta [Sun, 29 Oct 2017 17:20:59 +0000 (18:20 +0100)]
chan-sccp-b: removal of asterisk-11.x variant

The removal of asterisk-11.x variant is made due to
Asterisks 11.x EOL.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-g72x: removal of asterisk-11.x variant
Jiri Slachta [Sun, 29 Oct 2017 17:19:55 +0000 (18:19 +0100)]
asterisk-g72x: removal of asterisk-11.x variant

The removal of asterisk11.x variant is made due to
asterisk 11.x EOL.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-chan-dongle: remove asterisk-11.x variant
Jiri Slachta [Sun, 29 Oct 2017 17:16:36 +0000 (18:16 +0100)]
asterisk-chan-dongle: remove asterisk-11.x variant

The removal of asterisk-11.x variant is made due to
asterisks 11.x EOL.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoMerge pull request #191 from micmac1/master
Jiri Slachta [Mon, 9 Oct 2017 06:51:01 +0000 (08:51 +0200)]
Merge pull request #191 from micmac1/master

asterisk-chan-lantiq: fix SDK build

7 years agoasterisk-chan-lantiq: fix SDK build 191/head
Sebastian Kemper [Sun, 8 Oct 2017 17:52:13 +0000 (19:52 +0200)]
asterisk-chan-lantiq: fix SDK build

When building using the SDK the $(SOURCE) variable is set differently,
resulting in files not being found. Not using the variable and using
"./" instead works fine.

This fixes issue #190. Thanks to @Bongo79 for reporting and providing
the fix.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #188 from micmac1/master
Jiri Slachta [Sun, 8 Oct 2017 14:41:32 +0000 (16:41 +0200)]
Merge pull request #188 from micmac1/master

New PR: asterisk version bumps plus chan-lantiq changes

7 years agolibosip2: version bump 188/head
Sebastian Kemper [Sun, 8 Oct 2017 09:12:00 +0000 (11:12 +0200)]
libosip2: version bump

Bump to 5.0.0, drop patch which was integrated by upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoiksemel: fixes and cleanups
Sebastian Kemper [Sun, 8 Oct 2017 08:53:54 +0000 (10:53 +0200)]
iksemel: fixes and cleanups

- Currently iksemel doesn't recognize gnutls anymore. Fix that by
  substituting the currently used patches with one that also Debian is
  using. It allows gnutls detection via pkgconfig.
- Add another patch Debian is using to enable secure gnutls options.
- Update project URL.
- Remove unneeded flags and Build/Prepare customizations.
- Cleanup DEPENDS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agotelephony: use PKG_HASH instead of PKG_MD5SUM
Sebastian Kemper [Sun, 8 Oct 2017 08:31:56 +0000 (10:31 +0200)]
telephony: use PKG_HASH instead of PKG_MD5SUM

Use sha256 instead of md5 for download verification.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agotelephony: use https:// PKG_SOURCE_URLs where possible
Sebastian Kemper [Sun, 8 Oct 2017 08:11:00 +0000 (10:11 +0200)]
telephony: use https:// PKG_SOURCE_URLs where possible

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agotelephony: replace git:// URIs with https:// equivalents
Sebastian Kemper [Sun, 8 Oct 2017 07:50:41 +0000 (09:50 +0200)]
telephony: replace git:// URIs with https:// equivalents

Plain git:// doesn't add security. Use https:// instead. See
https://gist.github.com/grawity/4392747.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-chan-lantiq: Fix nonshared builds
Sebastian Kemper [Wed, 27 Sep 2017 13:43:20 +0000 (15:43 +0200)]
asterisk-chan-lantiq: Fix nonshared builds

- Cosmetic: change version from 1.0 to git checkout date.
- Remove dependency on asterisk, as otherwise the package won't be
  built by the build bots.
- Without asterisk in the staging directory the asterisk headers are
  now taken from an archive in $(DL_DIR), which is stored there by the
  asterisk package.
- The naming of the package needs to be changed, as without the
  dependency on asterisk it would otherwise mess with asterisk's
  menuconfig layout.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-13.x: Store headers for chan-lantiq
Sebastian Kemper [Wed, 27 Sep 2017 13:27:12 +0000 (15:27 +0200)]
asterisk-13.x: Store headers for chan-lantiq

Store asterisk headers in $(DL_DIR) so chan-lantiq can access them
during the target specific build phase. The headers are tarred up for
"mips_24kc" only because that is currently the only used arch for all
chan-lantiq targets.

Store one archive for each combination of asterisk version (e.g. 13) and
branch (using $(VERSION_NUMBER)). The latter makes sure that a release
build doesn't overwrite the header archive of a master snapshot build
and vice vera.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-13.x: Bump to 13.17.2
Sebastian Kemper [Wed, 27 Sep 2017 13:01:08 +0000 (15:01 +0200)]
asterisk-13.x: Bump to 13.17.2

Fixes: AST-2017-008
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-11.x: Bump to 11.25.3
Sebastian Kemper [Wed, 27 Sep 2017 12:57:43 +0000 (14:57 +0200)]
asterisk-11.x: Bump to 11.25.3

Fixes: AST-2017-008
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #189 from robho/yate6
Jiri Slachta [Mon, 2 Oct 2017 08:56:18 +0000 (10:56 +0200)]
Merge pull request #189 from robho/yate6

yate: Bump to version 6.0.0

7 years agoyate: Bump to version 6.0.0 189/head
Robert Högberg [Sun, 1 Oct 2017 18:26:06 +0000 (20:26 +0200)]
yate: Bump to version 6.0.0

Updates yate to version 6.0.0.

7 years agoMerge pull request #187 from micmac1/master
Jiri Slachta [Wed, 20 Sep 2017 07:22:24 +0000 (09:22 +0200)]
Merge pull request #187 from micmac1/master

New PR: asterisk chan-dongle and chan-lantiq

7 years agoasterisk-chan-lantiq: Move to separate package 187/head
Sebastian Kemper [Thu, 14 Sep 2017 19:02:57 +0000 (21:02 +0200)]
asterisk-chan-lantiq: Move to separate package

Currently chan-lantiq doesn't build on the build bots and users end up
having to build it themselves. The reason for this was explained by
Mathias Kresin here:
http://lists.infradead.org/pipermail/lede-dev/2017-September/008886.html.

To fix this put chan-lantiq into its own package and set
PKG_FLAGS:=nonshared. The new package uses variants already, so it is
easily extendable in the future.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-chan-dongle: sync up with master, fix endian issue
Sebastian Kemper [Thu, 14 Sep 2017 18:56:35 +0000 (20:56 +0200)]
asterisk-chan-dongle: sync up with master, fix endian issue

- Sync module to master.
- Drop big endian patch as it was included upstream.
- This fixes endian issue reported at
  https://github.com/wdoekes/asterisk-chan-dongle/issues/44.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-13.x: mark chan-lantiq as nonshared
Jiri Slachta [Wed, 13 Sep 2017 13:31:54 +0000 (15:31 +0200)]
asterisk-13.x: mark chan-lantiq as nonshared

Because asterisk13-chan-lantiq is target specific package,
it needs PKG_FLAGS variable set to nonshared.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agobaresip: update to 0.5.5
Jiri Slachta [Tue, 12 Sep 2017 12:10:43 +0000 (14:10 +0200)]
baresip: update to 0.5.5

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agorem: update to 0.5.1
Jiri Slachta [Tue, 12 Sep 2017 12:10:21 +0000 (14:10 +0200)]
rem: update to 0.5.1

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agore: update to 0.5.5
Jiri Slachta [Tue, 12 Sep 2017 12:09:48 +0000 (14:09 +0200)]
re: update to 0.5.5

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agokamailio-4.x: moved to abandoned packages
Jiri Slachta [Tue, 12 Sep 2017 06:30:00 +0000 (08:30 +0200)]
kamailio-4.x: moved to abandoned packages

Kamailio-4.x is moved to abandoned packages in favor
of Kamailio-5.x.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoMerge pull request #186 from micmac1/master
Jiri Slachta [Mon, 11 Sep 2017 19:37:34 +0000 (21:37 +0200)]
Merge pull request #186 from micmac1/master

New PR: asterisk 11 + 13 (cleanups, fixes and version bumps)

7 years agoasterisk13: bump to 13.17.1 186/head
Sebastian Kemper [Sun, 10 Sep 2017 20:35:49 +0000 (22:35 +0200)]
asterisk13: bump to 13.17.1

Fixes AST-2017-005, AST-2017-006 and AST-2017-007.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk13: add patch from alpine linux to fix AMI on musl
Sebastian Kemper [Sun, 10 Sep 2017 20:27:18 +0000 (22:27 +0200)]
asterisk13: add patch from alpine linux to fix AMI on musl

This adds ASTERISK-24517.patch from alpine linux. Without the patch
there are problems with the tcp/tls wrapper when running on a musl
toolchain. This is visible when toying with AMI:

LEDE*CLI> !nc localhost 5038
[Sep 10 12:13:25] WARNING[10315]: tcptls.c:684 handle_tcptls_connection: FILE * open failed!

This fixes issue #185 for asterisk 13 in trunk. The patch cannot be
applied to asterisk 11.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk11: bump to 11.25.2
Sebastian Kemper [Sun, 10 Sep 2017 20:23:24 +0000 (22:23 +0200)]
asterisk11: bump to 11.25.2

Fixes AST-2017-005 and AST-2017-006.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk11: use internal libedit
Sebastian Kemper [Sun, 10 Sep 2017 20:20:54 +0000 (22:20 +0200)]
asterisk11: use internal libedit

Asterisk 11 cannot deal with a unicode-enabled libedit. Input is not
possible anymore. Use the internal copy. Asterisk 13 works fine with the
external libedit.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk11: fix conffiles define
Sebastian Kemper [Sun, 10 Sep 2017 20:18:30 +0000 (22:18 +0200)]
asterisk11: fix conffiles define

The configuration file protection for modules does not work when there
is more than one configuration file. Currently conffiles is populated
with a space separated list. But the items need to be separated by
newlines. With spaces, only the first item gets added to conffiles. The
remaining items are dropped and not protected. Fix this by replacing
spaces with newlines.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk11: clean up compile stage
Sebastian Kemper [Sun, 10 Sep 2017 20:15:38 +0000 (22:15 +0200)]
asterisk11: clean up compile stage

- Don't add extra TARGET_LDFLAGS for asterisk13-pbx-lua. It is not
  needed anymore.
- Stop setting -Wl,-rpath-link in LDFLAGS. There seems to be no point to
  do that (anymore).
- Stop calling specific make targets like version.h; make handles the
  build properly without it.
- Add AST_FORTIFY_SOURCE to MAKE_FLAGS (seen in Debian rules file,
  prevents asterisk's build system to mess with OpenWrt/LEDE flags).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk11: clean up configure stage
Sebastian Kemper [Sun, 10 Sep 2017 20:11:36 +0000 (22:11 +0200)]
asterisk11: clean up configure stage

- Remove some unneeded parentheses.
- Use CONFIGURE_VARS instead of SITE_VARS.
- Clean up user.mak input, add NDEBUG=1 to avoid debug asserts.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk11: change some default file locations
Sebastian Kemper [Sun, 10 Sep 2017 20:05:21 +0000 (22:05 +0200)]
asterisk11: change some default file locations

- Set data dir to /usr/share/asterisk and use default locations for
  everything else.
- This is more in line with FHS and fixes issue #38. Database files are
  now written to tmpfs (/var is mounted there). This prevents the
  rootfs from filling up. It also prevents the flash to degrade during
  constant database rewriting.
- As the data dir changes, so does the location of the sound files. This
  commit also takes care of that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #184 from micmac1/master
Jiri Slachta [Sun, 3 Sep 2017 12:53:49 +0000 (14:53 +0200)]
Merge pull request #184 from micmac1/master

New PR: asterisk, chan-sccp-b, asterisk-chan-dongle

7 years agochan-sccp-b: fix uclibc build 184/head
Sebastian Kemper [Fri, 1 Sep 2017 22:30:28 +0000 (00:30 +0200)]
chan-sccp-b: fix uclibc build

uclibc doesn't include iconv, so we need to use libiconv-full. This
fixes the ARC builds as they still default to uclibc.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-chan-dongle: fix uclibc build
Sebastian Kemper [Fri, 1 Sep 2017 22:28:16 +0000 (00:28 +0200)]
asterisk-chan-dongle: fix uclibc build

uclibc doesn't include iconv, so we need to use libiconv-full. This
fixes the ARC builds as they still default to uclibc.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-chan-dongle: change project URL
Sebastian Kemper [Fri, 1 Sep 2017 22:24:51 +0000 (00:24 +0200)]
asterisk-chan-dongle: change project URL

Change the upstream URL to the one where we get the source from to avoid
confusion.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk13: add func_iconv
Sebastian Kemper [Fri, 1 Sep 2017 22:22:42 +0000 (00:22 +0200)]
asterisk13: add func_iconv

Add new module. Iconv is available in the toolchain, so it doesn't cost
anything. Don't add it when uclibc is used, because there an external
libiconv would be needed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk13: add missing commas to module definitions
Sebastian Kemper [Fri, 1 Sep 2017 22:21:13 +0000 (00:21 +0200)]
asterisk13: add missing commas to module definitions

Only a cosmetic change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk11 + asterisk13: use system libedit
Sebastian Kemper [Fri, 1 Sep 2017 22:17:42 +0000 (00:17 +0200)]
asterisk11 + asterisk13: use system libedit

libedit now includes a pkgconfig file, meaning asterisk can detect it.
So use the system libedit instead having asterisk include an internal
copy.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agodahdi-tools: fix previous commit
Daniel Golle [Fri, 1 Sep 2017 14:21:22 +0000 (16:21 +0200)]
dahdi-tools: fix previous commit

The dependencies in the default section were modified instead of just
the ones for dahdi-cfg. Fix that.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agodahdi-tools: package dahdi_cfg executable
Daniel Golle [Thu, 31 Aug 2017 23:11:17 +0000 (01:11 +0200)]
dahdi-tools: package dahdi_cfg executable

Grab the binary instead of the libtool-shell-wrapper...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agoMerge pull request #183 from micmac1/master
Jiri Slachta [Mon, 28 Aug 2017 19:31:30 +0000 (21:31 +0200)]
Merge pull request #183 from micmac1/master

asterisk-chan-dongle: overhaul

7 years agoasterisk-chan-dongle: overhaul 183/head
Sebastian Kemper [Sun, 27 Aug 2017 18:58:19 +0000 (20:58 +0200)]
asterisk-chan-dongle: overhaul

- Make the Makefile use BUILD_VARIANT so the package can be built for
  different Asterisk versions. This is also the reason why the folder is
  renamed from asterisk-11.x-chan-dongle to asterisk-chan-dongle.
- Change source URI from upstream to the fork of wdoekes. Upstream
  doesn't update the repo anymore, wdoekes does.
- Remove dep on libiconv-full, make the package use toolchain's iconv
  (compile-tested with musl).
- Drop patches that are already upstream.
- Update flags.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-13.x: package RAND dialplan function
Daniel Golle [Sun, 27 Aug 2017 01:36:12 +0000 (03:36 +0200)]
asterisk-13.x: package RAND dialplan function

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agoMerge pull request #182 from micmac1/master
Jiri Slachta [Sat, 26 Aug 2017 16:37:00 +0000 (18:37 +0200)]
Merge pull request #182 from micmac1/master

New PR: pjproject and asterisk13

7 years agoasterisk13: add missing modules 182/head
Sebastian Kemper [Sat, 19 Aug 2017 14:48:41 +0000 (16:48 +0200)]
asterisk13: add missing modules

- Add missing modules to curl and odbc packages. This fixes issue #181.
- Add back pbx-lua, which apparently was dropped earlier.
- Revision bump.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk13: clean up compile stage
Sebastian Kemper [Sat, 19 Aug 2017 14:35:40 +0000 (16:35 +0200)]
asterisk13: clean up compile stage

- Don't add extra TARGET_LDFLAGS for asterisk13-pbx-lua. It is not
  needed anymore (apart from that the module isn't available currently,
  see next commit).
- Stop setting -Wl,-rpath-link in LDFLAGS. There seems to be no point to
  do that (anymore).
- Stop calling specific make targets like version.h; make handles the
  build properly without it.
- Use the default compile routine instead of the custom one.
- Add AST_FORTIFY_SOURCE to MAKE_FLAGS (seen in Debian rules file,
  prevents asterisk's build system to mess with OpenWrt/LEDE flags).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk13: clean up configure stage
Sebastian Kemper [Sat, 19 Aug 2017 14:27:01 +0000 (16:27 +0200)]
asterisk13: clean up configure stage

- Remove some unneeded parentheses.
- Remove $(SITE_VARS) as it is not used.
- Remove --without-curl and --with-uuid=... from configure arguments as
  they've been removed from configure.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk13: change some default file locations
Sebastian Kemper [Sat, 19 Aug 2017 14:05:07 +0000 (16:05 +0200)]
asterisk13: change some default file locations

- Set data dir to /usr/share/asterisk and use default locations for
  everything else.
- This is more in line with FHS and fixes issue #38. Database files are
  now written to tmpfs (/var is mounted there). This prevents the
  rootfs from filling up. It also prevents the flash to degrade during
  constant database rewriting.
- As the data dir changes, so does the location of the sound files. This
  commit also takes care of that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agopjpoject: cleanups and fix for COPTS warnings
Sebastian Kemper [Sat, 19 Aug 2017 13:47:54 +0000 (15:47 +0200)]
pjpoject: cleanups and fix for COPTS warnings

- Remove some unnecessary trailing slashes plus fix a whitespace.
- Remove flags that do not seem to have a good reason to be there
  (anymore).
- Add sed script to remove $(TARGET_CFLAGS) from pkgconfig file. This
  gets rid of the warnings in asterisk13 about COPTS duplication.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #180 from micmac1/master
Jiri Slachta [Tue, 15 Aug 2017 15:28:05 +0000 (17:28 +0200)]
Merge pull request #180 from micmac1/master

chan-sccp-b: switch to git version, update patch

7 years agochan-sccp-b: switch to git version, update patch 180/head
Sebastian Kemper [Mon, 14 Aug 2017 19:59:36 +0000 (21:59 +0200)]
chan-sccp-b: switch to git version, update patch

- As suggested by upstream in issue #167, move from svn to git source.
  The resulting module is less than half the size in comparison.

- Rework (and rename) previous "drop-Og-optimization" patch. The
  previous patch worked fine with -Os in CFLAGS (default). But if numeric
  values are used instead (e.g. -O2) this optimization would be completely
  removed. The new patch prevents that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #123 from robho/yate_banbrutes_using_iptables_recent
Jiri Slachta [Sun, 13 Aug 2017 19:26:56 +0000 (21:26 +0200)]
Merge pull request #123 from robho/yate_banbrutes_using_iptables_recent

yate-scripts-perl: Add script to block phones which fail to authenticate

7 years agokamailio-4.x: update to 4.4.6
Jiri Slachta [Sun, 13 Aug 2017 18:44:16 +0000 (20:44 +0200)]
kamailio-4.x: update to 4.4.6

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agokamailio-5.x: introduce new package
Jiri Slachta [Sun, 13 Aug 2017 18:29:23 +0000 (20:29 +0200)]
kamailio-5.x: introduce new package

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoMerge pull request #179 from micmac1/master
Daniel Golle [Sun, 13 Aug 2017 13:48:18 +0000 (15:48 +0200)]
Merge pull request #179 from micmac1/master

asterisk-13.x: fix config file issues and clean up modules

7 years agoasterisk-13.x: remove modules from pjsip (cosmetic) 179/head
Sebastian Kemper [Sun, 13 Aug 2017 13:12:26 +0000 (15:12 +0200)]
asterisk-13.x: remove modules from pjsip (cosmetic)

Remove two modules from pjsip. Upstream removed res_pjsip_log_forwarder
and moved res_pjsip_multihomed to res_pjsip.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-13.x: fix config file issues
Sebastian Kemper [Sun, 13 Aug 2017 13:00:39 +0000 (15:00 +0200)]
asterisk-13.x: fix config file issues

- The configuration file protection for modules does not work when there
  is more than one configuration file. Currently conffiles is populated
  with a space separated list. But the items need to be separated by
  newlines. With spaces, only the first item gets added to conffiles. The
  remaining items are dropped and not protected. Fix this by replacing
  spaces with newlines. Revision bump because this could lead to
  overwriting files unintentionally.
- Remove a duplicate '/etc/asterisk/modules.conf' from
  Package/asterisk13/conffiles.
- Remove '/etc/asterisk/rtp.conf' from Package/asterisk13/conffiles
  because the file is installed and protected by res-rtp-asterisk.
- Add missing stasis.conf and pjsip_wizard.conf.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #178 from micmac1/master
Jiri Slachta [Thu, 10 Aug 2017 19:17:28 +0000 (21:17 +0200)]
Merge pull request #178 from micmac1/master

sipp: version bump, build fixes

7 years agosipp: version bump, build fixes 178/head
Sebastian Kemper [Thu, 10 Aug 2017 18:47:36 +0000 (20:47 +0200)]
sipp: version bump, build fixes

- bumped to 3.5.1
- removed musl patch because it was upstreamed
- add patch to fix ncurses detection
- fixes issue #125

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #177 from micmac1/master
Jiri Slachta [Thu, 10 Aug 2017 07:32:30 +0000 (09:32 +0200)]
Merge pull request #177 from micmac1/master

New PR: asterisk + pjproject

7 years agoasterisk-13.x: fix missing symbols issue 177/head
Sebastian Kemper [Wed, 9 Aug 2017 21:04:16 +0000 (23:04 +0200)]
asterisk-13.x: fix missing symbols issue

- add some pjsip modules that were missing.
- sort pjsip modules alphabetically.
- add a patch from ASTERISK-26518 to fix the unresolved symbol issue.
  The patch is also included in Debian. The patch fixes issue #77 (the
  problem was also mentioned in #88).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agopjproject: add config_site.h
Sebastian Kemper [Wed, 9 Aug 2017 20:52:22 +0000 (22:52 +0200)]
pjproject: add config_site.h

Copied from Asterisk, sets some sane values. For instance it enables
IPv6 support.

Also it disables DEBUG. With debug enabled 'pjproject enables "assert"
functions which can cause Asterisk to crash unexpectedly' (quote from
Asterisk wiki). This probably fixes issue #140.

With this config_site.h in place the libsrtp dep can be dropped from
select sub packages.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agopjproject: enable ssl support
Sebastian Kemper [Wed, 9 Aug 2017 20:48:08 +0000 (22:48 +0200)]
pjproject: enable ssl support

Enable SSL support as Asterisk relies on it. Some Asterisk modules
cannot load without it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agopjproject: align with Asterisk requirements, misc improvements
Sebastian Kemper [Wed, 9 Aug 2017 20:45:32 +0000 (22:45 +0200)]
pjproject: align with Asterisk requirements, misc improvements

- Make "--disable-floating-point" depend on SOFT_FLOAT
- Remove "--disable-ilbc-coder" as configure no longer recognizes it.
- Align args with the ones used by Asterisk (for their bundled pjproject);
  this includes adding "--disable-resample".
- With libresample removed remove the dep from asterisk13 accordingly.
- Note: the disabled items are _not_ used by Asterisk anyway.
- Drop speex dep as pjproject does not link against it the way it is
  configured.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agopjproject: sort configure args, remove duplicates
Sebastian Kemper [Wed, 9 Aug 2017 20:17:15 +0000 (22:17 +0200)]
pjproject: sort configure args, remove duplicates

This commit is only meant to make the following commits easier to follow.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-g72x: fix variant build
Sebastian Kemper [Wed, 9 Aug 2017 20:11:23 +0000 (22:11 +0200)]
asterisk-g72x: fix variant build

Set PKG_BUILD_DIR for each variant. Without it only one variant gets
built and put into both packages. This fixes issue #150.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agochan-sccp-b: fix variant build, misc fixes
Sebastian Kemper [Wed, 9 Aug 2017 20:09:27 +0000 (22:09 +0200)]
chan-sccp-b: fix variant build, misc fixes

- Set PKG_BUILD_DIR for each variant. Without it only one variant gets
  built and put into both packages.
- Add libiconv to build deps. Some iconv m4 files are required. Possibly
  fixes issue #121.
- Replace recently added configure args with the ones suggested by upstream
  @dkgroot in issue #167. This again shaves some bytes off the package.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-11.x: add missing description to several modules
Jiri Slachta [Tue, 8 Aug 2017 19:00:31 +0000 (21:00 +0200)]
asterisk-11.x: add missing description to several modules

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-13.x: add pjproject.conf to res_pjproject module
Jiri Slachta [Tue, 8 Aug 2017 08:55:06 +0000 (10:55 +0200)]
asterisk-13.x: add pjproject.conf to res_pjproject module

Add missing config file for res_pjproject module.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoMerge pull request #175 from micmac1/master
Jiri Slachta [Sat, 5 Aug 2017 18:33:50 +0000 (20:33 +0200)]
Merge pull request #175 from micmac1/master

New PR: freeswitch-stable

7 years agofreeswitch-stable: fix escaping 175/head
Sebastian Kemper [Sat, 5 Aug 2017 12:49:11 +0000 (14:49 +0200)]
freeswitch-stable: fix escaping

Fix escaping of dollar sign, otherwise a postinst-pkg script will not be
correct.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable-sounds: remove package
Sebastian Kemper [Sat, 5 Aug 2017 12:24:16 +0000 (14:24 +0200)]
freeswitch-stable-sounds: remove package

This package is just wasting space on the mirrors. Only very few people
will actually want the sound files on their device. And those few who do
will have no problem downloading the files manually.

Get rid of it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-11.x: bump PKG_RELEASE
Jiri Slachta [Fri, 4 Aug 2017 06:07:12 +0000 (08:07 +0200)]
asterisk-11.x: bump PKG_RELEASE

Bump PKG_RELEASE due to changes in commit ec6991c01cf141db172bd5bc30a3e18cb9174208

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-13.x: bump PKG_RELEASE
Jiri Slachta [Fri, 4 Aug 2017 06:06:34 +0000 (08:06 +0200)]
asterisk-13.x: bump PKG_RELEASE

Bump PKG_RELEASE due to changes in commit ec6991c01cf141db172bd5bc30a3e18cb9174208

Signed-off-by: Jiri Slachta <jiri@slachta.eu>