]>
git.ipfire.org Git - thirdparty/freeswitch.git/log
Andrey Volk [Wed, 18 Aug 2021 22:12:54 +0000 (01:12 +0300)]
[Build-System] Remove freetdm from the FreeSWITCH tree. Use out-of-tree module https://github.com/freeswitch/freetdm instead.
Andrey Volk [Thu, 19 Aug 2021 18:05:10 +0000 (21:05 +0300)]
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.
Andrey Volk [Thu, 19 Aug 2021 16:32:18 +0000 (19:32 +0300)]
[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.
Andrey Volk [Fri, 13 Aug 2021 17:56:14 +0000 (20:56 +0300)]
Merge pull request #1299 from ssahoo-five9/switch_utils
[Core] Add switch_safe_atol() and switch_safe_atoll() functions. Add a unit-test.
suchi.sahoo [Mon, 9 Aug 2021 18:28:56 +0000 (21:28 +0300)]
[Core] Add switch_safe_atol() and switch_safe_atoll() functions. Add a unit-test.
Dragos Oancea [Thu, 13 May 2021 13:49:09 +0000 (13:49 +0000)]
[mod_sofia] fix md5 digest infoleak
[mod_sofia] refactor IP checks with sip-dig
[mod_sofia] add sipp-based unit-tests (use spawn_instead_of_system)
Andrey Volk [Wed, 11 Aug 2021 14:34:46 +0000 (17:34 +0300)]
[mod_sofia] Add a unit-test checking that sofia-sip does not leak when a profile fails to start.
Andrey Volk [Fri, 13 Aug 2021 13:55:36 +0000 (16:55 +0300)]
Merge pull request #1283 from signalwire/srtp_race
[Core] Fix FreeSWITCH crashes caused by race conditions when working with Secure RTP.
Dragos Oancea [Mon, 22 Jun 2020 19:25:48 +0000 (19:25 +0000)]
[unit-tests] fix sps-related race in the sndfile test.
Dragos Oancea [Thu, 21 May 2020 19:28:48 +0000 (19:28 +0000)]
[unit-tests] [mod_sndfile] increase SPS limit
Mike Jerris [Thu, 28 May 2020 00:37:13 +0000 (18:37 -0600)]
[mod_sndfile] fix test build on osx
Dragos Oancea [Tue, 19 May 2020 11:24:43 +0000 (11:24 +0000)]
[unit-tests] [mod_sndfile] fix build for Debian Jessie
Andrey Volk [Mon, 9 Aug 2021 14:30:23 +0000 (17:30 +0300)]
Merge pull request #1298 from signalwire/speedupdrone
[unit-tests] [mod_sndfile] parallelize unit-tests, each audio extension test in its own session.
Dragos Oancea [Mon, 18 May 2020 17:58:48 +0000 (18:58 +0100)]
[unit-tests] [mod_sndfile] parallelize unit-tests, each audio extension test in its own session.
Andrey Volk [Fri, 6 Aug 2021 13:48:11 +0000 (16:48 +0300)]
Merge pull request #1256 from signalwire/early
[Core] Fix bridge_early_media
Andrey Volk [Mon, 2 Aug 2021 13:23:11 +0000 (16:23 +0300)]
Merge pull request #1289 from gsiehien/fix-rayo-conference
[mod_rayo] mod_rayo returns error exec_conference_api
Grzegorz Siehień [Mon, 2 Aug 2021 12:55:29 +0000 (14:55 +0200)]
[mod_rayo] mod_rayo returns error exec_conference_api
fixes #704 - mod_rayo returns error on exec_conference_api
Andrey Volk [Sat, 31 Jul 2021 00:49:18 +0000 (00:49 +0000)]
swigall
dhruvecosmob [Tue, 20 Jul 2021 13:02:52 +0000 (16:02 +0300)]
[mod_sofia] Deprecate the auth-messages profile param by setting it to be enabled by default and introducing the new disable-auth-messages param with a higher priority when set.
Andrey Volk [Thu, 15 Jul 2021 14:26:20 +0000 (17:26 +0300)]
[Core] Fix FreeSWITCH crashes caused by race conditions when working with Secure RTP.
Andrey Volk [Sat, 24 Jul 2021 19:39:16 +0000 (22:39 +0300)]
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
xiaobaozidi [Wed, 30 Jun 2021 01:08:16 +0000 (20:08 -0500)]
[mod_sofia] Fixed a few Usage-of-uninitialized value bugs which may cause information discolsure and bypass ACL check
Andrey Volk [Sat, 24 Jul 2021 17:54:55 +0000 (20:54 +0300)]
Merge pull request #1253 from MarioG-X/libvpx/macos-release-independence
[libvpx] configure: macos release independence for sse
Mario G [Mon, 5 Jul 2021 21:46:00 +0000 (14:46 -0700)]
[libvpx] configure: macos release independence for sse
tomeeo [Fri, 23 Jul 2021 21:04:59 +0000 (17:04 -0400)]
[mod_http_cache] Fix the query string not included for HTTP PUT requests to s3
Andrey Volk [Fri, 23 Jul 2021 18:51:14 +0000 (21:51 +0300)]
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.
Andrey Volk [Mon, 24 May 2021 14:17:28 +0000 (17:17 +0300)]
[Unit-tests] Build sofia-sip on the fly on Drone CI so backtraces are more informative in ASAN reports.
Andrey Volk [Tue, 20 Jul 2021 18:10:05 +0000 (21:10 +0300)]
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.
Andrey Volk [Tue, 20 Jul 2021 17:39:58 +0000 (20:39 +0300)]
[mod_signalwire] When SignalWire SIP Gateway is in unregistered state it's DOWN and can not be NOREG.
nrensen [Mon, 19 Jul 2021 15:57:13 +0000 (23:57 +0800)]
[mod_commands] OpenBSD compat
Chris Rienzo [Tue, 9 Feb 2021 18:19:22 +0000 (13:19 -0500)]
[core, mod_commands] Execute command under shell when using spawn in switch_system().
Andrey Volk [Fri, 5 Feb 2021 21:38:51 +0000 (00:38 +0300)]
[Core, mod_commands] Add posix_spawn replacement for the system call. Add unit-tests.
Andrey Volk [Wed, 14 Jul 2021 16:32:42 +0000 (19:32 +0300)]
Merge pull request #1267 from signalwire/dronesignature
[Testing] Update Drone CI signature.
Andrey Volk [Wed, 14 Jul 2021 16:03:58 +0000 (19:03 +0300)]
[Testing] Update Drone CI signature.
Andrey Volk [Fri, 9 Jul 2021 11:52:00 +0000 (14:52 +0300)]
[Core] Fix bridge_early_media
Andrey Volk [Thu, 24 Jun 2021 22:07:52 +0000 (01:07 +0300)]
Merge pull request #1243 from signalwire/vs2022
[FreeSwitchConsole] Fix build with Visual Studio 2022
Andrey Volk [Thu, 24 Jun 2021 21:26:51 +0000 (00:26 +0300)]
[FreeSwitchConsole] Fix build with Visual Studio 2022
Andrey Volk [Wed, 16 Jun 2021 08:18:15 +0000 (11:18 +0300)]
[mod_sofia] Calling direct _unref() functions in sofia_event_callback() is unsafe.
Andrey Volk [Tue, 15 Jun 2021 17:51:03 +0000 (20:51 +0300)]
Bump sofia-sip library requirement to version 1.13.4
Andrey Volk [Mon, 7 Jun 2021 17:46:58 +0000 (20:46 +0300)]
[mod_sofia] sofia_process_dispatch_event() should unref all handles via sofia stack
Andrey Volk [Wed, 9 Jun 2021 19:25:53 +0000 (22:25 +0300)]
Merge pull request #1213 from signalwire/nsig
[apr] error: use of undeclared identifier 'NSIG'
Andrey Volk [Fri, 28 May 2021 18:26:56 +0000 (21:26 +0300)]
[apr] error: use of undeclared identifier 'NSIG'
Andrey Volk [Mon, 17 May 2021 13:54:06 +0000 (16:54 +0300)]
Merge pull request #1199 from signalwire/fix-compile-error
[core] Fix read of uninitialized buffer in switch_simple_email().
Chris Rienzo [Sun, 16 May 2021 23:12:28 +0000 (23:12 +0000)]
[core] Fix read of uninitialized buffer in switch_simple_email().
Dragos Oancea [Fri, 14 May 2021 15:36:30 +0000 (18:36 +0300)]
[mod_opus] add cfg setting to overwrite the fmtp stereo param coming from remote. Eg: incoming SDP has stereo=1 but we want a mono call so we answer with stereo=0.
* [mod_opus] add cfg setting to overwrite the fmtp stereo param coming from remote. Eg: incoming SDP has stereo=1 but we want a mono call so we answer with stereo=0.
sprop-stereo will be set to 0 too.
* [core] opus: use switch_core_max_audio_channels() with remote fmtp stereo=1 to allow disabling of stereo.
Andrey Volk [Fri, 14 May 2021 15:34:17 +0000 (18:34 +0300)]
Merge pull request #1190 from dragos-oancea/amrwb-cfg-mode-set
[mod_amrwb] add cfg setting mode-set-overwrite (it will answer with just one mode-set value) - fixes audio quality issues in mod_conference with some UEs.
Andrey Volk [Mon, 10 May 2021 22:54:24 +0000 (01:54 +0300)]
Merge pull request #1192 from signalwire/curl_cert
[mod_curl] look for cacert in certs dir
Anthony Minessale [Sat, 11 Apr 2020 22:37:04 +0000 (22:37 +0000)]
[mod_curl] look for cacert in certs dir
Aron Podrigal [Mon, 10 May 2021 19:32:48 +0000 (14:32 -0500)]
[mod_curl] Added PATCH method, add insecure and secure options to verify SSL certs, add proxy option.
* mod_curl: hanlde PATCH method
* mod_curl: verify ssl with an option `insecure` to not verify
* mod_curl: added option to use proxy
* mod_curl: use assert(options)
* [mod_curl] default certificate validation secure/insecure controlled by `validate-certs` config option.
* [mod_curl] Added option secure to force https certs validation
Andrey Volk [Mon, 10 May 2021 19:29:46 +0000 (22:29 +0300)]
Merge pull request #1178 from azzbcc/mod_sofia_nat_mapping
[mod_sofia] release nat mapping when nua create failed
Andrey Volk [Fri, 7 May 2021 16:03:37 +0000 (19:03 +0300)]
Merge pull request #1099 from dragos-oancea/mod_tts_commandline_fix_system
[mod_tts_commandline] check return of switch_system() against 127 too
Dragos Oancea [Fri, 7 May 2021 14:17:15 +0000 (14:17 +0000)]
[mod_amrwb] add cfg setting mode-set-overwrite (it will answer with just one mode-set value) - fixes audio quality issues in mod_conference with some UEs.
sergey-safarov [Thu, 6 May 2021 17:51:54 +0000 (20:51 +0300)]
[Build-System] Rename package format-mod-opusfile to format-opusfile on CentOS
Clarence [Wed, 28 Apr 2021 11:59:52 +0000 (19:59 +0800)]
[mod_sofia] release nat mapping when nua create failed
Chris Rienzo [Tue, 27 Apr 2021 19:54:32 +0000 (15:54 -0400)]
STIR/SHAKEN (#1160)
* [core] Add SWITCH_CAUSEs for STIR/SHAKEN.
[mod_sofia] Add sofia_verify_identity dialplan APP as a STIR/SHAKEN verification service. Set sip_hangup_on_verify_identity_fail=true to end calls that fail verification, otherwise check sip_verstat and sip_verstat_detailed channel variables for verification result.
* [mod_sofia] Fix stir shaken implementation issues on fail.
* fix build
* Fix given comments
* stir_shaken_passport_get_grant return does not require to be freed.
* reworked things
* [core] add switch_rfc822_datetime_to_epoch()
* [mod_sofia] fix test return code
* [mod_sofia] Add Date header when signing Identity
* [mod_sofia] Check Date - WIP doesn't work
* [mod_sofia] STIR/SHAKEN check SIP Date header
* Try to give time for sofia to clean up calls
Co-authored-by: Andrey Volk <andywolk@gmail.com>
sergey-safarov [Mon, 26 Apr 2021 14:46:26 +0000 (17:46 +0300)]
[Build-System] Use a fresher gcc on RHEL based dists
Norm Brandinger [Fri, 16 Apr 2021 14:24:51 +0000 (10:24 -0400)]
[Core] switch_rtp: fix switch_rtp_set_max_missed_packets logging
Warning message about missed packets is misleading.
Message indicates greater (>) however, the conditional is greater than or equals (>=).
The message prints the value of rtp_sesstion->missed_count twice instead of printing the value of rtp_session->max_missed_packets.
Dragos Oancea [Wed, 31 Mar 2021 13:49:59 +0000 (13:49 +0000)]
[core] RTP: handle flush for incoming stream with DTX or packet loss.
Dragos Oancea [Tue, 13 Apr 2021 10:30:15 +0000 (10:30 +0000)]
[mod_sofia] rfc8760: reorder hash algorithms by priority (strength), no matter the order provided in the cfg
Andrey Volk [Wed, 10 Mar 2021 17:08:20 +0000 (20:08 +0300)]
[mod_sofia] Add basic INVITE test
Dragos Oancea [Fri, 9 Apr 2021 15:45:17 +0000 (15:45 +0000)]
[mod_sofia] Add RFC8760 (sha-256, sha-512)
enable on the sip profile, eg:
<param name="rfc8760-auth-algorithms" value="sha-256,md5"/>
Andrey Volk [Thu, 8 Apr 2021 21:55:52 +0000 (00:55 +0300)]
[Core] Add switch_digest(), switch_digest_string() APIs. Add unit-tests.
figaro2015 [Fri, 2 Apr 2021 19:18:16 +0000 (12:18 -0700)]
[Core, mod_conference] Fixed oscillation in conference AGC processing. Especially during volume reduction processing (#1064)
* Fixed oscillation in conference AGC processing. Especially during volume reduction processing
* Re-scaled granular volume to +/- 50 dB level change. 10 = double loudness, -10 = half loudness, 0 = no change
Co-authored-by: Chris Rienzo <chris@signalwire.com>
Andrey Volk [Thu, 25 Mar 2021 15:52:56 +0000 (18:52 +0300)]
version bump
Andrey Volk [Wed, 24 Mar 2021 18:08:57 +0000 (21:08 +0300)]
Merge pull request #126 from micmac1/gentlscert-md
[gentls_cert] Update message digest
Christian Glombek [Wed, 24 Mar 2021 16:30:52 +0000 (17:30 +0100)]
[mod_avmd, esl/python] Two build fixups (#611)
Andrey Volk [Tue, 23 Mar 2021 18:10:30 +0000 (21:10 +0300)]
Merge pull request #1134 from signalwire/add-dial-handle-to-enterprise-originate
[core] Update switch_ivr_enterprise_originate() to accept optional switch_dial_handle_list_t instead of dialstring.
Andrey Volk [Tue, 23 Mar 2021 17:33:46 +0000 (17:33 +0000)]
swigall
Chris Rienzo [Thu, 18 Mar 2021 23:28:40 +0000 (02:28 +0300)]
[core] Update switch_ivr_enterprise_originate() to accept optional switch_dial_handle_list_t instead of dialstring.
Andrey Volk [Fri, 12 Mar 2021 14:27:07 +0000 (17:27 +0300)]
[Core] Hangup call instead of crashing system on SSL_CTX_new failure. Improve logging.
Andrey Volk [Wed, 10 Mar 2021 13:10:54 +0000 (16:10 +0300)]
[Core] switch_ivr_set_user_xml: Buffer is wrongly truncated when it's small in get_prefixed_str()
Dragos Oancea [Mon, 1 Mar 2021 17:48:45 +0000 (19:48 +0200)]
[core] rtp: fix #ifdef DEBUG_TS_ROLLOVER (#357)
Dragos Oancea [Sat, 27 Feb 2021 14:01:27 +0000 (14:01 +0000)]
[mod_av] fix memory leak on file playing
Andrey Volk [Fri, 26 Feb 2021 22:04:16 +0000 (01:04 +0300)]
[Core] Add new switch_core_session_try_reset() API to fix a deadlock for the case when two threads want to set session codecs.
Chris Rienzo [Thu, 25 Feb 2021 11:04:27 +0000 (06:04 -0500)]
[core] Remove unused buffers and mutexes in switch_core_session. Remove destruction of resamplers that will already be destroyed by switch_core_session_reset().
Andrey Volk [Fri, 11 Dec 2020 19:32:25 +0000 (22:32 +0300)]
[mod_sofia] Use thread-safe alternatives when destroying nua and nua_handle references. Bump sofia-sip library requirement to version 1.13.3
Andrey Volk [Fri, 19 Mar 2021 20:52:53 +0000 (23:52 +0300)]
Merge pull request #1128 from signalwire/isbr
[mod_conference] Bridged conference did not wait it's last member before destroy and crashed.
Andrey Volk [Fri, 19 Mar 2021 20:31:46 +0000 (23:31 +0300)]
[mod_conference] Bridged conference did not wait it's last member before destroy and crashed.
Andrey Volk [Thu, 18 Mar 2021 22:21:23 +0000 (01:21 +0300)]
Merge pull request #905 from traud/patch-4
[core] Allow other (D)TLS Curves/Groups beside P-256
Aron Podrigal [Thu, 18 Mar 2021 22:13:01 +0000 (17:13 -0500)]
[mod_pgsql] Use PQcmdTuples() to get number of effected rows to support UPDATE and INSERT without RETURNING.
Alexander Traud [Tue, 13 Oct 2020 12:33:19 +0000 (14:33 +0200)]
[core] Allow other (D)TLS Curves/Groups beside P-256
Five years ago, commit
8e1b2ea enabled ECDHE for the DTLS server by hard-coding P-256. Released before that, OpenSSL 1.0.2, allows auto selection of the curve (P-256, P-384, and P-512). OpenSSL 1.1.x has this enabled on default, which adds groups/curves like X25519 and X448 automatically. This change here allows DTLS clients with a demand for Security Level 4 (192 bit) and 5 (256 bit) connecting to the DTLS server.
sergey-safarov [Thu, 18 Mar 2021 21:30:08 +0000 (00:30 +0300)]
[Build-System] freeswitch.spec update
* freeswitch.spec: mod_shout - build always enabled
* Removed not nessary erlang spec file
* freeswitch.spec: Added cache direcory to http_cache module
* freeswitch.spec: added zrtp feature in packaging
* freeswitch.spec: added dependency for gumbo-parser-devel on fedora dist (HTML parser for MSRP)
* remove autoload_configs dir dublication
Andrey Volk [Wed, 17 Mar 2021 21:53:38 +0000 (00:53 +0300)]
[mod_sofia] Gateways DOWN state introduced a regression: REG gateways in DOWN state could not be killed. NOREG gateways could change state in some conditions. Register and Unregister commands will now error if a gateway is NOREG.
Chris Rienzo [Sat, 20 Feb 2021 19:17:50 +0000 (19:17 +0000)]
[test] Fix fst_session_park() to wait for CF_PARK instead of CS_PARK. CF_PARK will be set when the channel has actually parked.
Andrey Volk [Sat, 20 Feb 2021 18:14:15 +0000 (21:14 +0300)]
[Core] Fix race between switch_ivr_park_session() and the state machine. switch_core_session_run() wants to clear the CF_TRANSFER flag on state change while parking sets the flag.
Andrey Volk [Thu, 18 Feb 2021 16:02:03 +0000 (19:02 +0300)]
[Core] Fix leaking codec, timer and abuf in switch_ivr_play_file() in the case of failing switch_ivr_phrase_macro() or switch_ivr_speak_text()
Andrey Volk [Thu, 28 Jan 2021 00:13:13 +0000 (03:13 +0300)]
[Core] Fix leaking stream in switch_channel_expand_variables_check()
Andrey Volk [Tue, 26 Jan 2021 17:24:38 +0000 (20:24 +0300)]
[mod_callcenter] Fix use of uninitialized res variable in cc_agent_update()
Andrey Volk [Tue, 26 Jan 2021 17:23:52 +0000 (20:23 +0300)]
[mod_sofia] Fix use of uninitialized network_ip in sofia_handle_sip_r_invite()
Andrey Volk [Tue, 26 Jan 2021 17:26:14 +0000 (20:26 +0300)]
[mod_http_cache] Handle error cases to avoid using uninitialized variables in aws logic.
Andrey Volk [Wed, 20 Jan 2021 15:48:01 +0000 (18:48 +0300)]
[mod_sofia] scan-build in sofia_glue_do_invite(): Null pointer passed as an argument to a 'nonnull' parameter
Andrey Volk [Fri, 22 Jan 2021 18:57:24 +0000 (21:57 +0300)]
[Core] Fix possible memory leak of switch_core_session_message_t in switch_core_session_queue_indication()
Andrey Volk [Fri, 22 Jan 2021 18:45:37 +0000 (21:45 +0300)]
[mod_snom, mod_snmp] Replace strncpy with snprintf
Andrey Volk [Thu, 21 Jan 2021 19:32:12 +0000 (22:32 +0300)]
[Core] Fix leak of switch_event_header_t in switch_event_base_add_header(). Code cleanup.
Andrey Volk [Thu, 21 Jan 2021 16:38:37 +0000 (19:38 +0300)]
[Core] Fix leaking stream in switch_event_expand_headers_check()
Andrey Volk [Thu, 21 Jan 2021 15:43:02 +0000 (18:43 +0300)]
[mod_lcr] Fix order_by and sql_stream streams leaking in the case of a DB error in lcr_load_config()
Andrey Volk [Thu, 21 Jan 2021 15:29:44 +0000 (18:29 +0300)]
[mod_pgsql] Fix memory leek in the case of an empty string of err_str in pgsql_handle_exec_base_detailed()
Andrey Volk [Thu, 21 Jan 2021 14:40:29 +0000 (17:40 +0300)]
[mod_httapi] Fix memory leak of dup_creds in httapi_sync()
Andrey Volk [Wed, 20 Jan 2021 21:46:40 +0000 (00:46 +0300)]
[mod_curl] Avoid passing null pointer value via data parameter of do_lookup_url()
Andrey Volk [Wed, 20 Jan 2021 19:31:35 +0000 (22:31 +0300)]
[Unit-Tests] Fix leak of arg in the case of an error in fct_clp__parse()