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
Shane Bryldt
0b47048ee0
FS-10167: Updates to get last blade stuff compiling and running under linux again
2017-06-05 16:52:01 -05:00
Shane Bryldt
076a9adbf6
FS-10167: Preliminary support for blade.execute, tested with a basic test.echo across 3 nodes with a common master. Multitier routing is not yet fully supported
2017-06-05 15:29:19 -06:00
Andrey Volk
cbe8c8b521
FS-10362 [mod_lua] Update lua to 5.2.4 for windows build.
2017-06-03 02:08:21 +03:00
Shane Bryldt
cc627e534f
FS-10167: Shifted the routing layer to occur slightly lower in the processing stack, which allows routing of messages without creating local pending requests for callback and TTL tracking
2017-05-31 16:19:08 -06:00
Shane Bryldt
f915bf515f
FS-10167: First pass on adding support for blade.locate
2017-05-30 22:45:06 -06:00
Shane Bryldt
3341413254
FS-10167: Getting last commit to build and run under linux
2017-05-30 12:48:34 -05:00
Shane Bryldt
e9d1ea645f
FS-10167: Implemented first draft of blade.publish, still need to circle back to finish blade.route to support multi-tiered routes
2017-05-30 10:51:15 -06:00
Shane Bryldt
222780795d
FS-10167: Updates to previous overhaul commit to get everything building right under linux
2017-05-22 12:02:04 -05:00
Shane Bryldt
9fa52c742e
FS-10167: Significant overhaul to libblade and it's operations to match the first layer required by the blade protocol, still more work to be done but nodes can connect to router nodes and get initial identities registered based on realms configured for the master router node.
2017-05-22 10:31:50 -06:00
Mike Jerris
b12bbbc98f
Merge pull request #1269 in FS/freeswitch from ~MOCHOUINARD/freeswitch:bugfix/FS-10293-patchish-freetdm-audio-in-1-direction to master
...
* commit 'dabab9f25aa8b78676cb74b6efd93b0005c2de1d':
FS-10293: Fix regression from FS-9638 causing 1 way audio on FreeTDM Calls
2017-05-10 16:14:29 +00:00
Anthony Minessale
99a38c5b94
add locate method
2017-05-08 16:15:13 -05:00
Anthony Minessale
175eb24765
add exclusive param
2017-05-08 16:09:18 -05:00
Marc Olivier Chouinard
dabab9f25a
FS-10293: Fix regression from FS-9638 causing 1 way audio on FreeTDM Calls
2017-05-06 19:50:17 -04:00
Anthony Minessale
75df6bc406
add missing method
2017-05-04 12:42:20 -05:00
Anthony Minessale
65b3927f5b
updates for events
2017-05-04 11:51:40 -05:00
Anthony Minessale
406de0dbf3
update
2017-05-03 18:31:04 -05:00
Anthony Minessale
d2866cc538
temp docs
2017-05-03 18:22:23 -05:00
Mike Jerris
a4e624bec8
Merge pull request #1211 in FS/freeswitch from ~MOCHOUINARD/freeswitch:bugfix/FS-10108-patch-mod_freetdm-make-the-freetdm to master
...
* commit '119dd7e8e841b5294ae4b85b7cc028df40acc45e':
FS-10108: mod_freetdm - Configurable FreeTDM Configuration file locations
2017-04-28 20:09:39 +00:00
Mike Jerris
fde6afda4c
FS-10150: fix typo
2017-04-24 12:34:40 -05:00
Mike Jerris
6a781a1e2c
FS-10150: fix typo
2017-04-22 08:45:57 -04:00
Shane Bryldt
6515bc729c
FS-10167: Some fixes to get the windows release build working, and fixed a mistake with asserting on executed statements which would get compiled out for release builds
2017-04-21 16:27:39 -06:00
Shane Bryldt
a8a935d64f
FS-10167: Temporary commit while trying to figure out why the release build of libsodium under VS won't link properly.
2017-04-21 15:43:04 -06:00
Anthony Minessale
c922223541
FS-10150: [freeswitch-core] Reduce writes to closed ssl sockets -- same fix for non-ssl sockets #resolve
2017-04-21 15:43:40 -05:00
Shane Bryldt
acdf1d93db
FS-10167: Updates to make stuff compile under linux again
2017-04-20 18:04:28 -05:00
Shane Bryldt
5d682abd62
FS-10167: Major updates to lifecycle management across a number of objects changing a number of architecture related areas, fixed some little bugs, too much to remember exactly
2017-04-20 16:56:08 -06:00
Shane Bryldt
2e02f3b498
FS-10167: Adjusted modules to utilize an isolated pool with auto cleanup per module, which also contains the implementation specific module data. Also changed the thread model of the listener for the wss module to utilize the thread pool, alleviating ownership issues during cleanup.
2017-04-18 17:02:34 -06:00
Shane Bryldt
21f5635037
FS-10167: Small fix, made state volatile in session and connection to prevent odd behaviour by the GCC compiler under linux
2017-04-18 15:10:34 -05:00
Shane Bryldt
2c996b592f
FS-10167: Switched connection lifecycle to an isolated pool similar to sessions, also refactored the inner WSS transport implementation to be part of the same pool so it is cleaned up with the connection. Switched the connection state machine thread to also utilize thread pool to avoid direct ownership over the thread, similar to session but without the use of a signaled condition due to abstraction of transports which may need to deal with polling for socket events such as with WSS transport. Completely removed the temporary worker thread in the main handle that was for connection/session cleanup.
2017-04-18 13:41:00 -06:00
Shane Bryldt
8d4eac7f69
FS-10167: fixed a couple deadlock issues and a misconception about the locks on hash
2017-04-17 11:10:20 -06:00
Shane Bryldt
5d82a1b2e2
FS-10167: Added ks_list_delete_iterator() to delete the node at the current iterator position (only if available if iterator is active). Updated blade_session to reflect ks_list_t being internally thread-safe now.
2017-04-14 12:32:13 -06:00
Shane Bryldt
f3aad1a661
FS-10167: Another small bug fix to get compiling on windows again
2017-04-14 11:05:36 -06:00
Shane Bryldt
bea654eea2
FS-10167: Bug fix for libks compiling under linux
2017-04-14 12:01:38 -05:00
Shane Bryldt
f5617f93d2
FS-10167: Retrofit for ks_list to be intrinsicly thread-safe with an internal reader/writer lock
2017-04-14 10:56:52 -06:00
Shane Bryldt
075cd0d179
FS-10167: Refactored simclist for ks-ification, and adjusted it for pool-based allocations and cleanup
2017-04-14 08:59:58 -06:00
Shane Bryldt
8957953741
FS-10167: Temporary commit half way through memory lifecycle changes towards isolated memory pools
2017-04-13 15:36:53 -06:00
Shane Bryldt
819847b53a
FS-10167: Missing NULL assignment to alloc list during cleanup, tests run on linux.
2017-04-11 15:51:35 -05:00
Shane Bryldt
ea0dc132a3
FS-10167: Rewrote the ks_pool allocator, no longer uses paging or internal block allocation, but still retains reference counting and auto cleanup callbacks, should be much more efficient now on windows than the original mmap approach, and all tests now run successfully!
2017-04-11 14:43:00 -06:00
Shane Bryldt
48d9f3aa85
FS-10167: Committing for a clean revert point prior to work on ks_pool internal allocator issues that were identified as the cause of the complicated bug related to freeing pages introduced by switching to malloc/free.
2017-04-07 21:36:23 -06:00