feed/telephony.git
7 years agoasterisk-11.x and asterisk-13.x: Disable LOW_MEMORY by default
Sebastian Kemper [Thu, 3 Aug 2017 19:15:59 +0000 (21:15 +0200)]
asterisk-11.x and asterisk-13.x: Disable LOW_MEMORY by default

In issue #173 a segmentation fault occuring during a simple SIP call was
reported. Compiling with LOW_MEMORY disabled the reproducible segfault
disappeared.

This commits adds a switch for LOW_MEMORY. Default is off. If anybody
wants to debug the segfault s/he can enable it.

The segfault was reported for Asterisk 11. Disable LOW_MEMORY on
Asterisk 13 anyway, better safe than sorry.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-13.x: fix module dependencies and add new modules
Jiri Slachta [Sat, 29 Jul 2017 20:26:38 +0000 (22:26 +0200)]
asterisk-13.x: fix module dependencies and add new modules

- add XMPP and motif modules
- remove missing pjproject dependencies and fix them

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agopjproject: fix Makefile variables
Jiri Slachta [Sat, 29 Jul 2017 20:24:58 +0000 (22:24 +0200)]
pjproject: fix Makefile variables

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoMerge pull request #172 from micmac1/master
Jiri Slachta [Sat, 29 Jul 2017 16:14:22 +0000 (18:14 +0200)]
Merge pull request #172 from micmac1/master

New PR: asterisk

7 years agolibs/pjproject: security revision bump 172/head
Sebastian Kemper [Sat, 29 Jul 2017 11:54:21 +0000 (13:54 +0200)]
libs/pjproject: security revision bump

Add patches provided by Asterisk project for pjproject. This fixes the
following vulnerabilities:

- AST-2017-002: Buffer Overrun in PJSIP transaction layer (CVE-2017-9372)
- AST-2017-003: Crash in PJSIP multi-part body parser

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agonet/chan-sccp-b: version bump and fixes
Sebastian Kemper [Fri, 28 Jul 2017 20:01:49 +0000 (22:01 +0200)]
net/chan-sccp-b: version bump and fixes

- Bump to revision 6728.
- Remove '-fi' from PKG_FIXUP. Trust in the build system to do the right
  thing.
- Set PKG_INSTALL:=1 so "make install" doesn't need to be called
  manually anymore. This also drops LOW_MEMORY from CFLAGS, which is not
  needed as chan-sccp-b looks into asterisk's headers to find out if
  LOW_MEMORY is enabled or not.
  The build output actually looks much more pleasant afterward.
- Disable chan-sccp-b's optimization which it enables by default. It
  sets -O3 and all that jazz. To make it simply use the OpenWrt/LEDE
  flags optimization needs to be disabled.
- With optimization disabled chan-sccp-b still adds -Og to the end of
  the CFLAGS. Add a small patch to prevent that.
- Disable debug which is enabled by default. This brings down the size
  of the installed binary from 14 MByte (!) to a little over 2 MByte
  (checked on ARM).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agonet/asterisk-13.x: prevent libsrtp2 detection
Sebastian Kemper [Fri, 28 Jul 2017 19:51:19 +0000 (21:51 +0200)]
net/asterisk-13.x: prevent libsrtp2 detection

Asterisk 13 looks for libsrtp2. Unfortunately it also looks for a header
which libsrtp2 does not make public:

res_srtp.c:44:33: fatal error: srtp2/crypto_types.h: No such file or directory
compilation terminated.

This causes the asterisk build to fail. Fix this by disabling libsrtp2
detection in Asterisk 13.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agonet/asterisk-11.x and net/asterisk-13.x: disable chan-dahdi for aarch64
Sebastian Kemper [Fri, 28 Jul 2017 19:48:42 +0000 (21:48 +0200)]
net/asterisk-11.x and net/asterisk-13.x: disable chan-dahdi for aarch64

dahdi-linux fails to build on aarch64. Disable chan-dahdi for this arch
accordingly, so asterisk can still be built.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agonet/asterisk-11.x and net/asterisk-13.x: fix LOW_MEMORY, drop patch
Sebastian Kemper [Fri, 28 Jul 2017 19:45:25 +0000 (21:45 +0200)]
net/asterisk-11.x and net/asterisk-13.x: fix LOW_MEMORY, drop patch

LOW_MEMORY can't be enabled by defining it in ASTCFLAGS. This can be
verified in the headers Asterisk installs: LOW_MEMORY actually is not
defined (it would be if LOW_MEMORY was enabled).

