Commit Graph

20629 Commits

Author SHA1 Message Date
Mike Jerris 9635c7d09c Merge pull request #1351 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:feature/FS-10530_mod_opusfile to master
* commit 'ed2b3b7bb4a6ff0251452e519ff8cf309620770f':
  FS-10530: [mod_opusfile]: multichannel
  FS-10530: [mod_opusfile] new module, read and write ogg/opus files (".opus" extension)
2019-02-27 14:47:57 -06:00
Mike Jerris ab257d5557 Merge pull request #1656 in FS/freeswitch from ~LAZEDO/freeswitch:bug/FS-11608 to master
* commit '8ed52f4c266446e29fa040c49f55b79081054fcb':
  [FS-11609] [core] lookup values in caller profile soft variables
  [FS-11608] [core] set prefix for caller profile soft variables
2019-02-26 11:46:31 -06:00
Mike Jerris 93db053bac Merge pull request #1475 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10969 to master
* commit '834132d1283570ec6a9cca9288a1dc82db7b1305':
  FS-10969 [mod_spandsp] increase tone limit to 128
2019-02-19 15:39:08 +00:00
lazedo 8ed52f4c26 [FS-11609] [core] lookup values in caller profile soft variables 2019-02-18 14:03:24 +00:00
Sebastian Kemper c447f856fb FS-11659 [core] Fix implicit declaration of RAND_bytes
Since the update to openssl-1.1.1a the compile fails like this:

  CC       src/libfreeswitch_la-switch_rtp.lo
src/switch_rtp.c: In function 'switch_rtp_get_random':
src/switch_rtp.c:2419:2: error: implicit declaration of function 'RAND_bytes'; did you mean 'RSA_bits'? [-Werror=implicit-function-declaration]
  RAND_bytes(buf, len);
  ^~~~~~~~~~
  RSA_bits
cc1: all warnings being treated as errors
make[4]: *** [Makefile:2377: src/libfreeswitch_la-switch_rtp.lo] Error 1

This patch adds the missing include.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-02-15 22:06:14 +01:00
Christopher Rienzo 7e67dc3c4d Merge pull request #1507 in FS/freeswitch from ~DRAGOS_OANCEA_NX/freeswitch-dragos-nx:bugfix/FS-11105/multichannel_prebuf_datalen to master
* commit '6bc59b3b5ad681c1c9e71758d5602e72b05f7c76':
  FS-11105: core: fix in switch_core_file_write() for audio channels > 2 ( eg: for when the prebuffer size does not divide by the number of wanted channels)
2019-02-15 16:19:06 +00:00
Dragos Oancea 6258b721c9 FS-11482: [http_cache] set pre_buffer_datalen to 0 on handle (crashfix) 2019-02-15 10:36:46 -05:00
Andrey Volk 3d7bc78dfa FS-11607: [mod_sofia] Fix Windows build regression by adding missing sofia_json_api.c to the build. 2019-02-12 20:56:52 +04:00
Mike Jerris 1c63aceba5 FS-11184: [core] fix build errors 2019-02-12 11:52:12 -05:00
Mike Jerris f1d56a934b Merge pull request #1514 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11134 to master
* commit 'f44c05e6c2bb46880651dabf80319a7cf60cc925':
  FS-11134 [mod_conference] add created channel uuid to bgdial-result
2019-02-12 16:22:08 +00:00
lazedo f44c05e6c2 FS-11134 [mod_conference] add created channel uuid to bgdial-result 2019-02-12 16:03:48 +00:00
Mike Jerris 7b94c84c00 Merge pull request #1512 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11132 to master
* commit '13f3f69c1dea8e666f68cd136aac8233f36e4058':
  FS-11132 [mod_dptools] add broadcast app
2019-02-12 15:57:07 +00:00
Mike Jerris e961cf72df Merge pull request #1370 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10598 to master
* commit '2fa6afed6fcf422575d79bf6483b5697a32acf2a':
  FS-10598: [mod_sofia] add replaces header call_id and params to channel variables
2019-02-12 15:53:00 +00:00
Mike Jerris 720f3ee182 Merge pull request #1527 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11184 to master
* commit '9d9b44e5f6a50f7ee890422921cba1cb5598da11':
  FS-11184 [core] retry xml_locate_language for primary language
2019-02-12 15:51:34 +00:00
lazedo 9d9b44e5f6 FS-11184 [core] retry xml_locate_language for primary language 2019-02-12 15:50:20 +00:00
Luis Azedo 2fa6afed6f FS-10598: [mod_sofia] add replaces header call_id and params to channel
variables
2019-02-12 15:43:45 +00:00
Mike Jerris 8acb26e35a Merge pull request #1426 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10744 to master
* commit '78a0ed5de24cd11616c5c74ab8188a16f2f6f4bb':
  FS-10744 [mod_conference] provide call-id for conference fetch
