Commit Graph

35725 Commits

Author SHA1 Message Date
Andrey Volk 23e6569fb0 [Core] Fix race condition of session_table hash in switch_core_session_request_uuid() 2023-03-02 12:53:00 +03:00
agree 81046e943a [core] switch_ivr_originate set originate endpoint used
This commit introduces a new channel variable that sets the channel endpoint used by the originate. This is particulary useful when using `execute_on_originate` that will execute multiple times when using fake endpoints as `user/` or `group/`. With this variable, a user can determine which endpoint is being used by the originate, and whether they want to process it.
2023-02-26 21:50:51 -05:00
Andrey Volk 3307083f8b Bump sofia-sip library requirement to version 1.13.14 2023-02-23 00:57:09 +03:00
Andrey Volk c39034b729
Merge pull request #1972 from signalwire/winlibs
[Build-System] Windows: Update OpenSSL to 1.1.1t, libpq to 10.23, curl to 7.88.0, rabbitmq-c to 0.13.0. Allow using build numbers and bump libks version requirement to 1.8.2_1 and signalwire-c to 1.3.2_1 compiled with openssl 1.1.1t
2023-02-22 21:03:42 +03:00
Andrey Volk 83e4ccf802 [Build-System] Windows: Update OpenSSL to 1.1.1t, libpq to 10.23, curl to 7.88.0, rabbitmq-c to 0.13.0. Allow using build numbers and bump libks version requirement to 1.8.2_1 and signalwire-c to 1.3.2_1 compiled with openssl 1.1.1t 2023-02-22 16:14:09 +03:00
Andrey Volk 5007659488
Merge pull request #1967 from signalwire/security-policy
Create SECURITY.md
2023-02-17 23:54:46 +03:00
Chris Rienzo d4291b8113
Create SECURITY.md 2023-02-17 15:24:03 -05:00
Andrey Volk 39958a31c3
Merge pull request #1966 from s3rj1k/dockerfile
[mod_shout] Enable module in Dockerfile example.
2023-02-16 21:12:11 +03:00
s3rj1k 4f76580785 [mod_shout] Enable module in Dockerfile example.
Signed-off-by: s3rj1k <evasive.gyron@gmail.com>
2023-02-16 18:11:28 +02:00
demonspork 1a2033b915
[mod_sofia] Ignore user agent for display update when channel variable update_ignore_ua is true 2023-02-10 21:16:57 +03:00
Andrey Volk 0f15bde800 version bump 2023-02-04 01:21:44 +03:00
Andrey Volk 3cb697c495 swigall 2023-02-03 18:46:31 +00:00
Andrey Volk 06f45d2872 [Build-system] Update libks version requirement to 1.8.2 2023-02-02 19:54:43 +03:00
Andrey Volk e037cd09c6
Merge pull request #1938 from signalwire/ks182
[Build-System] Update libks to 1.8.2 and signalwire-client-c to 1.3.2 on Windows
2023-01-26 00:04:55 +03:00
Andrey Volk b241a82d83 [Build-System] Update libks to 1.8.2 and signalwire-client-c to 1.3.2 on Windows 2023-01-25 18:42:48 +03:00
Adrian Fretwell 3326f4ec57
[mod_python3] Create an event on python_fetch() 2023-01-24 18:14:29 +03:00
Andrey Volk f9a9c48d81
Merge pull request #1936 from signalwire/xml_curl_event
[mod_xml_curl] Fix leaking event in xml_url_fetch()
2023-01-24 18:12:18 +03:00
Andrey Volk 889afccad0 [mod_xml_curl] Fix leaking event in xml_url_fetch() 2023-01-24 14:14:27 +03:00
Len c013a7dc64 [Configuration] Use : not , in rtp_secure_media 2023-01-24 02:04:56 +03:00
Andrey Volk 89fda08f64
Merge pull request #1929 from signalwire/sofia11312
Bump sofia-sip library requirement to version 1.13.12
2023-01-19 12:09:35 +03:00
Jordan Yelloz 9fd214fcbb
[mod_ladspa] Add activate/deactivate support.
Without these -- especially activate() -- stateful plugins will not be
set up correctly.