LOW_MEMORY can be enabled successfully with menuselect. This commit
makes menuselect usable and calls it to enable LOW_MEMORY.

This commit also disables BUILD_NATIVE with menuselect. So even if
configure detects that -march=native is available, it won't be used.
This means the configure.ac patch that was added previously can be
dropped.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agonet/asterisk-11.x and net/asterisk-13.x: fix menuselect
Sebastian Kemper [Fri, 28 Jul 2017 19:34:02 +0000 (21:34 +0200)]
net/asterisk-11.x and net/asterisk-13.x: fix menuselect

menuselect often fails on the buildbots:

menuselect/menuselect: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

This doesn't happen on all builds. The assumption is that on the
particular buildbot where there is no error the buildbots own libxml2.so
is usable (it exists and the version is suitable).

To fix this make the linker add an rpath to the menuselect utility,
pointing to the hostpkg lib dir.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agonet/asterisk-11.x and net/asterisk-13.x: remove $(SDK) from ifneqs
Sebastian Kemper [Fri, 28 Jul 2017 19:29:10 +0000 (21:29 +0200)]
net/asterisk-11.x and net/asterisk-13.x: remove $(SDK) from ifneqs

The variable prevents the ifneqs from working on the buildbots. $(SDK)
is set there, so the ifneqs that test for empty will always be true.

libpq for instance doesn't build on aarch64. So the asterisk pgsql
package has a dependency on @!aarch64. An ifneq is used to disable libpq
detection by the configure script, to prevent the build to fail. But
because of $(SDK) being set the ifneq is always true, so libpq detection
is enabled, causing the build to always fail.

There are only two other packages in the tree that actually use the
$(SDK) variable, so it's fair to assume it's not needed for the asterisk
packages and can just be dropped.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #171 from micmac1/master
Jiri Slachta [Tue, 25 Jul 2017 06:16:30 +0000 (08:16 +0200)]
Merge pull request #171 from micmac1/master

New PR for asterisk

7 years agonet/asterisk-11.x and net/asterisk-13.x: remove libpq dep on ARC 171/head
Sebastian Kemper [Mon, 24 Jul 2017 21:40:05 +0000 (23:40 +0200)]
net/asterisk-11.x and net/asterisk-13.x: remove libpq dep on ARC

For ARC libpq doesn't build, so don't depend on it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agonet/asterisk-11.x and net/asterisk-13.x: fix menuselect build
Sebastian Kemper [Mon, 24 Jul 2017 21:31:06 +0000 (23:31 +0200)]
net/asterisk-11.x and net/asterisk-13.x: fix menuselect build

- Include host-build.mk, otherwise $HOST_CONFIGURE_ARGS will be empty.
- Remove --with-ncurses=PATH as the PATH is wrong. The ncurses host
  package does not install anything but 'tic'.
- Use $HOSTCC to compile menuselect. This has the added bonus of using
  ccache (if selected).
- Run configure with an unset $CONFIG_SITE so that it doesn't pick a
  cross-compile site-script, e.g. for mips.
- Drop '-lxml2' from $LDFLAGS as the menuselect Makefile will add it
  anyway.
- Move the variables in front of 'make' as they're not arguments.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #164 from guidosarducci/lede-17.01-siproxd-update 156/head
Jiri Slachta [Mon, 24 Jul 2017 07:48:54 +0000 (09:48 +0200)]
Merge pull request #164 from guidosarducci/lede-17.01-siproxd-update

siproxd: fixes and version update to 0.8.2

7 years agoMerge pull request #170 from micmac1/master
Jiri Slachta [Mon, 24 Jul 2017 07:47:58 +0000 (09:47 +0200)]
Merge pull request #170 from micmac1/master

New PR: mostly Asterisk (bumps, fixes, new package too)

7 years agonet/asterisk-11.x and net/asterisk-13.x: fix ASTCFLAGS/ASTLDFLAGS 170/head
Sebastian Kemper [Sun, 23 Jul 2017 17:10:18 +0000 (19:10 +0200)]
net/asterisk-11.x and net/asterisk-13.x: fix ASTCFLAGS/ASTLDFLAGS

The missing backslashes prevented 'make' from picking up
ASTCFLAGS/ASTLDFLAGS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: add mod_bcg729
Sebastian Kemper [Sat, 22 Jul 2017 14:49:45 +0000 (16:49 +0200)]
freeswitch-stable: add mod_bcg729

