766 Commits

Author SHA1 Message Date
Jakub Karolczyk
a160eced99 [core,libyuv,modules] Fix function declarations without a prototype 2023-07-04 09:56:40 +01:00
Dragos Oancea
b5cb26dc47
[Core] Coverity fixes
* [core] coverity CID 1024482 (Dereference after null check)

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

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

* [core] coverity CID 1232742 (Dereference before null check)
2023-04-18 19:30:22 +03:00
Andrey Volk
9940623bce [Core] Fix switch_core_sqldb_destroy() function declaration. 2023-03-31 20:47:56 +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
Dragos Oancea
8e59603d98 [core][mod_sofia] remove ZRTP (deemed obsolete).
[unit-tests][build-system][docs] remove references to ZRTP.
2022-10-28 20:19:42 +03:00
Chris Rienzo
85d25e269b [core] use fspr prefixed symbols instead of apr 2022-08-29 20:17:10 +03:00
Andrey Volk
a1d2f83104 [Core] ODBC: Add odbc-skip-autocommit-flip switch param. 2022-08-25 20:14:47 +03:00
Andrey Volk
56b6e954cf [Core] Fix dead nested assignments 2022-08-09 23:29:31 +03:00
Dragos Oancea
77481b327c [core] extend count of acl entries (per SOFIA_MAX_ACL). 2021-12-09 11:36:39 +02:00
Andrey Volk
fbf2da44d9 [Core] Fix use of private headers. 2021-11-10 21:46:29 +03:00
Andrey Volk
f289721147 [Core] Add exclude-error-log-from-xml-cdr config parameter and exclude_error_log_from_xml_cdr global variable. 2021-10-23 22:00:42 +03:00
Chris Rienzo
d1d777df6c [core] add SCSC_SHUTDOWN_CAUSE 2021-10-23 21:59:56 +03:00
Michael Jerris
53b459a687 [core] add support for resolving (and ignoring) mdns style .local addresses in ice candidates 2021-10-23 21:59:54 +03:00
VCC Live/Core
d6de1d9af7 [Core] Add systemd sd_notify support 2021-10-23 21:59:52 +03:00
Andrey Volk
36ac71f621 [Core] Fix false-positive memory leak in switch_core_set_variable() detected by scan-build 2021-10-19 20:45:05 +03:00
Chris Rienzo
311e932df5 [core, mod_commands] Execute command under shell when using spawn in switch_system(). 2021-07-16 17:34:53 +03:00
Andrey Volk
9aee9b8e24 [Core, mod_commands] Add posix_spawn replacement for the system call. Add unit-tests. 2021-07-16 17:34:42 +03:00
Andrey Volk
fd27504a7d [Core] Add switch_digest(), switch_digest_string() APIs. Add unit-tests. 2021-04-12 01:03:15 +03:00
Ítalo Rossi
7078e0bfcf [core] Exclude RFC-6598 CGNAT private space from wan.auto acl 2021-02-11 15:53:08 -03:00
Seven Du
831a52319a [core] jira moved to github 2021-01-26 23:28:53 +08:00
Chris Rienzo
bd46061a10 [test] Disable logs when loading and shutting down FS core 2020-05-18 21:20:06 +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
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
lazedo
506bcd280d [core] allow event-channel debugging & single delivery 2019-10-31 12:41:47 +00:00
lazedo
a84daf95bb FS-11860 [core] allow configurable separator in event_channel and
process all parts of key
2019-07-25 21:51:50 +04:00
Andrey Volk
718d2341f7 FS-11952: [Core] Fix memory leaks. 2019-07-24 20:26:32 +04:00
Chris Rienzo
239bf913f4 FS-11785 [core] fix scan-build issues 2019-07-17 21:51:06 +04:00
Andrey Volk
e7abf29f4f FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_core.c 2019-07-15 23:41:14 +04:00
Andrey Volk
07e0d4f90c FS-10801: [core] Add a database interface to the FreeSWITCH Core. 2019-07-15 22:18:19 +04:00
Chris Rienzo
824356cc94 FS-11725 [core,test] Fix switch_core to allow MINIMAL core to load without freeswitch.xml. Fix test framework to exit if FreeSWITCH core fails to load. 2019-07-09 19:25:06 +04:00
Luis Azedo
60956d7f85 FS-11025 [core] allow/check ports in network lists 2019-03-06 11:56:03 +00:00
lazedo
8ed52f4c26 [FS-11609] [core] lookup values in caller profile soft variables 2019-02-18 14:03:24 +00:00
lazedo
8f659a81cf [FS-11608] [core] set prefix for caller profile soft variables 2019-01-30 23:54:16 +00:00
Andrey Volk
97f42d429f FS-11505: [core] System call with output capture on Linux and Windows without fork. Add switch_core test. 2018-12-20 10:19:27 -05:00
Anthony Minessale
a09c9cfa7a FS-10189: [core] switch_core_add_state_handler runtime.state_handler_index may exceed SWITCH_MAX_STATE_HANDLERS #resolve 2017-06-05 18:31:56 -05:00
Razvan Crainea
6d056e1698 FS-10038: [core] tune heartbeat events interval 2017-02-14 13:43:13 +02:00
Sergey Safarov
df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Brian West
c0423c5877 FS-9855: [mod_spandsp] Refused T38 reinvite on b-leg breaks T38 negotiation on a-leg when using T38 gateway mode #resolve 2017-01-05 16:34:11 -06:00
Brian West
f54c7f9f34 FS-9855: [mod_spandsp] Refused T38 reinvite on b-leg breaks T38 negotiation on a-leg when using T38 gateway mode #resolve 2017-01-05 15:51:52 -06:00
Mike Jerris
d2b41b6b61 FS-9800: [core] add new accessor functions to core statistics for use in modules 2016-12-01 13:12:04 -05:00
Brian West
4fb0db3e59 FS-9678: Fix FreeSWITCH not shutting down when profiles fails to load and shutdown-on-fail is set to true 2016-10-31 10:38:42 -05:00
William King
6dac2b5ff4 FS-9650 initialize pointer to NULL to resolve warning 2016-10-19 18:32:38 -07:00
Seven Du
7dd872e9b8 FS-9575 #resolve [Add MRCP] 2016-09-27 16:41:04 -05:00
Spencer Thomason
8928852d66 FS-9423 #resolve Handle null value in ACL list name 2016-08-12 13:38:10 -07:00
Michael Jerris
2c03025479 FS-9164: [core] add Session-Per-Sec-Last to heartbeat event 2016-05-16 14:48:46 -04:00
Mike Jerris
a74fc71b67 Merge pull request #687 in FS/freeswitch from freetdm_patch to master
* commit '320d5f2015976fed9ca282dfeeb2bd3e977e6f76':
  Applied the Sangoma patch to FS version 1.2 in order to port to FS v1.6+
2016-04-04 13:51:09 -05:00
Ken Rice
e18c12b609 FS-8953 [core] white space clean up. 2016-03-17 08:55:00 -05:00
Spencer Thomason
4b9bf111d7 Allow Solaris privileges to work on both Solaris and derivatives
Solaris does not have PRIV_PROC_PRIOUP but SmartOS does.  This allows
fallback to this privilege on supported platforms

FS-8195 #resolve
2016-01-27 19:54:47 -08:00
William King
320d5f2015 Applied the Sangoma patch to FS version 1.2 in order to port to FS v1.6+
Sourced from:
http://gitlab.sangoma.com/projects/CORE/repos/freetdm/browse/public_freeswitch/sangoma-FS-1.2.patch
2016-01-26 20:20:34 -08:00
Mark Lipscombe
4e9977507d FS-8537: Passing nil to various lua functions causes segfault
Various functions exposed via lua do not check their parameters for null
causing freeswitch to segfault.

This change adds checking for null parameters and returns an error
instead of segfaulting.
2015-11-15 10:43:09 +11:00