2019-02-12 15:33:09 +00:00
Mike Jerris 6eeaf76bc2 Merge pull request #1404 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10704 to master
* commit '96ae6ef4dd22297c803f821ee615ad86993c95a0':
  FS-10704 [core] add event-uuid-name
  FS-10704 [core] allow event-uuid (app_uuid) to be used in application
2019-02-12 15:28:11 +00:00
Mike Jerris fc7b0d2e6e Merge pull request #1659 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11313 to master
* commit 'f238e7b6126a916fb0f05105e4f16d52d6ee3df0':
  FS-11313 [core] set rtpc-mux if found in the sdp
2019-02-12 15:21:52 +00:00
Mike Jerris 38290f7b3f Merge pull request #1653 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11606 to master
* commit '280b7d9f02e4a8b76ab591e725f6eaeed4f9ef9f':
  [FS-11606] [mod_spandsp] add fax T38 mode to variables & logs
2019-02-12 15:21:00 +00:00
lazedo f238e7b612 FS-11313 [core] set rtpc-mux if found in the sdp 2019-02-12 15:19:58 +00:00
Mike Jerris 720863188c Merge pull request #1654 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11607 to master
* commit '614bc42e2ce07492ec8410d4046521a4a6ed6cac':
  [FS-11607] [mod_sofia] add a json api to collect info
2019-02-12 15:16:55 +00:00
Mike Jerris b7df5ac8cf Merge pull request #1375 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10623 to master
* commit 'ce198895f1c0f401076370b2f4ec9a9f62d439e9':
  FS-10623 [mod_conference] add conference to xml/json list
  FS-10623 [mod_conference] emit conference vars in events and allow setting them in profiles
2019-02-12 15:14:33 +00:00
Mike Jerris d7a09b08cb Merge pull request #1673 in FS/freeswitch from ~ACHRIS/freeswitch:bugfix/FS-11646-improved-support-for-ice-lite to master
* commit 'a1cb0080871d1fff727e4b339e8c06f9948b8bef':
  FS-11646: Improved support for ICE-lite
2019-02-07 21:41:38 +00:00
Mike Jerris ac6305040a Merge pull request #1582 in FS/freeswitch from ~DRAGOS_OANCEA_NX/freeswitch-dragos-nx:fix/FS-11384/stun_attrs_no_val to master
* commit '164b41d8bd6526da69c99f9bb22ddc1f1f33729b':
  FS-11384: stun: fix for when parsing incoming packets that contain attributes with no value (like USE_CANDIDATE)
2019-02-07 21:40:54 +00:00
Chris Ayoup a1cb008087 FS-11646: Improved support for ICE-lite
Specifically:
* Send the a=ice-lite SDP attribute as a session-level attribute
* Suppress sending STUN connectivity checks when enabled
* Make sure FS is the controlled entity if it is declaring ICE-lite
2019-02-05 13:17:35 -05:00
lazedo 8f659a81cf [FS-11608] [core] set prefix for caller profile soft variables 2019-01-30 23:54:16 +00:00
lazedo ce198895f1 FS-10623 [mod_conference] add conference to xml/json list 2019-01-30 23:49:52 +00:00
lazedo 614bc42e2c [FS-11607] [mod_sofia] add a json api to collect info 2019-01-30 23:44:42 +00:00
Mike Jerris ea30fde496 FS-11637: [mod_verto] Fix crash on root login when no root-password is configured 2019-01-30 09:40:51 -05:00
Mike Jerris 78edf1a1de Merge pull request #1655 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10820 to master
* commit 'df1ac5dbe0e4f15508637da5ad736c1a98b4d7bb':
  FS-10820 [mod_kazoo] eventstream configuration
2019-01-30 04:25:56 +00:00
Christopher Rienzo 0ddab77e8b Merge pull request #1344 in FS/freeswitch from ~MATT_TELTECH/freeswitch:FS-10513-ssl-verifyhost to master
* commit '0ff8db6bf887ee06802dde1e1893b524c9f08a4f':
  FS-10513 [mod_http_cache] ignores ssl-verifyhost
2019-01-30 04:18:33 +00:00
dulinjun 908793e5fe Update src/switch_core_video.c 2019-01-25 05:49:58 +00:00
Matt Williamson 0ff8db6bf8 FS-10513 [mod_http_cache] ignores ssl-verifyhost 2019-01-21 22:21:49 -05:00
Dragos Oancea 179430cecc FS-11622: WS headers case insensitive 2019-01-21 18:10:15 -05:00
Dragos Oancea 2bf9878c2f FS-11599: [core] fix inter-arrival jitter (timer) 2019-01-18 18:17:59 -05:00
Andrey Volk 9c18e272f9 FS-11458: [core] Fix video timing. 2019-01-17 12:51:10 +04:00
lazedo 280b7d9f02 [FS-11606] [mod_spandsp] add fax T38 mode to variables & logs 2019-01-15 23:16:45 +00:00
Mike Jerris 52e56c2053 Merge pull request #1658 in FS/freeswitch from ~LAZEDO/freeswitch:bug/FS-11610 to master
* commit '0eae20e5306c2ff43b5e8782cae3076ff0172412':
  FS-11610 [mod_http_cache] add video flag to http_cache