This adds a new Makefile as this module is out-of-tree. The module
dynamically links against bcg729.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agonet/asterisk-13.x: bump to 13.17.0
Sebastian Kemper [Sat, 22 Jul 2017 14:46:00 +0000 (16:46 +0200)]
net/asterisk-13.x: bump to 13.17.0

- Version bump to 13.17.0
- Remove makeopts.embed_rules as the target got removed.
- Refresh patches.
- $(STAGING_DIR)/host doesn't work anymore resulting in libxml2 host
  headers not being found. Replace with $(STAGING_DIR_HOSTPGK).
- Prevent Asterisk from adding -march=native when cross-compiling (patch
  for configure.ac).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agonet/asterisk-11.x: compile fixes
Sebastian Kemper [Sat, 22 Jul 2017 14:36:23 +0000 (16:36 +0200)]
net/asterisk-11.x: compile fixes

- Refresh patches.
- $(STAGING_DIR)/host doesn't work anymore resulting in libxml2 host
  headers not being found. Replace with $(STAGING_DIR_HOSTPGK).
- Prevent Asterisk from adding -march=native when cross-compiling (patch
  for configure.ac).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agonet/asterisk-g72x: bump to 1.4.1
Sebastian Kemper [Sat, 22 Jul 2017 14:29:24 +0000 (16:29 +0200)]
net/asterisk-g72x: bump to 1.4.1

Version bump. This release was upstream-tested against bcg729 1.0.2.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agolibs/pjproject: prevent linking against opus
Sebastian Kemper [Sat, 22 Jul 2017 14:25:46 +0000 (16:25 +0200)]
libs/pjproject: prevent linking against opus

When opus is found in staging area it will be linked against, adding a
dep that is not in the Makefile. So explicity disable opus.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agolibs/bcg729: bump to 1.0.2
Sebastian Kemper [Sat, 22 Jul 2017 14:24:21 +0000 (16:24 +0200)]
libs/bcg729: bump to 1.0.2

Also remove the static binary from InstallDev as it's not used.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #169 from micmac1/master
Jiri Slachta [Wed, 19 Jul 2017 21:28:38 +0000 (23:28 +0200)]
Merge pull request #169 from micmac1/master

freeswitch-stable: new PR

7 years agofreeswitch-stable: remove BROKEN from mod_av 169/head
Sebastian Kemper [Tue, 18 Jul 2017 20:09:14 +0000 (22:09 +0200)]
freeswitch-stable: remove BROKEN from mod_av

libffmpeg-full now includes libavresample. Make mod_av available
accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: disable mod_v8 heap snapshot by default
Sebastian Kemper [Sun, 16 Jul 2017 20:05:54 +0000 (22:05 +0200)]
freeswitch-stable: disable mod_v8 heap snapshot by default

mod_v8 sporadically failed to build due to a segmentation fault when
generating the heap snapshot. This patch adds a switch to FreeSWITCH to
disable the snapshot and a symbol to toggle it.

Default is to not use a heap snapshot.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: update COPTS fixes
Sebastian Kemper [Sun, 16 Jul 2017 19:57:05 +0000 (21:57 +0200)]
freeswitch-stable: update COPTS fixes

- Replace main COPTS fixes patch with the updated version sent upstream.
- For the above to work we need to update DEFAULT_VARS in modmake.rules
  (new patch)
- mod_pocketsphinx and mod_radius_cdr updated, no more extra COPTS fixes
  required there.
- Now zeromq gets to use fortify headers and fails (warning about GCC
  extension turns into error), so make it drop '-pedantic'.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: version bump
Sebastian Kemper [Sun, 16 Jul 2017 19:52:43 +0000 (21:52 +0200)]
freeswitch-stable: version bump

- Update to 1.6.19.
- Refresh patches.
- Fix mod_png dep.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agosiproxd: use PKG_HASH and update copyright date 164/head
guidosarducci [Mon, 10 Jul 2017 09:50:44 +0000 (02:50 -0700)]
siproxd: use PKG_HASH and update copyright date

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
7 years agoMerge pull request #166 from micmac1/master
Jiri Slachta [Sun, 9 Jul 2017 18:00:50 +0000 (20:00 +0200)]
Merge pull request #166 from micmac1/master

freeswitch-stable: Fix python-host.mk include

7 years agofreeswitch-stable: Fix python-host.mk include 166/head
Sebastian Kemper [Sun, 9 Jul 2017 16:09:41 +0000 (18:09 +0200)]
freeswitch-stable: Fix python-host.mk include

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #165 from micmac1/master
Jiri Slachta [Sun, 9 Jul 2017 12:36:07 +0000 (14:36 +0200)]
Merge pull request #165 from micmac1/master

