Anthony Minessale
d9de41349b
FS-11394: [mod_av] Fix cpu race created by this patch
2018-11-28 02:47:22 +04:00
Anthony Minessale
f3b65c2ee7
FS-11394: [mod_av] Clean up defaults cos they are still wrong
2018-11-28 02:47:04 +04:00
Anthony Minessale
4333f6813d
FS-11413: [freeswitch-core,mod_conference,mod_local_stream] High memory footprint in some video situations #resolve
2018-11-28 01:19:35 +04:00
Mike Jerris
e3f5060ecb
Merge pull request #1627 in FS/freeswitch from ~C960657/freeswitch:FS-11520-mod_curl-max_bytes to master
...
* commit '65e20af3474e1099b380193f4e5a83ce9ee88949':
FS-11520: [mod_curl] Make max_bytes configurable
2018-11-26 17:43:46 +00:00
Christian Schmidt
65e20af347
FS-11520: [mod_curl] Make max_bytes configurable
2018-11-21 22:21:33 +01:00
António Silva
221d728e62
FS-11118 #resolve mod_sofia send display update to Grandstream family user-agent
2018-11-21 16:04:29 +01:00
Vladimir Ralev
ad2344cb84
FS-10534 [mod_loopback] Add null pointer check to avoid crashing loopbacks
2018-11-20 23:32:36 +02:00
Mike Jerris
968c76b29c
Merge pull request #1597 in FS/freeswitch from ~DRAGOS_OANCEA_NX/freeswitch-dragos-nx:feat/FS-11409/ice-lite to master
...
* commit '3ed6d56dd3f05d6faf7d07cb2c08b4ee8c8c92a5':
FS-11409: add "ice-lite" SDP attribute
2018-11-20 21:04:12 +00:00
Mike Jerris
1547815f58
Merge pull request #1433 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10745 to master
...
* commit 'f8335607c244ac5fea04f2ae3188e59f3284c3ca':
FS-10745 [mod_sofia] provide more context to transferor event
2018-11-20 20:59:36 +00:00
Mike Jerris
e53c17ff68
Merge pull request #1606 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11312 to master
...
* commit '0e0d5881444fa7af0730c56dc24ef7fc730870a1':
FS-11312 [core] prevent double firing record_start event
2018-11-20 20:50:32 +00:00
Mike Jerris
965a8402d6
Merge pull request #1622 in FS/freeswitch from ~C960657/freeswitch:bugfix/FS-11508-max-registrations-per-extension to master
...
* commit '69ec4aadab36d96a2aee439c33b1d802567f7672':
FS-11508: [mod_sofia] Make max-registrations-per-extension use extension instead of username
2018-11-20 20:23:20 +00:00
Mike Jerris
47e5f79fb1
Merge pull request #1619 in FS/freeswitch from ~GRIBUNIN/freeswitch:bugfix/FS-11450-mod_conference-api-command-json_list to master
...
* commit '6ea0e815a70336dc1580d17fe3c0fcdada0d1a23':
FS-11450 [mod_conference] Fix for memory leak when conference json list api command is executed
2018-11-20 20:00:46 +00:00
Hunyadvári Péter
fcc81f385e
FS-11207: [core] msrp: fix init ssl
2018-11-13 18:34:18 +01:00
Andrey Volk
f0a03ca337
Revert "Merge pull request #1608 in FS/freeswitch from ~HUNYI/freeswitch:bugfix/FS-11207-sofia-msrp_worker-crash-when-initializing to master"
...
This reverts commit abd8b0b061
, reversing
changes made to 102161e14d
.
2018-11-13 20:47:28 +04:00
Mike Jerris
abd8b0b061
Merge pull request #1608 in FS/freeswitch from ~HUNYI/freeswitch:bugfix/FS-11207-sofia-msrp_worker-crash-when-initializing to master
...
* commit '0fbe46ea0916e9a3e1a789e3b21cb205ef56ae5f':
FS-11207: [core] Fix msrp_init_ssl and msrp_deinit_ssl functions, check globals.ssl_ready variable
FS-11207: [core] Fix msrp_init_ssl error handling
2018-11-13 15:16:13 +00:00
Christian Schmidt
69ec4aadab
FS-11508: [mod_sofia] Make max-registrations-per-extension use extension instead of username
2018-11-08 12:45:45 +01:00
Mike Jerris
da49b042ba
FS-11506: [mod_sofia] Handle multiple History-Info headers in MESSAGE
2018-11-06 20:56:11 +00:00
Chris Rienzo
c854466ed2
[core] Test commit- bump copyright date.
2018-11-06 12:03:07 -05:00
Mike Jerris
76b3bb586b
FS-11494: [Debian] force build of iksemel before modules to avoid -j race condition on dep lib build
2018-10-31 15:10:53 -04:00
kgribunin
6ea0e815a7
FS-11450 [mod_conference] Fix for memory leak when conference json list api command is executed
2018-10-31 19:17:51 +03:00
Brian West
9e8ae18f95
FS-11471: [mod_sofia] revert changes to send PAI for polycom 4.x versions differently, seems polycom has now fixed this
2018-10-22 11:00:33 -05:00
lazedo
0e0d588144
FS-11312 [core] prevent double firing record_start event
2018-10-16 07:27:40 +00:00
Hunyadvári Péter
0fbe46ea09
FS-11207: [core] Fix msrp_init_ssl and msrp_deinit_ssl functions, check globals.ssl_ready variable
2018-10-12 11:06:04 +02:00
Hunyadvári Péter
785ac737ca
FS-11207: [core] Fix msrp_init_ssl error handling
2018-10-05 14:43:55 +02:00
Luis Azedo
f8335607c2
FS-10745 [mod_sofia] provide more context to transferor event
2018-10-01 15:13:58 +01:00
Andrey Volk
7ebe4134ef
FS-11423: [mod_isac] Add ARM64 detection.
2018-09-30 18:53:41 +03:00
Andrey Volk
3b281cd5a1
FS-11422: [mod_java] Fix logging.
2018-09-29 13:21:37 +03:00
Chris Rienzo
d298b4f93a
FS-11416 [core] add test framework header files.
2018-09-27 14:19:48 -04:00
Mike Jerris
9927baa7d8
FS-11412: [core] Fix crash caused by missing or malformed ice candidates in sdp
2018-09-26 15:07:38 +00:00
Dragos Oancea
3ed6d56dd3
FS-11409: add "ice-lite" SDP attribute
2018-09-25 17:58:59 +01:00
Mike Jerris
a747db947c
FS-11340: [core] fix merge conflict
2018-09-25 15:22:54 +00:00
Seven Du
710d011c85
FS-11340 export switch_vad_state2str and update vad_test to support the latest params
...
FS-11340 check the status for read frame avoid crash
2018-09-24 20:22:24 +00:00
Seven Du
b77f8444c6
FS-11406 #resolve allow displace session replace both read and write audio
...
uuid_displace cannot replace audio on both direction at the same time,
this patch add a w mux flag so when both rw used at the same time,
it will displace both directions, then both sides can hear the same audio.
2018-09-24 18:56:37 +00:00
Seven Du
bdc21a0607
FS-11405 #resolve tweak macro to use do while 0
...
the original one will leave an extra semicolon after }
2018-09-24 18:52:07 +00:00
Anthony Minessale
75d038bd36
FS-11407: [freeswitch-core] process media bugs in the order they were added #resolve
2018-09-24 17:38:50 +00:00
Seven Du
0de57c07d8
FS-11014 FS-11404 fix libfvad might be enabled unexpectedly when set_mode is called
2018-09-24 17:38:50 +00:00
Mike Jerris
1d6f53a19e
FS-11393: [core] set record_record_trimmed_ms at the end of record app if the file interface has this info available
2018-09-20 04:50:02 +00:00
Chris Rienzo
d9d763d2a8
FS-11397 [mod_rayo] add xmlns to exec <response> to make adhearsion's life easier.
2018-09-19 15:36:19 -04:00
Mike Jerris
e08f819b5a
Merge pull request #1588 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11394-hardware-encoder-support to master
...
* commit 'd541943e11497d194aeeea17748e2125fe52160c':
FS-11394: [mod_av] Fix "restrict" regression.
2018-09-19 18:37:14 +00:00
Andrey Volk
d541943e11
FS-11394: [mod_av] Fix "restrict" regression.
2018-09-19 21:36:02 +03:00
Mike Jerris
a34d97b6b9
Merge pull request #1587 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11394-hardware-encoder-support to master
...
* commit '0b2f72ff973f7d4eb96548f333825ec69b0773e0':
FS-11394: [mod_av] Enable HW acceleration on Windows. Use FFmpeg 3.4.4 instead of libav.
2018-09-19 17:23:26 +00:00
Mike Jerris
b96b109501
FS-11393: [core] set record_trimmed_ms at the end of record_session if the file interface has this info available
2018-09-19 17:13:00 +00: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
Seven Du
122983e107
FS-11394 reenable avcodec nvenc support
2018-09-19 04:34:33 +00:00
Andrey Volk
6005400994
FS-11390: [mod_codec2] Use system libcodec2.
2018-09-15 14:58:05 +03:00
Andrey Volk
9f72c99cd7
FS-11362: [mod_verto] Fix regression for the broken Windows build.
2018-09-13 00:14:20 +03:00
Chris Rienzo
4edd8a9751
FS-11387 [mod_loopback] add null endpoint
2018-09-10 14:57:24 -04:00
Mike Jerris
5f6ca30bb2
swigall
2018-09-06 17:58:43 +00:00
Mike Jerris
0367b3b023
FS-11382: [core] add switch_pool_strip_whitespace function to strip whitespace using pool allocation
2018-09-06 17:49:46 +00:00
Sergey Khripchenko
2d24475f57
FS-11362 Fix die_errnof() macro failing to compile on mac
2018-09-06 11:57:51 +00:00
Seven Du
cc02a4abfc
FS-11189 do not allow user change of g_timebase
...
the timebase logic is tighed to code internal logic and cannot be changed externally
2018-09-06 07:29:32 +00:00
Seven Du
827be99f9b
FS-11189 add some default config to be consistent if default xml config is missing
2018-09-06 04:31:36 +00:00
Sergey Khripchenko
75dae616be
FS-11189 Rearrange VPX code to fix few bugs and make it more structured.
2018-09-06 04:24:35 +00:00
Hunyadvári Péter
434baefcd0
FS-10827 [mod_spandsp] Make thread safe and xmlreload do not affect already started detection
2018-09-05 22:48:21 +00:00
Mike Jerris
99df402921
Merge pull request #1492 in FS/freeswitch from ~HUNYI/freeswitch:bugfix/FS-8579-broadcast-hold-bleg to master
...
* commit '554387c8dc53b0e3a8b9d530a799d681cef5e6e6':
Skip holding b leg only if it is on hold
2018-09-05 22:35:31 +00:00
Mike Jerris
a4db3a4355
Merge pull request #1491 in FS/freeswitch from ~HUNYI/freeswitch:feature/FS-8900-improve-record_follow_transfer to master
...
* commit '069da397f5b9e7adb10c2c9d8d03f83d195dae37':
Improve recording transfer
2018-09-05 22:34:38 +00:00
Mike Jerris
8cd4b16451
Merge pull request #1453 in FS/freeswitch from ~HUNYI/freeswitch:bugfix/FS-10826-fix-sample-rate to master
...
* commit '87d4a6a0c8efcd1104875a972573cb489d179bd7':
FS-10826 [core] Fix file handler sample rate after transfer
2018-09-05 22:29:03 +00:00
Mike Jerris
8bbb1f6760
Merge pull request #1526 in FS/freeswitch from ~HUNYI/freeswitch:bugfix/FS-11176-fix-do-not-restore-previous-codec to master
...
* commit '227a13497825f7ac890b6248c51570cb0d666164':
FS-11176: [core] do not use previous codec if its not ready
2018-09-05 22:24:26 +00:00
Anthony Minessale
65524ea2c1
FS-11379: [freeswitch-core] Rare race condition in state machine #resolve
2018-09-05 18:20:58 -04:00
Anthony Minessale
b4a64d4817
FS-11380: [core] add new internal function
2018-09-05 18:20:54 -04:00
Chris Rienzo
48aebd7365
FS-11377 [freeswitch-core] lock/unlock mutexes in consistent order.
2018-09-05 20:56:09 +00:00
Mike Jerris
3fc867fa93
FS-11349: [mod_av] remove debug logging
2018-09-05 20:42:14 +00:00
John Briscoe
4b63d80b35
FS-10723: [mod_conference] Add event generation when video feed interrupted occurs
2018-09-05 20:26:43 +00:00
shripchenko
4a90ac8b1c
FS-11363 Fix unpredictable/random zoom, when camera's video aspect ratio (a/r) equal to conference layout's tile a/r
2018-09-05 20:03:05 +00:00
Mike Jerris
5dd445180c
FS-11206: [mod_conference] rework behaviors of conference hold to still toggle states while on hold
2018-08-31 19:05:39 +00:00
Sergey Khripchenko
ad3b396f9b
FS-11362 Small macro tune based on James Dictos comment
2018-08-31 18:28:09 +00:00
Sergey Khripchenko
e7c5e2480a
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!
2018-08-30 22:58:30 +00:00
Sergey Khripchenko
25682d619c
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.
2018-08-30 22:58:20 +00:00
Sergey Khripchenko
91e9633ce1
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.
2018-08-30 22:58:14 +00:00
Sergey Khripchenko
523db20068
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)
2018-08-30 22:58:07 +00:00
Sergey Khripchenko
2dcfc27963
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)
2018-08-30 22:58:02 +00:00
Brian West
3102806390
FS-11372: [mod_commands] garbage uuid on output from bgapi #resolve
2018-08-30 14:33:52 -05:00
Andrey Volk
bcd355fea3
FS-11368: [mod_flite] Use system libflite.
2018-08-30 00:41:12 +03:00
Mike Jerris
22d022ab4a
FS-11189: [mod_av] fix build on older libav
2018-08-27 22:13:30 +00:00
Seven Du
6d6f217a61
FS-11189 add H264 default private configs
2018-08-27 18:26:44 +00:00
Mike Jerris
515bbdc881
FS-11351: [swig] fix windows build with swig3 for mod_managed and fix make swigall
2018-08-24 18:57:40 +00:00
Christopher Rienzo
63bf70dd24
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
2018-08-24 18:45:32 +00:00
Seven Du
be782776b5
FS-11189 add back default flags LOOP_FILTER and PSNR for H264
2018-08-24 11:30:34 +08:00
Seven Du
c1f8bfb442
FS-11189 set default cpu string to cpu/2/4 if not configured
2018-08-24 11:25:26 +08:00
Seven Du
f52b2d26a7
FS-11189 add helper functions and macros to dump encoder context params
2018-08-24 11:22:18 +08:00
Seven Du
c2b2f49c1d
FS-11189 use AV_INPUT_BUFFER_PADDING_SIZE instead of FF_INPUT_BUFFER_PADDING_SIZE in newer ffmpeg
2018-08-24 08:15:06 +08:00
Seven Du
82350aced5
FS-11164 fix unused function regression from 578d914b9
2018-08-24 07:56:40 +08:00
Christopher Rienzo
350225a446
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
2018-08-22 21:24:44 +00:00
Mike Jerris
798e5ea095
swigall
2018-08-22 19:54:37 +00:00
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