2019-01-15 21:11:49 +00:00
Luis Azedo 185ddcb860 FS-11026 [mod_sofia] set proxy on bye if available 2019-01-14 17:05:21 +00:00
lazedo 0eae20e530 FS-11610 [mod_http_cache] add video flag to http_cache 2019-01-14 16:31:49 +00:00
lazedo df1ac5dbe0 FS-10820 [mod_kazoo] eventstream configuration 2019-01-14 14:24:51 +00:00
Mariah Yang 6ac8105944 FS-11601: Fix some core function prototype 2019-01-09 08:44:41 -05:00
Andrey Volk 0629f95cff FS-11568: [core] Add stun-set command to X-PRE-PROCESS. 2019-01-09 17:19:22 +04:00
Andrey Volk 0994131894 FS-11564: [mod_verto] Add ext-rtp-ip detection using stun. 2019-01-09 17:19:11 +04:00
Mike Jerris e4d85ee6aa Merge pull request #1634 in FS/freeswitch from ~C960657/freeswitch:bugfix/FS-11552-dead-session-crash to master
* commit 'e7c63eec0c4a66741f5035efba47260b8caf05a8':
  FS-11552: [mod_v8] Crash when accessing props of dead session
2019-01-02 20:50:43 +00:00
Mike Jerris b3a8a53fc2 Merge pull request #1624 in FS/freeswitch from ~VLADIMIR.RALEV/freeswitch:bugfix/FS-10534-dont-crash-on-dead-channel-in-loopback to master
* commit 'ad2344cb842f2e582c129f8d621d8f93757177ea':
  FS-10534 [mod_loopback] Add null pointer check to avoid crashing loopbacks
2019-01-02 20:49:26 +00:00
Andrey Volk 9e0579011d FS-11521: [mod_av] Test program regression fix. 2019-01-03 00:23:27 +04:00
Andrey Volk 522d871f65 FS-11521: [Build-System] Fix C99 standard regression. 2019-01-03 00:23:20 +04:00
Liyang 036d3e8085 FS-11521: [mod_av] support colorspace from params of file interface
https://freeswitch.org/jira/browse/FS-11521
2019-01-03 00:23:13 +04:00
Liyang 863a0b1d2a FS-11521: [mod_av] read colorspace param from config for avformat 2019-01-03 00:23:04 +04:00
Seven Du 34b573998b FS-11521: [mod_av] WIP add test code and add png 2019-01-03 00:22:08 +04:00
Mike Jerris c3f80bb78d FS-11579: [mod_signalwire] use detected curl cflags and libraries to link mod_signalwire 2019-01-02 15:07:24 -05:00
Andrey Volk 58e65350b0 FS-11582: [mod_signalwire] Fix CA certificate detection on Windows. 2018-12-27 04:57:04 +04:00
Chris Rienzo 604690b5c8 FS-11583 [mod_sofia] fix crash when missing address in register event 2018-12-26 15:51:41 -05:00
Andrey Volk d0cca7e222 FS-11555: [mod_signalwire] Initial commit. 2018-12-21 21:45:59 +04:00
Andrey Volk 82452988e2 FS-11547: [core] Fix broken record_sample_rate variable. 2018-12-21 02:17:27 +04:00
Seven Du 1ddd4c992b FS-11569 add rate to null endpoint 2018-12-20 10:19:33 -05:00
Andrey Volk 97f42d429f FS-11505: [core] System call with output capture on Linux and Windows without fork. Add switch_core test. 2018-12-20 10:19:27 -05:00
Chris Rienzo a754d379ba FS-11442 [test] enable module runtime when loading it 2018-12-20 10:19:14 -05:00
Chris Rienzo d46f4f2149 FS-11442 [test] add fst_check_extension_apps to compare dialplan apps with expected. 2018-12-20 10:19:08 -05:00
Chris Rienzo 19eb5af90d FS-11442 [test] Fix double-free on test suite cleanup. 2018-12-20 10:19:02 -05:00
Liyang 69252d9911 missing comma
https://freeswitch.org/jira/browse/FS-11465
2018-12-20 10:18:48 -05:00
Seven Du b53d1caea0 FS-11461: [mod_av] Add test code, improve tests on Windows. 2018-12-20 10:18:42 -05:00
Andrey Volk 2ae3b85721 FS-11461: [core] Fix mod_av test code on Windows. 2018-12-20 10:18:35 -05:00
Chris Rienzo 0c8f5ed60d FS-11453 [core] remove dependency to libtap for unit tests
move all core unit tests to tests/unit
2018-12-20 10:18:28 -05:00
Chris Rienzo 2226c3c621 FS-11453 [mod_rayo] convert to fst testing 2018-12-20 10:18:14 -05:00
Chris Rienzo e0b5df10d6 FS-11453 [mod_rayo] allow text/plain grammar for non-mrcp speech recognizers. Added direction to output component to assist with testing. Fix confidence conversion to NLSML. 2018-12-20 10:18:06 -05:00
Chris Rienzo 6eb2276cd6 FS-11453 [mod_rayo] add support for FS JSON ASR result. 2018-12-20 10:17:57 -05:00
Chris Rienzo 101512ba33 FS-11442 [mod_test] new module, mod_test - mock ASR interface. 2018-12-20 10:17:50 -05:00
Chris Rienzo a4a0dd81bb FS-11442 [core] allow multiple test modules to be loaded in the same test program. 2018-12-20 10:17:39 -05:00
Chris Rienzo 5014e11eeb FS-11442 [core] Add test helpers for wall time measurements and integer/double range checks. Improve simple test log output to identify which test the failure is in. 2018-12-20 10:17:27 -05:00
Chris Rienzo 3dd0eadcc1 FS-11442 [core] added test helpers for constructing XML objects 2018-12-20 10:17:15 -05:00
Chris Rienzo e95beb8d4f FS-11442 [core] added fst_play_and_detect_app_test and fst_sched_recv_dtmf 2018-12-20 10:17:04 -05:00
Chris Rienzo 3f512c0a74 FS-11439 [core] Update switch_test.h so unprivileged users can execute tests when basedir is owned by root. 2018-12-20 10:16:53 -05:00
Seven Du e36caa7544 FS-11416 fix build error FCT_FIXTURE_SUITE_BGN undefined 2018-12-20 10:16:46 -05:00
Mike Jerris fc02be8d57 Merge pull request #1637 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:bugfix/FS-11559-ivr_record_file-nullptr to master
* commit '15051696d1467f339a74f6747a8776737dc9210d':
  FS-11559: check file name null ptr (crashfix CoreSession:recordFile)
