]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
6 years agoFS-11364 Fix tile flicker when layout has 'overlap' and 'zoom' options
Sergey Khripchenko [Wed, 29 Aug 2018 12:46:56 +0000 (05:46 -0700)] 
FS-11364 Fix tile flicker when layout has 'overlap' and 'zoom' options

Usually tiles recalculated when new image comes in, however when 'overlap' option is in effect - tiles recalculated multiple times.
And when layout also has 'zoom' option - when image recalculated it each round zooms itself deeper and deeper, until new images comes and image resets to proper state.
This looks like flicker.

The fix is to always take for zoom calculations real image dimensions instead of previously recalculated.

HOWEVER!
There are too many math and corner cases in mod_conference, so i propose it to be reviewed by widest audience of people who wrote mod_conference!

6 years agoFS-11201 Fix 'rtt_valid = 0;' was incorrectly placed rendering whole RTT thing void.
Sergey Khripchenko [Tue, 28 Aug 2018 12:12:53 +0000 (05:12 -0700)] 
FS-11201 Fix 'rtt_valid = 0;' was incorrectly placed rendering whole RTT thing void.
+ don't shoot in a leg and keep 'rtt_now' value correct (even if we clear it few lines after), because after some time it could be changed.

6 years agoFS-11362 Rearrange poll() errors handling to properly report poll hangup. Handle...
Sergey Khripchenko [Wed, 29 Aug 2018 10:36:50 +0000 (03:36 -0700)] 
FS-11362 Rearrange poll() errors handling to properly report poll hangup. Handle and log case when client sent close request. Add errno to errors where applicable.

6 years agoFS-11362 FS could close client verto connection due to incorrect handling of SSL...
Sergey Khripchenko [Wed, 29 Aug 2018 10:29:35 +0000 (03:29 -0700)] 
FS-11362 FS could close client verto connection due to incorrect handling of SSL function return values (when SSL layer need to communicate with client on its own, f.e. keys re-negotiation)

