]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
2 years agoMerge pull request #2029 from signalwire/coverity_06042023_mod_java
Andrey Volk [Thu, 6 Apr 2023 21:14:52 +0000 (00:14 +0300)] 
Merge pull request #2029 from signalwire/coverity_06042023_mod_java

[mod_java] Coverity CID 1320753 (Resource leak)

2 years agoMerge pull request #2028 from signalwire/coverity_06042023_mod_imagick
Andrey Volk [Thu, 6 Apr 2023 21:13:17 +0000 (00:13 +0300)] 
Merge pull request #2028 from signalwire/coverity_06042023_mod_imagick

[mod_imagick] Coverity CID 1500258 (Resource leak)

2 years agoMerge pull request #2027 from signalwire/coverity_06042023_mod_event_multicast
Andrey Volk [Thu, 6 Apr 2023 21:11:41 +0000 (00:11 +0300)] 
Merge pull request #2027 from signalwire/coverity_06042023_mod_event_multicast

[mod_event_multicast] Coverity CID 1468504 (Resource leak)

2 years agoMerge pull request #2026 from signalwire/coverity_06042023_mod_dialplan_asterisk
Andrey Volk [Thu, 6 Apr 2023 21:07:19 +0000 (00:07 +0300)] 
Merge pull request #2026 from signalwire/coverity_06042023_mod_dialplan_asterisk

[mod_dialplan_asterisk] Coverity CID 1214207 (Resource leak)

2 years agoMerge pull request #2025 from signalwire/coverity_06042023_mod_av
Andrey Volk [Thu, 6 Apr 2023 21:05:40 +0000 (00:05 +0300)] 
Merge pull request #2025 from signalwire/coverity_06042023_mod_av

[mod_av] Coverity CID 1500320 (Resource leak)

2 years agoMerge pull request #2024 from signalwire/coverity_06042023_mod_amqp
Andrey Volk [Thu, 6 Apr 2023 21:03:54 +0000 (00:03 +0300)] 
Merge pull request #2024 from signalwire/coverity_06042023_mod_amqp

[mod_amqp] Coverity CID 1468426 (Resource leak)

2 years ago[mod_event_multicast] Coverity CID 1468504 (Resource leak) 2027/head
Jakub Karolczyk [Wed, 5 Apr 2023 23:56:56 +0000 (00:56 +0100)] 
[mod_event_multicast] Coverity CID 1468504 (Resource leak)

2 years ago[mod_amqp] Coverity CID 1468426 (Resource leak) 2024/head
Jakub Karolczyk [Wed, 5 Apr 2023 23:43:08 +0000 (00:43 +0100)] 
[mod_amqp] Coverity CID 1468426 (Resource leak)

2 years ago[mod_av] Coverity CID 1500320 (Resource leak) 2025/head
Jakub Karolczyk [Thu, 6 Apr 2023 10:03:02 +0000 (11:03 +0100)] 
[mod_av] Coverity CID 1500320 (Resource leak)

2 years ago[mod_dialplan_asterisk] Coverity CID 1214207 (Resource leak) 2026/head
Jakub Karolczyk [Thu, 6 Apr 2023 10:27:19 +0000 (11:27 +0100)] 
[mod_dialplan_asterisk] Coverity CID 1214207 (Resource leak)

2 years ago[mod_imagick] Coverity CID 1500258 (Resource leak) 2028/head
Jakub Karolczyk [Thu, 6 Apr 2023 11:25:48 +0000 (12:25 +0100)] 
[mod_imagick] Coverity CID 1500258 (Resource leak)

2 years ago[mod_java] Coverity CID 1320753 (Resource leak) 2029/head
Jakub Karolczyk [Thu, 6 Apr 2023 12:26:42 +0000 (13:26 +0100)] 
[mod_java] Coverity CID 1320753 (Resource leak)

2 years ago[Core] Coverity fixes
Dragos Oancea [Wed, 5 Apr 2023 15:54:11 +0000 (18:54 +0300)] 
[Core] Coverity fixes

* [core] coverity CID 1320751 (Dereference before null check)

* [core] coverity CID 1294546 (Unchecked return value)

* [core] coverity CID 1227661 (Logically dead code)

* [core] coverity CID 1227656 (Logically dead code)

* [core] coverity CID 1060948 (Explicit null dereferenced)

