Anthony Minessale
d3e320ef56
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
2018-08-22 18:20:13 +00:00
Mike Jerris
b03cde3c57
FS-11341: [core] clang static analyzer warning in switch_utils.h:switch_parse_cpu_string
2018-08-21 17:51:06 +00:00
Anthony Minessale
1cc809c5d9
FS-11340: [freeswitch-core] Add some more code to vad obj to enable debuging and manage states better #resolve
2018-08-21 00:03:18 +00:00
Piotr Gregor
6cd17fd556
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).
2018-08-13 20:57:50 +00:00
Anthony Minessale
9e09a8e8b5
FS-11322: [freeswitch-core] Change ice handling to work with FireFox when in turn mode #resolve
2018-08-13 19:01:37 +00:00
Anthony Minessale
d521e708d3
FS-11321: [mod_conference] Don't set avatar when its not allowed anyway #resolve
2018-08-13 19:01:14 +00:00
Seven Du
9056af8785
FS-11320 #resolve pass json string as param to ASR module
2018-08-13 19:00:39 +00:00
Seven Du
ae4e48fa15
FS-11265 #resolve add detectSpeech and playAndDetectSpeech
2018-08-13 18:59:53 +00:00
Mike Jerris
3f51f3b4e4
FS-11206: [mod_conference] add conference hold feature
2018-08-13 18:59:49 +00:00
Mariah Yang
16c39d874e
FS-11110 fix for resume detect on next detect
2018-08-13 18:58:47 +00:00
Anthony Minessale
cc5dd29028
FS-11154: [freeswitch-core] Improve audio sync during loss #resolve
2018-08-13 18:57:19 +00:00
Seven Du
8cbe796831
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
2018-08-13 17:58:14 +00:00
Mike Jerris
a1c0e7eb92
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
2018-08-09 06:53:04 +00:00
Mike Jerris
efc6515e43
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
2018-08-08 16:40:02 +00:00
Chris Rienzo
01bac4cc5f
FS-11316 [mod_rayo] Add FS API support
2018-08-07 20:08:20 -04:00
Chris Rienzo
479c8a4a4e
FS-11316 [mod_rayo] Add dialplan app execution component
2018-08-07 20:07:29 -04:00
Liyang
720128b61e
FS-11310 #resolve add more params for conference record stop event
2018-08-04 01:17:55 +08:00
Liyang
ce6366474f
FS-11310 #resolve add optional switch_core_file_pre_close() to stop writing to file and possible to get file size related params
2018-08-03 21:54:47 +08:00
Andrey Volk
87f004bc16
FS-11271: [Build-System] Add mod_cdr_mongodb to the Windows build.
2018-08-01 00:52:01 +03:00
Andrey Volk
21b135cc16
FS-11297: [Build-System] Add mod_cidlookup to the Windows build.
2018-07-31 23:20:14 +03:00
Andrey Volk
5f61553da7
FS-11294: [mod_av] Fix mod_av build on Windows.
2018-07-30 22:58:05 +03:00
Mike Jerris
a380f125e1
Merge pull request #1551 in FS/freeswitch from fs-10450 to master
...
* commit '6e76f630fd69f1dad0e5abb69a1cf7326a9c96cf':
FS-10450 #resolve fix zero and negative file duration
2018-07-26 20:40:22 +00:00
Seven Du
6e76f630fd
FS-10450 #resolve fix zero and negative file duration
2018-07-25 16:58:56 -05:00
Mike Jerris
d5af929660
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
2018-07-25 19:30:57 +00:00
Chad Phillips
cc084c9fb4
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]
2018-07-25 14:24:30 -05:00
Chad Phillips
fecb5d364e
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"
/>
2018-07-25 10:26:38 -05:00
Andrey Volk
5c4211e43d
FS-11189: [Build-System] Windows build regression fix.
2018-07-24 17:46:38 +03:00
Andrey Volk
2323421b5a
FS-11189: [Build-System] Fix Windows build.
2018-07-24 16:11:54 +03:00
Mike Jerris
bec920c990
FS-11189: [mod_av] fix build on older libav
2018-07-24 07:21:58 +00:00
Mariah Yang
3930250b79
FS-11260 fix set_tts_params segs when the second arg is NULL
2018-07-24 07:21:58 +00:00
Anthony Minessale
bf6b61f911
FS-11264: [freeswitch-core] Remove old speech handle when asr failure happens #resolve
2018-07-24 07:21:58 +00:00
Seven Du
6d1b8e12b5
FS-11014 fix fvad_free and validate vad_mode
2018-07-24 07:21:58 +00:00
Anthony Minessale
3323809985
FS-11259: [mod_perl] mod_perl tweaks #resolve
2018-07-24 07:21:58 +00:00
Seven Du
9d0ad92d10
FS-11237 #resolve speak text with colon
2018-07-24 07:21:58 +00:00
Seven Du
12e3b7177c
FS-11189 refactor to support any possible codec specific private options
2018-07-24 07:21:57 +00:00
Seven Du
18bcc4ddff
FS-11189 add avcodec settings
2018-07-24 07:21:57 +00:00
Seven Du
0ad867f3dd
FS-11189 make rtp-slice-size and key-frame-min-freq configurable
2018-07-24 07:21:57 +00:00
Seven Du
e19687e0f2
FS-11189 refactor and add more params
2018-07-24 07:21:57 +00:00
Seven Du
1eacc9f418
FS-11189 add vpx codec specific and debug controls
2018-07-24 07:21:57 +00:00
Seven Du
c58da50f44
FS-11189 tweak log
2018-07-24 07:21:57 +00:00
Seven Du
7fe031a9f5
FS-11189: add vpx settings
...
load time:
first load config default settings
merge any settings in XML
run time:
merge any dynamic settings
2018-07-24 07:21:57 +00:00
Seven Du
e1e8ebc0ab
FS-11189: [core] add func to parse cpu string
2018-07-24 07:21:57 +00:00
Mike Jerris
7f3878dfcb
FS-11206: [mod_conference] add conference hold feature
2018-07-24 07:21:56 +00:00
Seven Du
868e92649e
FS-11183 improve strip to save out buffer size
2018-07-24 07:21:56 +00:00
Seven Du
2cb4e49432
FS-11231 #resolve deprecate start_input_timers and add start-input-timers
2018-07-24 07:21:56 +00:00
Anthony Minessale
79ccf87ae7
FS-11226: [freeswitch-core,mod_conference] Missing font files can lead to crash in conference #resolve
2018-07-24 07:21:56 +00:00
Anthony Minessale
d88df785f1
FS-11211: [Verto-Communicator] Add turnServer and verto server fallback options -- FS side to only do relay as a last resort #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
Anthony Minessale
837df198a5
FS-11238: [mod_conference] Regression from FS-10448 can cause stuck sessions #resolve
2018-07-24 07:21:55 +00:00
Mike Jerris
84c97ea3ab
FS-11223: [core] fix Crash when firefox sends only rtcp and not rtp candidates on video media
2018-07-24 07:21:55 +00:00