Commit Graph

306 Commits

Author SHA1 Message Date
Nathan Neulinger ffa4ca422d [Build-system] Fallback for mariadb lib check 2020-01-06 22:19:00 +04:00
Andrey Volk 965bd27d54 version bump 2019-12-31 19:46:29 +04:00
Mike Jerris 6a900a90a3 [build] OSX Catalina configure does not support --extra-cflags and fix broken compiler option test for -Wno-extended-offsetof that was used to fix older osx clang issue 2019-10-22 10:24:14 -06:00
cdosoftei d60193c1ae
ESL adjustments for PHP 7+ 2019-10-02 14:05:58 -04:00
Andrey Volk b8e14cb9b5 version bump 2019-08-20 23:37:49 +04:00
Andrey Volk ad99d725af version bump 2019-08-06 03:37:22 +04:00
Andrey Volk 26e1400bb4 version bump 2019-08-03 14:35:31 +04:00
Andrey Volk 4a2812aaf5 FS-11727: [mod_mariadb] Add MariaDB (MySQL) support 2019-07-23 20:07:16 +04:00
Chris Rienzo a33877aace FS-11931 [mod_http_cache] convert tests to use switch_test 2019-07-23 00:44:33 +04:00
Andrey Volk ccc4ae282a FS-11880: [Core,mod_pgsql] Remove native PostgreSQL support from the core, add mod_pgsql database module. 2019-07-18 00:20:50 +04:00
Andrey Volk 4d932281e9 FS-11813: [Build-System] Remove libtpl dependency from FreeSWITCH 2019-07-17 23:09:50 +04:00
Seven Du 813771f737 FS-11676 add JSON support to mod_lua 2019-07-17 19:46:09 +04:00
Chris Rienzo 892f0a289f FS-11516 [build-system] Add --enable-pool-sanitizer configure flag. This will make it easier to find memory issues when using address sanitizer. Also added -fstack-protector-strong when using --enable-address-sanitizer. 2019-07-16 23:17:47 +04:00
Seven Du e9c58084db FS-11911: [mod_av] Fix mod_av on Debian Buster 2019-07-15 22:23:39 +04:00
Mike Jerris 03077d3133 FS-11895: [osx] fix mod_av osx test build 2019-06-27 14:20:41 -04:00
Mike Jerris 42e4016f27 FS-11895: [osx] fix finding of ffmpeg/libav on OSx 2019-06-27 13:03:24 -04:00
Piotr Gregor 9682d2c2c9 FS-11730 Add support for DTLSv1.2 and make default
Needed in Chrome version >= 74 as Chrome dropped support for v1.0:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/discuss-webrtc/yr6gbAgWsKo/9X5vQb8kGAAJ

Using old v1.0 DTLS if 1.2 is not available or legacy DTLS
wanted explicitly. To request old DTLS set variable

	<action application="set" data="legacyDTLS=1"/>

Note: requires openssl 1.0.2 or later for DTLS v1.2 support
2019-06-06 12:05:11 -04:00
Andrey Volk 699affa1ef FS-11509: [Build-System] Fix --enable-address-sanitizer configure flag.
FS-11509: [Build-System] Fix unimrcp build with address sanitizer.
2019-06-06 11:02:27 -04:00
Mike Jerris 9635c7d09c Merge pull request #1351 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:feature/FS-10530_mod_opusfile to master
* commit 'ed2b3b7bb4a6ff0251452e519ff8cf309620770f':
  FS-10530: [mod_opusfile]: multichannel
  FS-10530: [mod_opusfile] new module, read and write ogg/opus files (".opus" extension)