* [core] coverity CID 1346465 (Unchecked return value)

* [core] coverity CID 1364953 (Logically dead code)

* [core] coverity CID 1468210 (Dereference before null check)

* [core] coverity CID 1468546 (Dereference before null check)

* [core] coverity CID 1468342 (Dereference before null check)

2 years ago[core] Coverity fixes
Jakub Karolczyk [Fri, 31 Mar 2023 21:07:59 +0000 (22:07 +0100)] 
[core] Coverity fixes

* [core] Coverity CID 1468218 (Resource leak)

* [core] Coverity CID 1468214 (Resource leak)

* [core] Coverity CID 1294472 (Resource leak)

* [core] Coverity CID 1294470 (Resource leak)

* [core] Coverity CID 1500361 (Resource leak)

* [core] Coverity CID 1500308 (Resource leak)

* [core] Coverity CID 1500278 (Resource leak)

---------

Co-authored-by: Andrey Volk <andywolk@gmail.com>
2 years agoMerge pull request #2016 from signalwire/count
Andrey Volk [Fri, 31 Mar 2023 20:39:18 +0000 (23:39 +0300)] 
Merge pull request #2016 from signalwire/count

[Core] Remove unused count variable from switch_core_session_execute_exten()

2 years ago[Core] Remove unused count variable from switch_core_session_execute_exten() 2016/head
Andrey Volk [Fri, 31 Mar 2023 19:48:11 +0000 (22:48 +0300)] 
[Core] Remove unused count variable from switch_core_session_execute_exten()

2 years agoMerge pull request #2014 from signalwire/prototype
Andrey Volk [Fri, 31 Mar 2023 18:00:42 +0000 (21:00 +0300)] 
Merge pull request #2014 from signalwire/prototype

[Core] Fix switch_core_sqldb_destroy() function declaration.

2 years ago[Core] Fix switch_core_sqldb_destroy() function declaration. 2014/head
Andrey Volk [Fri, 31 Mar 2023 17:47:56 +0000 (20:47 +0300)] 
[Core] Fix switch_core_sqldb_destroy() function declaration.

2 years ago[mod_sofia] Coverity fixes
Jakub Karolczyk [Thu, 30 Mar 2023 19:00:40 +0000 (20:00 +0100)] 
[mod_sofia] Coverity fixes

* [mod_sofia] Coverity CID 1468634 (Resource leak)

* [mod_sofia] Coverity CID 1294467 (Resource leak)

---------

Co-authored-by: Andrey Volk <andywolk@gmail.com>
2 years agoMerge pull request #2011 from signalwire/coverity_24032023_mod_pgsql
Andrey Volk [Thu, 30 Mar 2023 16:59:44 +0000 (19:59 +0300)] 
Merge pull request #2011 from signalwire/coverity_24032023_mod_pgsql

[mod_pgsql] Coverity CID 1468401 (Resource leak)

2 years ago[mod_pgsql] Coverity CID 1468401 (Resource leak) 2011/head
Jakub Karolczyk [Fri, 24 Mar 2023 14:32:50 +0000 (14:32 +0000)] 
[mod_pgsql] Coverity CID 1468401 (Resource leak)

2 years agoMerge pull request #2006 from dragos-oancea/mod_amr-cov
Andrey Volk [Wed, 29 Mar 2023 16:19:47 +0000 (19:19 +0300)] 
Merge pull request #2006 from dragos-oancea/mod_amr-cov

[mod_amr] coverity CID 1395603 (Unsigned compared against 0)

2 years ago[mod_verto] Coverity fixes
Dragos Oancea [Wed, 29 Mar 2023 16:14:54 +0000 (19:14 +0300)] 
[mod_verto] Coverity fixes

* [mod_verto] coverity CID (Logically dead code)

* [mod_verto] coverity CID 1468609 (Logically dead code)

2 years agoMerge pull request #2005 from dragos-oancea/mod_opus-cov
Andrey Volk [Wed, 29 Mar 2023 16:12:19 +0000 (19:12 +0300)] 
Merge pull request #2005 from dragos-oancea/mod_opus-cov

[mod_opus] coverity CID 1320733 (Result is not floating-point)

2 years ago[Core] Coverity fixes
Dragos Oancea [Wed, 29 Mar 2023 16:08:18 +0000 (19:08 +0300)] 
[Core] Coverity fixes

