Shane Bryldt [Thu, 12 Oct 2017 17:47:07 +0000 (11:47 -0600)]
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.
Shane Bryldt [Sat, 7 Oct 2017 14:05:22 +0000 (14:05 +0000)]
Merge pull request #1411 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-10690-integrate-robust-and-convenient to master
* commit '8d0afcd01a433333ccb19a447002efcc63181c15':
FS-10690: [libblade, Build-System] Migrated civetweb's duktape_lib and lua_lib windows projects into repository.
Shane Bryldt [Fri, 6 Oct 2017 18:44:10 +0000 (12:44 -0600)]
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.
Shane Bryldt [Thu, 5 Oct 2017 11:21:58 +0000 (05:21 -0600)]
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.
Shane Bryldt [Mon, 2 Oct 2017 19:09:51 +0000 (13:09 -0600)]
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
Steve Underwood [Mon, 2 Oct 2017 17:06:01 +0000 (18:06 +0100)]
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.
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
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.
FS-10666: [mod_callcenter] Adding callcenter_break agent api
callcenter_break agent <uuid> can be called with an uuid that represents
an outbound session created to call an agent.
The current behavior of mod_callcenter is to keep watching this channel
until it is hangup, once the hangup happens the bridge-agent-end and
member-queue-end events are fired, agent is released on the database
so it can receive more calls and member is also updated on database.
If you do not want to the agent channel hangup to release the agent you can
call this app with the agent session uuid and the agent will be released and
available to receive more calls. This is useful when the agent is located on a
remote freeswitch box and transfer the call internally, the original leg between
the first FreeSWITCH and the remote box remains live and the agent will only be
Available when the original call hangup.
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
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.
Currently there is no easy way for ESL and dial plan users to easily correlate
the channel UUID of the call legs involved in a nightmare transfer. This patch
adds two new channel variables, which are set to the remote server call leg
UUIDs (transfer_refer_from, transfer_refer_for).
The UUIDs are passed from the remote server in custom headers (X-FS-Refer-From
and X-FS-Refer-For).
Shane Bryldt [Fri, 18 Aug 2017 22:30:08 +0000 (16:30 -0600)]
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.
Merge pull request #1358 in FS/freeswitch from feature/FS-10503-mod_av-split-audio-to-two-channels to master
* commit '4e5219cd27177fd1dcf668c3c3c4bbeb3c59fdd3':
FS-10503: [mod_av] mod_av split audio to two channels #resolve
add some params to control rate and channels