Commit graph

888 commits

Author SHA1 Message Date
Jiri Slachta
802b77d515 Merge pull request #165 from micmac1/master
freeswitch-stable: New PR
2017-07-09 14:36:07 +02:00
Sebastian Kemper
6a2be25433 freeswitch-stable: Add PKG_CONFIG_DEPENDS
Force a rebuild of freeswitch-stable on symbol change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-09 13:22:43 +02:00
Sebastian Kemper
6401e13452 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>
2017-07-09 13:15:39 +02:00
Sebastian Kemper
e0651d98e5 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>
2017-07-09 13:03:17 +02:00
Sebastian Kemper
4cfbc9c933 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>
2017-07-09 13:02:09 +02:00
Sebastian Kemper
aaee4b431e 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>
2017-07-09 12:08:49 +02:00
guidosarducci
456d10459f 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>
2017-07-03 16:59:23 -07:00
guidosarducci
3e16420743 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>
2017-07-03 16:59:23 -07:00
guidosarducci
055da10ad7 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>
2017-07-03 16:59:23 -07:00
guidosarducci
84695bea0c 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>
2017-07-03 16:59:04 -07:00
Jiri Slachta
75aa42abb1 Merge pull request #161 from micmac1/master
freeswitch-stable: Fix perl-esl deps
2017-06-29 09:09:27 +02:00
Sebastian Kemper
438fd05db7 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>
2017-06-28 09:18:23 +02:00
Jo-Philipp Wich
6421bb89b8 Merge pull request #160 from micmac1/master
freeswitch-stable: New PR
2017-06-27 22:21:03 +02:00
Sebastian Kemper
639072e26e 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>
2017-06-27 22:14:46 +02:00
Sebastian Kemper
fb6cc32a6a freeswitch-stable: Remove some needless variable escaping
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-27 22:07:34 +02:00
Sebastian Kemper
4938176da1 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>
2017-06-27 18:27:47 +02:00
Sebastian Kemper
40ab309b0e freeswitch-stable: Refresh patch
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-26 23:52:45 +02:00
Jiri Slachta
c2adf8eb16 Merge pull request #159 from micmac1/master
freeswitch-stable: New PR
2017-06-26 14:02:03 +02:00
Sebastian Kemper
740b5320b1 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>
2017-06-25 15:30:45 +02:00
Sebastian Kemper
42c0cabdbe 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>
2017-06-24 22:25:36 +02:00
Sebastian Kemper
6a4b022ec1 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>
2017-06-24 22:04:47 +02:00
Sebastian Kemper
4aecbd082d 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>
2017-06-24 21:10:04 +02:00
Sebastian Kemper
8c7cc53485 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>
2017-06-24 20:54:10 +02:00
Sebastian Kemper
e6edd95bf1 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>
2017-06-24 20:31:23 +02:00
Sebastian Kemper
e43d7fef7b 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>
2017-06-24 20:20:42 +02:00
guidosarducci
ff3f6f8665 siproxd: clean up directory permissions, ownership
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2017-06-20 03:18:27 -07:00
guidosarducci
86615075b8 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>
2017-06-20 03:18:27 -07:00
guidosarducci
347cdf07bf 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>
2017-06-20 03:18:27 -07:00
Jo-Philipp Wich
4dc31755a6 Merge pull request #158 from micmac1/PR
New PR for freeswitch-stable
2017-06-14 23:04:54 +02:00
Sebastian Kemper
549db43a36 freeswitch-stable: version bump
Bump to 1.6.18

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-14 23:00:03 +02:00
Sebastian Kemper
ceff7f10c9 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>
2017-06-14 22:57:53 +02:00
Jiri Slachta
f297dff388 Merge pull request #157 from micmac1/PR
freeswitch-stable: new PR
2017-06-11 15:49:51 +02:00
Sebastian Kemper
d442371a44 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>
2017-06-11 14:51:09 +02:00
Sebastian Kemper
eea358cfed 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>
2017-06-11 14:48:31 +02:00
Sebastian Kemper
6a4a965b1f 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>
2017-06-11 14:42:08 +02:00
Sebastian Kemper
0430373885 freeswitch-stable: whitespace fix for hotplug builder
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-11 14:36:31 +02:00
Sebastian Kemper
fc0af6f29d 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>
2017-06-11 14:31:43 +02:00
Sebastian Kemper
4d36442e22 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>
2017-06-11 14:24:59 +02:00
Sebastian Kemper
12f09836f7 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>
2017-06-11 14:16:06 +02:00
Sebastian Kemper
a7e10e99e5 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>
2017-06-11 14:13:11 +02:00
Jiri Slachta
a6b42ea220 Merge pull request #85 from robho/install_echo_script
yate-mod-extmodule: Include and install script echo.sh
2017-06-09 10:35:06 +02:00
Jiri Slachta
f87833c641 Merge pull request #151 from jpap/spandsp-disable-fixed-point
spandsp: disable fixed point implementation
2017-06-09 10:32:59 +02:00
Jiri Slachta
3cec9c9bcb Merge pull request #152 from jpap/updated-g72x-codec-version
asterisk-g72x: update to 1.4
2017-06-08 11:10:28 +02:00
John Papandriopoulos
b57051c35d 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!
2017-06-07 23:11:03 -07:00
John Papandriopoulos
5c23df1603 asterisk-g72x: update to 1.4 2017-06-07 23:07:53 -07:00
Jiri Slachta
6252899cf9 Merge pull request #155 from micmac1/PR
freeswitch-stable: Fix mod_unimrcp build failure
2017-06-08 07:46:23 +02:00
Sebastian Kemper
6aa76a284c 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>
2017-06-03 18:30:35 +02:00
Jo-Philipp Wich
9c8937228a Merge pull request #154 from micmac1/PR
PR for freeswitch-stable
2017-06-02 23:25:41 +02:00
Sebastian Kemper
8e0aed4754 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>
2017-06-02 22:31:27 +02:00
Sebastian Kemper
c63725e867 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>
2017-06-02 22:14:10 +02:00