]>
git.ipfire.org Git - thirdparty/freeswitch.git/log
Andrey Volk [Thu, 6 Apr 2023 21:14:52 +0000 (00:14 +0300)]
Merge pull request #2029 from signalwire/coverity_06042023_mod_java
[mod_java] Coverity CID
1320753 (Resource leak)
Andrey Volk [Thu, 6 Apr 2023 21:13:17 +0000 (00:13 +0300)]
Merge pull request #2028 from signalwire/coverity_06042023_mod_imagick
[mod_imagick] Coverity CID
1500258 (Resource leak)
Andrey Volk [Thu, 6 Apr 2023 21:11:41 +0000 (00:11 +0300)]
Merge pull request #2027 from signalwire/coverity_06042023_mod_event_multicast
[mod_event_multicast] Coverity CID
1468504 (Resource leak)
Andrey Volk [Thu, 6 Apr 2023 21:07:19 +0000 (00:07 +0300)]
Merge pull request #2026 from signalwire/coverity_06042023_mod_dialplan_asterisk
[mod_dialplan_asterisk] Coverity CID
1214207 (Resource leak)
Andrey Volk [Thu, 6 Apr 2023 21:05:40 +0000 (00:05 +0300)]
Merge pull request #2025 from signalwire/coverity_06042023_mod_av
[mod_av] Coverity CID
1500320 (Resource leak)
Andrey Volk [Thu, 6 Apr 2023 21:03:54 +0000 (00:03 +0300)]
Merge pull request #2024 from signalwire/coverity_06042023_mod_amqp
[mod_amqp] Coverity CID
1468426 (Resource leak)
Jakub Karolczyk [Wed, 5 Apr 2023 23:56:56 +0000 (00:56 +0100)]
[mod_event_multicast] Coverity CID
1468504 (Resource leak)
Jakub Karolczyk [Wed, 5 Apr 2023 23:43:08 +0000 (00:43 +0100)]
[mod_amqp] Coverity CID
1468426 (Resource leak)
Jakub Karolczyk [Thu, 6 Apr 2023 10:03:02 +0000 (11:03 +0100)]
[mod_av] Coverity CID
1500320 (Resource leak)
Jakub Karolczyk [Thu, 6 Apr 2023 10:27:19 +0000 (11:27 +0100)]
[mod_dialplan_asterisk] Coverity CID
1214207 (Resource leak)
Jakub Karolczyk [Thu, 6 Apr 2023 11:25:48 +0000 (12:25 +0100)]
[mod_imagick] Coverity CID
1500258 (Resource leak)
Jakub Karolczyk [Thu, 6 Apr 2023 12:26:42 +0000 (13:26 +0100)]
[mod_java] Coverity CID
1320753 (Resource leak)
Dragos Oancea [Wed, 5 Apr 2023 15:54:11 +0000 (18:54 +0300)]
[Core] Coverity fixes
* [core] coverity CID
1320751 (Dereference before null check)
* [core] coverity CID
1294546 (Unchecked return value)
* [core] coverity CID
1227661 (Logically dead code)
* [core] coverity CID
1227656 (Logically dead code)
* [core] coverity CID
1060948 (Explicit null dereferenced)
* [core] coverity CID
1346465 (Unchecked return value)
* [core] coverity CID
1364953 (Logically dead code)
* [core] coverity CID
1468210 (Dereference before null check)
* [core] coverity CID
1468546 (Dereference before null check)
* [core] coverity CID
1468342 (Dereference before null check)
Jakub Karolczyk [Fri, 31 Mar 2023 21:07:59 +0000 (22:07 +0100)]
[core] Coverity fixes
* [core] Coverity CID
1468218 (Resource leak)
* [core] Coverity CID
1468214 (Resource leak)
* [core] Coverity CID
1294472 (Resource leak)
* [core] Coverity CID
1294470 (Resource leak)
* [core] Coverity CID
1500361 (Resource leak)
* [core] Coverity CID
1500308 (Resource leak)
* [core] Coverity CID
1500278 (Resource leak)
---------
Co-authored-by: Andrey Volk <andywolk@gmail.com>
Andrey Volk [Fri, 31 Mar 2023 20:39:18 +0000 (23:39 +0300)]
Merge pull request #2016 from signalwire/count
[Core] Remove unused count variable from switch_core_session_execute_exten()
Andrey Volk [Fri, 31 Mar 2023 19:48:11 +0000 (22:48 +0300)]
[Core] Remove unused count variable from switch_core_session_execute_exten()
Andrey Volk [Fri, 31 Mar 2023 18:00:42 +0000 (21:00 +0300)]
Merge pull request #2014 from signalwire/prototype
[Core] Fix switch_core_sqldb_destroy() function declaration.
Andrey Volk [Fri, 31 Mar 2023 17:47:56 +0000 (20:47 +0300)]
[Core] Fix switch_core_sqldb_destroy() function declaration.
Jakub Karolczyk [Thu, 30 Mar 2023 19:00:40 +0000 (20:00 +0100)]
[mod_sofia] Coverity fixes
* [mod_sofia] Coverity CID
1468634 (Resource leak)
* [mod_sofia] Coverity CID
1294467 (Resource leak)
---------
Co-authored-by: Andrey Volk <andywolk@gmail.com>
Andrey Volk [Thu, 30 Mar 2023 16:59:44 +0000 (19:59 +0300)]
Merge pull request #2011 from signalwire/coverity_24032023_mod_pgsql
[mod_pgsql] Coverity CID
1468401 (Resource leak)
Jakub Karolczyk [Fri, 24 Mar 2023 14:32:50 +0000 (14:32 +0000)]
[mod_pgsql] Coverity CID
1468401 (Resource leak)
Andrey Volk [Wed, 29 Mar 2023 16:19:47 +0000 (19:19 +0300)]
Merge pull request #2006 from dragos-oancea/mod_amr-cov
[mod_amr] coverity CID
1395603 (Unsigned compared against 0)
Dragos Oancea [Wed, 29 Mar 2023 16:14:54 +0000 (19:14 +0300)]
[mod_verto] Coverity fixes
* [mod_verto] coverity CID (Logically dead code)
* [mod_verto] coverity CID
1468609 (Logically dead code)
Andrey Volk [Wed, 29 Mar 2023 16:12:19 +0000 (19:12 +0300)]
Merge pull request #2005 from dragos-oancea/mod_opus-cov
[mod_opus] coverity CID
1320733 (Result is not floating-point)
Dragos Oancea [Wed, 29 Mar 2023 16:08:18 +0000 (19:08 +0300)]
[Core] Coverity fixes
* [core] coverity CID
1395504 (Logically dead code)
* [core] coverity CID
1395581 (Dereference before null check)
* [core] coverity CID
1346451 (Improper use of negative value)
* [core] coverity CID
1395497 (Dereference before null check)
* [core] coverity CID
1468458 (Dereference before null check)
Andrey Volk [Wed, 29 Dec 2021 19:05:20 +0000 (22:05 +0300)]
[mod_opusfile] Fix missing rdlock unlock in switch_opusfile_open()
Dragos Oancea [Thu, 23 Mar 2023 13:09:53 +0000 (15:09 +0200)]
[mod_amr] coverity CID
1395603 (Unsigned compared against 0)
Dragos Oancea [Thu, 23 Mar 2023 13:06:56 +0000 (15:06 +0200)]
[mod_opus] coverity CID
1320733 (Result is not floating-point)
Andrey Volk [Tue, 28 Mar 2023 14:39:41 +0000 (17:39 +0300)]
Merge pull request #1639 from signalwire/docker
[Documentation] Fix typo in README.md
Tomasz Ostrowski [Tue, 28 Mar 2023 14:36:01 +0000 (16:36 +0200)]
[mod_enum] Fix use-after-free if creating resolver from file failed
Andrey Volk [Wed, 29 Dec 2021 16:07:54 +0000 (19:07 +0300)]
[Core] Fix missing mutex unlock in switch_ivr_dmachine_ping()
Andrey Volk [Tue, 28 Mar 2023 14:06:58 +0000 (17:06 +0300)]
Merge pull request #1765 from greenbea/patch-14
[mod_say_en] change epoch to 64 bit int
Andrey Volk [Tue, 28 Mar 2023 14:00:28 +0000 (17:00 +0300)]
Merge pull request #1900 from jyelloz/master
[mod_ladspa] Added activate/deactivate support.
Henrique [Tue, 28 Mar 2023 13:53:16 +0000 (10:53 -0300)]
[mod_conference] handle personal canvas with vmuted member
yois615 [Tue, 28 Mar 2023 11:53:16 +0000 (07:53 -0400)]
[mod_callcenter] Fix stale agents and UUID broadcasts
* [call_center] Stop uuid_broadcast on answer
* [mod_callcenter] Fix stale members in database
When a channel is originated to an agent but the
member fails to bridge to that agent, the database is
not updated with the member status and a stale entry
of 'Answered' persists until mod_callcenter is restarted.
Additionally, cc_agent_found is set before the bridge,
therefore ending the while loop on the member channel.
If there is a problem with the agent bridge, the call is
terminated prematurely.
In this commit, we:
* Move the SQL update of the member
to the 'Answered' state to the agent thread instead of
the member's thread, so that correct data is populated.
* Reset the members state accordingly to Abandoned or
Waiting if the channels fail to bridge.
* Use cc_agent_bridged to end the member loop,
so that a member is put back on queue if the agent
channel fails to bridge.
yois615 [Mon, 27 Mar 2023 22:47:23 +0000 (18:47 -0400)]
[core, mod_cidlookup] Free memory allocated via strdup
In mod_cidlookup and several other modules, config parameters
are read from external XML files using the SWITCH_CONFIG_ITEM_STRING_STRDUP
method. These items do not have string_options, and are not freed
with switch_xml_config_cleanup. We therefore need to call switch_safe_free
for config without string_options. We also add switch_xml_config_cleanup
to mod_cidlookup. There are other modules that may be affected but this
commit makes no attempt at fixing those.
Fixes #1752
Andrey Volk [Mon, 27 Mar 2023 22:43:35 +0000 (01:43 +0300)]
Merge pull request #1413 from yois615/master
[mod_sofia] Randomize OPTIONS Ping interval
Tomasz Ostrowski [Mon, 27 Mar 2023 17:23:07 +0000 (19:23 +0200)]
[mod_event_multicast] Few fixes
* [mod_event_multicast] Fix crash / invalid pointer dereference
* [mod_event_multicast] Check current number of addresses before zeroing memory on init
* [mod_event_multicast] Fix condition checking number of addresses on init
* [mod_event_multicast] Fix addresses zeroing on init
* [mod_event_multicast] Reorder memset and assert after malloc
Andrey Volk [Mon, 27 Mar 2023 17:03:40 +0000 (20:03 +0300)]
Merge pull request #1843 from greenbea/patch-17
[mod_commands] Fix and improve coalesce function
Andrey Volk [Mon, 27 Mar 2023 16:55:46 +0000 (19:55 +0300)]
Merge pull request #1996 from greenbea/amqp_subclass_support
[mod_amqp] Event subclass support
Дилян Палаузов [Mon, 27 Mar 2023 16:50:51 +0000 (18:50 +0200)]
[mod_commands] add completions for fsctl api_expansion and sync_clock_when_idle
Andrey Volk [Mon, 27 Mar 2023 16:41:32 +0000 (19:41 +0300)]
Merge pull request #1976 from greenbea/patch-19
[core] switch_ivr_originate set originate endpoint used
Tomasz Ostrowski [Thu, 23 Mar 2023 18:15:41 +0000 (19:15 +0100)]
[Core] ICE: fix wrong buffer size being passed and unitialized buffer
agree [Thu, 27 Oct 2022 16:19:39 +0000 (12:19 -0400)]
[mod_commands] Fix and improve coalesece function
* fixed memory leak
* added custom delimeter support
agree [Tue, 21 Mar 2023 16:16:01 +0000 (12:16 -0400)]
[mod_amqp] Events subclass support
Andrey Volk [Thu, 2 Mar 2023 15:05:37 +0000 (18:05 +0300)]
Merge pull request #1954 from signalwire/session_table_lock
[Core] Fix race condition of session_table hash in switch_core_session_request_uuid()
Andrey Volk [Mon, 6 Feb 2023 12:25:34 +0000 (15:25 +0300)]
[Core] Fix race condition of session_table hash in switch_core_session_request_uuid()
agree [Mon, 27 Feb 2023 02:49:12 +0000 (21:49 -0500)]
[core] switch_ivr_originate set originate endpoint used
This commit introduces a new channel variable that sets the channel endpoint used by the originate. This is particulary useful when using `execute_on_originate` that will execute multiple times when using fake endpoints as `user/` or `group/`. With this variable, a user can determine which endpoint is being used by the originate, and whether they want to process it.
Andrey Volk [Wed, 22 Feb 2023 20:06:28 +0000 (23:06 +0300)]
Bump sofia-sip library requirement to version 1.13.14
Andrey Volk [Wed, 22 Feb 2023 18:03:42 +0000 (21:03 +0300)]
Merge pull request #1972 from signalwire/winlibs
[Build-System] Windows: Update OpenSSL to 1.1.1t, libpq to 10.23, curl to 7.88.0, rabbitmq-c to 0.13.0. Allow using build numbers and bump libks version requirement to 1.8.2_1 and signalwire-c to 1.3.2_1 compiled with openssl 1.1.1t
Andrey Volk [Tue, 21 Feb 2023 17:52:16 +0000 (20:52 +0300)]
[Build-System] Windows: Update OpenSSL to 1.1.1t, libpq to 10.23, curl to 7.88.0, rabbitmq-c to 0.13.0. Allow using build numbers and bump libks version requirement to 1.8.2_1 and signalwire-c to 1.3.2_1 compiled with openssl 1.1.1t
Andrey Volk [Fri, 17 Feb 2023 20:54:46 +0000 (23:54 +0300)]
Merge pull request #1967 from signalwire/security-policy
Create SECURITY.md
Chris Rienzo [Fri, 17 Feb 2023 20:24:03 +0000 (15:24 -0500)]
Create SECURITY.md
Andrey Volk [Thu, 16 Feb 2023 18:12:11 +0000 (21:12 +0300)]
Merge pull request #1966 from s3rj1k/dockerfile
[mod_shout] Enable module in Dockerfile example.
s3rj1k [Thu, 16 Feb 2023 16:11:28 +0000 (18:11 +0200)]
[mod_shout] Enable module in Dockerfile example.
Signed-off-by: s3rj1k <evasive.gyron@gmail.com>
demonspork [Fri, 10 Feb 2023 18:16:57 +0000 (12:16 -0600)]
[mod_sofia] Ignore user agent for display update when channel variable update_ignore_ua is true
Andrey Volk [Fri, 3 Feb 2023 22:21:44 +0000 (01:21 +0300)]
version bump
Andrey Volk [Fri, 3 Feb 2023 18:46:31 +0000 (18:46 +0000)]
swigall
Andrey Volk [Tue, 31 Jan 2023 22:30:11 +0000 (01:30 +0300)]
[Build-system] Update libks version requirement to 1.8.2
Andrey Volk [Wed, 25 Jan 2023 21:04:55 +0000 (00:04 +0300)]
Merge pull request #1938 from signalwire/ks182
[Build-System] Update libks to 1.8.2 and signalwire-client-c to 1.3.2 on Windows
Andrey Volk [Wed, 25 Jan 2023 15:42:48 +0000 (18:42 +0300)]
[Build-System] Update libks to 1.8.2 and signalwire-client-c to 1.3.2 on Windows
Adrian Fretwell [Tue, 24 Jan 2023 15:14:29 +0000 (15:14 +0000)]
[mod_python3] Create an event on python_fetch()
Andrey Volk [Tue, 24 Jan 2023 15:12:18 +0000 (18:12 +0300)]
Merge pull request #1936 from signalwire/xml_curl_event
[mod_xml_curl] Fix leaking event in xml_url_fetch()
Andrey Volk [Tue, 24 Jan 2023 11:14:27 +0000 (14:14 +0300)]
[mod_xml_curl] Fix leaking event in xml_url_fetch()
Len [Mon, 23 Jan 2023 23:04:01 +0000 (18:04 -0500)]
[Configuration] Use : not , in rtp_secure_media
Andrey Volk [Thu, 19 Jan 2023 09:09:35 +0000 (12:09 +0300)]
Merge pull request #1929 from signalwire/sofia11312
Bump sofia-sip library requirement to version 1.13.12
Jordan Yelloz [Fri, 16 Dec 2022 19:35:27 +0000 (12:35 -0700)]
[mod_ladspa] Add activate/deactivate support.
Without these -- especially activate() -- stateful plugins will not be
set up correctly.
For example, the low-pass filter "lpf" in the CMT library may produce
a pop when starting since its state is not zeroed out.
Andrey Volk [Wed, 18 Jan 2023 16:45:35 +0000 (19:45 +0300)]
Bump sofia-sip library requirement to version 1.13.12
Andrey Volk [Wed, 18 Jan 2023 00:30:45 +0000 (03:30 +0300)]
Merge pull request #1927 from signalwire/libcryptowin
[Build-System] Fix MD5 on Windows. Add a unit-test.
Andrey Volk [Tue, 17 Jan 2023 23:55:34 +0000 (02:55 +0300)]
[Build-System] Fix MD5 on Windows. Add a unit-test.
Andrey Volk [Mon, 16 Jan 2023 15:52:26 +0000 (18:52 +0300)]
[mod_verto] Limit websocket payload size to
1000000 .
Andrey Volk [Mon, 16 Jan 2023 21:32:28 +0000 (00:32 +0300)]
Merge pull request #1921 from signalwire/nsig
[Build-System] Fix NSIG redefinition issue.
Andrey Volk [Mon, 16 Jan 2023 21:26:05 +0000 (00:26 +0300)]
Merge pull request #1910 from signalwire/osx
[Unit-tests] mod_sofia: avoid duplicate symbols on macos.
Andrey Volk [Thu, 12 Jan 2023 15:59:07 +0000 (18:59 +0300)]
[Build-System] Fix NSIG redefinition issue.
Minh [Mon, 9 Jan 2023 13:00:49 +0000 (20:00 +0700)]
[mod_sofia] New chanvars for inbound multiple header identity
Andrey Volk [Fri, 30 Dec 2022 22:43:03 +0000 (01:43 +0300)]
[Unit-tests] mod_sofia: avoid duplicate symbols on macos.
Andrey Volk [Fri, 30 Dec 2022 17:29:34 +0000 (20:29 +0300)]
Merge pull request #1907 from signalwire/readmegetstarted
[Docs] Update get-started link in README.md
Andrey Volk [Wed, 28 Dec 2022 11:02:48 +0000 (14:02 +0300)]
[Docs] Update get-started link in README.md
Andrey Volk [Tue, 27 Dec 2022 18:13:05 +0000 (21:13 +0300)]
Merge pull request #1902 from signalwire/switch_console_complete
[Core] Fix false-positive illegal memory access detection in switch_console_complete()
Andrey Volk [Mon, 26 Dec 2022 12:30:28 +0000 (15:30 +0300)]
[Core] Fix false-positive illegal memory access detection in switch_console_complete()
Andrey Volk [Fri, 9 Dec 2022 14:42:30 +0000 (17:42 +0300)]
[Core] switch_mprintf: Increase the size of loop variables in the printf() implementation. Add unit-tests disabled by default.
Andrey Volk [Thu, 8 Dec 2022 22:43:10 +0000 (01:43 +0300)]
[Build-System] Update SQLite to 3.40.0 on Windows
Andrey Volk [Thu, 8 Dec 2022 09:45:02 +0000 (12:45 +0300)]
Merge pull request #1889 from signalwire/wincaching
[Build-System] Improve build time on Windows: Do not download a pre-compiled binary if it's found in a folder pointed by the FreeSWITCHBuildCachePath environment variable.
Andrey Volk [Thu, 8 Dec 2022 09:17:03 +0000 (12:17 +0300)]
Merge pull request #1890 from signalwire/yasm64
[Build-System] Fix build on Windows 11: yasm tool compiled for x86 does not work on x64 system. Download yasm.exe 64bit instead.
Andrey Volk [Thu, 8 Dec 2022 00:02:42 +0000 (03:02 +0300)]
[Build-System] Fix build on Windows 11: yasm tool compiled for x86 does not work on x64 system. Download yasm.exe 64bit instead.
Andrey Volk [Wed, 7 Dec 2022 20:31:51 +0000 (23:31 +0300)]
[Build-System] Improve build time on Windows: Do not download a pre-compiled binary if it's found in a folder pointed by the FreeSWITCHBuildCachePath environment variable.
morwin1 [Tue, 6 Dec 2022 17:07:19 +0000 (04:07 +1100)]
[mod_python3] Fix compiler warnings
Andrey Volk [Mon, 5 Dec 2022 22:33:14 +0000 (01:33 +0300)]
Merge pull request #1881 from signalwire/originatefence
[Core] Fix crash in enterprise originate: memory fence the handles.
David Villasmil [Thu, 1 Dec 2022 18:51:17 +0000 (19:51 +0100)]
[mod_sofia] Parse extra headers on reINVITE
Andrey Volk [Wed, 30 Nov 2022 20:18:55 +0000 (23:18 +0300)]
[Core] Fix crash in enterprise originate: memory fence the handles.
Anthony Minessale [Wed, 16 Nov 2022 21:31:36 +0000 (15:31 -0600)]
[Core] Blind pass at using a rwlock for chat_hash
Joseph Nadiv [Sun, 31 Oct 2021 01:14:00 +0000 (21:14 -0400)]
[mod_sofia] Randomize OPTIONS Ping interval
In FS-6400, the attempt was made to randomize OPTIONS
packets to be sent at a random interval. The same random
interval is applied to all endpoints so this doesn't work.
Furthermore, rounding within the code, as well as
reseeding with srand() on each run will ultimately
make the ping times converge over time. Once the
times converge, they will not separate since the reseeding
will cause the same random number to apply to each
registration.
This commmit will apply the random interval only during
initial registration and update of registration.
All subsequent pings will be incremented with the
actual value of ping-mean-interval. (This parameter
name is no longer accurate, and would be better named
ping-max-interval).
srand() has been moved to the start of the worker
thread, and all repeat calls have been removed,
so that each call of rand(), even during the
same second, generates a different random number.
Fixes #1132, Fixes #1133
Andrey Volk [Mon, 7 Nov 2022 23:36:35 +0000 (02:36 +0300)]
Merge pull request #1851 from signalwire/nodupremove
[Core] Remove deprecated SWITCH_STACK_NODUP flag. Change switch_event_add_header_string() behavior to always dup.
Andrey Volk [Mon, 31 Oct 2022 14:49:17 +0000 (17:49 +0300)]
[Core] Remove deprecated SWITCH_STACK_NODUP flag. Change switch_event_add_header_string() behavior to always dup.
Andrey Volk [Mon, 7 Nov 2022 22:43:14 +0000 (01:43 +0300)]
Merge pull request #1856 from signalwire/nodupremovewithflag
[Core] SWITCH_STACK_NODUP flag is deprecated and will be soon removed. Introduce switch_event_add_header_string_nodup() API.
Andrey Volk [Mon, 31 Oct 2022 14:49:17 +0000 (17:49 +0300)]
[Core] SWITCH_STACK_NODUP flag is deprecated and will be soon removed. Introduce switch_event_add_header_string_nodup() API.
Andrey Volk [Mon, 7 Nov 2022 22:14:48 +0000 (01:14 +0300)]
Merge pull request #1857 from signalwire/smpp
[mod_smpp] Fix use of switch_event_add_header_string with SWITCH_STACK_NODUP.
Andrey Volk [Mon, 7 Nov 2022 21:43:17 +0000 (00:43 +0300)]
[mod_smpp] Fix use of switch_event_add_header_string with SWITCH_STACK_NODUP.
Royce Mitchell [Tue, 1 Nov 2022 16:19:15 +0000 (11:19 -0500)]
[mod_logfile] Continue renaming if a logfile doesn't exist
this prevents a scenario where freeswitch.log fails to get rotated and eventually fills up the hard drive causing a crash. See issue #1738
Andrey Volk [Fri, 28 Oct 2022 19:50:14 +0000 (22:50 +0300)]
Merge pull request #1848 from dragos-oancea/nuke-zrtp-
[core][mod_sofia] remove ZRTP (deemed obsolete).