For example, the low-pass filter "lpf" in the CMT library may produce
a pop when starting since its state is not zeroed out.
2023-01-18 12:02:16 -07:00
Andrey Volk a6096ce318 Bump sofia-sip library requirement to version 1.13.12 2023-01-18 19:45:35 +03:00
Andrey Volk 27c0287bd6
Merge pull request #1927 from signalwire/libcryptowin
[Build-System] Fix MD5 on Windows. Add a unit-test.
2023-01-18 03:30:45 +03:00
Andrey Volk b2e78c90e7 [Build-System] Fix MD5 on Windows. Add a unit-test. 2023-01-18 02:55:34 +03:00
Andrey Volk 4b350962d3 [mod_verto] Limit websocket payload size to 1000000. 2023-01-17 00:36:44 +03:00
Andrey Volk e4d63e698a
Merge pull request #1921 from signalwire/nsig
[Build-System] Fix NSIG redefinition issue.
2023-01-17 00:32:28 +03:00
Andrey Volk 5cc2a4fc2e
Merge pull request #1910 from signalwire/osx
[Unit-tests] mod_sofia: avoid duplicate symbols on macos.
2023-01-17 00:26:05 +03:00
Andrey Volk fe68e3aff4 [Build-System] Fix NSIG redefinition issue. 2023-01-12 18:59:07 +03:00
Minh c69c399dd2
[mod_sofia] New chanvars for inbound multiple header identity 2023-01-09 16:00:49 +03:00
Andrey Volk 84cb1bdf84 [Unit-tests] mod_sofia: avoid duplicate symbols on macos. 2022-12-31 02:41:55 +03:00
Andrey Volk 408cbb2050
Merge pull request #1907 from signalwire/readmegetstarted
[Docs] Update get-started link in README.md
2022-12-30 20:29:34 +03:00
Andrey Volk 908481bd10
[Docs] Update get-started link in README.md 2022-12-28 14:02:48 +03:00
Andrey Volk e05a703ab0
Merge pull request #1902 from signalwire/switch_console_complete
[Core] Fix false-positive illegal memory access detection in switch_console_complete()
2022-12-27 21:13:05 +03:00
Andrey Volk a739e197a5 [Core] Fix false-positive illegal memory access detection in switch_console_complete() 2022-12-26 16:36:04 +03:00
Andrey Volk f71a56022a [Core] switch_mprintf: Increase the size of loop variables in the printf() implementation. Add unit-tests disabled by default. 2022-12-09 23:11:25 +03:00
Andrey Volk ec32dc300f [Build-System] Update SQLite to 3.40.0 on Windows 2022-12-09 04:04:25 +03:00
Andrey Volk eb22faad12
Merge pull request #1889 from signalwire/wincaching
[Build-System] Improve build time on Windows: Do not download a pre-compiled binary if it's found in a folder pointed by the FreeSWITCHBuildCachePath environment variable.
2022-12-08 12:45:02 +03:00
Andrey Volk 32525e5901
Merge pull request #1890 from signalwire/yasm64
[Build-System] Fix build on Windows 11: yasm tool compiled for x86 does not work on x64 system. Download yasm.exe 64bit instead.
2022-12-08 12:17:03 +03:00
Andrey Volk 52e97e8d0a [Build-System] Fix build on Windows 11: yasm tool compiled for x86 does not work on x64 system. Download yasm.exe 64bit instead. 2022-12-08 03:03:04 +03:00
Andrey Volk 4454ea58fd [Build-System] Improve build time on Windows: Do not download a pre-compiled binary if it's found in a folder pointed by the FreeSWITCHBuildCachePath environment variable. 2022-12-07 15:02:12 -06:00
morwin1 62d3e52cf9
[mod_python3] Fix compiler warnings 2022-12-06 20:07:19 +03:00
Andrey Volk d2f84c8342
Merge pull request #1881 from signalwire/originatefence
[Core] Fix crash in enterprise originate: memory fence the handles.
2022-12-06 01:33:14 +03:00
David Villasmil 13646cc888
[mod_sofia] Parse extra headers on reINVITE 2022-12-01 21:51:17 +03:00
Andrey Volk ded2a4c1be [Core] Fix crash in enterprise originate: memory fence the handles. 2022-11-30 23:22:01 +03:00
Anthony Minessale edd36639c7 [Core] Blind pass at using a rwlock for chat_hash 2022-11-21 13:58:28 +03:00
Joseph Nadiv 7afeceb47e [mod_sofia] Randomize OPTIONS Ping interval
In FS-6400, the attempt was made to randomize OPTIONS
packets to be sent at a random interval.  The same random
interval is applied to all endpoints so this doesn't work.
Furthermore, rounding within the code, as well as
reseeding with srand() on each run will ultimately
make the ping times converge over time.  Once the
times converge, they will not separate since the reseeding
will cause the same random number to apply to each
registration.

This commmit will apply the random interval only during
initial registration and update of registration.
All subsequent pings will be incremented with the
actual value of ping-mean-interval. (This parameter
name is no longer accurate, and would be better named
ping-max-interval).

srand() has been moved to the start of the worker
thread, and all repeat calls have been removed,
so that each call of rand(), even during the
same second, generates a different random number.

Fixes #1132, Fixes #1133
2022-11-20 13:51:41 -05:00
Andrey Volk bb682fc5b4
Merge pull request #1851 from signalwire/nodupremove
[Core] Remove deprecated SWITCH_STACK_NODUP flag. Change switch_event_add_header_string() behavior to always dup.
2022-11-08 02:36:35 +03:00
Andrey Volk 17453e0079 [Core] Remove deprecated SWITCH_STACK_NODUP flag. Change switch_event_add_header_string() behavior to always dup. 2022-11-08 01:48:25 +03:00
Andrey Volk 9675ef689f
Merge pull request #1856 from signalwire/nodupremovewithflag
[Core] SWITCH_STACK_NODUP flag is deprecated and will be soon removed. Introduce switch_event_add_header_string_nodup() API.
2022-11-08 01:43:14 +03:00
Andrey Volk ffa2207926 [Core] SWITCH_STACK_NODUP flag is deprecated and will be soon removed. Introduce switch_event_add_header_string_nodup() API. 2022-11-08 01:17:08 +03:00