Andrey Volk
c8e7a57b4c
[Unit-Tests] Fix leak of arg in the case of an error in fct_clp__parse()
2021-03-17 18:54:36 +03:00
Andrey Volk
5ed17dd19c
[Core] Scheduler: Fix race between switch_scheduler_add_task() and task_thread_loop(). Add new switch_scheduler_add_task_ex() method.
2021-03-17 01:01:01 +03:00
surendrasignalwire
dbc894d959
[Core] Reuse caller profile
2021-03-17 00:52:36 +03:00
Andrey Volk
4fe8aecbfb
[Core] Make switch_core_media_set_codec() and switch_core_media_set_video_codec() thread-safe so there is no race when a session's codec is initiated by different threads simultaneously.
2021-03-16 23:15:54 +03:00
Andrey Volk
2dfda2f409
[Core] Fix reference counter lock order when protect/unprotect interface.
2021-03-16 20:34:47 +03:00
Dragos Oancea
b774c5e23f
[core] eavesdrop: reduce lock contention, fix error condition + enable eavesdrop stereo
2021-03-16 20:26:56 +03:00
s3rj1k
91f12b5920
[Unit-tests] Fix previously defined AM_* in tests.
2021-02-23 20:59:26 +03:00
Chris Rienzo
caca7a66d6
[core] fix documentation error for switch_core_media_bug_read()
2021-01-15 14:27:33 +00:00
Andrey Volk
3a6d1210d7
Merge pull request #996 from seven1240/event-merge
...
[core] add event::merge
2020-12-17 21:28:32 +04:00
Andrey Volk
913551315b
[Core] switch_core_port_allocator: Replace getaddrinfo() (may get stuck) with switch_sockaddr_new() and fix IPv6.
2020-12-17 21:15:14 +04:00
Seven Du
6cf606f2a0
[core] add event::merge
2020-12-16 23:05:16 +08:00
Rosen Penev
aa71d87528
[build] fix compilation under musl 1.2
...
musl 1.2 defaults to 64-bit time_t, causing a compile failure under 32-bit platforms.
2020-12-16 18:17:24 +04:00
Andrey Volk
6c24133ea7
Merge pull request #802 from signalwire/recording_follow_transfer
...
[Core] Fix hangup race in recording_follow_transfer.
2020-10-05 20:32:29 +04:00
Mike Jerris
28c170fda1
[Unit-Tests] Tweak test framework, fail loading unit test when out of memory.
2020-09-22 22:56:54 +04:00
Ciprian
5ce4855a1e
[core] Enable MSRP over IPv6
...
* [core] Enable MSRP over IPv6
* [core] SWITCH_SO_IPV6_V6ONLY socket option
2020-09-15 13:42:22 +04:00
Ciprian
60073ad431
[core] DTLS PEM validation/creation tweaks and fix leaks in fixed pem path.
2020-09-10 21:56:25 +04:00
Norm Brandinger
8beac6c39b
[Documentation] Fix parameter definitions in switch_core_media_bug_add()
2020-08-18 19:52:19 +04:00
Andrey Volk
2b8fa12baa
[Core] Fix hangup race in recording_follow_transfer.
2020-08-17 21:07:11 +04:00
Andrew Cassidy
3130a51182
[Core] Add AEAD_AES_128_GCM and AEAD_AES_256_GCM ciphers support.
2020-06-22 16:26:22 +04:00
Chris Rienzo
bd46061a10
[test] Disable logs when loading and shutting down FS core
2020-05-18 21:20:06 +04:00
Anthony Minessale
6b35e576fc
[core] Transfer with rtp_pass_codecs_on_stream_change one way audio
2020-05-08 01:40:21 +04:00
Chris Rienzo
bc9515468e
[test] Fix out of bound buffer read in switch_test
2020-05-07 02:58:30 +04:00
Anthony Minessale
cc10e8e044
[Core] Update switch_image.h after recent libvpx update to v1.8.1.
2020-03-06 21:14:36 +04:00
Andrey Volk
8dd27183f8
[Core] Fix possible leak of the subclass variable in CUSTOM_HASH'es switch_event_reserve_subclass_detailed().
2020-02-16 00:29:38 +04:00
lazedo
db95f1e9dd
[cJSON] Update to v1.7.12
2020-01-29 00:29:04 +04:00
Dragos Oancea
c1b66f650f
[core] add audio channels limit when opening files, configurable through switch.conf.xml (param "max-audio-channels"), add unit-test.
2020-01-27 23:35:19 +00:00
Andrey Volk
c39a2b11ce
[Core] Fix regression in switch_utils after implementing unit-tests parallel.
2020-01-23 18:08:08 +00:00
Andrey Volk
893a3cdc1f
[Unit-test] Run tests in parallel
2020-01-23 02:29:57 +04:00
Andrey Volk
751d5ff55b
[Unit-tests] Place module tests into their module's Makefile.am, fix tests, add missing Makefile.am to mod_png, implement recursive make check.
2020-01-18 09:58:42 +00:00
Andrey Volk
d6094643bb
[Core] Fix RTP unit-test by adding switch_rtp_get_core_session().
2020-01-09 13:06:08 +04:00
Andrey Volk
44ba7eb753
[Unit-tests] Do not initiate sqldb by default unless requested.
2020-01-07 21:17:52 +04:00
Sebastian Kemper
28d39be261
[core] Fix copy/paste mistake in switch_xml.h
...
Commit 7907994 introduced a copy/paste mistake that may result in
compile failure:
In file included from ../../../../src/include/switch.h:134,
from mod_xml_ldap.c:34:
mod_xml_ldap.c: In function 'xml_ldap_search':
../../../../src/include/switch_xml.h:236:68: error: implicit declaration of function 'switch_xml_toxml_buf'; did you mean 'switch_xml_toxml_buf_ex'? [-Werror=implicit-function-declaration]
#define switch_xml_toxml_buf(xml, buf, buflen, offset, prn_header) switch_xml_toxml_buf(xml, buf, buflen, offset, prn_header, USE_UTF_8_ENCODING);
^~~~~~~~~~~~~~~~~~~~
mod_xml_ldap.c:764:9: note: in expansion of macro 'switch_xml_toxml_buf'
switch_xml_toxml_buf(xml, buf, 0, 0, 1);
^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[7]: *** [Makefile:710: mod_xml_ldap_la-mod_xml_ldap.lo] Error 1
This commit fixes the mistake.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-01-01 15:29:28 +01:00
Chris Rienzo
9c3f9a9a50
[core] Add SMBF_FIRST flag which forces media bug to front of the list. Add 'f' flag to switch_ivr_displace_session to add displace as first operation on the media stream. ( #76 )
2019-12-31 03:14:31 +04:00
Chris Rienzo
562079376a
[core] Add SHUTDOWN_REQUESTED event. Bind to this event to know when ASAP or elegant shutdown has been requested.
2019-12-31 03:11:12 +04:00
Seven Du
79079942de
[core] add option to toggle ampersand entities on/off when serialize xml string
2019-12-31 03:03:41 +04:00
Seven Du
917d850b04
[core] remember if a tag is parsed from CDATA
2019-12-31 03:03:04 +04:00
Andrey Volk
cbc8d698a0
FS-11827: [Core] Fix regression in mod_managed due to the type name switch_core_db_handle conflicting with the switch_core_db_handle macro
2019-12-31 02:28:34 +04:00
Andrey Volk
20295c53ef
FS-11827: [Core] Add feature allowing FreeSWITCH to store CORE DB (SQLite) fully in memory (core-db-dsn).
2019-12-31 02:28:20 +04:00
Andrey Volk
da31fac5a0
[Core, mod_commands] Add switch_core_pool_stats API and pool_stats command with corresponding --enable-pool-debug configure flag.
2019-12-31 02:07:22 +04:00
Andrey Volk
4eca43bc62
FS-12048: [Core] Fix leak in SQLite (switch_cache_db_execute_sql2str) when queries return a NULL containing field which may result in high memory consumption.
2019-12-31 00:01:23 +04:00
Dragos Oancea
b124b607d7
[Core] Add PRE_CLOSED flag on file handle, add unit test.
2019-12-05 21:55:46 +04:00
Andrey Volk
4c434aef1f
[Unit-tests] Fix test framework by telling sqldb to manage handles so they don't leak and are destroyed on shutdown.
2019-11-26 22:54:17 +04:00
Andrey Volk
2865603ad2
[Unit-tests] Fix xml error not finding freeswitch.xml on FST_MINCORE_BEGIN
2019-11-26 01:54:43 +04:00
Andrey Volk
5836b9652b
[Unit-tests] Fix test framework leaking on successful checks under setup or teardown mode. Failed checks in these modes are noted and then freed, but not when passed.
2019-11-26 01:05:03 +04:00
lazedo
506bcd280d
[core] allow event-channel debugging & single delivery
2019-10-31 12:41:47 +00:00
Seven Du
8aafff281b
[Core] Make switch_ivr_orig_and_bridge function return status and a cause.
2019-10-30 21:07:54 +04:00
Ciprian
696814cb26
[Core] Disable msrp by default, only enable when listen-port or listen-ssl-port config params configured in msrp.conf
2019-10-13 21:27:58 +04:00
Andrey Volk
20a893fd06
FS-12038: [mod_sofia, core] Fix potential leak and race in chat_hash, add switch_core_hash_insert_auto_free().
2019-09-06 20:22:20 +04:00
Chris Rienzo
c55b989220
FS-11979 [test] Fix error message log in fst_xcheck()
2019-08-02 11:47:03 -04:00
Anthony Minessale
b644421c87
core side of vpx update
2019-07-25 23:06:59 +04:00