freeswitch-stable: New PR

7 years agofreeswitch-stable: Add PKG_CONFIG_DEPENDS 165/head
Sebastian Kemper [Sun, 9 Jul 2017 11:21:58 +0000 (13:21 +0200)]
freeswitch-stable: Add PKG_CONFIG_DEPENDS

Force a rebuild of freeswitch-stable on symbol change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Add more modules
Sebastian Kemper [Sun, 9 Jul 2017 11:15:37 +0000 (13:15 +0200)]
freeswitch-stable: Add more modules

- Add mod_portaudio, mod_portaudio_stream, mod_radius_cdr and mod_v8.
- mod_v8 takes some time to build and it's quite large, so only build it
  for x86_64. Users can force it on via a symbol for targets arm, i386
  and mipsel as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Enable extra symbols for x86_64 target
Sebastian Kemper [Sun, 9 Jul 2017 11:03:14 +0000 (13:03 +0200)]
freeswitch-stable: Enable extra symbols for x86_64 target

There is no space constraint on x86_64, so enable the extra symbols for
a complete feature set.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Fixes for modules and libs
Sebastian Kemper [Sun, 9 Jul 2017 10:50:50 +0000 (12:50 +0200)]
freeswitch-stable: Fixes for modules and libs

- Add missed dependency on libyuv to libvpx.
- Get rid of gratuitous @ in Config.in.
- Clean up Perl and Python deps.
- Fix installation paths for the ESL packages.
- Don't set ac_cv_lib_perl_perl_alloc=yes, it's not needed.
- Get rid of the build dep on erlang. Have the modules (erlang_event and
  kazoo) depend on erlang instead; they both require epmd at runtime.
- Force spandsp and pocketsphinx to use fixed point math when soft float
  support is enabled for the target device.
- Make libvpx use OpenWrt/LEDE flags, otherwhise it comes up with
  optimized flags on its own.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Clean up the Makefile
Sebastian Kemper [Sun, 9 Jul 2017 10:08:43 +0000 (12:08 +0200)]
freeswitch-stable: Clean up the Makefile

- Fix alphabetical sorting.
- Move some of the blocks around, e.g. move everything together that
  adds to $(CONFIGURE_ARGS), move Download define upward to the other
  defines etc.
- Replace some strings with variables, e.g. $(FIND) and $(FPIC).
- Be consistent and prefix our own variables with "FS_STABLE_".
- Remove the dev package and use Build/InstallDev instead.
- All in all this change is purely cosmetic.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agosiproxd: fix support for domain-specific proxies
guidosarducci [Mon, 3 Jul 2017 02:56:53 +0000 (19:56 -0700)]
siproxd: fix support for domain-specific proxies

Use lists for the config entries outbound_domain_{name,host,port}.

This permits multiple outbound proxies and fixes:
https://github.com/openwrt/telephony/issues/127

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
7 years agosiproxd: update to version 0.8.2
guidosarducci [Mon, 19 Jun 2017 03:37:16 +0000 (20:37 -0700)]
siproxd: update to version 0.8.2

An upstream siproxd update was released after ~5 years, with bugfixes
and new features. This package supports the new plugins and their config
options, and updates required patches.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
7 years agosiproxd: use clearer runtime file and directory names
guidosarducci [Mon, 19 Jun 2017 02:21:57 +0000 (19:21 -0700)]
siproxd: use clearer runtime file and directory names

Use more conventional, clearer naming for config and registration files.
This includes having distinct directories and specific file suffixes.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
7 years agosiproxd: add shell helper function to build config file
guidosarducci [Mon, 19 Jun 2017 01:55:19 +0000 (18:55 -0700)]
siproxd: add shell helper function to build config file

Using the append_conf_if_set() function removes much repetitive and
error-prone code, reduces the source size by ~30%, and fixes a typo
previously uncaught.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
7 years agoMerge pull request #161 from micmac1/master
Jiri Slachta [Thu, 29 Jun 2017 07:09:27 +0000 (09:09 +0200)]
Merge pull request #161 from micmac1/master

freeswitch-stable: Fix perl-esl deps

7 years agofreeswitch-stable: Fix perl-esl deps 161/head
Sebastian Kemper [Wed, 28 Jun 2017 07:16:27 +0000 (09:16 +0200)]
freeswitch-stable: Fix perl-esl deps

