Commit Graph

335 Commits

Author SHA1 Message Date
Alex Xu (Hello71) 6ece47e17f [build] skip checking unused execinfo.h
since 380fd060ef, execinfo.h is not used
anymore, so there is no need to check for it.
2021-11-26 11:50:48 -05:00
Andrey Volk 2663872953 [Build-System] Add better error reporting to configure when libks or signalwire-client are missing and mod_verto or mod_signalwire enabled. 2021-11-03 22:48:44 +03:00
Andrey Volk 4555731ee3 version bump 2021-10-24 21:49:18 +03:00
Andrey Volk 68e6ddf828 [Build-System] Add --enable-heap-profiler and --enable-cpu-profiler configure flags. 2021-10-23 22:00:48 +03:00
Andrey Volk 734e9776e0 [Unit-tests] Add --enable-fake-dlclose configure flag so modules are not unloaded and ASAN could give more info and not just <unknown module>. 2021-10-23 22:00:36 +03:00
Anthony Minessale 35f1afa144 [build] improve configure test for openal 2021-10-23 22:00:27 +03:00
VCC Live/Core d6de1d9af7 [Core] Add systemd sd_notify support 2021-10-23 21:59:52 +03:00
Andrey Volk 30eaf2c736 Bump sofia-sip library requirement to version 1.13.6 2021-10-19 23:41:27 +03:00
Andrey Volk e9fde845de [mod_cv] Replace deprecated definitions and update configure.ac to check renamed opencv4.pc on Debian Bullseye. 2021-10-14 23:29:30 +03:00
Andrey Volk e44fd2ea38 [mod_python3, ESL py3mod] Add Python3 support. 2021-10-14 23:26:36 +03:00
Andrey Volk 2b039a3c32 Bump sofia-sip library requirement to version 1.13.5 2021-08-25 19:32:43 +03:00
Andrey Volk 380fd060ef [Build-System] Remove freetdm from the FreeSWITCH tree. Use out-of-tree module https://github.com/freeswitch/freetdm instead. 2021-08-19 21:10:33 +03:00
Andrey Volk 6ec1cee256 [Build-System] Allow out-of-tree modules to stay commented out in modules.conf and fix false-positive warnings from module integrity checking when running make install. 2021-08-19 19:32:18 +03:00
Andrey Volk 9b91e82fa8 Bump sofia-sip library requirement to version 1.13.4 2021-06-16 00:30:44 +03:00
Chris Rienzo deecaae870
STIR/SHAKEN (#1160)
* [core] Add SWITCH_CAUSEs for STIR/SHAKEN.
[mod_sofia] Add sofia_verify_identity dialplan APP as a STIR/SHAKEN verification service.  Set sip_hangup_on_verify_identity_fail=true to end calls that fail verification, otherwise check sip_verstat and sip_verstat_detailed channel variables for verification result.

* [mod_sofia] Fix stir shaken implementation issues on fail.

* fix build

* Fix given comments

* stir_shaken_passport_get_grant return does not require to be freed.

* reworked things

* [core] add switch_rfc822_datetime_to_epoch()

* [mod_sofia] fix test return code

* [mod_sofia] Add Date header when signing Identity

* [mod_sofia] Check Date - WIP doesn't work

* [mod_sofia] STIR/SHAKEN check SIP Date header

* Try to give time for sofia to clean up calls

Co-authored-by: Andrey Volk <andywolk@gmail.com>
2021-04-27 13:54:32 -06:00
Andrey Volk 67cec5c3e8 version bump 2021-03-25 18:52:56 +03:00
Andrey Volk dfb9541b08 [mod_sofia] Use thread-safe alternatives when destroying nua and nua_handle references. Bump sofia-sip library requirement to version 1.13.3 2021-03-22 18:43:19 +03:00
Mike Jerris 16a4c21af7 [build] fix libpq configure check to use flags from autoconf/pkg-config 2020-12-15 11:22:21 -07:00
Andrey Volk c12300ca52 version bump 2020-08-19 03:32:54 +04:00
Andrey Volk 0f95e265d1 [Build-System] Use spandsp3 package 2020-08-15 01:46:47 +04:00
Andrey Volk 278d0741e6 version bump 2020-08-05 17:06:10 +04:00
Andrey Volk 231d5e6494 [Build-System] Remove SpanDSP library from the FreeSWITCH tree and use packages instead. 2020-08-04 19:15:28 -04:00
Andrey Volk 2fc0e3b80a [Build-System] Remove Sofia-Sip library from the FreeSWITCH tree and use packages instead. 2020-08-03 23:46:45 +04:00
Andrey Volk 7f1a8a69b0 [Build-System] Allow full path or git clone url (with arguments) in modules.conf to build out of tree modules.
--- modules.conf ---
/full/path/to/out-of-tree/mod_tobuild
mod_somewherethere|https://github.com/your_account/your_mod_repo.git -b branch
2020-06-04 22:41:55 +04:00
Mike Jerris 5239c6dcb0 [Build-System] Add a local pc file for use with out of tree mods built in tree. 2020-06-04 22:41:42 +04:00
Andrey Volk 8df2eca4d4 version bump 2020-05-11 16:46:27 +04:00
Andrey Volk 751d5ff55b [Unit-tests] Place module tests into their module's Makefile.am, fix tests, add missing Makefile.am to mod_png, implement recursive make check. 2020-01-18 09:58:42 +00:00
Mike Jerris 5e83ef7e7b [Build-System] Add print_tests make target to output the list of tests being built including in modules 2020-01-14 22:08:16 +04:00
Andrey Volk 00867086e3 [Build-System] Fix regression from the mariadb library checking fix. 2020-01-07 19:42:21 +04:00
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