Commit Graph
100 Commits
Author SHA1 Message Date
Andrey Volk 5331850fc0 [mod_verto] Fix use of libks websockets on Windows. POLLHUP is ignored in poll events on Linux but fails on Windows so should be avoided. 2021-10-23 22:00:33 +03:00
Andrey Volk 6da4f147de [Unit-Tests] Fix switch_core_video test to use temporary path for generated files and clean them up. Ignore test runtime dirs. 2021-10-23 22:00:25 +03:00
Andrey Volk da8e3b04db [mod_verto] Fix content length overflow on 32bit 2021-10-23 22:00:18 +03:00
Andrey Volk e173578a78 [Build-System] Sign FreeSWITCH modules with timestamp on Windows when new version is released. 2021-10-23 22:00:16 +03:00
Andrey Volk 1984e88f6a [Build-System] Sign FreeSWITCH MSI Package with the Code Signing Certificate on Windows. 2021-10-23 22:00:16 +03:00
Andrey Volk 07884e20a2 [Build-System] Fix switch_packetizer headers and add it to the build. 2021-10-23 22:00:08 +03:00
Andrey Volk ec7ec190b0 [mod_sofia] Add TLS v1.3 support. 2021-10-23 21:59:57 +03:00
Andrey Volk 61089e8f24 [core] Improve session recording thread performance. 2021-10-23 21:59:53 +03:00
Andrey Volk e51bbea7ca [mod_dptools]: wait_for_silence does not allow the listen_hits parameter to be a value of 0 2021-10-23 21:59:49 +03:00
Andrey Volk f26522f102 Merge pull request #1393 from signalwire/python3
[mod_python3] Fix switch module definition preventing mod_python3 from loading.
2021-10-21 01:59:44 +03:00
Andrey Volk 24958e51c2 [mod_python3] Fix switch module definition preventing mod_python3 from loading. 2021-10-20 19:49:51 +03:00
Andrey Volk b8be418fb8 [Core, mod_commands] Implement memory allocation statistics by adding the "memory" API command. 2021-10-20 17:53:18 +03:00
Andrey Volk 30eaf2c736 Bump sofia-sip library requirement to version 1.13.6 2021-10-19 23:41:27 +03:00
Andrey Volk 3c4a8d33f5 [Packaging] Require specific libsofia-sip-ua0 version when installing FreeSWITCH binary packages. 2021-10-19 23:39:49 +03:00
Andrey Volk 4b1e7ca5f6 Merge pull request #1387 from signalwire/scanbuild7
[Testing] Enable scan-build 7 on Drone CI
2021-10-19 23:29:46 +03:00
Andrey Volk b90a38c8dd [Testing] Enable scan-build 7 on Drone CI 2021-10-19 21:53:30 +03:00
Andrey Volk a6f26ee83f Merge pull request #1390 from signalwire/check_auth
[mod_verto] scan-build: fix false-positive Argument with 'nonnull' attribute passed null in check_auth
2021-10-19 21:51:06 +03:00
Andrey Volk 3f958d3724 [mod_verto] scan-build: fix false-positive Argument with 'nonnull' attribute passed null in check_auth 2021-10-19 20:51:56 +03:00
Andrey Volk b9fdf00f6f [Core] Fix a false-positive memory leak detected by scan-build in switch_channel_set_variable_strip_quotes_var_check() 2021-10-19 20:45:08 +03:00
Andrey Volk c58b659f3f [Core] Add new switch_channel_set_variable_strip_quotes API, cleanup mod_sofia. 2021-10-19 20:45:07 +03:00
Andrey Volk c1b00d945b [mod_verto] Fix memory leak and a deadlock on verto endpoint interface in verto_outgoing_channel() 2021-10-19 20:45:06 +03:00
Andrey Volk 36ac71f621 [Core] Fix false-positive memory leak in switch_core_set_variable() detected by scan-build 2021-10-19 20:45:05 +03:00
Andrey Volk 8201f54a2c [Core] Fix possible memory leak in switch_console_complete() 2021-10-19 20:39:37 +03:00
Andrey Volk 21952f26c1 [freeswitch] Argument with 'nonnull' attribute passed null in reincarnate_protect() 2021-10-19 20:39:37 +03:00
Andrey Volk 58abf91d1d [Core] Add new switch_core_hash_insert_dup_auto_free() API 2021-10-19 20:39:36 +03:00
Andrey Volk 0b0f5fff65 [mod_sofia] Cleanup sofia_glue_get_host() and make the pool arg be required. 2021-10-19 20:39:35 +03:00
Andrey Volk f21da2885b [mod_verto] Add hack.diff to mcast's swig 2021-10-19 20:39:34 +03:00
Andrey Volk bd7b76bacf [Core] Add new switch_core_hash_insert_pointer(switch_hash_t *hash, const void *data) API to be able to insert data into a hash with an auto-generated key based on the data pointer. Cleanup switch_loadable_module_process() to not generate hash keys for stored events itself. Add unit-test. 2021-10-19 20:35:12 +03:00
Andrey Volk e14df00aa6 [Core] scan-build: Argument with 'nonnull' attribute passed null in switch_html_strip() 2021-10-19 20:35:11 +03:00
Andrey Volk 67048377c4 [Core] Fix possible dereference of null pointer in switch_ivr_originate() and switch_ivr_enterprise_originate() 2021-10-19 20:35:10 +03:00
Andrey Volk 4b03a47a7f [Core] Fix dereference of null pointer in switch_ivr_wait_for_answer() 2021-10-19 20:35:10 +03:00
Andrey Volk 77c8557aa7 [mod_managed] Fix Windows build 2021-10-19 20:34:45 +03:00
Andrey Volk dca7940fb9 [Core] scan-build: Use of zero allocated in switch_xml_str2utf8() 2021-10-19 20:30:18 +03:00
Andrey Volk c35a3bb4db [Core] scan-build: fix false-positive memory leak in switch_xml_set_attr_d and switch_xml_set_attr_d_buf 2021-10-19 20:30:18 +03:00
Andrey Volk 781180ff48 [Core] scan-build: memory leak in switch_xml_user_cache() 2021-10-19 20:30:17 +03:00
Andrey Volk e30c62f8ec [Core] scan-build: Argument with 'nonnull' attribute passed null in switch_xml_internal_dtd() 2021-10-19 20:30:17 +03:00
Andrey Volk 6726922e34 [mod_sofia] scan-build: Dereference of null pointer in sofia_handle_sip_i_bye(), sofia_handle_sip_i_invite() and our_sofia_event_callback() 2021-10-19 20:30:15 +03:00
Andrey Volk ac1a3dc565 [mod_sofia] scan-build: Argument with 'nonnull' attribute passed null 2021-10-19 20:26:53 +03:00
Andrey Volk 86a075da56 [mod_sofia] scan-build: Fix dereference of null pointer in sofia_outgoing_channel(). 2021-10-19 20:26:53 +03:00
Andrey Volk 51ef2f261a [libvpx] scan-build: Assigned value is garbage or undefined 2021-10-19 20:26:52 +03:00
Andrey Volk 92a55cf85a [Core] scan-build: Argument with 'nonnull' attribute passed null in switch_loadable_module_load_module_ex() 2021-10-19 20:26:52 +03:00
Andrey Volk 1b048a8a97 [Core, mod_hash] Add two APIs switch_core_hash_insert_alloc_destructor and switch_core_hash_insert_dup_destructor. Code cleanup in mod_hash. Add unit-tests. 2021-10-19 20:26:50 +03:00
Andrey Volk f92368d2f2 [mod_xml_ldap] Move all memory allocations into the mod's pool so it does not leak on shutdown. Fix leaking xml_ldap_search(). 2021-10-19 20:24:10 +03:00
Andrey Volk 9a491fb8f8 [mod_say_pl] Fix potential memory leak in pl_say_ip() 2021-10-19 20:24:09 +03:00
Andrey Volk 4ab8936a0e [mod_v8] Fix false-positive memory leak detected in process_status_function() by scan-build 2021-10-19 20:24:09 +03:00
Andrey Volk 0e96038d21 [mod_lua] scan-build: Called C++ object pointer is null (Dbh_test_reactive) 2021-10-19 20:24:09 +03:00
Andrey Volk 3abccb4b4f [mod_kazoo] Fix leaking stream in kz_event_expand_headers_check() 2021-10-19 20:24:06 +03:00
Andrey Volk ccd2174fb5 [mod_kazoo] Remove wrong usage of switch_safe_strdup() causing leaks in kazoo_tweaks 2021-10-19 20:19:26 +03:00
Andrey Volk 31c10fac22 [mod_kazoo] scan-build: Argument with 'nonnull' attribute passed null in kz_endpoint_outgoing_channel() 2021-10-19 20:19:26 +03:00
Andrey Volk f82c1f04c5 [iksemel] Fix memory leak 2021-10-19 20:19:25 +03:00
Andrey Volk 7713a2470d [libdingaling] Fix memory leaks 2021-10-19 20:19:25 +03:00
Andrey Volk 322191a2f4 [mod_dialplan_xml] Fix possible use after free in parse_exten() 2021-10-19 20:19:25 +03:00
Andrey Volk bb150bc486 [mod_spandsp] scan-build: Argument with 'nonnull' attribute passed null in udptl_rx_packet() 2021-10-19 20:15:59 +03:00
Andrey Volk e4ec2e1043 [mod_spandsp] scan-build: Argument with 'nonnull' attribute passed null in modem_init() 2021-10-19 20:15:58 +03:00
Andrey Volk e42ebbb33f [Core] scan-build: Fix false-positive use-after-free in switch_xml_free_attr(). Add unit test. 2021-10-19 20:15:58 +03:00
Andrey Volk 95fb8c7773 [Core] Fix crash on removing xml attributes. Add unit test. 2021-10-19 20:15:57 +03:00
Andrey Volk 65bc81d239 [libvpx] scan-build: fix false-positive dereference of null pointer 2021-10-19 20:15:57 +03:00
Andrey Volk b59c28bdbd [Core] scan-build: fix false-positive use-after-free in switch_xml_internal_dtd() 2021-10-19 20:10:35 +03:00
Andrey Volk d6884d6871 [apr] scan-build: Dereference of null pointer in apr_hash_merge() 2021-10-19 20:10:35 +03:00
Andrey Volk cba582cf4a [mod_sofia] Fix multiple issues in sofia_presence.c found by scan-build. 2021-10-19 20:10:35 +03:00
Andrey Volk fa0e616592 [libyuv] Disable scan-build warnings. 2021-10-19 20:10:34 +03:00
Andrey Volk 758f3e7075 Merge pull request #1262 from signalwire/opus
[mod_opusfile] Improvements.
2021-10-15 22:17:39 +03:00
Andrey Volk a61c9dca50 Merge pull request #1380 from inoutglobal/master
[daylight saving]- Fixs wrong daylight saving
2021-10-15 16:41:41 +03:00
Andrey Volk e9fde845de [mod_cv] Replace deprecated definitions and update configure.ac to check renamed opencv4.pc on Debian Bullseye. 2021-10-14 23:29:30 +03:00
Andrey Volk 2505b45134 [mod_skinny, mod_cdr_mongodb, mod_rayo] Fix Debian 11 build warnings. 2021-10-14 23:29:06 +03:00
Andrey Volk 46efa0cdb8 [Build-System] Add Bullseye to the Debian packaging 2021-10-14 23:28:38 +03:00
Andrey Volk a4603c7cb8 [Packaging] Fix a conflict between freeswitch-mod-python and freeswitch-mod-python3 Debian packages 2021-10-14 23:27:59 +03:00
Andrey Volk 54becc8d28 [mod_python3] Remove deprecated calls. 2021-10-14 23:27:33 +03:00
Andrey Volk e44fd2ea38 [mod_python3, ESL py3mod] Add Python3 support. 2021-10-14 23:26:36 +03:00
Andrey Volk 3a66eb415f Merge pull request #1370 from dragos-oancea/sendRTCPEvent
[Core] Add SEND_RTCP_MESSAGE event and a unit-test.
2021-10-05 01:47:57 +03:00
Andrey Volk 601960eb44 Merge pull request #1361 from signalwire/srtpmac
[libsrtp] Fix build on MAC OS
2021-09-30 17:47:36 +03:00
Andrey Volk d1220d1818 [libsrtp] Fix build on MAC OS 2021-09-30 17:13:21 +03:00
Andrey Volk 86d2189032 Merge pull request #1330 from signalwire/openssl1.1.x
[Build-System] Windows: Update OpenSSL to 1.1.1l, libpq to 10.18, curl to 7.78.0, libks to 1.7.0, signalwire-c to 1.3.0, rabbitmq-c to 0.11.0
2021-08-31 21:17:12 +03:00
Andrey Volk 24f76b36f1 Merge pull request #1328 from signalwire/libsrtp24
[Build-System] Update libsrtp to 2.4.0
2021-08-30 23:04:13 +03:00
Andrey Volk ee06958df6 [Build-System] Windows: Update OpenSSL to 1.1.1l, libpq to 10.18, curl to 7.78.0, libks to 1.7.0, signalwire-c to 1.3.0, rabbitmq-c to 0.11.0 2021-08-30 21:19:19 +03:00
Andrey Volk bddff9a2f1 [Build-System] Update libsrtp to 2.4.0 2021-08-28 23:54:38 +03:00
Andrey Volk dd2411336f Merge pull request #1317 from signalwire/sofiabump
Bump sofia-sip library requirement to version 1.13.5
2021-08-25 20:37:19 +03:00
Andrey Volk 2b039a3c32 Bump sofia-sip library requirement to version 1.13.5 2021-08-25 19:32:43 +03:00
Andrey Volk 9584d86455 Merge pull request #1307 from signalwire/freetdm
[Build-System] Remove freetdm from the FreeSWITCH tree. Use out-of-tree module https://github.com/freeswitch/freetdm instead.
2021-08-20 00:17:34 +03:00
Andrey Volk 380fd060ef [Build-System] Remove freetdm from the FreeSWITCH tree. Use out-of-tree module https://github.com/freeswitch/freetdm instead. 2021-08-19 21:10:33 +03:00
Andrey Volk 53be1ab148 Merge pull request #1312 from signalwire/outoftree
[Build-System] Allow out-of-tree modules to stay commented out in modules.conf and fix false-positive warnings from module integrity checking when running make install.
2021-08-19 21:05:10 +03:00
Andrey Volk 6ec1cee256 [Build-System] Allow out-of-tree modules to stay commented out in modules.conf and fix false-positive warnings from module integrity checking when running make install. 2021-08-19 19:32:18 +03:00
Andrey Volk 717b9eec0a Merge pull request #1299 from ssahoo-five9/switch_utils
[Core] Add switch_safe_atol() and switch_safe_atoll() functions. Add a unit-test.
2021-08-13 20:56:14 +03:00
Andrey Volk 8a40ba20bd [mod_sofia] Add a unit-test checking that sofia-sip does not leak when a profile fails to start. 2021-08-13 18:15:43 +03:00
Andrey Volk 16370ddd7c Merge pull request #1283 from signalwire/srtp_race
[Core] Fix FreeSWITCH crashes caused by race conditions when working with Secure RTP.
2021-08-13 16:55:36 +03:00
Andrey Volk 15e8a09c90 Merge pull request #1298 from signalwire/speedupdrone
[unit-tests] [mod_sndfile] parallelize unit-tests, each audio extension test in its own session.
2021-08-09 17:30:23 +03:00
Andrey Volk 622399d0bd Merge pull request #1256 from signalwire/early
[Core] Fix bridge_early_media
2021-08-06 16:48:11 +03:00
Andrey Volk d20dbb76a6 Merge pull request #1289 from gsiehien/fix-rayo-conference
[mod_rayo] mod_rayo returns error exec_conference_api
2021-08-02 16:23:11 +03:00
Andrey Volk d251a8ccee swigall 2021-07-31 00:49:18 +00:00
Andrey Volk 9376db0aae [Core] Fix FreeSWITCH crashes caused by race conditions when working with Secure RTP. 2021-07-26 10:05:09 +03:00
Andrey Volk 5c6fd51c11 Merge pull request #1246 from xiaobaozidi/master
[mod_sofia] Fixed a few Usage-of-uninitialized value bugs which may cause information discolsure and bypass ACL check
2021-07-24 22:39:16 +03:00
Andrey Volk 99c6d587e7 Merge pull request #1253 from MarioG-X/libvpx/macos-release-independence
[libvpx] configure: macos release independence for sse
2021-07-24 20:54:55 +03:00
Andrey Volk 08c2bf94a7 Merge pull request #1208 from signalwire/sofiadrone
[Unit-tests] Build sofia-sip on the fly on Drone CI so backtraces are more informative in ASAN reports.
2021-07-23 21:51:14 +03:00
Andrey Volk f631ac800c [Unit-tests] Build sofia-sip on the fly on Drone CI so backtraces are more informative in ASAN reports. 2021-07-23 17:11:19 +03:00
Andrey Volk 4c04914003 Merge pull request #1274 from signalwire/signalwiregatewaydown
[mod_signalwire] When SignalWire SIP Gateway is in unregistered state it's DOWN and can not be NOREG.
2021-07-20 21:10:05 +03:00
Andrey Volk 1311a84ee2 [mod_signalwire] When SignalWire SIP Gateway is in unregistered state it's DOWN and can not be NOREG. 2021-07-20 20:41:08 +03:00
Andrey Volk 9aee9b8e24 [Core, mod_commands] Add posix_spawn replacement for the system call. Add unit-tests. 2021-07-16 17:34:42 +03:00
Andrey Volk f1dd4390c8 Merge pull request #1267 from signalwire/dronesignature
[Testing] Update Drone CI signature.
2021-07-14 19:32:42 +03:00
Andrey Volk a4d09d2635 [Testing] Update Drone CI signature. 2021-07-14 19:06:19 +03:00
Andrey Volk f6f3f38d25 [Core] Fix bridge_early_media 2021-07-09 17:53:30 +03:00