Like mod-perl it also needs Perl with threads support.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #160 from micmac1/master
Jo-Philipp Wich [Tue, 27 Jun 2017 20:21:03 +0000 (22:21 +0200)]
Merge pull request #160 from micmac1/master

freeswitch-stable: New PR

7 years agofreeswitch-stable: cleanup Python setup 160/head
Sebastian Kemper [Tue, 27 Jun 2017 20:14:43 +0000 (22:14 +0200)]
freeswitch-stable: cleanup Python setup

- Rename PYTHON_PKG_DIR to PYTHON_SITE_DIR, otherwise it's confusing.
- Remove the 'sed' hacks; handle the Python setup like the Perl setup is
  already done.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Remove some needless variable escaping
Sebastian Kemper [Tue, 27 Jun 2017 20:07:34 +0000 (22:07 +0200)]
freeswitch-stable: Remove some needless variable escaping

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Fix mod_pocketsphinx build
Sebastian Kemper [Tue, 27 Jun 2017 16:20:39 +0000 (18:20 +0200)]
freeswitch-stable: Fix mod_pocketsphinx build

- The builds currently fail with "undefined reference" errors. Fix that
  by turning off Pulseaudio support. Also turn of Jack support in case
  that gets detected in the future.
- aarch64 fails because this arch isn't recognized by the pocketsphinx
  build system. Fix that by running autoreconf in the pocketsphinx build
  dirs.
- Fix CFLAGS while we're here.
- Add dep on libsamplerate to mod_pocketsphinx. If it gets detected it
  will be linked against, there is no switch to prevent that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Refresh patch
Sebastian Kemper [Mon, 26 Jun 2017 21:52:45 +0000 (23:52 +0200)]
freeswitch-stable: Refresh patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #159 from micmac1/master
Jiri Slachta [Mon, 26 Jun 2017 12:02:03 +0000 (14:02 +0200)]
Merge pull request #159 from micmac1/master

freeswitch-stable: New PR

7 years agofreeswitch-stable/-sounds: Use HASH instead of MD5SUM 159/head
Sebastian Kemper [Sun, 25 Jun 2017 13:30:42 +0000 (15:30 +0200)]
freeswitch-stable/-sounds: Use HASH instead of MD5SUM

All checksums are already SHA256, so move from MD5SUM to HASH.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: add Perl support
Sebastian Kemper [Sat, 24 Jun 2017 20:23:13 +0000 (22:23 +0200)]
freeswitch-stable: add Perl support