2018-12-17 18:36:19 +00:00
Dragos Oancea 15051696d1 FS-11559: check file name null ptr (crashfix CoreSession:recordFile) 2018-12-17 04:30:51 -05:00
Sergey Safarov abde630fea FS-11345: Fixed Werror=stringop-truncation for mod_opus
Fixed Werror=format-truncation on sofia-sip/libsofia-sip-ua/tport

Fixed Werror=format-truncation on mod/endpoints/mod_verto

Fixed unused-but-set-variable in mod_lua

Fixed Werror=format-truncation on libs/sofia-sip/libsofia-sip-ua/tport

Fixed Wunused-variable Wmaybe-uninitialized on mod_soundtouch

Fixed Wliteral-suffix for libs/unimrcp
2018-12-12 21:18:19 +00:00
Chris Rienzo cae7f0fa2f FS-11562 [mod_sofia] fire register state event on changing registrar IP 2018-12-10 21:53:13 -05:00
Mike Jerris 3f6c95fe7a Merge pull request #1636 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:bugfix/FS-11532 to master
* commit 'ef123b6c2e907cf660d4ba69451156aad2353019':
  FS-11532: fix crash (87d4a6a0)
2018-12-10 23:11:43 +00:00
Dragos Oancea ef123b6c2e FS-11532: fix crash (87d4a6a0) 2018-12-10 14:38:46 -05:00
Seven Du 9911004b52 FS-11562 #resolve add register ip and port to gateway register state change events 2018-12-10 10:22:20 -05:00
Dragos Oancea 551ce4c46f FS-11554: fix crash in conference API when no param given to "moh". 2018-12-05 22:04:00 -05:00
Christian Schmidt e7c63eec0c FS-11552: [mod_v8] Crash when accessing props of dead session 2018-12-05 22:10:25 +01:00
António Silva 8ca7a5492d FS-11512 [mod_sofia] #resolve missing privacy header on display update 2018-11-29 09:54:24 +01:00
Mike Jerris 866bd44efc FS-11539: [core] session message names print wrong in log messages 2018-11-28 22:14:08 +00:00
Andrey Volk 13f6890f41 FS-11523: [mod_av] Add ffmpeg 4.1 support. 2018-11-28 02:47:23 +04:00
Andrey Volk c371c75045 FS-11466: [mod_av] Fix h264 hardware encoding delay. 2018-11-28 02:47:23 +04:00
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
Dragos Oancea 164b41d8bd FS-11384: stun: fix for when parsing incoming packets that contain attributes with no value (like USE_CANDIDATE) 2018-09-07 15:59:17 +01: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
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
Chad Phillips c83f7871fa 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.
2018-07-25 20:43:05 -05: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
Chad Phillips 1fc0836565 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.
2018-07-25 10:18:01 -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
Mike Jerris 3e50947295 FS-11222: [core] NACK for multiple packets sends wrong packet after the first one 2018-07-24 07:21:55 +00:00
Mike Jerris bd794e6e08 FS-10949: [mod_conference] allow vblind vunblind tvblind commands when caller is not sending video 2018-07-24 07:21:55 +00:00
Piotr Gregor e554d48ef6 FS-11202 Add sanity check
Check value of sanity while looping over
switch_cache_db_get_db_handle_dsn() in switch_user_sql_thread.
2018-07-24 07:21:54 +00:00
Piotr Gregor e66de38ba2 FS-11201 Filter out erroneous RTT values #fix
Erroneous DLSR in received RTCP report could
cause RTT to be negative (RTT = A - DLSR - LSR).
Add check for this and prevent corruption
of statistics and estimations (estimator code used
bad RTT values).
2018-07-24 07:21:54 +00:00
Brian West 70f21b8287 reswig 2018-07-24 07:21:54 +00:00
Brian West a46cb42cdd reswig 2018-07-24 07:21:54 +00:00
Anthony Minessale b81f432b84 FS-11177: [freeswitch-core] h264 vid tweaks -- increase gop #resolve 2018-07-24 07:21:54 +00:00
Joshua Young afcb1f8d51 FS-11178: [core] return switch_status_t from switch_ivr_intercept_session 2018-07-24 07:21:53 +00:00
Anthony Minessale fe8c1be575 FS-11177: [freeswitch-core] h264 vid tweaks #resolve 2018-07-24 07:21:53 +00:00
Anthony Minessale d3d7b6878e FS-11173: [mod_conference] Don't send tmmbr for any higher than input res #resolve 2018-07-24 07:21:53 +00:00
Anthony Minessale 578d914b96 FS-11164: [freeswitch-core] Improve audio JB in bad conditions 2018-07-24 07:21:53 +00:00
Anthony Minessale 611e38e8cb FS-11165: [freeswitch-core] Add more regex handling to dmachine -- squashme #resolve 2018-07-24 07:21:53 +00:00
Anthony Minessale 13e77721bc FS-11165: [freeswitch-core] Add more regex handling to dmachine #resolve 2018-07-24 07:21:53 +00:00
Anthony Minessale fef3711e31 FS-11164: [freeswitch-core] Improve audio JB in bad conditions #resolve 2018-07-24 07:21:53 +00:00
Mike Jerris 3e5938a540 FS-11162: [zrtp] Hangup race causing rare crash on zrtp calls 2018-07-24 07:21:53 +00:00
Brian West 5efecb1ffa FS-11156: [mod_dptools] wait for ack in application "deflect" #resolve 2018-07-24 07:21:52 +00:00
Andrey Volk e7ff903629 FS-11150: [Build-System] Fix broken ESL in .Net project. 2018-07-24 07:21:52 +00:00
Anthony Minessale ca9a62c539 FS-11119: [core] Fix video skew on oddly resized conference layers 2018-07-24 07:21:52 +00:00
Mike Jerris dc95ee3d66 Revert "FS-11052: Allow alias for crypto suites"
This reverts commit 7cc6d5f99d16d2d63cb2548dd7b8345d579b7e9f.
2018-07-24 07:21:52 +00:00
Mike Jerris bf59e825bd FS-11047: [build] support v8 6.6 fixes from Andrey Volk 2018-07-24 07:21:52 +00:00
Mike Jerris b8b4517843 Revert "FS-11048: [build] support v8 6.6 fixes from Andrey Volk"
This reverts commit 27389f2937.
2018-07-24 07:21:52 +00:00
Mike Jerris 54c2bbeda8 FS-11047: [build] support v8 6.6 fixes from Andrey Volk 2018-07-24 07:21:52 +00:00
Mike Jerris 524ad35933 FS-11047: add mod_v8 back to build 2018-07-24 07:21:51 +00:00
Anthony Minessale 0734899b9a FS-10892: [mod_av] Lip Sync Improvements -- increase delta #resolve 2018-07-24 07:21:51 +00:00
Anthony Minessale 74f8ec7772 FS-11127: [freeswitch-core] Improvements to Video JB and audio jb sync #resolve 2018-07-24 07:21:51 +00:00
Andrey Volk 561d187085 FS-11125: [Build-System] Remove unused files left from previous Visual Studio version. 2018-07-24 07:21:51 +00:00
Andrey Volk 3645facb84 FS-11122: [Build-System] Fix improper use of debug symbols settings on Windows. 2018-07-24 07:21:50 +00:00
Seven Du a0fd0a1b44 FS-11093 #resolve switch_true should return switch_bool_t 2018-07-24 07:21:50 +00:00
Seven Du d48db7c979 FS-11110 #resolve resume detect on next detect 2018-07-24 07:21:50 +00:00
Anthony Minessale e55212f5d8 FS-11111 #resolve add handle params to specify tts engine and voice from command text 2018-07-24 07:21:50 +00:00
Seven Du 413ea14fd4 [FS-11092] #resolve add cJSON_isTrue 2018-07-24 07:21:50 +00:00
Mike Jerris 5b24f62f98 FS-10867: [freeswitch-core] fix regression in stack smash protection 2018-07-24 07:21:50 +00:00
Andrey Volk 184fbd6a9f FS-11101: [mod_cv] Add mod_cv to the Windows build. 2018-07-24 07:21:50 +00:00
Mike Jerris 727df6be1b FS-11055: [mod_av] resize image to recording image size if it does not match recording size 2018-07-24 07:21:49 +00:00
Mike Jerris 6ccc96a39c FS-10987: [mod_conference] fix member deadlock on write failure 2018-07-24 07:21:49 +00:00
Andrey Volk 6483ab8b65 FS-11097: [mod_cv] Add OpenCV 3.x support. 2018-07-24 07:21:49 +00:00
Andrey Volk 32c16669c4 FS-11091: [mod_sndfile] Remove libsndfile from the code base, use pre-compiled binaries on Windows, update to libsndfile 1.0.28 2018-07-24 07:21:49 +00:00
Andrey Volk c9ac9c66e3 FS-11090: [Build-System] Move PCRE library to pre-compiled binaries, minor cleanup, reduce build log verbosity on windows. 2018-07-24 07:21:49 +00:00
Mike Jerris e47a6922b3 swigall 2018-07-24 07:21:48 +00:00
Seven Du 8a5bbe19e8 [mod_shout] use 0xFFFFFFFF flag to query frame_size 2018-07-24 07:21:48 +00:00
Brian West 3563ec1e63 FS-10946: [core] Duplicate code in switch_xml.c #resolve 2018-07-24 07:21:48 +00:00
Seven Du 4719d04706 FS-10918 #resolve 2018-07-24 07:21:48 +00:00
Anthony Minessale 118c8ab0c2 FS-11016: [mod_av] Looping a video file that has resize feature enabled can allow a non-resized frame to slip after file seek #resolve 2018-07-24 07:21:48 +00:00
Anthony Minessale 9fcbf5d1c0 FS-10941: [mod_conference] Segfault SIGFPE, Arithmetic exception in mod_conference #resolve 2018-07-24 07:21:48 +00:00
Brian West b3ff29eb5c FS-10908: [mod_amqp] AMQP routing key (format_fields) formation broke and invalid reads reported by valgrind #resolve 2018-07-24 07:21:48 +00:00
Seven Du 99d2e5e243 FS-11014 [core] add vad to core 2018-07-24 07:21:47 +00:00
Brian West bea634679c FS-11081: [mod_video_filter] Teleportation #resolve 2018-07-24 07:21:47 +00:00
Brian West 8084162d4d FS-11080: [freeswitch-core] Auto sync of jb can fail on extreme loss #resolve 2018-07-24 07:21:47 +00:00
Brian West 6ced48476c FS-11077: [mod_enum] Memory Leak in mod_enum #resolve 2018-07-24 07:21:47 +00:00
Seven Du b32db0dcfb FS-11022 #resolve ImageMagic 7 support 2018-07-24 07:21:47 +00:00
Seven Du d7fb26b12a FS-11024 #resolve fix pdf turn pages 2018-07-24 07:21:47 +00:00
Andrey Volk d0dae4b360 FS-11086: [Build-System] Move libflite to pre-compiled libraries on Windows. 2018-07-24 07:21:47 +00:00
Andrey Volk c31e7062b7 FS-11085: [Build-System] Update curl to 7.59.0 and move to pre-compiled binaries on Windows. 2018-07-24 07:21:46 +00:00
Andrey Volk 2e7e6221f8 FS-11083: [Build-System] Add mod_cdr_sqlite to the Windows build. 2018-07-24 07:21:46 +00:00
Andrey Volk 5c04c4ad6b FS-11082: [Build-System] Add mod_odbc_cdr to the Windows build. 2018-07-24 07:21:46 +00:00
Andrey Volk 50d38ba36c FS-10980: [mod_lua] Update lua version to 5.3.4 and move it to pre-compiled binaries on Windows. 2018-07-24 07:21:46 +00:00
Anthony Minessale 00f14981b4 FS-11070: [mod_conference] Improve video bridge first two for mux mode -- add support for files playing in this mode #resolve 2018-07-24 07:21:46 +00:00
Anthony Minessale f33aa1a859 FS-11070: [mod_conference] Improve video bridge first two for mux mode #resolve 2018-07-24 07:21:46 +00:00
Anthony Minessale d8c3b3ab66 FS-11068: [mod_conference] Avatar members not supported on personal canvas leading to miscount #resolve 2018-07-24 07:21:46 +00:00
Anthony Minessale d3aee10e28 FS-11057: [mod_conference] CPU race on personal canvas #resolve 2018-07-24 07:21:46 +00:00
Anthony Minessale 2a82d401a6 FS-11034: [mod_conference] Add border control to video #resolve 2018-07-24 07:21:45 +00:00
Anthony Minessale b272c5e521 FS-11031: [mod_conference] refresh and keyframes sent too often in multi-canvas mode #resolve 2018-07-24 07:21:45 +00:00
Anthony Minessale 054229fb68 FS-11021: [mod_conference] Add video mirror #resolve 2018-07-24 07:21:45 +00:00
Anthony Minessale b048830414 FS-11017: [mod_conference] Add moh controls to conference #resolve 2018-07-24 07:21:45 +00:00
Brian West ada117fb73 FS-10967: [mod_conference] chan var "conference_enter_sound" not working, only work when profile param active and being overridden #resolve 2018-07-24 07:21:45 +00:00
Anthony Minessale 5199939f48 FS-10893: [mod_conference] Add more banner text params #resolve 2018-07-24 07:21:45 +00:00
Anthony Minessale d6abe0e9eb tmp revert 2018-07-24 07:21:45 +00:00
Anthony Minessale 9d9af7c153 FS-10883: [mod_conference] Conference member can get stuck read locked #resolve 2018-07-24 07:21:45 +00:00
Anthony Minessale 2a6990a7e0 rewind 2018-07-24 07:21:44 +00:00
Anthony Minessale 7ca8eec496 rewind 2018-07-24 07:21:44 +00:00
Anthony Minessale 9140aba9f9 Revert "FS-11057: [mod_conference] CPU race on personal canvas #resolve"
This reverts commit 7acc94be97.
2018-07-24 07:21:44 +00:00
Anthony Minessale e7dc398a1f Revert "FS-11070: [mod_conference] Improve video bridge first two for mux mode -- add support for files playing in this mode #resolve"
This reverts commit 04296b5708.
2018-07-24 07:21:44 +00:00
Andrey Volk d91374edde FS-11078: [Build-System] Add mod_say_(es_ar, fa, he, hr, hu, ja, pl, th) modules to the Windows build. 2018-07-24 07:21:44 +00:00
Anthony Minessale 20eb89dcb0 FS-11070: [mod_conference] Improve video bridge first two for mux mode -- add support for files playing in this mode #resolve 2018-07-24 07:21:44 +00:00
Andrey Volk cd0fdcd58b FS-11076: [mod_cdr_pg_csv] Add mod_cdr_pg_csv to the Windows build. 2018-07-24 07:21:44 +00:00
Andrey Volk fe9f2713b4 FS-11075: [mod_amqp] Add mod_amqp to the Windows build. 2018-07-24 07:21:44 +00:00
Anthony Minessale 443166dc2b FS-11057: [mod_conference] CPU race on personal canvas #resolve 2018-07-24 07:21:44 +00:00
Brian West 0e33e567e3 revert 2018-07-24 07:21:43 +00:00
Andrey Volk 49d19bffcd FS-11074: [Core, Build-System] Add PostgreSQL to the Freeswitch Core on Windows. 2018-07-24 07:21:43 +00:00
Anthony Minessale b12762dd5a FS-11057: [mod_conference] CPU race on personal canvas #resolve 2018-07-24 07:21:43 +00:00
Brian West b5a7b74b1c revert 2018-07-24 07:21:43 +00:00
Mike Jerris f193aff269 FS-11057: [mod_conference] CPU race on personal canvas #resolve 2018-07-24 07:21:43 +00:00
Anthony Minessale 9e3bbdd10c FS-11068: [mod_conference] Avatar members not supported on personal canvas leading to miscount #resolve 2018-07-24 07:21:43 +00:00
Anthony Minessale 89770f4522 FS-11057: [mod_conference] CPU race on personal canvas #resolve 2018-07-24 07:21:43 +00:00
Andrey Volk 52ac19c338 FS-11067: [Build-System] Improve windows build speed moving openssl to pre-compiled binaries. 2018-07-24 07:21:42 +00:00
Andrey Volk 24ef5b2762 FS-11065: [Build-System, mod_v8] Update libv8 to 6.1.298 on windows, speedup windows build by moving libv8 to pre-compiled binaries. 2018-07-24 07:21:42 +00:00
Andrey Volk 73d616a318 FS-10989: [core] Fix CUSTOM_HASH hash table race in switch_event logic causing crashes during bind to events. 2018-07-24 07:21:42 +00:00
Andrey Volk af29a31c7f FS-11020: [Build-System] On Windows: Add missing modules to the msi installer, fix mod_gsmopen build, remove mod_skyopen, disable libav and libx264, cleanup. 2018-07-24 07:21:42 +00:00
Mike Jerris 634c92de7d swigall 2018-07-24 07:21:42 +00:00
Mike Jerris e58ff3392f FS-10853: remove extern that is no longer needed 2018-07-24 07:21:42 +00:00
Piotr Gregor f5090ae96b FS-11063 Use compile time constants in dtls_state_setup 2018-07-24 07:21:41 +00:00
Anthony Minessale 5272bbc83d FS-11057: [mod_conference] CPU race on personal canvas #resolve 2018-07-24 07:21:41 +00:00
ifox 8e362825de FS-11058: [core] Add RTT to RECV_RTCP_MESSAGE
Add the RTT field to the RECV_RTCP_MESSAGE event emission which allows external listeners to compute MOS RTCP from the event.
2018-07-24 07:21:41 +00:00
Anthony Minessale 230e2ba348 FS-11057: [mod_conference] CPU race on personal canvas #resolve 2018-07-24 07:21:41 +00:00
Sergey Khripchenko 94038f3c12 FS-11056: [core] fix RTCP lost calculation
RTCP/Receiver Report/lost field is a _signed_ 24bit integer and it could be negative (in case of UDP duplication)
+ any negatives now threated as huge uint32_t
+ set this field properly on __BIG_ENDIAN
+ correctly read this value in received RTCP on all arches
2018-07-24 07:21:41 +00:00
Piotr Gregor 3a502eaf6e 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.
2018-07-24 07:21:41 +00:00
Mike Jerris b496635a8c FS-11038: [mod_sofia] fix crash in gwlist api command 2018-07-24 07:21:40 +00:00
Mike Jerris 76795ac2e2 FS-10853: Fix unitialzed var 2018-07-24 07:21:40 +00:00
Ethan Atkins 4876cb76a7 FS-11037: [mod_lua] reduce logging levels 2018-07-24 07:21:40 +00:00
Brian West 422f348240 FS-11036: [mod_rtmp] No audio on rtmp clients #resolve 2018-07-24 07:21:40 +00:00
Anthony Minessale 0071435757 FS-11031: [mod_conference] refresh and keyframes sent too often in multi-canvas mode #resolve 2018-07-24 07:21:40 +00:00
Brian West a14dcfef3d FS-10913: [mod_sofia] ignore_early_media=ring_ready not transitioning #resolve 2018-07-24 07:21:40 +00:00
Brian West 027ae79516 FS-10913: [mod_sofia] ignore_early_media=ring_ready not transitioning #resolve 2018-07-24 07:21:40 +00:00
Mike Jerris 94a094c5ef FS-10926: [mod_sofia] fix crash from malformed as-feature-event subscribe messae with malformed xml 2018-07-24 07:21:39 +00:00
Brian West adb813e089 FS-10880: [mod_sofia] SIP INFO DTMF method not working on b-leg #resolve 2018-07-24 07:21:39 +00:00
Brian West 228af00acb FS-10904: [core] DTMF only works from one phone during shared call (SCA) #resolve 2018-07-24 07:21:39 +00:00
Brian West 4fc7ee7720 FS-10908: [mod_amqp] AMQP routing key (format_fields) formation broke and invalid reads reported by valgrind #resolve 2018-07-24 07:21:39 +00:00
Brian West 433c2b6b89 FS-10899: [core] 3pcc-mode=proxy is proxying SDP in the 200OK with late offer invites #resolve 2018-07-24 07:21:39 +00:00
Brian West 352cc3526d FS-10903: [mod_sofia,mod_valet_parking] Fix Issue with subscriptions and Valet Parking #resolve 2018-07-24 07:21:39 +00:00
Anthony Minessale d9002f19a7 FS-10897: [mod_verto] Possible crash in verto during error condition #resolve 2018-07-24 07:21:39 +00:00
Anthony Minessale cfd7761e9f FS-10896: [freeswitch-core] Parse error on originate syntax with nested square brackets #resolve 2018-07-24 07:21:39 +00:00
Anthony Minessale 1745a36c98 FS-10893: [mod_conference] Add more banner text params #resolve 2018-07-24 07:21:38 +00:00
Anthony Minessale 6387cc1ffd FS-10883: [mod_conference] Conference member can get stuck read locked #resolve 2018-07-24 07:21:38 +00:00
Anthony Minessale 16a31c4be5 FS-10871: [mod_conference] Zoomed layouts do not auto-center in mod_conference #resolve 2018-07-24 07:21:38 +00:00
Brian West fe05bacb84 FS-10865: [mod_conference] conference transfer event reports incorrect info in New-Conference-Name #resolve 2018-07-24 07:21:38 +00:00
Brian West 243f9f33b6 FS-10749: [mod_amqp] Crash on unload after mod_amqp reloaded with command + incorrect command behavior #resolve 2018-07-24 07:21:38 +00:00
Brian West 291da11322 FS-10867: [freeswitch-core] Prevent stack smash when queing multiple sound files without event-lock #resolve 2018-07-24 07:21:38 +00:00
Anthony Minessale afde4b63bb FS-10860: [core] Distorted music when playing it as local stream into a conference as hold music #resolve 2018-07-24 07:21:38 +00:00
Anthony Minessale 2e66aceb14 FS-10854: [mod_conference] Canvas FG Image not refreshed before writing to video recordings #resolve 2018-07-24 07:21:37 +00:00
Anthony Minessale 586d3349a7 FS-10243: [mod_conference] Add conference variables 2018-07-24 07:21:37 +00:00
Brian West 31d9584f59 FS-10840: [mod_sofia] max-registrations-per-extension parameter is not multi-tennant 2018-07-24 07:21:37 +00:00
Seven Du a83990a5aa tweak av and ensure first image write at pts = 0 to avoid a black screen 2018-07-24 07:21:37 +00:00
Anthony Minessale 8fabf32f8f FS-10890: [mod_av] Wrongly calculated delta_tmp for end of video file recording #resolve 2018-07-24 07:21:37 +00:00
Anthony Minessale 683f59f38d FS-10821: [mod_conference] fix arg parser in file vol command in conference #resolve 2018-07-24 07:21:37 +00:00