Commit Graph
5638 Commits
Author SHA1 Message Date
Andrey Volk 404822a890 PCRE2 2025-07-12 01:13:24 +03:00
Andrey Volk 066b92c589 [mod_av] Add support for FFmpeg 7.1 2025-07-11 16:46:56 +03:00
Jakub Karolczyk 1fd9ac9dd1 [mod_av] Add support for FFmpeg 7.0 2025-07-11 10:37:09 +01:00
Jakub Karolczyk 58776f3eed [mod_av] Add support for FFmpeg 6.1 2025-07-11 10:08:01 +01:00
Jakub Karolczyk 9dccd0b6e6 [mod_av] Add support for FFmpeg 6.0 2025-07-11 09:38:05 +01:00
brianomchugh 6a25584da2 [mod_curl] fixes 'Unparsable header' error message on HTTP/2 200 reply 2025-05-21 12:35:22 +03:00
Alexander Udovichenko a57c895115 [mod_httpapi] Fix possible segfault when HEAD request fails 2025-03-20 00:01:35 +03:00
Andrey Volk d269193c35 [mod_conference] Coverity 1320840 Logically dead code. Execution cannot reach this statement: d = ";" 2025-02-17 23:52:28 +03:00
76458fafc5 [mod_spandsp] Fix compilation against >=2023/06/02 spandsp
* [mod_spandsp] Fix compilation against >=2023/06/02 spandsp

spandsp, beginning with commit d9681c37 and coinciding with the
SPANDSP_RELEASE_DATE of 20230620, introduced the following changes to
its V.18 protocol API, which FreeSWITCH is not able to compile against:
- Certain V.18 constants were renamed.
- The v18_init function now requires passing a third function, handling
the V.18 modem's status changes.

This patch allows FreeSWITCH to build against current versions of
spandsp by:
- Using the new V.18 constant names.
- Implementing a simple status reporter callback function and passing it
as the third function to v18_init.

Additionally, it retains backward compatibility with prior versions of
spandp through #if conditions checking the value of
SPANDSP_RELEASE_DATE.

Signed-off-by: Patrice Fournier <patrice.fournier@t38fax.com>

* [mod_spandsp] Pass session to handle_v18_status.

---------

Signed-off-by: Patrice Fournier <patrice.fournier@t38fax.com>
Co-authored-by: Morgan Scarafiotti <morgan.scarafiotti@t38fax.com>
Co-authored-by: Andrey Volk <andywolk@gmail.com>
2025-02-04 23:54:26 +03:00
Andrey Volk b3cdc8a783 [mod_oreka] Remove from tree 2025-01-16 02:57:37 +03:00
Aron Podrigal 083e6ae80f [mod_curl] Fix off-by-one error in argument limit checks.
refs: #2727
2025-01-15 14:03:07 -06:00
Aron Podrigal e359409cae [mod_curl] Increase argument limit and enforce max args constraint
Introduced a configurable limit on the number of arguments for mod_curl functions with a default of 30. Adjusted the code to handle scenarios exceeding this limit by logging an error and returning failure. This improves flexibility and prevents potential overflow issues.
2025-01-15 02:41:23 +03:00
Andrey Volk 443a1ca790 [mod_rad_auth] Remove from tree 2025-01-13 17:06:38 +03:00
Andrey Volk 4d7a7f9af6 [mod_rss] Remove from tree 2025-01-11 02:36:12 +03:00
Andrey Volk 4c447a98ed [mod_snom] Remove from tree. 2025-01-10 21:31:29 +03:00
Andrey Volk f2481690d5 [mod_sonar] Remove from tree 2025-01-10 16:04:04 +03:00
Andrey Volk d912e9fb01 [mod_soundtouch] Remove from tree 2025-01-10 02:41:04 +03:00
Andrey Volk 866c235aa3 [mod_stress] Remove from tree. 2025-01-09 00:21:21 +03:00
Andrey Volk c1f4586e2d [mod_abstraction] Remove from tree 2025-01-08 23:47:31 +03:00
Andrey Volk 4235d86aee [mod_mp4, mod_mp4v, mod_mp4v2] Remove from tree 2025-01-07 20:18:07 +03:00
Andrey Volk e5ae035d85 [mod_sms_flowroute] Remove from tree 2025-01-06 23:00:07 +03:00
Andrey Volk 4475a54127 [mod_ladspa] Remove from tree 2025-01-06 16:36:57 +03:00
Andrey Volk 0e412ac0ee [mod_rayo, mod_ssml, iksemel] Remove from tree 2024-12-31 13:43:48 +03:00
Andrey Volk 10d31ee12a [Unit-tests] Move test_tts_format out of mod_ssml. Add mod_test and test_tts_format to the Windows build. 2024-12-31 01:45:47 +03:00
Andrey Volk 4b4dee8fd2 [mod_dptools] Move tts format from mod_ssml. 2024-12-31 01:03:46 +03:00
Andrey Volk 8e694fe10b [Build-System] Upgrade legacy Windows SDK to 10.0 in Visual Studio projects. 2024-12-03 22:59:02 +03:00
Andrey Volk 0c8b5987f0 [mod_fsv] Fix use of 2gb of memory. Fix compiler warnings preventing builds on Bookworm. 2024-06-07 23:03:24 +03:00
Andrey Volk 3b65e27116 [mod_av] Fix use of switch_size_t in fs_rtp_parse_h263_rfc2190(). 2024-06-07 18:19:52 +03:00
Andrey Volk f3ace249f5 Merge pull request #2448 from signalwire/fix_scan_build_mod_avmd
[mod_avmd] Fix scan-build 14
2024-04-26 16:35:53 +03:00
Jakub Karolczyk 597ee613de [mod_avmd] Fix scan-build 14 2024-04-26 12:58:44 +00:00
Jakub Karolczyk ef32d90e91 [mod_av] Fix scan-build 14 2024-04-26 12:41:07 +00:00
Dragos Oancea 8b7a8c4aea [core] SDP: replace SIP lingo in SDP offer/answer. 2024-01-26 21:01:32 +03:00
Andrey Volk 2e7424169e [mod_conference] Remove static from cJSON vars in conference_jlist 2023-12-19 22:42:54 +03:00
Arun Raghavan f05b7507aa [mod_conference] Avoid a race in member->read_impl access
The conference output loop accesses the member's read_impl while
resampling. The output loop also spawns off the input loop thread, which
is where the member->read_impl is actually initialised. This results in
an uncommon race where the output loop sometimes gets an uninitialised
member->read_impl and bails with logs something like this:

