]>
git.ipfire.org Git - thirdparty/freeswitch.git/log
Andrey Volk [Mon, 29 Jul 2024 18:50:13 +0000 (21:50 +0300)]
[Core] Introduce SWITCH_RAND_MAX to switch_rand()
Andrey Volk [Thu, 25 Jul 2024 20:03:19 +0000 (23:03 +0300)]
Merge pull request #2539 from signalwire/bookworm
[core] check_rtcp_and_ice() - stringop-overflow: Fix build on Debian Bookworm.
Andrey Volk [Thu, 25 Jul 2024 18:46:40 +0000 (21:46 +0300)]
[core] check_rtcp_and_ice() - stringop-overflow: Fix build on Debian Bookworm.
Andrey Volk [Tue, 23 Jul 2024 10:27:48 +0000 (13:27 +0300)]
Merge pull request #2534 from signalwire/gha
[GHA] Disable repo name check.
Andrey Volk [Mon, 22 Jul 2024 16:39:53 +0000 (19:39 +0300)]
Merge pull request #2535 from signalwire/reproducable-src
[UTIL] Generate reproducible source archive.
s3rj1k [Mon, 22 Jul 2024 14:57:32 +0000 (16:57 +0200)]
[UTIL] Generate reproducible source archive.
s3rj1k [Mon, 22 Jul 2024 14:39:05 +0000 (16:39 +0200)]
[GHA] Disable repo name check.
Andrey Volk [Thu, 27 Jun 2024 11:30:34 +0000 (14:30 +0300)]
Merge pull request #2512 from signalwire/gha
[GHA] Remove `build-from-fork.yml`.
s3rj1k [Thu, 27 Jun 2024 11:25:53 +0000 (13:25 +0200)]
[GHA] Remove `build-from-fork.yml`.
Andrey Volk [Tue, 25 Jun 2024 20:20:10 +0000 (23:20 +0300)]
Merge pull request #2508 from signalwire/gha
[GHA] Pin workflow to repository.
s3rj1k [Tue, 25 Jun 2024 20:15:53 +0000 (22:15 +0200)]
[GHA] Pin workflow to repository.
Andrey Volk [Tue, 25 Jun 2024 19:52:55 +0000 (22:52 +0300)]
Merge pull request #2506 from signalwire/gha
[GHA] Pin workflow to repository.
s3rj1k [Tue, 25 Jun 2024 19:38:29 +0000 (21:38 +0200)]
[GHA] Pin workflow to repository.
Andrey Volk [Tue, 25 Jun 2024 19:06:55 +0000 (22:06 +0300)]
Merge pull request #2505 from signalwire/gha
[GHA] Rework `pull_request_target` workflow.
s3rj1k [Tue, 25 Jun 2024 18:35:43 +0000 (20:35 +0200)]
[GHA] Rework `pull_request_target` workflow.
Andrey Volk [Tue, 25 Jun 2024 16:10:43 +0000 (19:10 +0300)]
Merge pull request #2504 from signalwire/gha
[GHA] Increase verbosity for `mount=type=secret`.
s3rj1k [Tue, 25 Jun 2024 15:00:45 +0000 (17:00 +0200)]
[GHA] Increase verbosity for `mount=type=secret`.
Andrey Volk [Tue, 25 Jun 2024 14:40:32 +0000 (17:40 +0300)]
Merge pull request #2498 from signalwire/gha
[GHA] Fail early when required secret not set.
s3rj1k [Sat, 22 Jun 2024 16:49:55 +0000 (18:49 +0200)]
[GHA] Fail early when required secret not set.
Andrey Volk [Sat, 22 Jun 2024 16:29:00 +0000 (19:29 +0300)]
Merge pull request #2497 from signalwire/gha
[GHA] Rework how secrets are used inside Dockerfiles.
s3rj1k [Sat, 22 Jun 2024 14:26:28 +0000 (16:26 +0200)]
[GHA] Rework how secrets are used inside Dockerfiles.
Andrey Volk [Wed, 12 Jun 2024 17:48:46 +0000 (20:48 +0300)]
Merge pull request #2487 from signalwire/thumbprint
[Build-System] Update expired Certificate Thumbprint on Windows.
Andrey Volk [Thu, 7 Mar 2024 18:45:13 +0000 (21:45 +0300)]
[Build-System] Update expired Certificate Thumbprint on Windows.
Andrey Volk [Wed, 12 Jun 2024 10:26:47 +0000 (13:26 +0300)]
Merge pull request #2479 from signalwire/gha
[GHA] Add build workflow.
s3rj1k [Thu, 6 Jun 2024 21:59:10 +0000 (23:59 +0200)]
[GHA] Add build workflow.
Andrey Volk [Tue, 11 Jun 2024 19:56:28 +0000 (22:56 +0300)]
Merge pull request #2485 from signalwire/arm64
[Build-System] Add ARM64 support, extend Debian helper scripts.
Andrey Volk [Sat, 11 May 2024 09:37:32 +0000 (12:37 +0300)]
[Build-System] Add ARM64 support, extend Debian helper scripts.
Co-authored-by: s3rj1k <evasive.gyron@gmail.com>
Andrey Volk [Tue, 11 Jun 2024 14:24:00 +0000 (17:24 +0300)]
Merge pull request #2484 from signalwire/swigall
swigall
Andrey Volk [Mon, 10 Jun 2024 15:48:30 +0000 (15:48 +0000)]
swigall
Andrey Volk [Fri, 7 Jun 2024 20:14:01 +0000 (23:14 +0300)]
Merge pull request #2482 from signalwire/rand
[Core] Better handle error cases in switch_rand().
Andrey Volk [Fri, 7 Jun 2024 13:07:15 +0000 (16:07 +0300)]
[Core] Better handle error cases in switch_rand().
Andrey Volk [Fri, 7 Jun 2024 20:05:47 +0000 (23:05 +0300)]
Merge pull request #2481 from signalwire/fsv
[mod_fsv] Fix use of 2gb of memory. Fix compiler warnings preventing builds on Bookworm.
Andrey Volk [Fri, 17 May 2024 13:44:51 +0000 (16:44 +0300)]
[mod_fsv] Fix use of 2gb of memory. Fix compiler warnings preventing builds on Bookworm.
Andrey Volk [Fri, 7 Jun 2024 17:52:09 +0000 (20:52 +0300)]
Merge pull request #2480 from signalwire/avfmt
[mod_av] Fix use of switch_size_t in fs_rtp_parse_h263_rfc2190().
Andrey Volk [Thu, 16 May 2024 20:48:28 +0000 (23:48 +0300)]
[mod_av] Fix use of switch_size_t in fs_rtp_parse_h263_rfc2190().
Andrey Volk [Thu, 6 Jun 2024 20:31:20 +0000 (23:31 +0300)]
Merge pull request #2478 from signalwire/switch_rand
[Core] Add new switch_rand() a compliant random number generator API. Add a unit-test.
Andrey Volk [Thu, 6 Jun 2024 18:05:33 +0000 (21:05 +0300)]
[Core] Add new switch_rand() a compliant random number generator API. Add a unit-test.
* [Core] Add new switch_rand() a compliant random number generator API. Add a unit-test.
* Fall back to rand() on unsupported platforms compile time.
Andrey Volk [Thu, 6 Jun 2024 11:26:00 +0000 (14:26 +0300)]
Merge pull request #2477 from signalwire/msicrash
[Build-System] Fix crashing MSI packaging on Windows when Visual Studio 2022 is used.
Andrey Volk [Thu, 7 Mar 2024 18:41:54 +0000 (21:41 +0300)]
[Build-System] Fix crashing MSI packaging on Windows when Visual Studio 2022 is used.
Andrey Volk [Sun, 19 May 2024 19:42:32 +0000 (22:42 +0300)]
Merge pull request #2467 from signalwire/sb14
[CI] Enable scan build 14 on Drone CI
Andrey Volk [Mon, 14 Aug 2023 15:14:28 +0000 (18:14 +0300)]
[CI] Enable scan build 14 on Drone CI
Andrey Volk [Sun, 19 May 2024 18:46:32 +0000 (21:46 +0300)]
Merge pull request #2466 from signalwire/portallocator
[core] Fix scan-build 14 in port allocator
Jakub Karolczyk [Mon, 13 May 2024 11:25:47 +0000 (12:25 +0100)]
[core] Fix scan-build 14 in port allocator
Andrey Volk [Sun, 19 May 2024 18:40:09 +0000 (21:40 +0300)]
Merge pull request #2465 from signalwire/vad
[Core] VAD: Add a math sanity check to the switch_vad_process
Andrey Volk [Tue, 31 May 2022 21:09:48 +0000 (00:09 +0300)]
[Core] VAD: Add a math sanity check to the switch_vad_process
Andrey Volk [Sun, 19 May 2024 16:15:02 +0000 (19:15 +0300)]
Merge pull request #2464 from signalwire/fix_scan_build_14_libvpx
[libvpx] Fix scan-build 14
Jakub Karolczyk [Sun, 19 May 2024 15:18:53 +0000 (16:18 +0100)]
[libvpx] Fix scan-build 14
Andrey Volk [Thu, 9 May 2024 19:45:26 +0000 (22:45 +0300)]
Merge pull request #2459 from signalwire/cseq
[Core, mod_sofia] Add switch_uint31_t type. Fix CSeq bigger than 2^31-1.
Andrey Volk [Tue, 30 Apr 2024 18:14:29 +0000 (21:14 +0300)]
[Core, mod_sofia] Add switch_uint31_t type. Fix CSeq bigger than 2^31-1.
Andrey Volk [Tue, 7 May 2024 13:05:31 +0000 (16:05 +0300)]
Merge pull request #2457 from signalwire/deadlock
[support-d] Add deadlock.py to tree.
Andrey Volk [Tue, 7 May 2024 07:24:07 +0000 (10:24 +0300)]
[support-d] Add deadlock.py to tree.
Andrey Volk [Fri, 26 Apr 2024 13:37:10 +0000 (16:37 +0300)]
Merge pull request #2449 from signalwire/fix_scan_build_mod_amrwb
[mod_amrwb] Fix scan-build 14
Andrey Volk [Fri, 26 Apr 2024 13:35:53 +0000 (16:35 +0300)]
Merge pull request #2448 from signalwire/fix_scan_build_mod_avmd
[mod_avmd] Fix scan-build 14
Andrey Volk [Fri, 26 Apr 2024 13:34:58 +0000 (16:34 +0300)]
Merge pull request #2447 from signalwire/fix_scan_build_mod_av
[mod_av] Fix scan-build 14
Jakub Karolczyk [Fri, 26 Apr 2024 13:11:54 +0000 (13:11 +0000)]
[mod_amrwb] Fix scan-build 14
Jakub Karolczyk [Fri, 26 Apr 2024 12:58:44 +0000 (12:58 +0000)]
[mod_avmd] Fix scan-build 14
Jakub Karolczyk [Fri, 26 Apr 2024 12:41:07 +0000 (12:41 +0000)]
[mod_av] Fix scan-build 14
Hadžem Hadžić [Thu, 18 Apr 2024 09:06:40 +0000 (11:06 +0200)]
[mod_vlc] Resolve double mutex lock
Andrey Volk [Wed, 28 Feb 2024 16:31:06 +0000 (19:31 +0300)]
Merge pull request #2388 from signalwire/build_system
[build] Split `create_dsc` and `create-orig` functions in `util.sh`.
Andrey Volk [Fri, 23 Feb 2024 15:36:11 +0000 (18:36 +0300)]
Merge pull request #2381 from signalwire/opus_noop
[mod_opus] Fix status returned by switch_opus_decode(). Should be SWITCH_STATUS_FALSE instead of SWITCH_STATUS_NOOP. Add a unit-test.
Andrey Volk [Thu, 22 Feb 2024 19:06:32 +0000 (22:06 +0300)]
Merge pull request #2392 from signalwire/kazoo
[Core] Remove mod_kazoo from tree
Jakub Karolczyk [Wed, 21 Feb 2024 01:47:45 +0000 (01:47 +0000)]
[mod_sofia] Set missing CF_3PCC flag
Andrey Volk [Wed, 21 Feb 2024 18:27:35 +0000 (21:27 +0300)]
[Core] Remove mod_kazoo from tree
s3rj1k [Thu, 15 Feb 2024 17:51:46 +0000 (18:51 +0100)]
[build] Split `create_dsc` and `create-orig` functions in `util.sh`.
Andrey Volk [Mon, 5 Feb 2024 20:50:01 +0000 (23:50 +0300)]
[mod_opus] Fix status returned by switch_opus_decode(). Should be SWITCH_STATUS_FALSE instead of SWITCH_STATUS_NOOP. Add a unit-test.
Anton Olofsson [Mon, 29 Jan 2024 16:05:45 +0000 (17:05 +0100)]
[mod_event_socket] Check if listener is running before pushing more logs or events to its queue
This fixes a possibility for MAX_MISSED to be exceeded if more logs are
attempted to be pushed to the listener's queue after running kill_listener but
before the listener thread gets CPU time and removes itself.
On a heavily loaded system with a lot of logs in the event dispatch queue
these excessive logs may prove fatal since socket_logger itself will produce
logs about the full queue, resulting in a circular situation of never-ending logs.
The same logic was applied to event_handler after finding the same behaviour
mentioned in signalwire/freeswitch#2143.
Andrey Volk [Sat, 27 Jan 2024 11:27:09 +0000 (14:27 +0300)]
Merge pull request #2281 from dragos-oancea/sdp_dialect
[core] SDP: replace SIP lingo in SDP offer/answer.
Dragos Oancea [Wed, 18 Oct 2023 17:24:14 +0000 (20:24 +0300)]
[core] SDP: replace SIP lingo in SDP offer/answer.
wmasilva [Wed, 24 Jan 2024 19:04:32 +0000 (19:04 +0000)]
[Core] softtimer: fix crash in timezones when reloading xml
* switch_time: fix segfault null TIMEZONES_LIST.hash when reloading xml
* Unbind before destroying TIMEZONES_LIST.hash. Protect TIMEZONES_LIST.hash with a mutex that's allocated in core's global runtime.memory_pool so the mutex does not die on softtimer shutdown.
---------
Co-authored-by: Andrey Volk <andywolk@gmail.com>
Dmitry Kunilov [Wed, 24 Jan 2024 13:50:08 +0000 (16:50 +0300)]
[mod_amr, mod_amrwb] Fix input data corruption
* Fix input data corruption in AMR and AMRWB codecs
* [amr/amrwb] Check encoded frame size before decoding
* [mod_amr, mod_amrwb] Coding guidelines cleanup.
---------
Co-authored-by: Dmitry Kunilov <dmitry.kunilov@upm.solutions>
Co-authored-by: Andrey Volk <andywolk@gmail.com>
mahald [Wed, 10 Jan 2024 16:01:26 +0000 (17:01 +0100)]
[mod_amqp] Adjusting to Appropriate Log Level for Message
* [mod_amqp] Adjusting to Appropriate Log Level for Message
Refined Logging Level for FreeSWITCH's mod_amqp: The logging level for the AMQP module in FreeSWITCH has been updated from 'warning' to 'debug'. This adjustment ensures a more suitable level for the log message and eliminates any potential impact on production environments. Previously, the 'warning' level would lead to unnecessary log entries for each individual message, although there was no actual warning condition. This change improves logging efficiency and appropriateness for mod_amqp's operations within FreeSWITCH.
* [MOD_AMQP] Change LogLevel to DEBUG1 as it is more appropriate for this message
Visytel [Mon, 8 Jan 2024 09:00:28 +0000 (20:00 +1100)]
[Build-System, ldns] config.h change to not define inline under Windows to avoid clash with Windows winsock2.h inline usage. Use updated ldns tarball on Windows.
* [ldns] config.h change to not define inline under Windows to avoid clash with Windows winsock2.h inline usage
* [Build-System] Use updated ldns tarball on Windows.
---------
Co-authored-by: Andrey Volk <andywolk@gmail.com>
tmancill [Fri, 5 Jan 2024 15:42:58 +0000 (07:42 -0800)]
[Docker] Change default freeswitch UID and GID to 499 in docker/master/Dockerfile
On several installs on recent Debian and Ubuntu systems, I have noticed
that GID 999 is already allocated on the system running the container,
making it a minor hassle to share a common freeswitch UID and GID
between the Docker host and the container.
The conflicting group id varies, but is typically either one of the systemd
groups or polkitd, which are dynamically created when those packages are
installed. The behavior stems from the range of system GIDs being
between 100-999 ([see Debian Policy 9.2.2](https://www.debian.org/doc/debian-policy/ch-opersys.html#uid-and-gid-classes))
and the fact that system installation dynamically allocates from this
range. I didn't track down exactly why these daemons are allocating
from the top of the range, since the default behavior of `adduser` and
`addgroup` ([link](https://salsa.debian.org/debian/adduser/-/blob/
6c04aa701a2ca09efbff9094ab07e7dae14554fc /adduser#L1255-1269))
is to search from the bottom of the range, and the manpage for
`groupadd` says that it's default is also to use the smallest id,
but perhaps it was to avoid (other) conflicts.
The approach taken in this PR is to default to 499, more in the middle
of the range, which should reduce the chance of conflicting with an
existing system UID and GID. The values are also now exposed as ARGs
and so can be explicitly set during the build with
`--build-arg="FREESWITCH_UID=xxx"` and `--build-arg="FREESWITCH_GID=yyy"`
if desired.
Andrey Volk [Fri, 22 Dec 2023 19:37:54 +0000 (22:37 +0300)]
version bump
Andrey Volk [Fri, 22 Dec 2023 17:12:41 +0000 (17:12 +0000)]
swigall
Andrey Volk [Fri, 22 Dec 2023 14:57:34 +0000 (17:57 +0300)]
Merge pull request from GHSA-39gv-hq72-j6m6
[Core] Reject DTLS packets coming from a source different than the current ICE negotiated path.
Jakub Karolczyk [Fri, 29 Sep 2023 15:25:53 +0000 (15:25 +0000)]
[Core] Reject DTLS packets coming from a source different than the current ICE negotiated path.
Andrey Volk [Thu, 21 Dec 2023 22:48:43 +0000 (01:48 +0300)]
Merge pull request #2342 from signalwire/sofia11317
Bump sofia-sip library requirement to version 1.13.17
Andrey Volk [Thu, 21 Dec 2023 22:09:19 +0000 (01:09 +0300)]
Bump sofia-sip library requirement to version 1.13.17
Andrey Volk [Tue, 19 Dec 2023 20:23:30 +0000 (23:23 +0300)]
Merge pull request #2339 from signalwire/static
[mod_conference] Remove static from cJSON vars in conference_jlist
Andrey Volk [Tue, 19 Dec 2023 19:42:54 +0000 (22:42 +0300)]
[mod_conference] Remove static from cJSON vars in conference_jlist
Andrey Volk [Thu, 14 Dec 2023 11:01:57 +0000 (14:01 +0300)]
Merge pull request #2333 from signalwire/implicit
[Core] Fix implicit conversion from enumeration type 'switch_odbc_status_t' to different enumeration type 'switch_status_t'.
Andrey Volk [Thu, 14 Dec 2023 10:43:33 +0000 (13:43 +0300)]
[Core] Fix implicit conversion from enumeration type 'switch_odbc_status_t' to different enumeration type 'switch_status_t'.
Jakub Karolczyk [Tue, 12 Dec 2023 10:03:11 +0000 (10:03 +0000)]
[core] Fix missing 192 key lengths
Andrey Volk [Mon, 11 Dec 2023 20:12:27 +0000 (23:12 +0300)]
Merge pull request #2329 from signalwire/reason
[mod_sofia] BYE Reason header was limited in length.
Andrey Volk [Mon, 11 Dec 2023 19:48:00 +0000 (22:48 +0300)]
[mod_sofia] BYE Reason header was limited in length.
Andrey Volk [Tue, 7 Nov 2023 15:50:30 +0000 (18:50 +0300)]
Merge pull request #2273 from asymptotic-io/mod-conference-fix
[mod_conference] Avoid a race in member->read_impl access
Arun Raghavan [Thu, 12 Oct 2023 19:42:23 +0000 (15:42 -0400)]
[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.
Andrey Volk [Fri, 27 Oct 2023 16:29:22 +0000 (19:29 +0300)]
Merge pull request #2253 from signalwire/fix_ice_flopping
[core] Fix flopping routes on ICE negotiation
Jakub Karolczyk [Fri, 29 Sep 2023 08:21:15 +0000 (08:21 +0000)]
[core] Fix flopping routes on ICE negotiation
Andrey Volk [Thu, 5 Oct 2023 22:07:16 +0000 (01:07 +0300)]
Merge pull request #2266 from signalwire/vpx
[libvpx] Fix bug with smaller width bigger size
Andrey Volk [Thu, 5 Oct 2023 21:42:10 +0000 (00:42 +0300)]
[libvpx] Fix bug with smaller width bigger size
Andrey Volk [Thu, 5 Oct 2023 15:05:32 +0000 (18:05 +0300)]
[mod_pgsql] Coverity:
1227660 Logically dead code
Andrey Volk [Thu, 5 Oct 2023 15:03:32 +0000 (18:03 +0300)]
[Core] Coverity:
1024552 Logically dead code
Andrey Volk [Wed, 4 Oct 2023 21:26:26 +0000 (00:26 +0300)]
[Core] Coverity: Dereference before null check
* [Core] Coverity:
1060958 Dereference before null check
* [Core] Coverity:
1024236 Dereference before null check
Andrey Volk [Wed, 4 Oct 2023 15:24:16 +0000 (18:24 +0300)]
[Core] Coverity: Use of 32-bit time_t
* [Core] Coverity:
1500270 Use of 32-bit time_t
* [Core] Coverity:
1500229 Use of 32-bit time_t
* [Core] Coverity:
1500235 Use of 32-bit time_t
* [Core] Coverity:
1500244 Use of 32-bit time_t
* [Core] Coverity:
1500250 Use of 32-bit time_t
* [Core] Coverity:
1500245 Use of 32-bit time_t
* [Core] Coverity:
1500255 Use of 32-bit time_t
* [Core] Coverity:
1500370 Use of 32-bit time_t
* Cleanup
Andrey Volk [Wed, 4 Oct 2023 15:13:53 +0000 (18:13 +0300)]
Merge pull request #2259 from signalwire/vpx
[libvpx] VP8: disallow thread count changes
Andrey Volk [Tue, 3 Oct 2023 21:47:39 +0000 (00:47 +0300)]
[libvpx] VP8: disallow thread count changes
Andrey Volk [Mon, 11 Sep 2023 11:06:48 +0000 (14:06 +0300)]
Merge pull request #2232 from signalwire/coverity_1364946
[core] Coverity
1364946 Unchecked return value
Andrey Volk [Mon, 11 Sep 2023 11:06:05 +0000 (14:06 +0300)]
Merge pull request #2233 from signalwire/coverity_1325269
[core] Coverity
1325269 Dereference before null check