Commit Graph

22068 Commits

Author SHA1 Message Date
Andrey Volk
814a708953 swigall 2025-07-15 18:26:28 +03:00
Andrey Volk
65bc7c14bf [Core] Upgrade FreeSWITCH to use PCRE2 library. Be aware of breaking changes. 2025-07-15 18:26:17 +03:00
Andrey Volk
2e825dd3ec [mod_http_cache] Fix error: curl_easy_setopt expects a long argument [-Werror=attribute-warning] 2025-07-15 13:31:28 +03:00
Andrey Volk
d0993872c7 [mod_pocketsphinx] Use system libraries when possible 2025-07-15 12:14:31 +03:00
Andrey Volk
61599d5afd [mod_verto] Fix time_t formatting 2025-07-14 23:09:03 +03:00
Andrey Volk
239c28db8f [mod_amqp] Add support for newer librabbitmq 2025-07-14 16:14:55 +03:00
Andrey Volk
2c5171191a [mod_perl] Fix implicit declaration of function 2025-07-14 13:41:48 +03:00
Andrey Volk
6dddd13101 [mod_imagick] Fix build on newer compiler by adding noreturn attribute. 2025-07-14 02:41:26 +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
Andrey Volk
68e587d7cf [Unit-tests] Fix test framework error on newer compiler: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] 2025-07-10 19:15:31 +03:00
Andrey Volk
907612ee1c [mod_xml_rpc] Fix incompatible pointer type 2025-07-09 22:43:21 +03:00
Andrey Volk
ccc10280ec swigall 2025-07-09 12:03:12 +00:00
Andrey Volk
b8a16cbc7f [Build-system] Use swig 4.1 2025-07-09 15:00:39 +03:00
Patty Watson
92ca4293db [mod_amr, mod_amrwb] Increase AMR-NB and AMR-WB max decode buffer size by one byte
Co-authored-by: Patty Watson <patty.watson@ryzyliant.com>
2025-06-12 00:13:52 +03:00
Andrey Volk
26a0d6e738 [GHA] Update deprecated windows-2019 image to windows-2022 2025-06-07 17:05:15 +03:00
brianomchugh
6a25584da2 [mod_curl] fixes 'Unparsable header' error message on HTTP/2 200 reply 2025-05-21 12:35:22 +03:00
Andrey Volk
3a53566eab [mod_python] Remove from tree 2025-03-31 18:49:17 +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
Patrice Fournier
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
Seven Du
ad2f7424fa [mod_shout] fix build with new clang on macOS
fix error: ignoring return value of function declared with warn_unused_result attribute [-Werror,-Wunused-result]
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
2025-01-21 08:51:24 +08:00
junction1153b
3b58ebc5f3 [mod_sofia] Update Polycom UA to recognize new Poly phones
We observed that the new Poly phones (formerly known as Polycom) were not getting sent a SIP UPDATE in certain circumstances (example: retrieving a parked call, and therefore, Caller ID would not show the parked caller). I renamed Polycom to Poly which will catch all Poly AND Polycom UA's. I also added Acrobits, and Ringotel to extend such functionality to those UA's. There were also other minor compatibility issues with the new Poly phones which have been resolved with tweaking the UA recognition on the code.

Co-authored-by: Joseph <junction1153@gmail.com>
2025-01-21 00:57:25 +03:00
Aron Podrigal
5cb74797fe [mod_pgsql] err is now set correctly (dbh:last_error())
New function, `void pgsql_handle_set_error_if_not_set(switch_pgsql_handle_t *handle, char **err)` has been added to mod_pgsql module. This function is now called at several points where an error occurred but *err was not yet set.
2025-01-17 18:51:45 +03:00
Aron Podrigal
96de8fd377 [mod_timerfd] Fixed - continue timer loop after receiving a SIGSTOP
When taking a snapshot of a machine which pauses the process, mod_timerfd exits and FreeSWITCH, causing all channels to wait indefinitely.

Check `errno == EINTR` and continue the timer loop.
2025-01-16 19:13:31 +03:00
Andrey Volk
6bad50d875 [mod_clearmode] Remove from tree 2025-01-16 13:53:57 +03:00
Andrey Volk
b3cdc8a783 [mod_oreka] Remove from tree 2025-01-16 02:57:37 +03:00
Andrey Volk
74c6433955 [mod_yaml] Remove from tree 2025-01-16 02:05:17 +03:00
Andrey Volk
e600ab66a7 [mod_theora] Remove from tree 2025-01-16 01:27:53 +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
Andrey Volk
7d2befa5fa [mod_lua] reswig 2025-01-15 16:30:59 +03:00
Andrey Volk
d6a7bb9ee5 [mod_lua] Fix hack.diff 2025-01-15 16:30:59 +03:00
Aron Podrigal
4e2e8151b0 [mod_lua] Add Dbh:query_rows
The added method, query_rows, allows the retrieval of rows from a database without the need for a callback function, it fetches the rows and returns 3 arguments as show below.

```
lua
local success, rows, err = dbh:query_rows(sql)
```

This function performs better with large number of rows. Test results below 50k rows returned.

dbh:query(sql, callback) - 0.335949 seconds
dbh:query_rows(sql) - 0.253178 seconds
2025-01-15 16:30:59 +03: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
54fb449963 [mod_event_zmq] Remove from tree 2025-01-15 01:49:24 +03:00
Aron Podrigal
7ed261b27b [mod_pgsql] Add support for PGRES_TUPLES_CHUNK in PostgreSQL 17+
Extend the database module to handle the PGRES_TUPLES_CHUNK case introduced in PostgreSQL 17. This ensures compatibility with the latest PostgreSQL version and prevents potential issues when processing query results.
2025-01-15 01:03:49 +03:00
Andrey Volk
d4fd3cc054 [mod_h26x] Remove from tree 2025-01-13 23:24:50 +03:00
Andrey Volk
2b52002e75 [mod_khomp] Remove from tree 2025-01-13 20:48:48 +03:00
Andrey Volk
443a1ca790 [mod_rad_auth] Remove from tree 2025-01-13 17:06:38 +03:00
Andrey Volk
285df0b026 [mod_xml_radius] Remove from tree 2025-01-13 13:14:44 +03:00
Andrey Volk
94df749a61 [mod_radius_cdr] Remove from tree 2025-01-13 00:46:00 +03:00
Andrey Volk
e9023d124c [mod_raven] Remove from tree 2025-01-11 14:42:26 +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
b033d27a38 [mod_unicall] Remove from tree 2025-01-09 19:34:21 +03:00
Andrey Volk
866c235aa3 [mod_stress] Remove from tree. 2025-01-09 00:21:21 +03:00