6 years agoFS-11360 Fix FS degradation over time in DTLS layer (especially if outdoing packets...
Sergey Khripchenko [Wed, 29 Aug 2018 09:13:42 +0000 (02:13 -0700)] 
FS-11360 Fix FS degradation over time in DTLS layer (especially if outdoing packets rate higher that incoming)

When we handle DTLS layer in do_dtls() and there are no incoming packets yet - we still call BIO_write() with NULL buffer and it is an error and BIO_write() will stuck for a long time in libssl/libcrypto error subsystem.
(that also possibly relates to fact that libssl/libcrypto init/deinit/error-handling is broken in general in FS, however that is another big issue)

6 years agoFS-11372: [mod_commands] garbage uuid on output from bgapi #resolve
Brian West [Thu, 30 Aug 2018 19:33:22 +0000 (14:33 -0500)] 
FS-11372: [mod_commands] garbage uuid on output from bgapi  #resolve

6 years agoMerge pull request #1580 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11368...
Andrey Volk [Thu, 30 Aug 2018 15:50:16 +0000 (15:50 +0000)] 
Merge pull request #1580 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11368-use-system-flite1 to master

* commit 'ccc23b7870817d6778b4831b32e78048f964c47e':
  FS-11368: [mod_flite] Use system flite1 instead of libflite

6 years agoFS-11368: [mod_flite] Use system flite1 instead of libflite
Andrey Volk [Thu, 30 Aug 2018 15:06:47 +0000 (18:06 +0300)] 
FS-11368: [mod_flite] Use system flite1 instead of libflite

6 years agoMerge pull request #1577 in FS/freeswitch from ~ANDYWOLK/freeswitch:FS-11361-switch...
Andrey Volk [Thu, 30 Aug 2018 10:57:09 +0000 (10:57 +0000)] 
Merge pull request #1577 in FS/freeswitch from ~ANDYWOLK/freeswitch:FS-11361-switch-debian-packages-building to master

* commit 'f98da7d5cc8978e8dca6a77c339a85004eb3b99a':
  FS-11361: [Build-System] Switch Debian packages building script util.sh from jessie stable to stretch stable.

6 years agoMerge pull request #1579 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11368...
Andrey Volk [Wed, 29 Aug 2018 22:09:55 +0000 (22:09 +0000)] 
Merge pull request #1579 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11368-use-system-libflite to master

* commit 'bcd355fea3eb80a1d3b0d2806f44cd9fe17c9494':
  FS-11368: [mod_flite] Use system libflite.

6 years agoFS-11368: [mod_flite] Use system libflite.
Andrey Volk [Wed, 29 Aug 2018 21:41:12 +0000 (00:41 +0300)] 
FS-11368: [mod_flite] Use system libflite.

6 years agoFS-11361: [Build-System] Switch Debian packages building script util.sh from jessie...
Andrey Volk [Tue, 28 Aug 2018 21:00:04 +0000 (00:00 +0300)] 
FS-11361: [Build-System] Switch Debian packages building script util.sh from jessie stable to stretch stable.

6 years agoMerge pull request #1553 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature...
Christopher Rienzo [Tue, 28 Aug 2018 14:16:50 +0000 (14:16 +0000)] 
Merge pull request #1553 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-11287-provide-option-for-user-managed to master

* commit '96af587bf325ce35459cbd82e2e79bda0133a810':
  FS-11287: Provide option for user managed streams in Verto

6 years agoMerge pull request #1548 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix...
Christopher Rienzo [Tue, 28 Aug 2018 13:06:46 +0000 (13:06 +0000)] 
Merge pull request #1548 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11284-fix-legacy-broken-video-constraints to master

* commit '31641749a737e71390016483a7e6bfbff9f77cea':
  FS-11284: Fix legacy/broken video constraints for specifying a video deviceId

6 years agoMerge pull request #1544 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix...
Christopher Rienzo [Tue, 28 Aug 2018 13:05:53 +0000 (13:05 +0000)] 
Merge pull request #1544 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11280-allow-overriding-permissioncallback to master

* commit '36d9f7bc5e4a1644cdcf8c00df976d5283885ea3':
  FS-11280: Allow overriding permissionCallback per Verto dialog

6 years agoFS-11189: [mod_av] fix build on older libav
Mike Jerris [Mon, 27 Aug 2018 22:12:14 +0000 (22:12 +0000)] 
FS-11189: [mod_av] fix build on older libav

6 years agoFS-11189 add H264 default private configs
Seven Du [Mon, 27 Aug 2018 18:22:07 +0000 (02:22 +0800)] 
FS-11189 add H264 default private configs

6 years agoFS-11351: [swig] fix windows build with swig3 for mod_managed and fix make swigall
Mike Jerris [Fri, 24 Aug 2018 18:56:58 +0000 (18:56 +0000)] 
FS-11351: [swig] fix windows build with swig3 for mod_managed and fix make swigall

6 years agoMerge pull request #1522 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix...
Christopher Rienzo [Fri, 24 Aug 2018 18:45:32 +0000 (18:45 +0000)] 
Merge pull request #1522 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11149-playing-video-files-assigned-a-res_id to master

* commit '1fc08365659ce87e16a9e3fced7b77ab494ff36e':
  FS-11149: Playing video files assigned a res_id not correctly updated on layout change

6 years agoMerge pull request #1574 in FS/freeswitch from fs-11189-av-fix to master
Mike Jerris [Fri, 24 Aug 2018 15:27:00 +0000 (15:27 +0000)] 
Merge pull request #1574 in FS/freeswitch from fs-11189-av-fix to master

* commit 'be782776b535c52f49f0d64145ee9dc3e12e4d19':
  FS-11189 add back default flags LOOP_FILTER and PSNR for H264
  FS-11189 set default cpu string to cpu/2/4 if not configured
  FS-11189 add helper functions and macros to dump encoder context params
  FS-11189 add default av conf to vanilla
  FS-11189 use AV_INPUT_BUFFER_PADDING_SIZE instead of FF_INPUT_BUFFER_PADDING_SIZE in newer ffmpeg

6 years agoMerge pull request #1552 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature...
Christopher Rienzo [Fri, 24 Aug 2018 13:16:54 +0000 (13:16 +0000)] 
Merge pull request #1552 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-11286-add-onremotestream-callback-to-verto to master

* commit '61cdf6361739f0ecaef8d2766aa0bd5bb45ed731':
  FS-11286: Add onRemoteStream callback to Verto dialogs

6 years agoMerge pull request #1546 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix...
Christopher Rienzo [Fri, 24 Aug 2018 13:00:27 +0000 (13:00 +0000)] 
Merge pull request #1546 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11282-remove-ios-controls-hack-not-needed to master

* commit '5038ca7613e71d84a706a6a5d8c8359d272778e4':
  FS-11282: Remove iOS 'controls' hack, not needed

6 years agoMerge pull request #1545 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix...
Christopher Rienzo [Fri, 24 Aug 2018 12:57:49 +0000 (12:57 +0000)] 
Merge pull request #1545 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11281-verto.newcall-dialog-callback-overrides to master

* commit '5f96f669c2fe7f133164aab735b412bef794d932':
  FS-11281: Verto.newCall dialog callback overrides should be set before invite

6 years agoFS-11189 add back default flags LOOP_FILTER and PSNR for H264
Seven Du [Fri, 24 Aug 2018 03:30:34 +0000 (11:30 +0800)] 
FS-11189 add back default flags LOOP_FILTER and PSNR for H264

6 years agoFS-11189 set default cpu string to cpu/2/4 if not configured
Seven Du [Fri, 24 Aug 2018 03:25:26 +0000 (11:25 +0800)] 
FS-11189 set default cpu string to cpu/2/4 if not configured

6 years agoFS-11189 add helper functions and macros to dump encoder context params
Seven Du [Fri, 24 Aug 2018 03:01:40 +0000 (11:01 +0800)] 
FS-11189 add helper functions and macros to dump encoder context params

6 years agoFS-11189 add default av conf to vanilla
Seven Du [Fri, 24 Aug 2018 02:58:54 +0000 (10:58 +0800)] 
FS-11189 add default av conf to vanilla

6 years agoFS-11189 use AV_INPUT_BUFFER_PADDING_SIZE instead of FF_INPUT_BUFFER_PADDING_SIZE...
Seven Du [Fri, 24 Aug 2018 00:15:06 +0000 (08:15 +0800)] 
FS-11189 use AV_INPUT_BUFFER_PADDING_SIZE instead of FF_INPUT_BUFFER_PADDING_SIZE in newer ffmpeg

6 years agoMerge pull request #1573 in FS/freeswitch from fs-11164-fix-unused-func to master
Mike Jerris [Thu, 23 Aug 2018 23:58:32 +0000 (23:58 +0000)] 
Merge pull request #1573 in FS/freeswitch from fs-11164-fix-unused-func to master

* commit '82350aced53bf76dce581b1264512d61ddafc768':
  FS-11164 fix unused function regression from 578d914b9

6 years agoFS-11164 fix unused function regression from 578d914b9
Seven Du [Thu, 23 Aug 2018 23:56:40 +0000 (07:56 +0800)] 
FS-11164 fix unused function regression from 578d914b9

6 years agoFS-11308: fix segfault on invalid multipart sdp
Brian West [Thu, 23 Aug 2018 14:49:50 +0000 (09:49 -0500)] 
FS-11308: fix segfault on invalid multipart sdp

6 years agoMerge pull request #1572 in FS/freeswitch from bugfix/FS-11276-regression-dedicated...
Christopher Rienzo [Wed, 22 Aug 2018 22:15:13 +0000 (22:15 +0000)] 
Merge pull request #1572 in FS/freeswitch from bugfix/FS-11276-regression-dedicated-video-layers to master

* commit 'ecdae10548188f23a59529497e040abeb9a2e6f8':
  FS-11279: Wrap verto.clientReady message callback in check for onMessage callback function

6 years agoFS-11279: Wrap verto.clientReady message callback in check for onMessage callback...
Chad Phillips [Thu, 26 Jul 2018 18:19:45 +0000 (13:19 -0500)] 
FS-11279: Wrap verto.clientReady message callback in check for onMessage callback function

The verto.clientReady event calls the onMessage callback function passed in
the Verto object. We should check for the existence of this callback function
before trying to call it.

6 years agoMerge pull request #1549 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix...
Christopher Rienzo [Wed, 22 Aug 2018 22:05:33 +0000 (22:05 +0000)] 
Merge pull request #1549 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11285-overconstrainederror-on-some-android to master

* commit 'ef647e3e3e0510b5b9423b95d5c474441d0d4b6b':
  FS-11285: OverconstrainedError on some Android front cameras when frameRate.min is specified

6 years agoMerge pull request #1547 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix...
Christopher Rienzo [Wed, 22 Aug 2018 21:41:18 +0000 (21:41 +0000)] 
Merge pull request #1547 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11283-ios-doesn-t-support-beforeunload to master

* commit '954b2564b2e4582949825988f30dde3fb16d1347':
  FS-11283: iOS doesn't support beforeunload, use recommended pagehide for that platform

6 years agoMerge pull request #884 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix...
Christopher Rienzo [Wed, 22 Aug 2018 21:28:25 +0000 (21:28 +0000)] 
Merge pull request #884 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-9258-recursive-calls-to-speedtest to master

* commit 'c037fc8c55af9d17eec4979575c3689d1b035f9d':
  FS-9258: Recursive calls to $.verto.rpcClient.speedTest() don't work

6 years agoMerge pull request #1541 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix...
Christopher Rienzo [Wed, 22 Aug 2018 21:24:44 +0000 (21:24 +0000)] 
Merge pull request #1541 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11276-regression-dedicated-video-layers to master

* commit 'c83f7871fa8c5464c39a04b9b09938081c071155':
  FS-11276: dedicated video layers can no longer become audio floor holder

6 years agoswigall
Mike Jerris [Wed, 22 Aug 2018 19:54:37 +0000 (19:54 +0000)] 
swigall

6 years agoFS-11346: [core] add api to pass pre-parsed values instead of dial strings to switch_...
Anthony Minessale [Thu, 16 Aug 2018 00:40:30 +0000 (00:40 +0000)] 
FS-11346: [core] add api to pass pre-parsed values instead of dial strings to switch_ivr_originate

SWITCH_DECLARE(switch_status_t) switch_dial_handle_create(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_destroy(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_add_leg_list(switch_dial_handle_t *handle, switch_dial_leg_list_t **leg_listP);
SWITCH_DECLARE(void) switch_dial_leg_list_add_leg(switch_dial_leg_list_t *parent, const char *dial_string, switch_dial_leg_t **legP);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var(switch_dial_handle_t *handle, const char *var, const char *val);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var_printf(switch_dial_handle_t *handle, const char *var, const char *fmt, ...);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var(switch_dial_leg_t *leg, const char *var, const char *val);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var_printf(switch_dial_leg_t *leg, const char *var, const char *fmt, ...);
SWITCH_DECLARE(int) switch_dial_handle_get_peers(switch_dial_handle_t *handle, int idx, char **array, int max);
SWITCH_DECLARE(int) switch_dial_handle_get_vars(switch_dial_handle_t *handle, int idx, switch_event_t **array, int max);
SWITCH_DECLARE(switch_event_t *) switch_dial_handle_get_global_vars(switch_dial_handle_t *handle);
SWITCH_DECLARE(switch_event_t *) switch_dial_leg_get_vars(switch_dial_leg_t *leg);
SWITCH_DECLARE(int) switch_dial_handle_get_total(switch_dial_handle_t *handle);
SWITCH_DECLARE(void) switch_ivr_orig_and_bridge(switch_core_session_t *session, const char *data, switch_dial_handle_t *dh);

add switch_dial_handle_t *dh to end of args for switch_ivr_originate

6 years agoFS-11341: [core] clang static analyzer warning in switch_utils.h:switch_parse_cpu_string
Mike Jerris [Tue, 21 Aug 2018 17:50:30 +0000 (17:50 +0000)] 
FS-11341: [core] clang static analyzer warning in switch_utils.h:switch_parse_cpu_string

6 years agoFS-11340: [freeswitch-core] Add some more code to vad obj to enable debuging and...
Anthony Minessale [Mon, 20 Aug 2018 20:41:32 +0000 (20:41 +0000)] 
FS-11340: [freeswitch-core] Add some more code to vad obj to enable debuging and manage states better #resolve

6 years agoFS-11052: Allow alias for crypto suites
Piotr Gregor [Wed, 21 Mar 2018 16:58:01 +0000 (16:58 +0000)] 
FS-11052: Allow alias for crypto suites

For outgoing calls send AES crypto in offer using corrected names
for keys of length 192 and 256, i.e. names containing _192_CM_
and _256_CM_ instead of _CM_192_ and CM_256_. For incoming calls
accept both naming conventions, decaying to same entry in SUITES.

+ fix after SRTP failed for 256 keys:

Tests showed loop removing '=' from keys in switch_core_media_build_crypto

 1190     if (!switch_channel_var_true(channel, "rtp_pad_srtp_keys")) {
 1191         p = strrchr((char *) b64_key, '=');
 1192
 1193         while (p && *p && *p == '=') {
 1194             *p-- = '\0';
 1195         }
 1196     }

shouldn't be executed for AES_CM_256_HMAC_SHA1_32 and AES_CM_256_HMAC_SHA1_80
keys and it is meaningless for AES_CM_128_HMAC_SHA1_32 AES_CM_128_HMAC_SHA1_80
keys. Tested calling from Bria.

Introduced switch_channel_var_false and changed this to:
if (switch_channel_var_false(channel, "rtp_pad_srtp_keys"))
to enter the loop if var is set to false (and not if it is _not_ set).

6 years agoFS-11304 - [Configuration]: update vanilla config files for correcting conference_uti...
joshebosh [Wed, 1 Aug 2018 18:56:12 +0000 (14:56 -0400)] 
FS-11304 - [Configuration]: update vanilla config files for correcting conference_utils_auto_outcall_flags

6 years agoFS-11322: [freeswitch-core] Change ice handling to work with FireFox when in turn...
Anthony Minessale [Wed, 8 Aug 2018 14:04:26 +0000 (14:04 +0000)] 
FS-11322: [freeswitch-core] Change ice handling to work with FireFox when in turn mode #resolve

6 years agoFS-11321: [mod_conference] Don't set avatar when its not allowed anyway #resolve
Anthony Minessale [Wed, 8 Aug 2018 14:02:41 +0000 (14:02 +0000)] 
FS-11321: [mod_conference] Don't set avatar when its not allowed anyway #resolve

6 years agoFS-11320 #resolve pass json string as param to ASR module
Seven Du [Wed, 8 Aug 2018 03:46:33 +0000 (11:46 +0800)] 
FS-11320 #resolve pass json string as param to ASR module

6 years agoFS-11265 #resolve add detectSpeech and playAndDetectSpeech
Seven Du [Sat, 21 Jul 2018 15:55:24 +0000 (23:55 +0800)] 
FS-11265 #resolve add detectSpeech and playAndDetectSpeech

6 years agoFS-11206: [mod_conference] add conference hold feature
Mike Jerris [Thu, 21 Jun 2018 09:32:22 +0000 (05:32 -0400)] 
FS-11206: [mod_conference] add conference hold feature

6 years agoFS-11110 fix for resume detect on next detect
Mariah Yang [Mon, 14 May 2018 05:54:31 +0000 (13:54 +0800)] 
FS-11110 fix for resume detect on next detect

6 years agoFS-11154: [freeswitch-core] Improve audio sync during loss #resolve
Anthony Minessale [Thu, 10 May 2018 20:54:51 +0000 (15:54 -0500)] 
FS-11154: [freeswitch-core] Improve audio sync during loss #resolve

6 years agoFS-11333: [mod_mp4v2] improvements
Seven Du [Mon, 27 Nov 2017 17:59:09 +0000 (01:59 +0800)] 
FS-11333: [mod_mp4v2] improvements
update mod_mp4v2 fix record video and lipsync
refactor to use a dedicated video write thread
read frame_size from encoder to support mp3 and aac codec
fix audio only mode
control bandwidth and fps

7 years agoMerge pull request #1570 in FS/freeswitch from ~ANDYWOLK/freeswitch:FS-11328-update...
Mike Jerris [Fri, 10 Aug 2018 19:00:24 +0000 (19:00 +0000)] 
Merge pull request #1570 in FS/freeswitch from ~ANDYWOLK/freeswitch:FS-11328-update-lua-version-from-5.3.4-to to master

* commit '01329823a644dd627e1d7ee2201e51c490072329':
  FS-11328: [mod_lua] Update Lua version from 5.3.4 to 5.3.5 for the Windows build.

7 years agoFS-11328: [mod_lua] Update Lua version from 5.3.4 to 5.3.5 for the Windows build.
Andrey Volk [Thu, 9 Aug 2018 18:50:30 +0000 (21:50 +0300)] 
FS-11328: [mod_lua] Update Lua version from 5.3.4 to 5.3.5 for the Windows build.

7 years agoMerge pull request #1564 in FS/freeswitch from fs-11310-switch-core-file-pre-close...
Mike Jerris [Thu, 9 Aug 2018 06:53:04 +0000 (06:53 +0000)] 
Merge pull request #1564 in FS/freeswitch from fs-11310-switch-core-file-pre-close to master

* commit '720128b61ed0fba0c45ba7caa0d3d7a4bde2ffb4':
  FS-11310 #resolve add more params for conference record stop event
  FS-11310 #resolve add optional switch_core_file_pre_close() to stop writing to file and possible to get file size related params

7 years agoMerge pull request #1567 in FS/freeswitch from rayo-exec-dialplan-app to master
Mike Jerris [Wed, 8 Aug 2018 16:40:02 +0000 (16:40 +0000)] 
Merge pull request #1567 in FS/freeswitch from rayo-exec-dialplan-app to master

* commit '01bac4cc5f02f34f2fb3af87aa0bd055c8657adb':
  FS-11316 [mod_rayo] Add FS API support
  FS-11316 [mod_rayo] Add dialplan app execution component

7 years agoFS-11316 [mod_rayo] Add FS API support
Chris Rienzo [Wed, 25 Jul 2018 17:33:04 +0000 (12:33 -0500)] 
FS-11316 [mod_rayo] Add FS API support

7 years agoFS-11316 [mod_rayo] Add dialplan app execution component
Chris Rienzo [Mon, 23 Jul 2018 17:11:45 +0000 (12:11 -0500)] 
FS-11316 [mod_rayo] Add dialplan app execution component

7 years agoFS-11310 #resolve add more params for conference record stop event
Liyang [Sun, 15 Jul 2018 13:55:13 +0000 (21:55 +0800)] 
FS-11310 #resolve add more params for conference record stop event

7 years agoFS-11310 #resolve add optional switch_core_file_pre_close() to stop writing to file...
Liyang [Mon, 23 Jul 2018 13:40:29 +0000 (21:40 +0800)] 
FS-11310 #resolve add optional switch_core_file_pre_close() to stop writing to file and possible to get file size related params

7 years agoMerge pull request #1560 in FS/freeswitch from ~ANDYWOLK/freeswitch:FS-11303-migrate...
Mike Jerris [Wed, 1 Aug 2018 17:52:03 +0000 (17:52 +0000)] 
Merge pull request #1560 in FS/freeswitch from ~ANDYWOLK/freeswitch:FS-11303-migrate-visual-c-components-redistribution to master

* commit '144bbec7fded8318750cfa9595631505dcdcb097':
  FS-11303: [Build-System] Migrate Visual C++ components redistribution using merge modules from v140 to v141 (VS2017), minor cleanup.

7 years agoFS-11303: [Build-System] Migrate Visual C++ components redistribution using merge...
Andrey Volk [Wed, 1 Aug 2018 15:49:24 +0000 (18:49 +0300)] 
FS-11303: [Build-System] Migrate Visual C++ components redistribution using merge modules from v140 to v141 (VS2017), minor cleanup.

7 years agoMerge pull request #1540 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11271...
Mike Jerris [Tue, 31 Jul 2018 21:54:43 +0000 (21:54 +0000)] 
Merge pull request #1540 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11271-add-mod_cdr_mongodb-to-the-windows to master

* commit '87f004bc1688d03960bcc77212d504ab9124122d':
  FS-11271: [Build-System] Add mod_cdr_mongodb to the Windows build.

7 years agoFS-11271: [Build-System] Add mod_cdr_mongodb to the Windows build.
Andrey Volk [Wed, 25 Jul 2018 09:13:19 +0000 (12:13 +0300)] 
FS-11271: [Build-System] Add mod_cdr_mongodb to the Windows build.

7 years agoMerge pull request #1559 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11298...
Mike Jerris [Tue, 31 Jul 2018 21:37:33 +0000 (21:37 +0000)] 
Merge pull request #1559 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11298-fix-win32-build-under-visual-studio to master

* commit '13421eea17e76568df3d289f8c00f91d33c30e7a':
  FS-11298: [Build-System] Fix Win32 build under Visual Studio.

7 years agoFS-11298: [Build-System] Fix Win32 build under Visual Studio.
Andrey Volk [Tue, 31 Jul 2018 21:18:09 +0000 (00:18 +0300)] 
FS-11298: [Build-System] Fix Win32 build under Visual Studio.

7 years agoMerge pull request #1558 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11297...
Mike Jerris [Tue, 31 Jul 2018 21:11:21 +0000 (21:11 +0000)] 
Merge pull request #1558 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11297-add-mod_cidlookup-to-the-windows to master

* commit '21b135cc161caafb67563a74028f027b861aca69':
  FS-11297: [Build-System] Add mod_cidlookup to the Windows build.

7 years agoFS-11297: [Build-System] Add mod_cidlookup to the Windows build.
Andrey Volk [Tue, 31 Jul 2018 20:20:14 +0000 (23:20 +0300)] 
FS-11297: [Build-System] Add mod_cidlookup to the Windows build.

7 years agoMerge pull request #1557 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11295...
Mike Jerris [Mon, 30 Jul 2018 21:03:07 +0000 (21:03 +0000)] 
Merge pull request #1557 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11295-mod_av-fix-wrong-path-to-yasm.exe to master

* commit '6712f3998fad7604b197fbc7168e3feb4a36fba8':
  FS-11295: [mod_av] Fix wrong path to yasm.exe

7 years agoFS-11295: [mod_av] Fix wrong path to yasm.exe
Andrey Volk [Mon, 30 Jul 2018 20:44:55 +0000 (23:44 +0300)] 
FS-11295: [mod_av] Fix wrong path to yasm.exe

7 years agoMerge pull request #1555 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11288...
Mike Jerris [Mon, 30 Jul 2018 20:11:49 +0000 (20:11 +0000)] 
Merge pull request #1555 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11288-refactor-wix-project-to-not-miss to master

* commit 'e08406d1c40782325c96eccb3c3afb7b360c935f':
  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.

7 years agoMerge pull request #1556 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11294...
Mike Jerris [Mon, 30 Jul 2018 20:10:23 +0000 (20:10 +0000)] 
Merge pull request #1556 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11294-fix-mod_av-build-on-windows to master

* commit '5f61553da7916ec08739fb3c2537de572a67977e':
  FS-11294: [mod_av] Fix mod_av build on Windows.

7 years agoFS-11294: [mod_av] Fix mod_av build on Windows.
Andrey Volk [Mon, 30 Jul 2018 19:58:05 +0000 (22:58 +0300)] 
FS-11294: [mod_av] Fix mod_av build on Windows.

7 years agoFS-11288: [Build-System] Refactor WIX project to not miss modules in msi on slow...
Andrey Volk [Fri, 27 Jul 2018 15:56:46 +0000 (18:56 +0300)] 
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.

7 years agoFS-11287: Provide option for user managed streams in Verto
Chad Phillips [Thu, 26 Jul 2018 22:03:24 +0000 (17:03 -0500)] 
FS-11287: Provide option for user managed streams in Verto

The Verto libs currently have total control over the streams associated with
placing any kind of call, handling both their creation and teardown
automatically.

This patch provides the option for a developer to instead pass pre-created
MediaStream objects when instantiating the Verto object, or when calling
Verto.newCall(), and the library will bypass the work of creating those
streams, and of destroying those streams when the call is torn down.

This is particularly useful if the application wants to manage its own streams,
such as re-using them in other non-Verto aspects of the application.

The patch also creates some internal convenience functions for managing the
video element related to a local video stream.

7 years agoMerge pull request #1551 in FS/freeswitch from fs-10450 to master
Mike Jerris [Thu, 26 Jul 2018 20:40:22 +0000 (20:40 +0000)] 
Merge pull request #1551 in FS/freeswitch from fs-10450 to master

* commit '6e76f630fd69f1dad0e5abb69a1cf7326a9c96cf':
  FS-10450 #resolve fix zero and negative file duration

7 years agoMerge pull request #1550 in FS/freeswitch from fix-sofia-warning to master
Mike Jerris [Thu, 26 Jul 2018 20:39:28 +0000 (20:39 +0000)] 
Merge pull request #1550 in FS/freeswitch from fix-sofia-warning to master

* commit '9a0a594d07f1a3654fba130db882fafec274e79e':
  FS-11278 #resolve fix if clause does not guard compiler warning

7 years agoFS-11286: Add onRemoteStream callback to Verto dialogs
Chad Phillips [Thu, 26 Jul 2018 20:34:53 +0000 (15:34 -0500)] 
FS-11286: Add onRemoteStream callback to Verto dialogs

This patch adds an onRemoteStream callback, which can be specified on the Verto
instance, or per dialog. The callback is fired when the remote stream from a
call is received, and receives two arguments, the first is the remote stream,
the second is the Verto dialog object.

7 years agoFS-11285: OverconstrainedError on some Android front cameras when frameRate.min is...
Chad Phillips [Thu, 26 Jul 2018 20:02:29 +0000 (15:02 -0500)] 
FS-11285: OverconstrainedError on some Android front cameras when frameRate.min is specified

As described at https://bugs.chromium.org/p/chromium/issues/detail?id=862325,
some Android devices using Chrome fail a getUserMedia() request when
frameRate.min is specified.

This is due to a bug in both the device (reporting a 0 min frameRate), and
Chrome, which fails to catch this and set a reasonable fallback value.

While a fix has gone into Chrome, it might be awhile before this fix makes it
into their stable release, so filing this with my quick hack to prevent the
error on Android devices.

Note this fix could certainly be more robust (maybe detect Chrome version, or
some test to see if min frameRate from the device returns 0), and it gets the
job done as a start.

7 years agoFS-11284: Fix legacy/broken video constraints for specifying a video deviceId
Chad Phillips [Thu, 26 Jul 2018 19:36:02 +0000 (14:36 -0500)] 
FS-11284: Fix legacy/broken video constraints for specifying a video deviceId

getMediaParams() was using a legacy version of the video constraint param to
specify a deviceId.

checkRes() was incorrectly setting video constraints such that it was not
properly testing specific video devices.

7 years agoFS-11283: iOS doesn't support beforeunload, use recommended pagehide for that platform
Chad Phillips [Thu, 26 Jul 2018 19:19:28 +0000 (14:19 -0500)] 
FS-11283: iOS doesn't support beforeunload, use recommended pagehide for that platform

$.verto.unloadJobs queue leverages the 'beforeunload' event to perform work
prior to browser page unload.

However, iOS does not support that event. Its equivalent event is 'pagehide'.

This patch uses the pagehide event on iOS, and beforeunload for all others.

7 years agoFS-11282: Remove iOS 'controls' hack, not needed
Chad Phillips [Thu, 26 Jul 2018 19:06:30 +0000 (14:06 -0500)] 
FS-11282: Remove iOS 'controls' hack, not needed

iOS requires a 'playsinline' attribute to be added to video tags, however a
'controls' attribute was erroneously added, and is unneeded.

See https://github.com/webrtc/samples/issues/929#issuecomment-330816567 and
following comments for confirmation.

Removing this attribute reduces UI noise and 'click contention' on video
elements.

7 years agoFS-11281: Verto.newCall dialog callback overrides should be set before invite
Chad Phillips [Thu, 26 Jul 2018 18:51:27 +0000 (13:51 -0500)] 
FS-11281: Verto.newCall dialog callback overrides should be set before invite

Verto.newCall() permits passing custom callback functions per call that
override the default dialog callbacks inherited from the Verto object.
However, they are currently set after calling the invite() function, and it's
possible that some of these callbacks could be called during the invite()
function's execution.

To avoid a race condition, move setting these custom callbacks on the dialog
to happen before calling invite().

7 years agoFS-11280: Allow overriding permissionCallback per Verto dialog
Chad Phillips [Thu, 26 Jul 2018 18:37:32 +0000 (13:37 -0500)] 
FS-11280: Allow overriding permissionCallback per Verto dialog

Currently the 'permissionCallback' object is only available at the Verto
instance level. This is problematic in multi-call scenarios, where an
individual call dialog needs access to the onGranted/onDenied callback
functions.

The patch adds a check for existence of onGranted/onDenied callback functions
at the dialog level, with a fallback to the original behavior of calling
onGranted/onDenied from the Verto instance if it's not available on the dialog.
This preserves backwards compatibility while allowing per-dialog overrides
going forward.

7 years agoFS-11278 #resolve fix if clause does not guard compiler warning
Seven Du [Tue, 24 Jul 2018 16:52:30 +0000 (11:52 -0500)] 
FS-11278 #resolve fix if clause does not guard compiler warning

7 years agoFS-11276: dedicated video layers can no longer become audio floor holder
Chad Phillips [Thu, 26 Jul 2018 01:43:05 +0000 (20:43 -0500)] 
FS-11276: dedicated video layers can no longer become audio floor holder

In mod_conference 1.6.x, all conference users could get the audio floor
regardless of the kind of video layer they were placed in.

In 1.8.x, the concept of a 'dedicated video layer' was introduced, such that
video layout slots with a reservation ID or a role ID are marked with the
'MFLAG_DED_VID_LAYER' member flag when a member is in the slot, and such
marked layers are prevented from becoming the conference audio/video floor
holder.

This makes sense for the video floor in all circumstances, and the audio floor
in most circumstances.

However, there are some circumstances where allowing users in these dedicated
video layers to become the conference audio floor holder is preferred, such as
when all slots in the layout have reservation IDs, and the audio floor events
are used to manage users in those slots manually.

This adds a conference profile flag, 'ded-vid-layer-audio-floor, which, when
enabled, allows conference members in dedicated video layers to become the
conference audio floor holder.

7 years agoFS-10450 #resolve fix zero and negative file duration
Seven Du [Wed, 25 Jul 2018 21:58:56 +0000 (16:58 -0500)] 
FS-10450 #resolve fix zero and negative file duration

7 years agoMerge pull request #1509 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature...
Mike Jerris [Wed, 25 Jul 2018 19:30:57 +0000 (19:30 +0000)] 
Merge pull request #1509 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-11117-allow-passing-float-values-to-font_scale to master

* commit 'fecb5d364e09e7daf4fd9ffd1eb31eac6f475b8f':
  FS-11117: font_scale float values, add min/max_font_size when setting video banner

7 years agoMerge pull request #1355 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature...
Mike Jerris [Wed, 25 Jul 2018 19:26:37 +0000 (19:26 +0000)] 
Merge pull request #1355 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-10554-add-conference-api-command-vid-res-id-force to master

* commit 'cc084c9fb461a9180eeda0f428f0dbeac59db143':
  FS-10554: Refactor conference vid-res-id command, add 'force' option

7 years agoFS-10554: Refactor conference vid-res-id command, add 'force' option
Chad Phillips [Fri, 29 Sep 2017 10:15:12 +0000 (06:15 -0400)] 
FS-10554: Refactor conference vid-res-id command, add 'force' option

The 'conference vid-res-id' sub command previously used the CONF_API_SUB_MEMBER_TARGET
command parsing strategy. The standard options exposed by that strategy didn't make
sense for this sub command, so it's now been switched to use the CONF_API_SUB_ARGS_SPLIT
command parsing strategy.

A third, optional 'force' argument has also been added. The default behavior of the
command is to toggle the user in and out of a reservation slot, use the force argument
to ensure the user is placed into the reservation slot provided.

The new signature of the sub command is:

  vid-res-id <member_id> <val>|clear [force]

7 years agoFS-11117: font_scale float values, add min/max_font_size when setting video banner
Chad Phillips [Tue, 17 Apr 2018 06:03:52 +0000 (23:03 -0700)] 
FS-11117: font_scale float values, add min/max_font_size when setting video banner

Previously, the font_scale parameter available for the video_mute_banner/video_banner_text
conference channel variable would only accept integer values. It now can accept float
values for more fine grained control, eg:

  <action
    application="set"
    data="video_banner_text={font_scale=.75}Banner Text"
  />

Add params to set min_font_size and max_font_size for video banners.

The hard-coded defaults of 5/24 for min/max font size don't always look good
depending on the layout use case. This adds min_font_size and max_font_size
params for more fine-grained control, eg:

  <action
    application="set"
    data="video_banner_text={min_font_size=8,max_font_size=14}Banner Text"
  />

7 years agoFS-11149: Playing video files assigned a res_id not correctly updated on layout change
Chad Phillips [Tue, 8 May 2018 21:25:51 +0000 (14:25 -0700)] 
FS-11149: Playing video files assigned a res_id not correctly updated on layout change

Regular conference members that are assigned a reservation ID in a layout
are automatically placed in that same reservation ID upon change of a layout.

However, playing files that are assigned a reservation ID are not properly
assigned to the same reservation ID upon layout change.

This patch makes the behavior consistent between the two types.

7 years agoFS-9258: Recursive calls to $.verto.rpcClient.speedTest() don't work
Chad Phillips [Wed, 25 Jul 2018 02:05:09 +0000 (21:05 -0500)] 
FS-9258: Recursive calls to $.verto.rpcClient.speedTest() don't work

Assigning the speedTest callback funtion to a local variable and unsetting
the this.speedCB instance variable prior to calling the callback function
allows the rpcClient.speedTest functionality to be used more creatively
(such as calling it recursively for multiple runs) without affecting existing
functionality.

7 years agoMerge pull request #1539 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11189...
Mike Jerris [Tue, 24 Jul 2018 14:47:37 +0000 (14:47 +0000)] 
Merge pull request #1539 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11189-windows-build-regression to master

* commit '5c4211e43d69191e9d83a19fb9f47e6b90c5d804':
  FS-11189: [Build-System] Windows build regression fix.

7 years agoFS-11189: [Build-System] Windows build regression fix.
Andrey Volk [Tue, 24 Jul 2018 14:46:38 +0000 (17:46 +0300)] 
FS-11189: [Build-System] Windows build regression fix.

7 years agoMerge pull request #1538 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11189...
Mike Jerris [Tue, 24 Jul 2018 13:13:16 +0000 (13:13 +0000)] 
Merge pull request #1538 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11189-add-video-settings to master

* commit '2323421b5ad25563be7b56adeabf65543f7de2d5':
  FS-11189: [Build-System] Fix Windows build.

7 years agoFS-11189: [Build-System] Fix Windows build.
Andrey Volk [Tue, 24 Jul 2018 13:11:54 +0000 (16:11 +0300)] 
FS-11189: [Build-System] Fix Windows build.

7 years agoFS-11189: [mod_av] fix build on older libav
Mike Jerris [Tue, 24 Jul 2018 05:14:22 +0000 (05:14 +0000)] 
FS-11189: [mod_av] fix build on older libav

7 years agoFS-11260 fix set_tts_params segs when the second arg is NULL
Mariah Yang [Thu, 19 Jul 2018 08:42:27 +0000 (16:42 +0800)] 
FS-11260 fix set_tts_params segs when the second arg is NULL

7 years agoFS-11264: [freeswitch-core] Remove old speech handle when asr failure happens #resolve
Anthony Minessale [Sat, 21 Jul 2018 02:40:12 +0000 (02:40 +0000)] 
FS-11264: [freeswitch-core] Remove old speech handle when asr failure happens #resolve

7 years agoFS-11014 fix fvad_free and validate vad_mode
Seven Du [Thu, 19 Jul 2018 01:23:29 +0000 (09:23 +0800)] 
FS-11014 fix fvad_free and validate vad_mode