Commit Graph

8066 Commits

Author SHA1 Message Date
Dragos Oancea 1525a24c26 [spandsp] scan-build: Division by zero - test_cadence() 2020-02-04 14:22:57 +00:00
Dragos Oancea 118b26578c [sofia-sip] scan-build: Access to field 'c_address' results in a dereference of a null pointer (loaded from variable 'c') 2020-01-31 23:17:08 +00:00
Dragos Oancea df5333ed6f [sofia-sip] scan-build: Access to field 'nh_destroyed' results in a dereference of a null pointer (loaded from variable 'nh') 2020-01-31 23:11:40 +00:00
Dragos Oancea 3aac1f8d55 [sofia-sip] scan-build: Value stored to 'end' during its initialization is never read - sip_info_d() 2020-01-31 21:47:07 +00:00
Dragos Oancea 043b23bd28 [sofia-sip] scan-build: Value stored to 'tport' is never read - incoming_retransmit_reply() 2020-01-31 21:43:11 +00:00
Dragos Oancea 0f6d976eb0 [sofia-sip] scan-build: Value stored to 'contacts' is never read - nua_register_client_request() 2020-01-31 21:39:51 +00:00
Dragos Oancea a550adb0c6 [sofia-sip] scan-build: Value stored to 'rest' is never read - msg_extract_payload() 2020-01-31 21:35:30 +00:00
Dragos Oancea f22340c776 [sofia-sip] scan-build: Value stored to 'why' is never read - tport_tcp_ping() 2020-01-31 21:32:22 +00:00
Dragos Oancea f7032c797e [sofia-sip] scan-build: Value stored to 'options' is never read - tls_init_context() 2020-01-31 21:21:09 +00:00
Dragos Oancea e84738d92c [sofia-sip] scan-build: Assigned value is garbage or undefined - outgoing_naptr_tport() 2020-01-31 15:27:54 +00:00
Dragos Oancea 0734d471d9 [sofia-sip] scan-build: Null pointer passed as an argument to a 'nonnull' parameter 2020-01-31 15:19:08 +00:00
Dragos Oancea 90a3391c3c [miniupnpc] Value stored to 'fd_flags' is never read 2020-01-31 14:35:04 +00:00
Andrey Volk 931cf4d83f
Merge pull request #243 from lazedo/cjson-update
[cJSON] Update to v1.7.12
2020-01-29 18:16:50 +04:00
lazedo db95f1e9dd [cJSON] Update to v1.7.12 2020-01-29 00:29:04 +04:00
Andrey Volk dc2b43fb74
Merge pull request #265 from signalwire/set_illuminant_from_code
[SpanDSP] Fix use of uninitialized xyz variable in set_illuminant_from_code()
2020-01-28 23:10:07 +04:00
Andrey Volk 4fc6fc9b09 [SpanDSP] Fix use of uninitialized xyz variable in set_illuminant_from_code() 2020-01-26 18:32:18 +04:00
Andrey Volk 1e4cb132d6 [SpanDSP] Remove unused x_repeats variable from header_row_read_handler() 2020-01-26 17:57:08 +04:00
Dragos Oancea e3abcf2808 [miniupnpc] fix heap-buffer-overflow reported by ASAN (on read) 2020-01-22 19:07:06 +00:00
Dragos Oancea e3b1fb91c8 [sofia-sip] fix overflow in logging (tport)
[sofia-sip] bump .update
2020-01-20 19:46:51 +04:00
Andrey Volk f7ec94c9c4 [esl] Add SHUTDOWN_REQUESTED event. 2019-12-31 03:12:04 +04:00
Seven Du 9248aa05ec [sofia-sip] fix 183 received right after 200 (#67) 2019-12-31 03:10:13 +04:00
Andrey Volk da31fac5a0 [Core, mod_commands] Add switch_core_pool_stats API and pool_stats command with corresponding --enable-pool-debug configure flag. 2019-12-31 02:07:22 +04:00
Andrey Volk f664600df4 [fs_cli] Fix unchecked tainted data. 2019-12-31 01:01:45 +04:00
Andrey Volk 8126d1f482 [sofia-sip] Fix memory leak when a tcp connection gives POLLERR due to RST. 2019-12-31 00:54:49 +04:00
Andrey Volk 0af811bb24 [sofia-sip] Fix memory leak when incomplete tls connection. 2019-12-31 00:49:50 +04:00
Andrey Volk 5addd7144c FS-12058: [sofia-sip] Fix scan-build issues in su_alloc.c 2019-12-30 23:58:56 +04:00
Mike Jerris 07c6ad5e1a [build] fix libvpx osx build detection on newer compilers and osx versions so we use sse extensions on newer versions 2019-10-23 13:54:09 -06:00
Andrey Volk 93691c60ce
Merge pull request #32 from cdosoftei/php7-esl
ESL adjustments for PHP 7+
2019-10-13 00:51:31 +04:00
Andrey Volk 8a80e3ad0c
Merge pull request #44 from micmac1/master-fs_cli_typo
[fs_cli] Fix typo, resolves garbled screen
2019-10-13 00:49:08 +04:00
Sebastian Kemper 8919d581fe [fs_cli] Fix typo, resolves garbled screen
Related to FS-11309.

Commit bc3e1c9e7d introduced a typo that
results in EL_REFRESH never being used, even if available. This can
cause the screen to garble.

This fixes the typo.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-12 21:46:09 +02:00
Andrew Savchenko c4ec06dc23
Add support for the Elbrus architecture
The Elbrus architecture (aka E2K, aka 2000) is LE.

Signed-off-by: Andrew Savchenko <bircoph@altlinux.org>
2019-10-10 16:21:31 +03:00
cdosoftei d60193c1ae
ESL adjustments for PHP 7+ 2019-10-02 14:05:58 -04:00
Andrey Volk 583bf0441d FS-12042: [sofia-sip] Fix typo in sresolv. 2019-09-09 22:12:10 +04:00
Andrey Volk f93445a38c FS-12010: [sofia-sip] Fix improper cleanup on su_deinit(). 2019-08-20 03:11:28 +04:00
Andrey Volk 6fe1a87e3e FS-11987: [sofia-sip] Extract URI from info param of SIP Identity Header
- allow for a spaces between "info=" and opening '<'
- extract URI from inside "<>" but allow empty - let the higher level app decide what to do about it
- replace strndup (does not exist on Windows) with memcpy
2019-08-13 19:53:11 +04:00
Piotr Gregor b8ad860a54 FS-11987: [sofia-sip] Add SIPTAG_IDENTITY_STR and sofia-sip Identity Header handling 2019-08-09 00:23:43 +04:00
Andrey Volk 9b05fabd53 FS-11966: [core] Fix regression after libsrtp upgrade to 2.2.0 resulting in no audio 2019-07-29 14:57:51 +04:00
Anthony Minessale 1c80a83d57 fix teletone gen on multichannel 2019-07-25 23:31:08 +04:00
Andrey Volk 157b47f537 FS-11267: [Build-System] Fix libyuv build for Windows 2019-07-25 23:20:29 +04:00
Anthony Minessale 5a924d5ef3 update libyuv to hash 5a699df5 from https://chromium.googlesource.com/libyuv/libyuv/ 2019-07-25 23:19:40 +04:00
Andrey Volk a714dacd7f FS-11267: [Build-System] Fix libvpx build for Windows 2019-07-25 23:16:51 +04:00
Mike Jerris f49279b45e .gitignore 2019-07-25 23:06:38 +04:00
Mike Jerris dd49510113 FS-11267: [Build-System] Fix libvpx build dependencies 2019-07-25 23:06:31 +04:00
Mike Jerris 8948ba694e .gitignore 2019-07-25 23:06:24 +04:00
Anthony Minessale e7dd41e361 new version of vp8 thread sleep patch 2019-07-25 23:06:17 +04:00
Anthony Minessale 731ee28fe7 update libvpx to hash 133f83e2c tag v1.7.0 from https://chromium.googlesource.com/webm/libvpx 2019-07-25 23:06:06 +04:00
Andrey Volk 4a2812aaf5 FS-11727: [mod_mariadb] Add MariaDB (MySQL) support 2019-07-23 20:07:16 +04:00
Andrey Volk f0da2f2cd4 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for libs/esl 2019-07-18 21:27:04 +04:00
Andrey Volk 4329f36274 FS-11896: [core] Fix typo in ftdm_buffer 2019-07-18 00:27:05 +04:00
Andrey Volk 5daa48953d FS-11896: [core] Fix typo in esl_buffer 2019-07-18 00:26:58 +04:00
Anthony Minessale 1dd4191601 FS-11896: [core] stop media bugs from being possible to add to channels with no media ready, stop transfer recordings upstream to not try to transfer recordings to channels without media ready 2019-07-18 00:26:45 +04:00
Chris Rienzo d61a20ce6a FS-11867 [sofia] Send siptrace logs in a single log callback. 2019-07-18 00:24:30 +04:00
Andrey Volk 4d932281e9 FS-11813: [Build-System] Remove libtpl dependency from FreeSWITCH 2019-07-17 23:09:50 +04:00
Mike Jerris 6378bfc63d FS-11924: [sofia] fix crash in sdp_media_cmp 2019-07-17 14:40:56 -04:00
Chris Rienzo bd96911f4f FS-11816 [Build-System] srtp build issue 2019-07-17 22:08:51 +04:00
Andrey Volk f82321ee0c FS-11816: [Build-System] Update libsrtp to 2.2.0 2019-07-17 22:05:39 +04:00
Chris Rienzo ca8fa0e1ff FS-11785 [esl] dead assignments in esl_event_serialize
null attribute in esl_buffer_read
	       null attribute in esl_event_base_add_header
	       null attribute in esl_recv_event
2019-07-17 20:22:11 +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
Andrey Volk a7477ed0e2 FS-11911: Fix build on Debian Buster 2019-07-15 22:23:25 +04:00
Chris Rienzo 0a6d87edfe FS-11824 [sofia-sip,mod_sofia,core] Added cause codes that map to SIP 600,603,604,606,607 2019-06-06 11:51:51 -04:00
joshebosh 72986c6919 FS-11679 [mod_sofia] SIP message sent by FS logged incompletely in tport dump log 2019-06-06 11:44:27 -04:00
Chris Rienzo 1bd9fd1a86 FS-11785 [sofia] fix dead assignment in parse_payload 2019-06-06 11:25:26 -04:00
Chris Rienzo 8925519e02 FS-11785 [libteletone] Fix dead assignment in teletone_dtmf_detect 2019-06-06 11:25:19 -04:00
Chris Rienzo 7187e8ecd2 FS-11785 [libteletone] Fix unlikely divide by zero in teletone_mux_tones 2019-06-06 11:25:13 -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
Andrey Volk fe7d5e2944 FS-11851: [Build-System] Significantly reduce libvpx and ffmpeg compile time on Windows. 2019-05-19 01:49:02 +04:00
Andrey Volk a1f3b4862e FS-11849: [Build-System] Add mod_av based on ffmpeg and openh264 to MSI package on Windows. 2019-05-17 16:46:58 +04:00
Luke Wahlmeier 2ba80c056e FS-11342: fixed hep3 capture_id 2019-04-24 15:07:32 -06:00
Mike Jerris 4fcbc7a87d Merge pull request #1578 in FS/freeswitch from ~TOMP/freeswitch:bugfix/FS-9657-fix-HEP-TLS-capture to master
* commit '300b967cf90259686d3bdffe140731e129f75da2':
  FS-9657 [libsofia] This commit fixes missing HEP capture messages when incoming SIP messages arrive over encrypted TLS transport
2019-02-26 12:44:01 -06:00
Mike Jerris 4e930fb089 FS-11452: [sofia-sip] handle 200/183 w/ sdp receivied out of order quickly 2019-02-18 17:06:53 -05:00
Dragos Oancea 179430cecc FS-11622: WS headers case insensitive 2019-01-21 18:10:15 -05:00
Jeremiah Gowdy 48a6916d90 Fix FS-11611 by commenting locals which are unused if configured with --disable-core-libedit-support 2019-01-14 10:47:15 -08:00
Andrey Volk d0cca7e222 FS-11555: [mod_signalwire] Initial commit. 2018-12-21 21:45:59 +04:00
Andrey Volk c27206e36d FS-11565: [Build-System] Add 48kHz sounds to the Visual Studio solution on Windows. 2018-12-21 21:18:12 +04:00
Sergey Safarov 54c142933a FS-11345: Fixed Werror=format-truncation on lib/esl 2018-12-13 07:12:06 +00:00
Sergey Safarov abde630fea FS-11345: Fixed Werror=stringop-truncation for mod_opus
Fixed Werror=format-truncation on sofia-sip/libsofia-sip-ua/tport

Fixed Werror=format-truncation on mod/endpoints/mod_verto

Fixed unused-but-set-variable in mod_lua

Fixed Werror=format-truncation on libs/sofia-sip/libsofia-sip-ua/tport

Fixed Wunused-variable Wmaybe-uninitialized on mod_soundtouch

Fixed Wliteral-suffix for libs/unimrcp
2018-12-12 21:18:19 +00:00
Andrey Volk 359035bf69 FS-11464: [Build-System] Improve CUDA detection in Visual Studio on Windows. 2018-11-28 02:47:23 +04:00
Andrey Volk 13f6890f41 FS-11523: [mod_av] Add ffmpeg 4.1 support. 2018-11-28 02:47:23 +04:00
Andrey Volk 0b2f72ff97 FS-11394: [mod_av] Enable HW acceleration on Windows. Use FFmpeg 3.4.4 instead of libav. 2018-09-19 19:16:36 +03:00
Andrey Volk 6005400994 FS-11390: [mod_codec2] Use system libcodec2. 2018-09-15 14:58:05 +03:00
Anthony Minessale 9844c06169 FS-11225: [freeswitch-core] Crash in fs_cli -- missing check for null pointer #resolve 2018-09-12 21:21:46 +00:00
Tom Parrott 300b967cf9 FS-9657 [libsofia] This commit fixes missing HEP capture messages when incoming SIP messages arrive over encrypted TLS transport 2018-08-29 13:11:06 +00:00
Brian West 723782ec7f FS-11308: fix segfault on invalid multipart sdp 2018-08-23 09:50:32 -05:00
Andrey Volk 144bbec7fd FS-11303: [Build-System] Migrate Visual C++ components redistribution using merge modules from v140 to v141 (VS2017), minor cleanup. 2018-08-01 18:49:24 +03:00
Andrey Volk 13421eea17 FS-11298: [Build-System] Fix Win32 build under Visual Studio. 2018-08-01 00:18:09 +03:00
Andrey Volk 6712f3998f FS-11295: [mod_av] Fix wrong path to yasm.exe 2018-07-30 23:44:55 +03:00
Andrey Volk e08406d1c4 FS-11288: [Build-System] Refactor WIX project to not miss modules in msi on slow machines. Move Windows build logic from legacy util.vbs to modern props. Fix sound packages improper extraction. Fix multiprocessor build under msbuild. 2018-07-27 18:56:46 +03:00
Seven Du 9a0a594d07 FS-11278 #resolve fix if clause does not guard compiler warning 2018-07-26 11:24:40 -05:00
Anthony Minessale bc3e1c9e7d FS-11225: [freeswitch-core] Crash in fs_cli #resolve 2018-07-24 07:21:56 +00:00
Andrey Volk 671da28796 FS-11263: [Build-System] Move FreeSWITCH build system to Visual Studio 2017 on Windows. 2018-07-24 07:21:55 +00:00
Andrey Volk e7ff903629 FS-11150: [Build-System] Fix broken ESL in .Net project. 2018-07-24 07:21:52 +00:00
Anthony Minessale bb7013817b FS-11138: [freeswitch-core] Leak in ESL client #resolve 2018-07-24 07:21:51 +00:00
Andrey Volk 561d187085 FS-11125: [Build-System] Remove unused files left from previous Visual Studio version. 2018-07-24 07:21:51 +00:00
Mike Jerris 414442c3b3 remove some unused files
This reverts commit 7944934d20.
This reverts commit b120ddb9d3.
This reverts commit e8987b0d8c.
2018-07-24 07:21:51 +00:00
Andrey Volk 184fbd6a9f FS-11101: [mod_cv] Add mod_cv to the Windows build. 2018-07-24 07:21:50 +00:00
Mike Jerris bb92955e21 FS-10997: [libvpx] CVE-2017-13194 2018-07-24 07:21:49 +00:00
Andrey Volk 32c16669c4 FS-11091: [mod_sndfile] Remove libsndfile from the code base, use pre-compiled binaries on Windows, update to libsndfile 1.0.28 2018-07-24 07:21:49 +00:00
Andrey Volk c9ac9c66e3 FS-11090: [Build-System] Move PCRE library to pre-compiled binaries, minor cleanup, reduce build log verbosity on windows. 2018-07-24 07:21:49 +00:00
Andrey Volk 07fbd3fc49 FS-11087: [Build-System] Use shared zlib library on Windows. 2018-07-24 07:21:49 +00:00
Brian West b5daae72da FS-10945: [Build-System] build fails for Master #resolve 2018-07-24 07:21:47 +00:00
Andrey Volk d0dae4b360 FS-11086: [Build-System] Move libflite to pre-compiled libraries on Windows. 2018-07-24 07:21:47 +00:00
Andrey Volk c31e7062b7 FS-11085: [Build-System] Update curl to 7.59.0 and move to pre-compiled binaries on Windows. 2018-07-24 07:21:46 +00:00
Andrey Volk 50d38ba36c FS-10980: [mod_lua] Update lua version to 5.3.4 and move it to pre-compiled binaries on Windows. 2018-07-24 07:21:46 +00:00
Andrey Volk 49d19bffcd FS-11074: [Core, Build-System] Add PostgreSQL to the Freeswitch Core on Windows. 2018-07-24 07:21:43 +00:00
Andrey Volk d22e16ece9 FS-11069: [Build-System] Update zlib to 1.2.11 and move it to pre-compiled binaries on Windows. 2018-07-24 07:21:43 +00:00
Andrey Volk 52ac19c338 FS-11067: [Build-System] Improve windows build speed moving openssl to pre-compiled binaries. 2018-07-24 07:21:42 +00:00
Andrey Volk 24ef5b2762 FS-11065: [Build-System, mod_v8] Update libv8 to 6.1.298 on windows, speedup windows build by moving libv8 to pre-compiled binaries. 2018-07-24 07:21:42 +00:00
Andrey Volk dd90763371 FS-9753: [mod_sofia] Fix crash when accessing the WSS interface via regular HTTPS
Conflicts:
	libs/sofia-sip/.update
2018-07-24 07:21:40 +00:00
Anthony Minessale 892181bbc2 FS-8761: [freeswitch-core] Memory leak in FreeSWITCH 2018-07-24 07:21:35 +00:00
Anthony Minessale 2d5e52a012 FS-10762: [freeswitch-core] Websocket logic error #resolve 2018-07-24 07:21:35 +00:00
Anthony Minessale f3d8a3b07a FS-10762: [freeswitch-core] Websocket logic error 2018-07-24 07:21:35 +00:00
Anthony Minessale d395223fa2 FS-10762: [freeswitch-core] Websocket logic error #resolve 2018-07-24 07:21:35 +00:00
Anthony Minessale 180d427cd6 FS-8761: [freeswitch-core] Memory leak in FreeSWITCH 2018-07-24 07:21:33 +00:00
Anthony Minessale 34f0ab58c1 FS-10762: [freeswitch-core] Websocket logic error #resolve 2018-07-24 07:21:33 +00:00
Anthony Minessale c5e662c9bc FS-10762: [freeswitch-core] Websocket logic error 2018-07-24 07:21:33 +00:00
Muteesa Fred 9fc898daac FI-393 [fs_cli banner] this commit changes the text on the fs_cli banner 2018-06-14 19:38:05 +00:00
Andrey Volk f37f41ccb2 FS-9753: [mod_sofia] Fix crash when accessing the WSS interface via regular HTTPS 2018-02-21 22:59:42 +03:00
Steve Underwood 6b1dccc3b2 Tweaks and feature additions to some of the spandsp tests. 2018-01-22 15:19:38 +00:00
Mike Jerris 243a27a63b Merge pull request #1465 in FS/freeswitch from ~ANGELMADAMES/freeswitch:master to master
* commit '6cc029b579b64e73908e56a29046f9581a7fe963':
  FS-10875: #resolve Portability issues for non-bash interpreters.
2018-01-19 18:59:34 +00:00
Andrey Volk e380b41a8e FS-10876: [Build-System] Fix build in Visual Studio 2017 and Windows SDK 10. 2018-01-10 23:30:24 +03:00
Angel M. Adames 6cc029b579 FS-10875: #resolve Portability issues for non-bash interpreters. 2018-01-09 13:31:32 -04:00
Steve Underwood 78c189bfcc A tweak to the PCAP file parsing code in spandsp to allow for 802.1Q headers in
Ethernet packets.
2018-01-08 18:15:47 +00:00
Mike Jerris f7e2505fc7 cleanup unused 2017-11-20 11:30:50 -05:00
Shane Bryldt f9e36014ae FS-10739: [libblade] Fixed disconnecting downstream sessions when upstream session is disconnected, without disconnecting loopback which always remains available 2017-10-23 08:17:27 -06:00
Shane Bryldt 8d4af5f7b6 FS-10739: [libblade] Small fix to testcon, forgot to uncomment the test.join response sending after testing TTL on responses 2017-10-19 08:49:26 -06:00
Shane Bryldt 749db0461d FS-10739: [libblade] Added TTL to request which now produces an error response when a response is not received locally within the timeout, this utilizes loopback session stuff which had a couple bugs that are now also fixed, further loopback testing is still required on event subscriptions, protocol publishing, protocol locating, and protocol execution 2017-10-19 08:44:31 -06:00
Shane Bryldt b3e84ac146 FS-10739: [libblade] Loopback session support and reworking sessions to use independent ids, blade.connect now also responds with both the sessionid and the nodeid separately 2017-10-19 02:32:55 -06:00
Andrey Volk 9c4fc2af12 FS-10725: [Build-System] Add DownloadPackageTask in order to use in props instead of using legacy util.vbs within projects. Get rid of lib v8 download project in favor of props on windows. 2017-10-17 23:13:27 +03:00
Shane Bryldt a6417d06c2 FS-10690: [libblade] Fixed linux build 2017-10-12 12:49:51 -05:00
Shane Bryldt 20ea5c3c52 FS-10690: [libblade] Added web request and web response layer ontop of civetweb to handle simplified processing for both inbound REST services as well as outbound client requests. Added simple layer ontop of that for one-liner oauth2 token establishment. 2017-10-12 11:47:07 -06:00
Andrey Volk 8b0fb15228 FS-10690: [libks, Build-System] Fix libks solution build on windows. Add libks related stuff to .gitignore 2017-10-11 02:16:45 +03:00
Shane Bryldt e28abe2929 FS-10690: [libblade] fixed some linux build issues that were missed recently for stringbuilder addition 2017-10-10 07:38:04 -05:00
Shane Bryldt 71286aa436 FS-10690: [libblade] Undid apple definition for old libconfig stuff 2017-10-10 06:34:14 -06:00
Shane Bryldt a173023827 FS-10690: [libblade] fixed up libconfig to treat 1.4.x as legacy for debian 8 system packages, with 1.5.0 expected on windows and newer linux 2017-10-10 06:33:12 -06:00
Seven Du 03eb15c978 FS-10690 temp fix build on Mac 2017-10-10 20:23:07 +08:00
Shane Bryldt 0078f4027c FS-10690: [libblade] Fix for return type that wasn't being detected correctly by compilers 2017-10-10 06:06:25 -06:00
Andrey Volk ea8c3be8ec FS-10541: [Build-System] Move OpenSSL to props with BaseDir on windows. 2017-10-07 22:50:48 +03:00
Andrey Volk 8d0afcd01a FS-10690: [libblade, Build-System] Migrated civetweb's duktape_lib and lua_lib windows projects into repository. 2017-10-07 17:03:34 +03:00
Shane Bryldt 1991ce4817 FS-10690: [libblade] [libks] Added json wrapper to string builder. Fixed an issue with the "Release" build for x64, currently only Debug x64 and Release x64 build correctly, more will be fixed with other project updates soon. 2017-10-06 12:44:10 -06:00
Shane Bryldt 4ba8c7dc48 FS-10690: [libblade] [libks] Cleaned up projects so they build as static libs rather than DLL projects where appropriate. Set all projects that weren't using the right windows CRT library to use DLL based even when statically compiling. Cleaned up some project preprocessor definitions and moved around some preprocessor code to make it simpler. Added ks_sb_t to support an efficient universal string builder. Tested string builder with a temporary REST service exposed by switchblade application. 2017-10-05 05:22:22 -06:00
Steve Underwood 95b840648f Added a warning message to spandsp's fax_decode program when it looks like
the FAX machines are entering a proprietary mode.
2017-10-03 15:33:07 +01:00
Shane Bryldt 099580022d FS-10690: [libblade] Added basedir.props from existing pending PR from Andrey Volk to support PCRE build requirements for blade on windows, currently only used by newly added PCRE props which are not yet used by FS projects 2017-10-02 13:09:51 -06:00
Shane Bryldt 560fd03842 FS-10690: [libblade] Added PCRE to linux build, which can be used from system packages 2017-10-02 13:29:06 -05:00
Shane Bryldt 62ee80962f FS-10690: [libblade] Added PCRE to libblade for REST route matching, fixed windows build environment for PCRE download project 2017-10-02 11:31:38 -06:00
Steve Underwood a8ada67679 Added command parameters to spandsp's fax_decode program to allow the decode
parameters to be forced when the audio being decoded does not contain a DCS
message specifying them.
2017-10-02 18:06:01 +01:00
Andrey Volk 2bead55cd2 FS-10690: [Build-System] Compile libks within libblade. 2017-09-29 16:09:30 +03:00
Shane Bryldt d76921b49e FS-10690: Removed useless defines from blade.h that are only needed when compiling libcivetweb itself 2017-09-28 18:05:10 -05:00
Shane Bryldt 4c57f0aa5b FS-10690: Added support for compiling civetweb inline when building libblade 2017-09-28 17:53:56 -05:00
Shane Bryldt a3be6fe2d9 FS-10690: First updates to support civetweb on linux 2017-09-28 17:40:01 -05:00
Shane Bryldt 94eac3d8b9 FS-10690: Temporary commit to work on linux build for civetweb stuff 2017-09-28 14:15:07 -05:00
Shane Bryldt 941053a592 FS-10690: Forgot to include a couple new files 2017-09-28 12:14:18 -06:00
Shane Bryldt b120ddb9d3 FS-10690: Fixed some issues in the download projects, added configuration transfer during blade_restmgr startup, and started initial stubs for civetweb callbacks in advance of deeper REST routing support 2017-09-27 20:07:16 -06:00
Andrey Volk e8987b0d8c FS-10690: [Build-System] Add download projects for civetweb, libconfig, libsodium on windows. 2017-09-28 01:07:19 +03:00
Andrey Volk def7afdee6 FS-10696: [Build-System] Update 7za to 1701 on windows. 2017-09-28 00:39:30 +03:00
Andrey Volk 6e3991379b FS-10690: [Build-System] Add civetweb library project for libblade on windows. 2017-09-25 22:09:20 +03:00
Steve Underwood 542825ef81 libspandsp's -mssexx selection tags for SSE4.1 and SSE4.2 were incorrect in
configure.ac
2017-09-24 21:38:29 +01:00
Shane Bryldt c0a02f544d FS-10167: Updating linux build 2017-09-21 00:21:49 -05:00
Shane Bryldt 43cb4e3468 FS-10167: Implemented identity registration and routing, removed subrealms to be revisited later, implemented public event channels and node presence, restructured some code and fixed a number of bugs. 2017-09-20 22:07:34 -06:00
Shane Bryldt af69e2fb5b FS-10167: Temporary commit to retain changes before removing concept of realm/subrealm as per discussions, will revisit this concept later when a real use-case presents itself, tests will not operate correctly in this build as realms are incomplete prior to removal 2017-09-13 08:41:40 -06:00
Andrey Volk fe83efca45 FS-10663: [mod_portaudio] Fix empty pa devlist on windows x64 release build. 2017-09-11 22:27:31 +03:00
Shane Bryldt bda523b5af FS-10167: Small fix to get linux build working, tested and working correctly 2017-09-07 07:48:48 -05:00
Shane Bryldt ee8db10a5f FS-10167: Added support for SSL/TLS, specifically enforcing TLS 1.2 currently but could be more configurable later. Added support for obtaining SANS from X509 certificates within the default wss transport, SANS will be used for preapproved automatically registered identities, currently only being cached on server side for downstream connections providing the remote client upstream certificate SANS, but can also be used by a master to obtain initial master identities from it's own downstream certificate in the future (planned, but not yet implemented) as it is the exception with no upstream and MUST have downstream available. Also added the openssl executable to the projects being built in the libblade solution to provide a windows executable for certificate production when required. 2017-09-07 06:44:16 -06:00
Shane Bryldt 9fc65c8752 FS-10167: Fixed up linux build for latest work on channel and protocol removal at runtime 2017-08-18 17:44:25 -05:00
Shane Bryldt a81b57bd35 FS-10167: Updated publish and broadcast to support adding and removing channels at runtime, as well as removing protocols at runtime. In effect this provides cleanup on subscriptions when an entire channel or protocol becomes unavailable. Committing to test linux build. 2017-08-18 16:30:08 -06:00
Shane Bryldt d5b1c328eb FS-10167: Updating linux build 2017-08-03 21:31:28 -05:00
Shane Bryldt 53690120ac FS-10167: Revisited ks_pool to embed the ks_pool_t pointer into the prefix of each allocation, updated libks and libblade to remove unneccessary pool pointers in structures, pool-allocated memory can now be freed without needing to pass the original pool 2017-08-03 20:26:07 -06:00
Shane Bryldt 077fde224b FS-10167: Linux build updated and basic tests work as expected 2017-08-01 17:48:34 -05:00
Shane Bryldt fd3348cafc FS-10167: More work on the event channel workflow, switched callback data back to using void* and the assumption callback will clear the data or that it would be cleaned up by a handle shutdown by allocating within the handle pool. Base tests currently working, committing to sync up linux build 2017-08-01 16:30:25 -06:00
Shane Bryldt c6e60de302 FS-10167: Temporary commit for peer review 2017-07-25 11:01:07 -06:00
Andrey Volk bf101a5f0b FS-10525: [Build-System] Update curl to 7.54.1 for windows, move to props. 2017-07-21 01:21:34 +03:00
Anthony Minessale bf7ba2aa8c FS-10523: [freeswitch-core] Websocket disconnects prematurely 2017-07-20 02:56:05 -05:00
Anthony Minessale 04067b4e21 FS-10523: [freeswitch-core] Websocket disconnects prematurely #resolve 2017-07-20 02:55:38 -05:00
Andrey Volk a1bff96d40 FS-10516: [Build-System] Move libsilk from tree to download on windows. 2017-07-18 22:16:48 +03:00
Andrey Volk c1d964a0a5 FS-10510: [Build-System] Add mod_codec2, move libcodec2 from tree to download on windows. 2017-07-18 18:32:10 +03:00
Andrey Volk 5dabf58f7b FS-10509: [Build-System] Move broadvoice from tree to download on windows. 2017-07-18 00:35:48 +03:00
Andrey Volk 4d063f21a1 FS-10508: [Build-System] Fix broken lib download logic on windows. 2017-07-17 22:28:00 +03:00
Andrey Volk e1a4f42371 FS-10504: [Build-System] Move iLBC from tree to download on windows. 2017-07-17 19:24:26 +03:00
Andrey Volk 40668f6b1c FS-10501: [mod_spandsp] Fix building spandsp lib on windows. 2017-07-14 19:59:42 +03:00
Mike Jerris 6d3e4c7aae Merge pull request #1335 in FS/freeswitch from ~ANDYWOLK/freeswitch:FS-10489-move-libg7221-from-tree-to-download to master
* commit '06ef63103982ee67f67b90d1af8430fd15c1b7be':
  FS-10489: [build-system] Move libg7221 from tree to download on Windows.
2017-07-14 15:35:16 +00:00
Andrey Volk 06ef631039 FS-10489: [build-system] Move libg7221 from tree to download on Windows. 2017-07-14 18:25:09 +03:00
Steve Underwood 9732d32503 spandsp DSP tweaks to avoid problems with the LPC10 code compiled with the latest GCC 6.2 series compilers. Various other additional tweaks to spandsp. 2017-07-14 00:29:20 +01:00
Shane Bryldt 84540ea857 FS-10167: Refactoring and cleanup 2017-07-12 03:35:49 -06:00
trevora 74f5b5675e FS-10395: [mod_sofia] Fix ssl error handling in tls sip traffic
Clears SSL error state.

Updates tport_tls.c to clear the SSL error state after an error occurs.

OpenSSL puts errors into a queue that is kept in thread local storage.
In some cases, such as when SSL_ERROR_SSL is returned by SSL_get_errror(),
OpenSSL will queue multiple errors for a single event. When this occurs,
OpenSSL will report an error the next time I/O is performed if the queue
is not cleared first, which can result in TLS connections being torn down
prematurely.
2017-07-06 17:44:26 -04:00
Mike Jerris 3f66eb6cbf FS-10471: [build] fix build error on debian 9 with --enable-zrtp 2017-07-05 12:17:24 -05:00
Shane Bryldt 2ff3ce1a5c FS-10167: Bug fixes, memory leaks, etc 2017-07-03 13:45:29 -06:00
Shane Bryldt f9d23ccadd FS-10167: Updating to build clean on linux 2017-07-03 13:57:47 -05:00
Shane Bryldt 3687a5a0a5 FS-10167: Significant cleanup and isolation of code into manager types for better maintainability and easier path to future updates 2017-07-03 12:48:46 -06:00
Trever L. Adams 052c7c3061 FS-9785: Fix format-truncation warnings for systems that treat it as an error. 2017-06-29 21:35:38 -06:00
Andrey Volk 4455893e0e FS-10436 [mod_v8] Upgrade javascript libv8 from 3.24.14 to 5.6.326 on windows. 2017-06-29 03:04:18 +03:00
Mike Jerris 3347820c1e FS-10427: move libesl to use swig3.0 so we can reswig on debian9 2017-06-27 12:10:04 -05:00
Mike Jerris d8fcb60155 FS-9785: changes to support newer openssl 2017-06-26 14:53:39 -05:00
Mike Jerris 3bcf5b7ff8 FS-9785: upgrade libsrtp to 2.1 2017-06-26 14:14:36 -05:00
Shane Bryldt 3ff59b6a5a FS-10167: First pass of adding a test protocol 2017-06-21 17:15:53 -06:00
Brian West dcc0bf72ec FS-10406: [mod_sofia] mod_sofia secure websocket connections SSLv3 and tls v1.0 is still not disabled #resolve 2017-06-21 08:51:50 -05:00
Shane Bryldt 9cb5652d14 FS-10167: Fixing linux build for blade.broadcast related stuff 2017-06-12 13:22:35 -05:00
Shane Bryldt e931137444 FS-10167: Added preliminary blade.broadcast, tested event being broadcasted with bladec and blades through switchblade 2017-06-10 23:08:39 -06:00
Shane Bryldt ca19bee71c FS-10167: Update to the preliminary blade.subscribe support, added registration of local callback for processing an event received through upcoming blade.broadcast 2017-06-10 20:30:58 -06:00
Shane Bryldt 61f8380b70 FS-10167: Preliminary version of blade.subscribe is implemented 2017-06-09 21:34:02 -06:00
Shane Bryldt 6795fd2e45 FS-10167: Added preliminary support for blade.register, currently it is only used to update routes upstream, when a new nodeid is introduced or no longer available a blade.register is passed to update the routing tables. Edge cases are not handled yet. 2017-06-06 15:50:38 -06:00
Brian West 975966bca9 FS-10257: [mod_sofia] libsofia-sip-ua/msg no longer builds on Arch Linux due to -Werror=parentheses 2017-06-05 17:44:56 -05:00