35980 Commits

Author SHA1 Message Date
Andrey Volk
f11e95e3fb
Merge pull request #2768 from signalwire/libexpat
[xmlrpc-c] Expat/xmltok: Add missing validation of encoding
2025-02-25 23:48:04 +03:00
Andrey Volk
09026b496f [xmlrpc-c] Expat/xmltok: Add missing validation of encoding 2025-02-25 15:05:28 +03:00
Andrey Volk
cde827dbf2
Merge pull request #2764 from signalwire/coverity_conf
[mod_conference] Coverity 1320840 Logically dead code. Execution cannot reach this statement: d = ";"
2025-02-20 03:33:01 +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
Andrey Volk
6a9f151d8d
Merge pull request #2754 from signalwire/xml
[xmlrpc-c] Coverity 1024180, 1024205, 1024301, 1024847, 1024848, 1024377, 1024378, 1024379, 1024380, 1024381, 1024584, 1024495, 1214208 fixes.
2025-02-04 13:33:12 +03:00
Andrey Volk
eba48efef5 [xmlrpc-c] Coverity 1024180, 1024205, 1024301, 1024847, 1024848, 1024377, 1024378, 1024379, 1024380, 1024381, 1024584, 1024495, 1214208 fixes. 2025-02-04 03:46:55 +03:00
Andrey Volk
da7300bee0
Merge pull request #2756 from signalwire/eslcoverity
[fs_cli, libesl] Coverity fixes.
2025-02-04 03:46:11 +03:00
Andrey Volk
c3dff0ff95 [libesl] Coverity 1512636 Unused value 2025-02-04 02:18:47 +03:00
Andrey Volk
17cd751827 [libesl] Coverity 1589045 Check of thread-shared field evades lock acquisition 2025-02-04 02:18:47 +03:00
Andrey Volk
98a3749c10 [libesl] Coverity 1546296 Check of thread-shared field evades lock acquisition 2025-02-04 02:18:47 +03:00
Andrey Volk
8cfde8ad3c [libesl] Coverity 1294491 Identical code for different branches 2025-02-04 02:18:47 +03:00
Andrey Volk
f5509a59e8 [libesl] Coverity 1024721 Unchecked return value from library 2025-02-04 02:18:47 +03:00
Andrey Volk
e48b83fbbf [libesl] Coverity 1024719,1024720 Unchecked return value from library 2025-02-04 02:18:47 +03:00
Andrey Volk
62ef2d4822 [libesl] Coverity 1024459 Missing unlock 2025-02-04 02:18:47 +03:00
Andrey Volk
47d87e37b6 [libesl] Coverity 1024285 Dereference before null check 2025-02-04 02:18:47 +03:00
Andrey Volk
5854585d2d [libesl] Coverity 1395572 Logically dead code 2025-02-04 02:18:47 +03:00
Andrey Volk
86c0996fa8 [fs_cli] Coverity 1468564 Buffer not null terminated 2025-02-04 02:18:47 +03:00
Andrey Volk
8831d8bf4e
Merge pull request #2759 from signalwire/wincore
[Build-System] Remove Microsoft.Build.Utilities.Core reference from the downloadpackage task to fix building on the latest versions of Visual Studio on Windows.
2025-02-02 16:05:48 +03:00
Andrey Volk
94ef54bf41 [Build-System] Remove Microsoft.Build.Utilities.Core reference from the downloadpackage task to fix building on the latest versions of Visual Studio on Windows. 2025-02-02 14:47:15 +03:00
Andrey Volk
5e82e4f305
Merge pull request #2755 from signalwire/eslleak
[esl] 1227669 Resource leak
2025-01-31 18:36:53 +03:00
Andrey Volk
d895fdff60 [esl] 1227669 Resource leak 2025-01-31 18:09:18 +03:00
Andrey Volk
ca0f58f565
Merge pull request #2753 from signalwire/xmlrpc
[xmlrpc-c] Coverity 1024199, 1024200, 1024201, 1024202, 1024203, 1024204, 1024196, 1024197, 1024198 fixes. Uninitialized pointer read.
2025-01-30 17:40:08 +03:00
Andrey Volk
ebc430928b [xmlrpc-c] Coverity 1024199, 1024200, 1024201, 1024202, 1024203, 1024204, 1024196, 1024197, 1024198 fixes. Uninitialized pointer read. 2025-01-30 16:47:34 +03:00
Andrey Volk
73eb85674f
Merge pull request #2752 from signalwire/xml
[xmlrpc-c] Coverity 1500253, 1024634, 1024635, 1227693 fixes.
2025-01-30 16:46:58 +03:00
Andrey Volk
09debb3f26 [xmlrpc-c] Coverity 1500253, 1024634, 1024635, 1227693 fixes. 2025-01-29 23:29:10 +03:00
Andrey Volk
75566bc270
Merge pull request #2749 from signalwire/scripts
[Scripts] Introduce FSDEB - a simple way to build FreeSWITCH packages for Debian.
2025-01-27 14:05:48 +03:00
s3rj1k
dd52b54dd6 [Scripts] Introduce FSDEB - a simple way to build FreeSWITCH packages for Debian. 2025-01-27 13:29:07 +03:00
Andrey Volk
3f1e4bf90a
Merge pull request #2748 from signalwire/scripts
[UTILS] Refactor `fsget.sh` script.
2025-01-25 16:17:25 +03:00
s3rj1k
433bb901d9
[UTILS] Refactor fsget.sh script. 2025-01-25 13:21:29 +01:00
Andrey Volk
22954336ed
Merge pull request #2739 from signalwire/arm-runner
[GHA] Use `ubuntu-24.04-arm` runner
2025-01-24 17:24:00 +03:00
s3rj1k
edc534f1b7 [GHA] Use ubuntu-24.04-arm runner 2025-01-24 16:40:51 +03:00
Andrey Volk
102e4c07ea
Merge pull request #2395 from seven1240/fix-mac-build
[mod_shout] fix build with new clang on macOS
2025-01-23 18:57:44 +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
55d8f3ff97
Merge pull request #2738 from signalwire/clearmode
[mod_clearmode] Remove from tree
2025-01-16 18:25:04 +03:00
Andrey Volk
6bad50d875 [mod_clearmode] Remove from tree 2025-01-16 13:53:57 +03:00
Andrey Volk
2970101bd8
Merge pull request #2737 from signalwire/oreka
[mod_oreka] Remove from tree
2025-01-16 13:43:50 +03:00
Andrey Volk
b3cdc8a783 [mod_oreka] Remove from tree 2025-01-16 02:57:37 +03:00
Andrey Volk
f1524d397c
Merge pull request #2736 from signalwire/yaml
[mod_yaml] Remove from tree
2025-01-16 02:44:50 +03:00
Andrey Volk
74c6433955 [mod_yaml] Remove from tree 2025-01-16 02:05:17 +03:00
Andrey Volk
4f17bc760c
Merge pull request #2735 from signalwire/theora
[mod_theora] Remove from tree
2025-01-16 02:01:49 +03:00
Andrey Volk
e600ab66a7 [mod_theora] Remove from tree 2025-01-16 01:27:53 +03:00
Andrey Volk
ca5b32701c
Merge pull request #2729 from ar45/mod_curl_fix_argv
[mod_curl] Fix off-by-one error in argument limit checks.
2025-01-15 23:43:23 +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
53abb53f2b
Merge pull request #2375 from ar45/mod_lua_query_rows
[mod_lua] Add Dbh:query_rows
2025-01-15 18:51:49 +03: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