* [core] coverity CID 1395504 (Logically dead code)

* [core] coverity CID 1395581 (Dereference before null check)

* [core] coverity CID 1346451 (Improper use of negative value)

* [core] coverity CID 1395497 (Dereference before null check)

* [core] coverity CID 1468458 (Dereference before null check)

2 years ago[mod_opusfile] Fix missing rdlock unlock in switch_opusfile_open()
Andrey Volk [Wed, 29 Dec 2021 19:05:20 +0000 (22:05 +0300)] 
[mod_opusfile] Fix missing rdlock unlock in switch_opusfile_open()

2 years ago[mod_amr] coverity CID 1395603 (Unsigned compared against 0) 2006/head
Dragos Oancea [Thu, 23 Mar 2023 13:09:53 +0000 (15:09 +0200)] 
[mod_amr] coverity CID 1395603 (Unsigned compared against 0)

2 years ago[mod_opus] coverity CID 1320733 (Result is not floating-point) 2005/head
Dragos Oancea [Thu, 23 Mar 2023 13:06:56 +0000 (15:06 +0200)] 
[mod_opus] coverity CID 1320733 (Result is not floating-point)

2 years agoMerge pull request #1639 from signalwire/docker
Andrey Volk [Tue, 28 Mar 2023 14:39:41 +0000 (17:39 +0300)] 
Merge pull request #1639 from signalwire/docker

[Documentation] Fix typo in README.md

2 years ago[mod_enum] Fix use-after-free if creating resolver from file failed
Tomasz Ostrowski [Tue, 28 Mar 2023 14:36:01 +0000 (16:36 +0200)] 
[mod_enum] Fix use-after-free if creating resolver from file failed

2 years ago[Core] Fix missing mutex unlock in switch_ivr_dmachine_ping()
Andrey Volk [Wed, 29 Dec 2021 16:07:54 +0000 (19:07 +0300)] 
[Core] Fix missing mutex unlock in switch_ivr_dmachine_ping()

2 years agoMerge pull request #1765 from greenbea/patch-14
Andrey Volk [Tue, 28 Mar 2023 14:06:58 +0000 (17:06 +0300)] 
Merge pull request #1765 from greenbea/patch-14

[mod_say_en] change epoch to 64 bit int

2 years agoMerge pull request #1900 from jyelloz/master
Andrey Volk [Tue, 28 Mar 2023 14:00:28 +0000 (17:00 +0300)] 
Merge pull request #1900 from jyelloz/master

[mod_ladspa] Added activate/deactivate support.

2 years ago[mod_conference] handle personal canvas with vmuted member
Henrique [Tue, 28 Mar 2023 13:53:16 +0000 (10:53 -0300)] 
[mod_conference] handle personal canvas with vmuted member

2 years ago[mod_callcenter] Fix stale agents and UUID broadcasts
yois615 [Tue, 28 Mar 2023 11:53:16 +0000 (07:53 -0400)] 
[mod_callcenter] Fix stale agents and UUID broadcasts

* [call_center] Stop uuid_broadcast on answer

* [mod_callcenter] Fix stale members in database

When a channel is originated to an agent but the
member fails to bridge to that agent, the database is
not updated with the member status and a stale entry
of 'Answered' persists until mod_callcenter is restarted.

Additionally, cc_agent_found is set before the bridge,
therefore ending the while loop on the member channel.
If there is a problem with the agent bridge, the call is
terminated prematurely.

In this commit, we:

* Move the SQL update of the member
to the 'Answered' state to the agent thread instead of
the member's thread, so that correct data is populated.

* Reset the members state accordingly to Abandoned or
Waiting if the channels fail to bridge.

* Use cc_agent_bridged to end the member loop,
so that a member is put back on queue if the agent
channel fails to bridge.

2 years ago[core, mod_cidlookup] Free memory allocated via strdup
yois615 [Mon, 27 Mar 2023 22:47:23 +0000 (18:47 -0400)] 
[core, mod_cidlookup] Free memory allocated via strdup

In mod_cidlookup and several other modules, config parameters
are read from external XML files using the SWITCH_CONFIG_ITEM_STRING_STRDUP
method.  These items do not have string_options, and are not freed
with switch_xml_config_cleanup.  We therefore need to call switch_safe_free
for config without string_options.  We also add switch_xml_config_cleanup
to mod_cidlookup.  There are other modules that may be affected but this
commit makes no attempt at fixing those.

