755 Commits

Author SHA1 Message Date
Chris Rienzo
228f216505 [core] add SCSC_SHUTDOWN_CAUSE 2021-10-23 01:20:28 +03:00
Michael Jerris
450b88757e [core] add support for resolving (and ignoring) mdns style .local addresses in ice candidates 2021-10-23 01:20:25 +03:00
VCC Live/Core
df66a6b898 [Core] Add systemd sd_notify support 2021-10-23 01:20:24 +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
Mike Jerris
9edede6c08 Merge pull request #546 in FS/freeswitch from ~COREY BURKE/freeswitch:feature/FS-8281-expose-srtp-and-srtcp-crypto-keys to master
* commit '0316fdfcf1d2a72d1bad5dc9646371159173f93f':
  FS-8281: Expose SRTP and SRTCP crypto keys as channel vars
2015-10-27 19:13:25 -05:00
Corey Burke
0316fdfcf1 FS-8281: Expose SRTP and SRTCP crypto keys as channel vars
New vars are srtp_{local,remote}_crypto_key and srtcp_{local,remote}_crypto_key.
Allows decrypting packet captured media streams for debugging.
2015-10-27 16:33:49 -07:00
Ken Rice
dffb92e6a5 FS-8350 quash another complaint from windows on the same issue 2015-10-15 14:26:48 -05:00
Ken Rice
7b8ff86083 FS-8350 #resolve return value of SetPriorityClass() so windows build does not complain about warnings as errors on switch_core.c in set_realtime_priority()
this also addresses as similar condition in set_low_priority() where if windows it always returns 0
2015-10-15 13:31:25 -05:00
Stanislav Sinyagin
9461ed1335 FS-8195 Compatibility with Solaris 11 process privileges
Now the daemon manages its privileges correctly, so that -rp, -u,
-g and -lp can be supported, also in a Solaris zone.

Also fixed a problem that switch_log_printf() was used before the
logger was initialized, so the messages were sent to nowhere.
2015-10-03 01:52:37 +00:00
Brian
2815994647 FS-7638 properly match ACL with IPv4 mapped IPv6 addresses 2015-06-11 10:41:33 -05:00
Ken Rice
f866313835 Merge pull request #271 in FS/freeswitch from ~SILIK0N/freeswitch:FS-7607 to master
* commit '02a0a2a06897cdd044ab254f8d7f3089af3df715':
  FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects.
2015-06-04 09:27:59 -05:00
Anthony Minessale
6c135e15c1 FS-7602 FS-7499 FS-7587 #comment another refactoring pass on candidate parsing and ipv4/6 parsing 2015-06-03 15:54:21 -05:00
Ken Rice
02a0a2a068 FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects. 2015-06-03 15:23:40 -05:00
Anthony Minessale
3b2d00f3e6 FS-7587 Add ipv6 support to Verto / Websockets 2015-06-01 13:39:47 -05:00
Michael Jerris
fe50da3d8c FS-7507: fix expansion of dirs compiled into freeswitch 2015-05-28 12:47:33 -05:00