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