Fixes #1752

2 years agoMerge pull request #1413 from yois615/master
Andrey Volk [Mon, 27 Mar 2023 22:43:35 +0000 (01:43 +0300)] 
Merge pull request #1413 from yois615/master

[mod_sofia] Randomize OPTIONS Ping interval

2 years ago[mod_event_multicast] Few fixes
Tomasz Ostrowski [Mon, 27 Mar 2023 17:23:07 +0000 (19:23 +0200)] 
[mod_event_multicast] Few fixes

* [mod_event_multicast] Fix crash / invalid pointer dereference

* [mod_event_multicast] Check current number of addresses before zeroing memory on init

* [mod_event_multicast] Fix condition checking number of addresses on init

* [mod_event_multicast] Fix addresses zeroing on init

* [mod_event_multicast] Reorder memset and assert after malloc

2 years agoMerge pull request #1843 from greenbea/patch-17
Andrey Volk [Mon, 27 Mar 2023 17:03:40 +0000 (20:03 +0300)] 
Merge pull request #1843 from greenbea/patch-17

[mod_commands] Fix and improve coalesce function

2 years agoMerge pull request #1996 from greenbea/amqp_subclass_support
Andrey Volk [Mon, 27 Mar 2023 16:55:46 +0000 (19:55 +0300)] 
Merge pull request #1996 from greenbea/amqp_subclass_support

[mod_amqp] Event subclass support

2 years ago[mod_commands] add completions for fsctl api_expansion and sync_clock_when_idle
Дилян Палаузов [Mon, 27 Mar 2023 16:50:51 +0000 (18:50 +0200)] 
[mod_commands] add completions for fsctl api_expansion and sync_clock_when_idle

2 years agoMerge pull request #1976 from greenbea/patch-19
Andrey Volk [Mon, 27 Mar 2023 16:41:32 +0000 (19:41 +0300)] 
Merge pull request #1976 from greenbea/patch-19

[core] switch_ivr_originate set originate endpoint used

2 years ago[Core] ICE: fix wrong buffer size being passed and unitialized buffer
Tomasz Ostrowski [Thu, 23 Mar 2023 18:15:41 +0000 (19:15 +0100)] 
[Core] ICE: fix wrong buffer size being passed and unitialized buffer

2 years ago[mod_commands] Fix and improve coalesece function 1843/head
agree [Thu, 27 Oct 2022 16:19:39 +0000 (12:19 -0400)] 
[mod_commands] Fix and improve coalesece function

* fixed memory leak
* added custom delimeter support

2 years ago[mod_amqp] Events subclass support 1996/head
agree [Tue, 21 Mar 2023 16:16:01 +0000 (12:16 -0400)] 
[mod_amqp] Events subclass support

2 years agoMerge pull request #1954 from signalwire/session_table_lock
Andrey Volk [Thu, 2 Mar 2023 15:05:37 +0000 (18:05 +0300)] 
Merge pull request #1954 from signalwire/session_table_lock

[Core] Fix race condition of session_table hash in switch_core_session_request_uuid()

2 years ago[Core] Fix race condition of session_table hash in switch_core_session_request_uuid() 1954/head
Andrey Volk [Mon, 6 Feb 2023 12:25:34 +0000 (15:25 +0300)] 
[Core] Fix race condition of session_table hash in switch_core_session_request_uuid()