2019-02-27 14:47:57 -06:00
Andrey Volk d0cca7e222 FS-11555: [mod_signalwire] Initial commit. 2018-12-21 21:45:59 +04:00
Seven Du 879a4dc7ec FS-11487 #resolve convert to Makefile.am
fix regression from 53533118cd7eedf7d25a9c6227558736fa5d0b2f
2018-12-20 10:18:54 -05:00
Seven Du b53d1caea0 FS-11461: [mod_av] Add test code, improve tests on Windows. 2018-12-20 10:18:42 -05:00
Chris Rienzo 0c8f5ed60d FS-11453 [core] remove dependency to libtap for unit tests
move all core unit tests to tests/unit
2018-12-20 10:18:28 -05:00
Seven Du e604dd15a3 FS-11455 #resolve add originate test for state handlers 2018-12-20 10:18:21 -05:00
Chris Rienzo 2226c3c621 FS-11453 [mod_rayo] convert to fst testing 2018-12-20 10:18:14 -05:00
Chris Rienzo 101512ba33 FS-11442 [mod_test] new module, mod_test - mock ASR interface. 2018-12-20 10:17:50 -05:00
Jamil Abdullayev 1a05fe0dcf FS-11530: [mod_lua] add configure support for LuaJIT 2018-11-27 00:27:57 +00:00
Andrey Volk e77c445c3a FS-11396: [mod_v8] Use proper libv8 naming. 2018-09-19 21:58:03 +03:00
Andrey Volk 6005400994 FS-11390: [mod_codec2] Use system libcodec2. 2018-09-15 14:58:05 +03:00
Mike Jerris 079086fe7e FS-11368: [mod_flite] Use system libflite. 2018-08-31 18:26:46 +00:00
Andrey Volk bcd355fea3 FS-11368: [mod_flite] Use system libflite. 2018-08-30 00:41:12 +03:00
Mike Jerris 6cfe5e522a FS-11047: [build] detect v8.pc as well 2018-07-24 07:21:52 +00:00
Mike Jerris 524ad35933 FS-11047: add mod_v8 back to build 2018-07-24 07:21:51 +00:00
Seven Du 99d2e5e243 FS-11014 [core] add vad to core 2018-07-24 07:21:47 +00:00
Seven Du b32db0dcfb FS-11022 #resolve ImageMagic 7 support 2018-07-24 07:21:47 +00:00
Mike Jerris b43442a2f2 FS-11104: [Build] check for libldns-fs.pc first when detecting libldns to allow for custom package 2018-04-10 18:19:06 -05:00
Angel M. Adames 6cc029b579 FS-10875: #resolve Portability issues for non-bash interpreters. 2018-01-09 13:31:32 -04:00
Dragos Oancea 2a4cf1f04e FS-10530: [mod_opusfile] new module, read and write ogg/opus files (".opus" extension) 2017-08-14 08:59:41 -04:00
Mike Jerris 0d88d95fdf FS-10455: [build] add small configure check to determine V8_TARGET for GN build 2017-06-30 13:28:44 -04:00
Mike Jerris d3dbc74059 FS-10445: [build] remove mod_skypopen from build/packages sense microsoft killed it 2017-06-29 13:23:03 -05:00
Mike Jerris 2de96120e4 FS-10373: remove last bits of old in tree lua references from build system 2017-06-07 10:15:07 -05:00
Mike Jerris 34c48368dc FS-10074: [libtiff] stop using embedded libtiff. Build now requires system libtiff 2017-03-14 18:29:37 -05:00
Brian West 92146d8e24 FS-10125 [new_module] clearmode passthru codec 2017-03-10 16:40:32 -06:00
Mike Jerris 20bcb2edef FS-10036: update cJSON code to pre 1.4.0 release of cJSON. this includes backports of all our fixes, and our build macros for windows and visibility. It also makes it easy to drop in a new version, and to in the future be able to switch to a system version of cJSON easily (after all these updates are in, probably around v2.0 timeframe. Note this new version adds a lot of extra error checking, fixes some buffer overruns, and improves parser and printer performance 2017-02-27 18:53:23 -06:00
Anthony Minessale 91d62b7cc6 FS-10050 polish 2017-02-24 16:49:43 -06:00
Seven Du a0a7b416f4 FS-10050 add mod_video_filter 2017-02-17 01:22:46 +08:00
Mike Jerris c03ec62e1b Merge pull request #738 in FS/freeswitch from ~KYCONQUERS/mod_fail2ban:FS-7394-add-mod_fail2ban to master
* commit '4c1e7f24bcac3e6d3b20331a191cf90b0ac0b6fc':
  FS-7394 adding mod_fail2ban into freeswitch repo
2017-02-03 19:00:08 -06:00
Sebastian Kemper ca7e3694a5 FS-9858: add configure switches to disable libpng and freetype support
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-20 19:21:37 +01:00
Dragos Oancea 3ccf1704c1 FS-9825: Added AMR-WB transcoding capabilities (in both Bandwidth Efficient and Octet Aligned modes) 2016-12-07 12:06:01 -05:00
Mike Jerris 238e228942 this works on other compilers now too.. if you use it on something that doesn't work.. it might blow up, so dont do that 2016-11-23 12:27:04 -06:00
Tamas Cseke c06287da5b Add raven logger module
FS-9744 --resolve
2016-11-22 16:18:53 +01:00
Anthony Minessale 9b8a5edd3d FS-9638 2016-11-10 12:09:00 -06:00
Mike Jerris c9452d15d0 FS-9670: just use pkg-config to locate amr libs and add debian requirements 2016-10-31 15:10:36 -05:00
Dragos Oancea a0284af8ea FS-9670: add autodetection of opencore-amrnb lib and "--disable-amr" option to configure script 2016-10-27 11:43:58 -04:00
Anthony Minessale c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05:00
Spencer Thomason 5a2f9d7a78 FS-9466: Use system MD5 if available
- Use system MD5 on BSD and Solaris based platforms
- Use OpenSSL if system library is not available
- Fallback to included APR
- Optimize switch_md5_string()
- replace libsofia MD5 routines in mod_sofia with switch_md5() ones

FS-9466 #resolve
2016-08-31 15:00:48 -07:00
Spencer Thomason a2fd327fa7 FS-9386: [mod_snmp] Use net-snmp-config for SNMP libs if available
FS-9386 #resolve
2016-07-26 21:18:10 -07:00
Mike Jerris 7e021af4d5 clean up noisy configure 2016-07-19 16:52:52 -04:00
William King 35b816bb27 FS-9310 Native support for Flowroute SMS API over HTTP(S) 2016-07-07 15:22:36 -07:00
Michael Jerris 257e8d6b2f FS-9263: [build] attempt to find the proper lua5.2 version on openbsd 2016-06-17 15:54:37 -04:00
Michael Jerris 53ed9ce06f FS-9260: [build] add -ltermcap for openbsd so it can correctly link to libedit 2016-06-17 15:31:18 -04:00
Spencer Thomason 585cccd940 FS-9185: fix format ifdefs for Solaris SPARC
Fix SWITCH_INT64_T_FMT and SWITCH_TIME_T_FMT definitions for Solaris/SPARC

FS-9185 #resolve
2016-05-19 18:43:05 -07:00
Ken Rice 7375ad9e89 FS-9081 [Ubuntu Packaging] WIP Patches to build system and configure to allow FS to build on 14.04 2016-04-29 09:22:11 -05:00
Michael Jerris 0742defa9b FS-9109: [build] attempt to fix misleading indentation errors on gcc 6.0 2016-04-28 13:06:35 -05:00
Kyle King 4c1e7f24bc FS-7394 adding mod_fail2ban into freeswitch repo 2016-04-11 20:06:28 -04:00
Chris Rienzo a7465e6cbf FS-9052 [mod_hiredis] add connection pooling, improve dropped connection resiliency, and allow 0.10.0 of hiredis for CentOS 6. 2016-04-11 11:54:46 -04:00
Michael Jerris 22fd90e71e FS-8623: we really need this flag, but need to fix libvpx configure to let us pass it 2016-04-07 16:53:36 -04:00
Michael Jerris 159f4a1396 FS-8623: fix sun studio build errors building libvpx 2016-04-07 16:07:01 -04:00
Michael Jerris 3976eb17d0 FS-8623: fix sun studio build errors building libvpx 2016-04-07 15:21:55 -04:00
Michael Jerris 0763f694ff FS-8294: [freetdm] pass in modinstdir to freetdm configure 2016-04-04 16:07:38 -04:00
Michael Jerris 94fd5db497 FS-8883: fix compile due to unused result failure on gnu compiler with --disable-debug 2016-04-04 14:31:48 -04:00
Michael Jerris 1540546cc1 FS-8884: add --disable-libyuv and --disable-libvpx configure args to disable building these libraries 2016-02-29 12:39:51 -05:00
Michael Jerris febe0f8dac FS-8867: build using in tree libvpx, vpx no longer optional and does not use system libvpx due to issues with having to update it frequently conflicting with system libraries, now we link to the static in tree version instead. Also, mod_vpx is now a core module instead of a loadable module, so mod_vpx.so will no longer be built 2016-02-24 18:44:11 -05:00
Michael Jerris 44da905b4f FS-8867: build using in tree libyuv to match required version and not impact system ones that are never sufficient version 2016-02-24 16:52:40 -05:00
Anthony Minessale 5b456b395c FS-8688 #resolve [Implement VP9 draft uberti payload 01 and libVPX 1.5] 2016-02-17 16:49:02 -06:00
Michael Jerris 7f5af042be FS-8814: fix build on older libedit 2016-02-09 12:38:40 -06:00
Piotr Gregor b8a8c88572 FS-8809 fix MAP_POPULATE undeclared
Add AM_MOD_AVMD_CXXFLAGS compile flag to mod avmd
and set this flag to -std=gnu99 in configure.ac
in case compiler vendor is xgnu.
2016-02-08 23:02:22 +00:00
Corey Smith 3cb04ced21 FS-8779: [mod_shout] properly detect lame/lame.h
* Add correct mp3lame configure check since it does not use pkg-config
* Update mod_shout Makefile to log failure message if mp3lame not available
* Rewrite #include for lame.h to lame/lame.h in mod_shout.c
2016-02-03 20:45:39 -05:00
Spencer Thomason 3c291b3c61 Use mtmalloc on Solaris SPARC if available
FS-8666 #resolve
2015-12-17 16:47:06 +00:00
Ken Rice d9d5870bff Revert "FS-8369 Debian8/CentOS7 systemd installer additions"
This reverts commit adc8f9a119.
2015-11-20 14:54:13 -06:00
Ken Rice ebba246192 Revert "FS-8369 Debian8/CentOS7 systemd installer additions"
This reverts commit 757fa94239.
2015-11-20 14:54:05 -06:00
Ken Rice 5ad6a2533a Revert "FS-8369 Fixes"
This reverts commit 389d24da14.
2015-11-20 14:53:55 -06:00
Niek Vlessert 389d24da14 FS-8369 Fixes
- Don't check OS, current patch should be compatible with Debian and RHEL derivatives and ArchLinux
- Make useradd the tool to add the usera nd group to work on all
2015-11-10 19:43:46 +01:00
Niek Vlessert 757fa94239 FS-8369 Debian8/CentOS7 systemd installer additions
After builing Freeswitch this makes actually run it easy by offering
an installer script.

* Changes to configure.ac to detect Debian8/CentOS 7 and create installer script
* Changes to build/Makefile.am to display the option
* Added build/startup directory with templates and other files
* Deleted outdated build/freeswitch.service and tmpfiles.conf
* Unit file based on the latest systemd service file FS-8194
* Won't interfere with other platforms (afaik)
* Supports all bindir directory prefixes ./configure can have
* Detects if Debian8/CentOS7 use systemd
* Can be used with a user with sudo permissions
2015-10-30 19:11:32 +01:00
Niek Vlessert adc8f9a119 FS-8369 Debian8/CentOS7 systemd installer additions
After builing Freeswitch this makes actually run it easy by offering
an installer script.

* Changes to configure.ac to detect Debian8/CentOS 7 and create installer script
* Changes to build/Makefile.am to display the option
* Added init directory with templates and other files
* Deleted outdated build/freeswitch.service and tmpfiles.conf
* Unit file based on the latest systemd service file FS-8194
* Won't interfere with other platforms (afaik)
* Supports ./configure --prefix=
* Detects if Debian8/CentOS7 use systemd
* Can be used with a user with sudo permissions
2015-10-20 23:21:50 +02:00
William King 7724270d89 FS-8233 convert unit tests frameworks to non-recursive makefiles 2015-10-08 13:01:04 -07:00
Stanislav Sinyagin 9461ed1335 FS-8195 Compatibility with Solaris 11 process privileges
Now the daemon manages its privileges correctly, so that -rp, -u,
-g and -lp can be supported, also in a Solaris zone.

Also fixed a problem that switch_log_printf() was used before the
logger was initialized, so the messages were sent to nowhere.
2015-10-03 01:52:37 +00:00
Stanislav Sinyagin 98a190a107 FS-7967 SmartOS compatibility
configure.ac: honor NetBSD and SmartOS in search for system lua
src/switch_utf8.c: remove switch_u8_vprintf and switch_u8_printf
replace u_int32_t with C99 standard uint32_t, and also the same for
  8,16,64 bit
2015-09-09 21:39:41 +00:00
Michael Jerris 6f1a00fe81 FS-8108: remove legacy mod_lua, the regular mod_lua works with system lua now 2015-09-01 11:15:12 -05:00
William King d1d0f553bc FS-8075
Initial commit of mod_hiredis. Add expanded redis support to include
raw redis command support, as well as the existing support for
FreeSWITCH limits.
2015-08-28 16:56:38 -07:00
Michael Giagnocavo ba9c44bbd0 FS-7885 Add getcputime command 2015-07-24 02:34:00 -06:00
Anthony Minessale 5933a0d044 restore patches from revert, this is lame, you need to bootstrap to fix it. 625^H^H^H0 days without having to rebootstrap 2015-07-14 11:24:53 -05:00
Anthony Minessale 3fa6003ef7 this is not ready 2015-07-14 11:05:33 -05:00
William King f7f5c7587f FS-7820
C level unit testing and micro benchmarking framework, including one
example unit test.
2015-07-10 12:04:04 -07:00
karl anderson d66839debe FS-7774 add mod_kazoo
#resolve
2015-07-03 22:54:47 +01:00
William King 775ce5c0a8 Adding mod_smpp as an event_handler module.
FS-7730 #resolve
2015-07-03 14:26:05 -07:00
Ken Rice c51b1b9184 FS-7715 #resolve updates to configure and spec files for next development branch
add images to spec file
2015-06-23 12:22:04 -04:00
Michael Jerris 6008cad2aa check for 'ilbc2' pkg-config name first so we canuse overriden centos package 2015-06-22 12:58:53 -04:00
Michael Jerris 67d1d1df8f FS-7605 remove surplus config flags and fix rundir and logdir set under fhs 2015-06-17 21:55:40 -05:00
Michael Jerris 4ad0aa91a4 FS-7655: attempt to make libvpx and libyuv optional (none of the video features will work without them) The following modules require these libraries to be installed still: mod_av mod_cv mod_fsv mod_mp4v2 mod_openh264 mod_vpx mod_imagick mod_vpx mod_yuv mod_png mod_vlc 2015-06-16 18:24:35 -05:00