- add mod_perl and perl-esl.
- some patching is required to make this work.
- for the modules to find libperl, an rpath is needed, which currently
  doesn't work because of an rstrip.sh/patchelf issue. Patch sent to
  OpenWrt/LEDE devs (https://patchwork.ozlabs.org/patch/780008/)
- fix some more copts issues that became apparent with Perl enabled.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: add more modules
Sebastian Kemper [Sat, 24 Jun 2017 20:04:44 +0000 (22:04 +0200)]
freeswitch-stable: add more modules

- add b64, clearmode, cv (broken), dahdi_codec, dialplan_directory,
  event_test, event_zmq, pocketsphinx, posix_timer, random, vmd and yuv.
- some of the new modules require extra sources, so add a download
  routine for those so we can verify the checksums and prevent FreeSWITCH
  build system to download them on its own.
- add two patches to fix some issues with the new modules.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Misc fixes
Sebastian Kemper [Sat, 24 Jun 2017 19:05:26 +0000 (21:05 +0200)]
freeswitch-stable: Misc fixes

- compile fix for mod_av added, without it the build errors out
  (warnings turned to errors). It's still labelled @BROKEN, but once
  OpenWrt's ffmpeg maintainers add libavresample to libffmpeg-full
  (PR #4490) it should work.
- disable Erlang detection if mod_erlang_event is not selected (build
  dep on Erlang unfortunately has to stay)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Change Python setup
Sebastian Kemper [Sat, 24 Jun 2017 18:54:07 +0000 (20:54 +0200)]
freeswitch-stable: Change Python setup

- make the use of Python conditional and drop the build dep.
- change Python LDFLAGS to the ones suggested by host python-config.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: group all misc packages together
Sebastian Kemper [Sat, 24 Jun 2017 18:31:18 +0000 (20:31 +0200)]
freeswitch-stable: group all misc packages together

- Pull more packages into the misc group (timezones etc.)
- Change Misc generator to not force the misc handle onto packages
- Add possibility to Misc generator to tag packages as arch agnostic

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: use variables for paths
Sebastian Kemper [Sat, 24 Jun 2017 18:20:32 +0000 (20:20 +0200)]
freeswitch-stable: use variables for paths

Use variables for frequently used paths instead of writing them out.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agosiproxd: clean up directory permissions, ownership
guidosarducci [Sun, 18 Jun 2017 23:53:21 +0000 (16:53 -0700)]
siproxd: clean up directory permissions, ownership

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
7 years agosiproxd: use reasonable logging level by default
guidosarducci [Sun, 18 Jun 2017 23:35:21 +0000 (16:35 -0700)]
siproxd: use reasonable logging level by default

The previous default logging level is completely silent, making normal
monitoring or troubleshooting impossible. Use the sane upstream default
for logging which captures basic startup, shutdown and error messages.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
7 years agosiproxd: use standard interface names by default
guidosarducci [Sun, 18 Jun 2017 23:04:15 +0000 (16:04 -0700)]
siproxd: use standard interface names by default

Support using standard interface names and make "lan"/"wan" the defaults
for inbound/outbound SIP traffic. This change makes siproxd more portable
but preserves backwards compatibility for upgrades.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
7 years agoMerge pull request #158 from micmac1/PR
Jo-Philipp Wich [Wed, 14 Jun 2017 21:04:54 +0000 (23:04 +0200)]
Merge pull request #158 from micmac1/PR

New PR for freeswitch-stable

7 years agofreeswitch-stable: version bump 158/head
Sebastian Kemper [Wed, 14 Jun 2017 21:00:01 +0000 (23:00 +0200)]
freeswitch-stable: version bump

Bump to 1.6.18

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: package cleanups
Sebastian Kemper [Wed, 14 Jun 2017 20:55:24 +0000 (22:55 +0200)]
freeswitch-stable: package cleanups

- removed xmlrpc-c todo; I compiled with external version in staging
  dir, it didn't make a difference (didn't seem to be used)
- removed swig calls as per suggestion from upstream

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #157 from micmac1/PR
Jiri Slachta [Sun, 11 Jun 2017 13:49:51 +0000 (15:49 +0200)]
Merge pull request #157 from micmac1/PR

freeswitch-stable: new PR

7 years agofreeswitch-stable: move examples location 157/head
Sebastian Kemper [Sun, 11 Jun 2017 12:51:05 +0000 (14:51 +0200)]
freeswitch-stable: move examples location

Moved location of example packages from /usr/share/freeswitch/conf to
/usr/share/freeswitch/examples. It makes more sense and is also the
place where the module configuration snippets go.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: add symbol to allow inclusion of module examples
Sebastian Kemper [Sun, 11 Jun 2017 12:48:27 +0000 (14:48 +0200)]
freeswitch-stable: add symbol to allow inclusion of module examples

Some modules include example content, e.g. xml snippets, in their source
directory. Added a symbol that causes these to be included in the
packages.

Disabled by default.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: added misc package builder
Sebastian Kemper [Sun, 11 Jun 2017 12:42:06 +0000 (14:42 +0200)]
freeswitch-stable: added misc package builder

- meant for packages where one only needs to copy files from one
  directory to another
- added three new packages using the new builder (dev, fonts, images)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: whitespace fix for hotplug builder
Sebastian Kemper [Sun, 11 Jun 2017 12:36:29 +0000 (14:36 +0200)]
freeswitch-stable: whitespace fix for hotplug builder

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: move mod_python feature
Sebastian Kemper [Sun, 11 Jun 2017 12:31:40 +0000 (14:31 +0200)]
freeswitch-stable: move mod_python feature

Moved mod_python specialty from install/dir routine to mod builder

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: SWIG updates
Sebastian Kemper [Sun, 11 Jun 2017 12:24:54 +0000 (14:24 +0200)]
freeswitch-stable: SWIG updates

- fixed swig location in all Makefiles in libs/esl and src/mod/languages
- forced a reswig for mod_lua as well, like it is already done for
  mod_python
- added patch for mod_lua to properly do the reswig (patch sent
  upstream, too)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: improve install/dir define
Sebastian Kemper [Sun, 11 Jun 2017 12:16:04 +0000 (14:16 +0200)]
freeswitch-stable: improve install/dir define

- if source dir exists install the destination dir as it might not exist
  yet
- if source dir does not exist do nothing (not even error out)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: add ARCH depends for ZRTP and iSAC
Sebastian Kemper [Sun, 11 Jun 2017 12:08:34 +0000 (14:08 +0200)]
freeswitch-stable: add ARCH depends for ZRTP and iSAC

ZRTP and iSAC only support certain arches. Updated the depends to
reflect that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #85 from robho/install_echo_script
Jiri Slachta [Fri, 9 Jun 2017 08:35:06 +0000 (10:35 +0200)]
Merge pull request #85 from robho/install_echo_script

yate-mod-extmodule: Include and install script echo.sh

7 years agoMerge pull request #151 from jpap/spandsp-disable-fixed-point
Jiri Slachta [Fri, 9 Jun 2017 08:32:59 +0000 (10:32 +0200)]
Merge pull request #151 from jpap/spandsp-disable-fixed-point

spandsp: disable fixed point implementation

7 years agoMerge pull request #152 from jpap/updated-g72x-codec-version
Jiri Slachta [Thu, 8 Jun 2017 09:10:28 +0000 (11:10 +0200)]
Merge pull request #152 from jpap/updated-g72x-codec-version

asterisk-g72x: update to 1.4

7 years agospandsp: disable fixed point implementation 151/head
John Papandriopoulos [Mon, 29 May 2017 02:24:59 +0000 (19:24 -0700)]
spandsp: disable fixed point implementation

On a Netgear R7000 (ARMv7) without floating point, using SpanDSP with
fixed point to send/receive fax on Asterisk resulted in repeated
failure and intermittent performance.  Disabling fixed point fixed
these issues; the software floating point implementation was fine for
real-time use.

Now on a Netgear R7800 (ARMv7) with hardware floating point, the
autoconf auto-detect will say no floating point is available, and
again enables the poor performing fixed point implementation.  Ouch!

7 years agoasterisk-g72x: update to 1.4 152/head
John Papandriopoulos [Mon, 29 May 2017 07:10:27 +0000 (00:10 -0700)]
asterisk-g72x: update to 1.4

7 years agoMerge pull request #155 from micmac1/PR
Jiri Slachta [Thu, 8 Jun 2017 05:46:23 +0000 (07:46 +0200)]
Merge pull request #155 from micmac1/PR

freeswitch-stable: Fix mod_unimrcp build failure

7 years agofreeswitch-stable: Fix mod_unimrcp build failure 155/head
Sebastian Kemper [Sat, 3 Jun 2017 16:30:32 +0000 (18:30 +0200)]
freeswitch-stable: Fix mod_unimrcp build failure

- mod_unimrcp picked up external apr/apr-util if found in the target
  directory, which caused the build to fail (undefined references). Fixed
  by adding the FreeSWITCH apr/apr-util lib dirs to the front of LDFLAGS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #154 from micmac1/PR
Jo-Philipp Wich [Fri, 2 Jun 2017 21:25:41 +0000 (23:25 +0200)]
Merge pull request #154 from micmac1/PR

PR for freeswitch-stable

7 years agofreeswitch-stable: Fix mod_erlang_event build 154/head
Sebastian Kemper [Fri, 2 Jun 2017 20:18:51 +0000 (22:18 +0200)]
freeswitch-stable: Fix mod_erlang_event build

- added a patch for erlang.m4 so mod_erlang_event finds the right lib to
  link to

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Fix mod_python build
Sebastian Kemper [Fri, 2 Jun 2017 20:14:02 +0000 (22:14 +0200)]
freeswitch-stable: Fix mod_python build

- added sed scripts in order for mod_python to find the right lib to
  link to
- fixed some whitespaces

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #149 from micmac1/PR
Jo-Philipp Wich [Fri, 2 Jun 2017 09:36:04 +0000 (11:36 +0200)]
Merge pull request #149 from micmac1/PR

PR for freeswitch-stable

7 years agofreeswitch-stable: dependency cleanups 149/head
Sebastian Kemper [Wed, 24 May 2017 20:11:05 +0000 (22:11 +0200)]
freeswitch-stable: dependency cleanups

- removed $FS_STABLE_DEPS_BASE and $FS_STABLE_DEPS because they aren't
  needed to setup dependencies
- changed dependency setups of modules, utils and python-esl so that
  their dependencies don't leak to the main package
- fixed dep of mod-hiredis

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Python fixes
Sebastian Kemper [Wed, 24 May 2017 19:58:00 +0000 (21:58 +0200)]
freeswitch-stable: Python fixes

- removed python-setuptools build dep as it's not needed
- moved the Python autotools variables to CONFIGURE_VARS
- fixed host swig location
- changed from manually erasing files to force a reswig to calling the
  swigclean make targets provided by upstream instead

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #148 from micmac1/PR
Jiri Slachta [Wed, 24 May 2017 12:05:59 +0000 (14:05 +0200)]
Merge pull request #148 from micmac1/PR

Pull request for 5 commits

7 years agofreeswitch-stable: Fixes and housekeeping 148/head
Sebastian Kemper [Sat, 20 May 2017 23:13:54 +0000 (01:13 +0200)]
freeswitch-stable: Fixes and housekeeping

- reworded some bools in Config.in
- removed some notes in Makefile which seemed a bit out of touch
- forced parallel build off again, as some module combinations won't
  allow it
- fixed modules.conf editing sed script to not uncomment lines
  accidentally
- removed wrong dep on db47 for mod_db

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Add some modules
Sebastian Kemper [Sat, 20 May 2017 23:08:49 +0000 (01:08 +0200)]
freeswitch-stable: Add some modules

- added 30+ modules

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Add fs_ivrd utility
Sebastian Kemper [Sat, 20 May 2017 22:53:23 +0000 (00:53 +0200)]
freeswitch-stable: Add fs_ivrd utility

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Add Python support
Sebastian Kemper [Sat, 20 May 2017 22:49:46 +0000 (00:49 +0200)]
freeswitch-stable: Add Python support

- added mod_python as well as python-esl

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agofreeswitch-stable: Add options to include more libs
Sebastian Kemper [Sat, 20 May 2017 22:31:23 +0000 (00:31 +0200)]
freeswitch-stable: Add options to include more libs

- added symbols to Config.in to enable additional libs
- libs are: freetype, libpng, libyuv (internal), libvpx (internal)
- they're not enabled by default

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-13.x: add pjproject module, update patches
Jiri Slachta [Tue, 16 May 2017 07:44:24 +0000 (09:44 +0200)]
asterisk-13.x: add pjproject module, update patches

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoMerge branch 'master' of https://github.com/openwrt/telephony
Mazi Lo [Sun, 14 May 2017 17:40:48 +0000 (13:40 -0400)]
Merge branch 'master' of https://github.com/openwrt/telephony

7 years ago1. Updated to git HEAD 7a46fd67cd2833f07d583288b8d2dc084733fc91 (v1.9.0)
Habibie [Sun, 14 May 2017 17:34:11 +0000 (13:34 -0400)]
1. Updated to git HEAD 7a46fd67cd2833f07d583288b8d2dc084733fc91 (v1.9.0)
2. Updated patched files.
3. Fixed detection of perl and python3 in configure.ac file

Signed-off-by: Mazi Lo <openwrt.mazilo@xoxy.net>
7 years agolibsrtp2: introduce new package
Jiri Slachta [Tue, 9 May 2017 19:10:08 +0000 (21:10 +0200)]
libsrtp2: introduce new package

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoMerge pull request #86 from robho/yate-scripts-perl_needs_perlbase-data
Jiri Slachta [Tue, 9 May 2017 12:34:46 +0000 (14:34 +0200)]
Merge pull request #86 from robho/yate-scripts-perl_needs_perlbase-data

yate-scripts-perl: Add dependency on perlbase-data

7 years agoMerge pull request #120 from robho/init-thread-key-on-access
Jiri Slachta [Tue, 9 May 2017 10:33:28 +0000 (12:33 +0200)]
Merge pull request #120 from robho/init-thread-key-on-access

yate: Call pthread_key_create when the key is first accessed

7 years agoMerge pull request #145 from micmac1/PR
Jiri Slachta [Mon, 8 May 2017 18:47:03 +0000 (20:47 +0200)]
Merge pull request #145 from micmac1/PR

freeswitch-stable-sounds: add bigger sound packs (tagged BROKEN)

7 years agopjproject: update to 2.6
Jiri Slachta [Mon, 8 May 2017 15:24:36 +0000 (17:24 +0200)]
pjproject: update to 2.6

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agolibsrtp: update to 1.5.4
Jiri Slachta [Mon, 8 May 2017 15:23:03 +0000 (17:23 +0200)]
libsrtp: update to 1.5.4

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agofreeswitch-stable-sounds: add bigger sound packs (tagged BROKEN) 145/head
Sebastian Kemper [Sun, 7 May 2017 18:33:30 +0000 (20:33 +0200)]
freeswitch-stable-sounds: add bigger sound packs (tagged BROKEN)

As suggested by Jo I uncommented the big sound packs, but marked as
BROKEN, meaning they're still available for selection, but not built by
default.

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