35971 Commits

Author SHA1 Message Date
Andrey Volk
c0ad3542df [libesl] Coverity 1512636 Unused value 2025-01-31 21:26:32 +03:00
Andrey Volk
29d6c43a3f [libesl] Coverity 1589045 Check of thread-shared field evades lock acquisition 2025-01-31 21:26:32 +03:00
Andrey Volk
304d5352af [libesl] Coverity 1546296 Check of thread-shared field evades lock acquisition 2025-01-31 21:26:32 +03:00
Andrey Volk
e75944ac51 [libesl] Coverity 1294491 Identical code for different branches 2025-01-31 21:26:32 +03:00
Andrey Volk
e184897c51 [libesl] Coverity 1024721 Unchecked return value from library 2025-01-31 21:26:32 +03:00
Andrey Volk
15d4b633e3 [libesl] Coverity 1024719,1024720 Unchecked return value from library 2025-01-31 21:26:32 +03:00
Andrey Volk
b00bfb1de4 [libesl] Coverity 1024459 Missing unlock 2025-01-31 21:26:32 +03:00
Andrey Volk
6806da4f18 [libesl] Coverity 1024285 Dereference before null check 2025-01-31 21:26:32 +03:00
Andrey Volk
0bbc7f5cf3 [libesl] Coverity 1395572 Logically dead code 2025-01-31 21:26:31 +03:00
Andrey Volk
6f0a76ef7e [fs_cli] Coverity 1468564 Buffer not null terminated 2025-01-31 21:26:31 +03:00
Andrey Volk
bc2801e340 [xmlrpc-c] Coverity 1024180, 1024205, 1024301, 1024847, 1024848, 1024377, 1024378, 1024379, 1024380, 1024381, 1024584, 1024495, 1214208 fixes. 2025-01-31 21:26:31 +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
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
Andrey Volk
ad5fe8bcff
Merge pull request #2727 from ar45/mod_curl_allow_more_argv
[mod_curl] Increase argument limit and enforce max args constraint
2025-01-15 03:17:25 +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
e9be0fab8a
Merge pull request #2728 from signalwire/zmq
[mod_event_zmq] Remove from tree
2025-01-15 02:18:29 +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
Seven Du
b8a9c8be9b
[Build-System] Fix build for m1 and m2 chips on macOS 2025-01-14 14:06:11 +03:00
Andrey Volk
ca9430eaeb
Merge pull request #2725 from signalwire/h26x
[mod_h26x] Remove from tree
2025-01-14 00:02:58 +03:00
Andrey Volk
d4fd3cc054 [mod_h26x] Remove from tree 2025-01-13 23:24:50 +03:00