2 years ago[core] switch_ivr_originate set originate endpoint used 1976/head
agree [Mon, 27 Feb 2023 02:49:12 +0000 (21:49 -0500)] 
[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.

2 years agoBump sofia-sip library requirement to version 1.13.14
Andrey Volk [Wed, 22 Feb 2023 20:06:28 +0000 (23:06 +0300)] 
Bump sofia-sip library requirement to version 1.13.14

2 years agoMerge pull request #1972 from signalwire/winlibs
Andrey Volk [Wed, 22 Feb 2023 18:03:42 +0000 (21:03 +0300)] 
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

2 years ago[Build-System] Windows: Update OpenSSL to 1.1.1t, libpq to 10.23, curl to 7.88.0... 1972/head
Andrey Volk [Tue, 21 Feb 2023 17:52:16 +0000 (20:52 +0300)] 
[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

2 years agoMerge pull request #1967 from signalwire/security-policy
Andrey Volk [Fri, 17 Feb 2023 20:54:46 +0000 (23:54 +0300)] 
Merge pull request #1967 from signalwire/security-policy

Create SECURITY.md

2 years agoCreate SECURITY.md 1967/head
Chris Rienzo [Fri, 17 Feb 2023 20:24:03 +0000 (15:24 -0500)] 
Create SECURITY.md

2 years agoMerge pull request #1966 from s3rj1k/dockerfile
Andrey Volk [Thu, 16 Feb 2023 18:12:11 +0000 (21:12 +0300)] 
Merge pull request #1966 from s3rj1k/dockerfile

[mod_shout] Enable module in Dockerfile example.

2 years ago[mod_shout] Enable module in Dockerfile example. 1966/head
s3rj1k [Thu, 16 Feb 2023 16:11:28 +0000 (18:11 +0200)] 
[mod_shout] Enable module in Dockerfile example.

Signed-off-by: s3rj1k <evasive.gyron@gmail.com>
2 years ago[mod_sofia] Ignore user agent for display update when channel variable update_ignore_... 1506/head
demonspork [Fri, 10 Feb 2023 18:16:57 +0000 (12:16 -0600)] 
[mod_sofia] Ignore user agent for display update when channel variable update_ignore_ua is true

2 years agoversion bump
Andrey Volk [Fri, 3 Feb 2023 22:21:44 +0000 (01:21 +0300)] 
version bump

2 years agoswigall
Andrey Volk [Fri, 3 Feb 2023 18:46:31 +0000 (18:46 +0000)] 
swigall

2 years ago[Build-system] Update libks version requirement to 1.8.2
Andrey Volk [Tue, 31 Jan 2023 22:30:11 +0000 (01:30 +0300)] 
[Build-system] Update libks version requirement to 1.8.2

2 years agoMerge pull request #1938 from signalwire/ks182
Andrey Volk [Wed, 25 Jan 2023 21:04:55 +0000 (00:04 +0300)] 
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

2 years ago[Build-System] Update libks to 1.8.2 and signalwire-client-c to 1.3.2 on Windows 1938/head
Andrey Volk [Wed, 25 Jan 2023 15:42:48 +0000 (18:42 +0300)] 
[Build-System] Update libks to 1.8.2 and signalwire-client-c to 1.3.2 on Windows

2 years ago[mod_python3] Create an event on python_fetch()
Adrian Fretwell [Tue, 24 Jan 2023 15:14:29 +0000 (15:14 +0000)] 
[mod_python3] Create an event on python_fetch()

2 years agoMerge pull request #1936 from signalwire/xml_curl_event
Andrey Volk [Tue, 24 Jan 2023 15:12:18 +0000 (18:12 +0300)] 
Merge pull request #1936 from signalwire/xml_curl_event

[mod_xml_curl] Fix leaking event in xml_url_fetch()

2 years ago[mod_xml_curl] Fix leaking event in xml_url_fetch() 1936/head
Andrey Volk [Tue, 24 Jan 2023 11:14:27 +0000 (14:14 +0300)] 
[mod_xml_curl] Fix leaking event in xml_url_fetch()

2 years ago[Configuration] Use : not , in rtp_secure_media
Len [Mon, 23 Jan 2023 23:04:01 +0000 (18:04 -0500)] 
[Configuration] Use : not , in rtp_secure_media

2 years agoMerge pull request #1929 from signalwire/sofia11312
Andrey Volk [Thu, 19 Jan 2023 09:09:35 +0000 (12:09 +0300)] 
Merge pull request #1929 from signalwire/sofia11312

Bump sofia-sip library requirement to version 1.13.12

2 years ago[mod_ladspa] Add activate/deactivate support. 1900/head
Jordan Yelloz [Fri, 16 Dec 2022 19:35:27 +0000 (12:35 -0700)] 
[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.

2 years agoBump sofia-sip library requirement to version 1.13.12 1929/head
Andrey Volk [Wed, 18 Jan 2023 16:45:35 +0000 (19:45 +0300)] 
Bump sofia-sip library requirement to version 1.13.12

2 years agoMerge pull request #1927 from signalwire/libcryptowin
Andrey Volk [Wed, 18 Jan 2023 00:30:45 +0000 (03:30 +0300)] 
Merge pull request #1927 from signalwire/libcryptowin

[Build-System] Fix MD5 on Windows. Add a unit-test.

2 years ago[Build-System] Fix MD5 on Windows. Add a unit-test. 1927/head
Andrey Volk [Tue, 17 Jan 2023 23:55:34 +0000 (02:55 +0300)] 
[Build-System] Fix MD5 on Windows. Add a unit-test.

2 years ago[mod_verto] Limit websocket payload size to 1000000.
Andrey Volk [Mon, 16 Jan 2023 15:52:26 +0000 (18:52 +0300)] 
[mod_verto] Limit websocket payload size to 1000000.

2 years agoMerge pull request #1921 from signalwire/nsig
Andrey Volk [Mon, 16 Jan 2023 21:32:28 +0000 (00:32 +0300)] 
Merge pull request #1921 from signalwire/nsig

[Build-System] Fix NSIG redefinition issue.

2 years agoMerge pull request #1910 from signalwire/osx
Andrey Volk [Mon, 16 Jan 2023 21:26:05 +0000 (00:26 +0300)] 
Merge pull request #1910 from signalwire/osx

[Unit-tests] mod_sofia: avoid duplicate symbols on macos.

2 years ago[Build-System] Fix NSIG redefinition issue. 1921/head
Andrey Volk [Thu, 12 Jan 2023 15:59:07 +0000 (18:59 +0300)] 
[Build-System] Fix NSIG redefinition issue.

2 years ago[mod_sofia] New chanvars for inbound multiple header identity
Minh [Mon, 9 Jan 2023 13:00:49 +0000 (20:00 +0700)] 
[mod_sofia] New chanvars for inbound multiple header identity

2 years ago[Unit-tests] mod_sofia: avoid duplicate symbols on macos. 1910/head
Andrey Volk [Fri, 30 Dec 2022 22:43:03 +0000 (01:43 +0300)] 
[Unit-tests] mod_sofia: avoid duplicate symbols on macos.

2 years agoMerge pull request #1907 from signalwire/readmegetstarted
Andrey Volk [Fri, 30 Dec 2022 17:29:34 +0000 (20:29 +0300)] 
Merge pull request #1907 from signalwire/readmegetstarted

[Docs] Update get-started link in README.md

2 years ago[Docs] Update get-started link in README.md 1907/head
Andrey Volk [Wed, 28 Dec 2022 11:02:48 +0000 (14:02 +0300)] 
[Docs] Update get-started link in README.md

2 years agoMerge pull request #1902 from signalwire/switch_console_complete
Andrey Volk [Tue, 27 Dec 2022 18:13:05 +0000 (21:13 +0300)] 
Merge pull request #1902 from signalwire/switch_console_complete

[Core] Fix false-positive illegal memory access detection in switch_console_complete()

2 years ago[Core] Fix false-positive illegal memory access detection in switch_console_complete() 1902/head
Andrey Volk [Mon, 26 Dec 2022 12:30:28 +0000 (15:30 +0300)] 
[Core] Fix false-positive illegal memory access detection in switch_console_complete()

2 years ago[Core] switch_mprintf: Increase the size of loop variables in the printf() implementa...
Andrey Volk [Fri, 9 Dec 2022 14:42:30 +0000 (17:42 +0300)] 
[Core] switch_mprintf: Increase the size of loop variables in the printf() implementation. Add unit-tests disabled by default.

2 years ago[Build-System] Update SQLite to 3.40.0 on Windows
Andrey Volk [Thu, 8 Dec 2022 22:43:10 +0000 (01:43 +0300)] 
[Build-System] Update SQLite to 3.40.0 on Windows

2 years agoMerge pull request #1889 from signalwire/wincaching
Andrey Volk [Thu, 8 Dec 2022 09:45:02 +0000 (12:45 +0300)] 
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.

2 years agoMerge pull request #1890 from signalwire/yasm64
Andrey Volk [Thu, 8 Dec 2022 09:17:03 +0000 (12:17 +0300)] 
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.

2 years ago[Build-System] Fix build on Windows 11: yasm tool compiled for x86 does not work... 1890/head
Andrey Volk [Thu, 8 Dec 2022 00:02:42 +0000 (03:02 +0300)] 
[Build-System] Fix build on Windows 11: yasm tool compiled for x86 does not work on x64 system. Download yasm.exe 64bit instead.

2 years ago[Build-System] Improve build time on Windows: Do not download a pre-compiled binary... 1889/head
Andrey Volk [Wed, 7 Dec 2022 20:31:51 +0000 (23:31 +0300)] 
[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.

2 years ago[mod_python3] Fix compiler warnings
morwin1 [Tue, 6 Dec 2022 17:07:19 +0000 (04:07 +1100)] 
[mod_python3] Fix compiler warnings

2 years agoMerge pull request #1881 from signalwire/originatefence
Andrey Volk [Mon, 5 Dec 2022 22:33:14 +0000 (01:33 +0300)] 
Merge pull request #1881 from signalwire/originatefence

[Core] Fix crash in enterprise originate: memory fence the handles.

2 years ago[mod_sofia] Parse extra headers on reINVITE
David Villasmil [Thu, 1 Dec 2022 18:51:17 +0000 (19:51 +0100)] 
[mod_sofia] Parse extra headers on reINVITE

2 years ago[Core] Fix crash in enterprise originate: memory fence the handles. 1881/head
Andrey Volk [Wed, 30 Nov 2022 20:18:55 +0000 (23:18 +0300)] 
[Core] Fix crash in enterprise originate: memory fence the handles.

2 years ago[Core] Blind pass at using a rwlock for chat_hash
Anthony Minessale [Wed, 16 Nov 2022 21:31:36 +0000 (15:31 -0600)] 
[Core] Blind pass at using a rwlock for chat_hash

2 years ago[mod_sofia] Randomize OPTIONS Ping interval 1413/head
Joseph Nadiv [Sun, 31 Oct 2021 01:14:00 +0000 (21:14 -0400)] 
[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

2 years agoMerge pull request #1851 from signalwire/nodupremove
Andrey Volk [Mon, 7 Nov 2022 23:36:35 +0000 (02:36 +0300)] 
Merge pull request #1851 from signalwire/nodupremove

[Core] Remove deprecated SWITCH_STACK_NODUP flag. Change switch_event_add_header_string() behavior to always dup.

2 years ago[Core] Remove deprecated SWITCH_STACK_NODUP flag. Change switch_event_add_header_stri... 1851/head
Andrey Volk [Mon, 31 Oct 2022 14:49:17 +0000 (17:49 +0300)] 
[Core] Remove deprecated SWITCH_STACK_NODUP flag. Change switch_event_add_header_string() behavior to always dup.

2 years agoMerge pull request #1856 from signalwire/nodupremovewithflag
Andrey Volk [Mon, 7 Nov 2022 22:43:14 +0000 (01:43 +0300)] 
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.

2 years ago[Core] SWITCH_STACK_NODUP flag is deprecated and will be soon removed. Introduce... 1856/head
Andrey Volk [Mon, 31 Oct 2022 14:49:17 +0000 (17:49 +0300)] 
[Core] SWITCH_STACK_NODUP flag is deprecated and will be soon removed. Introduce switch_event_add_header_string_nodup() API.

2 years agoMerge pull request #1857 from signalwire/smpp
Andrey Volk [Mon, 7 Nov 2022 22:14:48 +0000 (01:14 +0300)] 
Merge pull request #1857 from signalwire/smpp

[mod_smpp] Fix use of switch_event_add_header_string with SWITCH_STACK_NODUP.

2 years ago[mod_smpp] Fix use of switch_event_add_header_string with SWITCH_STACK_NODUP. 1857/head
Andrey Volk [Mon, 7 Nov 2022 21:43:17 +0000 (00:43 +0300)] 
[mod_smpp] Fix use of switch_event_add_header_string with SWITCH_STACK_NODUP.

2 years ago[mod_logfile] Continue renaming if a logfile doesn't exist
Royce Mitchell [Tue, 1 Nov 2022 16:19:15 +0000 (11:19 -0500)] 
[mod_logfile] Continue renaming if a logfile doesn't exist

this prevents a scenario where freeswitch.log fails to get rotated and eventually fills up the hard drive causing a crash. See issue #1738

2 years agoMerge pull request #1848 from dragos-oancea/nuke-zrtp-
Andrey Volk [Fri, 28 Oct 2022 19:50:14 +0000 (22:50 +0300)] 
Merge pull request #1848 from dragos-oancea/nuke-zrtp-

[core][mod_sofia] remove ZRTP (deemed obsolete).