2023-10-12 18:19:01.436844 [DEBUG] conference_loop.c:1340 Setup timer soft success interval: 20  samples: 960 from codec L16
2023-10-12 18:19:01.436844 [DEBUG] conference_loop.c:1497 Outbound conference channel answered, setting CFLAG_ANSWERED
2023-10-12 18:19:01.436844 [NOTICE] switch_core_media.c:15852 Activating write resampler
2023-10-12 18:19:01.436844 [DEBUG] switch_core_media.c:16097 Engaging Write Buffer at 1920 bytes to accommodate 0->1920
2023-10-12 18:19:01.436844 [ERR] switch_core_media.c:16112 Write Buffer 0 bytes Failed!

As a solution, we initialise the member->read_impl even before we start
up the input loop, so that this race can never happen.
2023-11-07 09:42:27 -05:00
Andrey Volk 5966077030 [Core, mod_cidlookup, mod_curl, mod_httapi, mod_http_cache, mod_kazoo, mod_shout] Add new switch_curl_mime APIs replacing switch_curl_process_form_post_params() and make code be compatible with libcurl>=7.87.0 2023-07-24 23:40:27 +03:00
Andrey Volk 9f8de014a1 [mod_av] Add FFmpeg 5.1.3 support on Windows. 2023-07-18 19:38:06 +03:00
Jakub Karolczyk 667783831b [mod_av] Migrate to FFmpeg 5.1 2023-07-18 10:32:05 +00:00
Jakub Karolczyk 930341ba86 [core,mod_av,unit-tests] Make transition to core packetizer 2023-07-10 12:58:19 +00:00
Jakub Karolczyk ab211c542a Merge pull request #2140 from signalwire/fix_vars_not_used
[core,miniupnpc,modules] Fix not used variables
2023-07-05 13:18:15 +01:00
Jakub Karolczyk 5656972bfe [core,miniupnpc,modules] Fix not used variables 2023-07-04 10:18:16 +01:00
Jakub Karolczyk a160eced99 [core,libyuv,modules] Fix function declarations without a prototype 2023-07-04 09:56:40 +01:00
David Villasmil b355bf21e6 [mod_conference] Add flag to destroy the conference only when all mandatory members disconnect. And set endconf to end the conference when any member with the flag disconnects (#2079)
* feature/mod_conference_mandatory_member_flag: Add flag to destroy the conference only when all mandatory members disconnect. And set endconf to end the conference when any member with the flag disconnects
2023-06-28 19:39:22 +03:00
Andrey Volk d7a4ab7dce [mod_spandsp] Coverity CID 1024263 (Dereference before null check) 2023-06-09 12:18:19 +03:00
Andrey Volk f377a0ff57 Revert "[Core, mod_curl, mod_httapi, mod_http_cache] Compatible with libcurl>=7.87.0" (#2070)
This reverts commit 0398238489.
2023-05-01 20:38:51 +03:00
Clarence 0398238489 [Core, mod_curl, mod_httapi, mod_http_cache] Compatible with libcurl>=7.87.0
* [core] fix deprecated with libcurl>=7.56.0

* [mod_httpapi] fix deprecated with libcurl>=7.56.0

* [mod_curl] fix deprecated with libcurl>=7.56.0

* [mod_http_cache] fix deprecated with libcurl>=7.12.1
2023-04-27 23:43:32 +03:00
Andrey Volk dbd37bdc51 Merge pull request #2052 from dragos-oancea/mod_dptools-cov3
[mod_dptools] coverity CID 1468646 (Unsigned compared against 0)
2023-04-18 13:25:13 +03:00
Dragos Oancea 5597fe3098 [mod_avmd] coverity CID 1395555 (Dereference before null check) 2023-04-18 12:58:16 +03:00
Dragos Oancea e1d966ed0a [mod_dptools] coverity CID 1468646 (Unsigned compared against 0) 2023-04-18 12:55:42 +03:00
Jakub Karolczyk 6eefc674fe [mod_avmd] Coverity fixes
* [mod_avmd] Coverity CID 1395501 (Dereference null return value)

* [mod_avmd] Coverity CID 1395478 (Resource leak)
2023-04-17 21:49:42 +03:00
Jakub Karolczyk 0b05623cef [mod_translate] Coverity CID 1301006 (Resource leak) 2023-04-16 14:22:09 +01:00