35948 Commits

Author SHA1 Message Date
windy-wang
fb40e11599
Merge d0cb158ab9bb8aa5165c5770e543688ee701b585 into 3b58ebc5f309708bde0ad26eef73e606144792f6 2025-01-21 00:15:14 +00: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
Andrey Volk
0bcc789a47
Merge pull request #2724 from signalwire/khomp
[mod_khomp] Remove from tree
2025-01-13 22:04:08 +03:00
Andrey Volk
2b52002e75 [mod_khomp] Remove from tree 2025-01-13 20:48:48 +03:00
Andrey Volk
17e36a9beb
Merge pull request #2723 from signalwire/rad
[mod_rad_auth] Remove from tree
2025-01-13 17:43:43 +03:00
Andrey Volk
443a1ca790 [mod_rad_auth] Remove from tree 2025-01-13 17:06:38 +03:00
Andrey Volk
c9a7269366
Merge pull request #2718 from signalwire/xml_radius
[mod_xml_radius] Remove from tree
2025-01-13 16:56:16 +03:00
Andrey Volk
285df0b026 [mod_xml_radius] Remove from tree 2025-01-13 13:14:44 +03:00
Andrey Volk
e343b47c49
Merge pull request #2717 from signalwire/radius
[mod_radius_cdr] Remove from tree
2025-01-13 02:24:29 +03:00
Andrey Volk
94df749a61 [mod_radius_cdr] Remove from tree 2025-01-13 00:46:00 +03:00
Andrey Volk
7d4609aabf
Merge pull request #2716 from signalwire/raven
[mod_raven] Remove from tree
2025-01-12 21:12:56 +03:00
Andrey Volk
e9023d124c [mod_raven] Remove from tree 2025-01-11 14:42:26 +03:00
Andrey Volk
559a97ecf5
Merge pull request #2715 from signalwire/rss
[mod_rss] Remove from tree
2025-01-11 04:33:17 +03:00
Andrey Volk
4d7a7f9af6 [mod_rss] Remove from tree 2025-01-11 02:36:12 +03:00
Andrey Volk
b752476797
Merge pull request #2712 from signalwire/snom
[mod_snom] Remove from tree.
2025-01-10 22:48:04 +03:00
Andrey Volk
4c447a98ed [mod_snom] Remove from tree. 2025-01-10 21:31:29 +03:00
Andrey Volk
33f7be8986
Merge pull request #2711 from signalwire/sonar
[mod_sonar] Remove from tree
2025-01-10 17:55:35 +03:00
Andrey Volk
f2481690d5 [mod_sonar] Remove from tree 2025-01-10 16:04:04 +03:00
Andrey Volk
6a5ac7e0a9
Merge pull request #2707 from signalwire/soundtouch
[mod_soundtouch] Remove from tree
2025-01-10 03:34:31 +03:00
Andrey Volk
d912e9fb01 [mod_soundtouch] Remove from tree 2025-01-10 02:41:04 +03:00
Andrey Volk
1d8ff1421e
Merge pull request #2705 from signalwire/unicall
[mod_unicall] Remove from tree
2025-01-09 19:59:10 +03:00
Andrey Volk
b033d27a38 [mod_unicall] Remove from tree 2025-01-09 19:34:21 +03:00
Andrey Volk
cdd676356e
Merge pull request #2692 from signalwire/stress
[mod_stress] Remove from tree.
2025-01-09 00:53:42 +03:00
Andrey Volk
866c235aa3 [mod_stress] Remove from tree. 2025-01-09 00:21:21 +03:00
Andrey Volk
0acb3f2ccb
Merge pull request #2704 from signalwire/abstraction
[mod_abstraction] Remove from tree
2025-01-09 00:20:40 +03:00
Andrey Volk
c1f4586e2d [mod_abstraction] Remove from tree 2025-01-08 23:47:31 +03:00