- 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>
- 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>
- 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>
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>
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>
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>
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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
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>
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>
- 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>
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>
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>
- 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>
- 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>
- 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>
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!
- 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>