2683 Commits

Author SHA1 Message Date
Andrey Volk
7fc9eafa74 FS-11727: [core] Add SWITCH_DATABASE_FLAG_ROW_SIZE_LIMIT for databases unable to create wide tables. 2019-07-15 22:18:30 +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
3c11fa9657 FS-11781 [test] try again with the test fix- need to have pool allocated sooner 2019-07-09 19:27:47 +04:00
Chris Rienzo
d4f1af83e8 FS-11781 [test] Fix memory leak in test 2019-07-09 19:27:39 +04:00
Chris Rienzo
9e57da8dfb FS-11781 [test] shut down FS core when test finishes 2019-07-09 19:27:32 +04:00
Chris Rienzo
2dcf963318 FS-11781 [test] separate basedirs for tests to allow parallel build 2019-07-09 19:27:22 +04:00
Chris Rienzo
a4ab865f65 FS-11781 [test] log reason for core load failure 2019-07-09 19:27:12 +04:00
Chris Rienzo
bc02888e51 FS-11781 [test] Add more string checks 2019-07-09 19:27:04 +04:00
Chris Rienzo
74eb2feec7 FS-11781 increase test buffer size from 256 to 2048 to prevent test log truncation. 2019-07-09 19:26:54 +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
Dragos Oancea
279b7994ef FS-11743: video RTCP counter (fix conflicts) 2019-06-06 17:38:04 +00:00
Piotr Gregor
9682d2c2c9 FS-11730 Add support for DTLSv1.2 and make default
Needed in Chrome version >= 74 as Chrome dropped support for v1.0:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/discuss-webrtc/yr6gbAgWsKo/9X5vQb8kGAAJ

Using old v1.0 DTLS if 1.2 is not available or legacy DTLS
wanted explicitly. To request old DTLS set variable

	<action application="set" data="legacyDTLS=1"/>

Note: requires openssl 1.0.2 or later for DTLS v1.2 support
2019-06-06 12:05:11 -04:00
Chris Rienzo
0a6d87edfe FS-11824 [sofia-sip,mod_sofia,core] Added cause codes that map to SIP 600,603,604,606,607 2019-06-06 11:51:51 -04:00
Seven Du
cf7a1d47bf FS-11640 fix const char * prototype 2019-06-06 11:39:58 -04:00
Piotr Gregor
118dd796f3 FS-11421: [core,mod_sofia] Fix rtp_pass_codecs_on_stream_change to process all sdp settings in the re-invite -- add new filter_codecs app and fix some races and negotiation bugs #resolve 2019-06-06 11:08:52 -04:00
Anthony Minessale
c47752c940 FS-11438: [freeswitch-core] recvonly channels left that way on blind transfer in some cases #resolve 2019-06-06 11:05:20 -04:00
lazedo
168a3c068b FS-10968 [core] create recording vars
* moves channel vars starting with Recording-Variable- to record_helper
* uses record_helper variables for RECORD_START/STOP events
2019-03-26 22:28:13 +00:00
Mike Jerris
f4a7274195 Merge pull request #1682 in FS/freeswitch from ~LAZEDO/freeswitch:proxy-token-acl-port to master
* commit '6ceb9885d4bd10763b982255af732e3e6a8936ee':
  FS-9956 [mod_sofia] retain user lookup in blind & acl auth
  FS-11025 [mod_sofia] use ports for acl check
  FS-11025 [core] allow/check ports in network lists
  FS-10746 [mod_sofia] allow authoritative proxy to provide token
2019-03-26 17:21:02 -05:00
Mike Jerris
ba4b2dc5b7 Merge pull request #1515 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11135 to master
* commit '7fd7ea9a5d70a4795f780c0d89057370e7a92856':
  FS-11135 [mod_loopback] runtime behaviour controlled by configuration
2019-03-26 15:36:05 -05:00
Chris Rienzo
c40af77327 FS-11706 [core] use unique mutex for stack_count 2019-03-19 23:14:47 -04:00
Chris Rienzo
1a5ce0ebeb FS-11706 [core] add some extra information to troubleshoot 'too many stacked extensions' 2019-03-19 12:12:26 -04:00
Chris Rienzo
e4c0abf286 FS-11693 [core] Added switch_channel_set_log_tag() and switch_channel_get_log_tags() This allows you to add log tags to an active call channel. If using SWITCH_CHANNEL_SESSION_LOG, with switch_log_printf(), the tags will be added to the the log node so a logging module can send additional contextual data to a log aggregator. 2019-03-09 15:21:46 -05:00
Luis Azedo
60956d7f85 FS-11025 [core] allow/check ports in network lists 2019-03-06 11:56:03 +00:00
lazedo
7fd7ea9a5d FS-11135 [mod_loopback] runtime behaviour controlled by configuration 2019-03-06 03:59:17 +00:00
Mike Jerris
d19e3bb392 Merge pull request #1679 in FS/freeswitch from ~SEBASTIAN/freeswitch:bugfix/FS-11659-fix-implicit-declaration-of-RAND_bytes to master
* commit 'c447f856fbd5353e27c467c3af3842c570c1cbe7':
  FS-11659 [core] Fix implicit declaration of RAND_bytes
2019-03-05 16:06:23 -06:00
Mike Jerris
ab257d5557 Merge pull request #1656 in FS/freeswitch from ~LAZEDO/freeswitch:bug/FS-11608 to master
* commit '8ed52f4c266446e29fa040c49f55b79081054fcb':
  [FS-11609] [core] lookup values in caller profile soft variables
  [FS-11608] [core] set prefix for caller profile soft variables
2019-02-26 11:46:31 -06:00
lazedo
8ed52f4c26 [FS-11609] [core] lookup values in caller profile soft variables 2019-02-18 14:03:24 +00:00
Sebastian Kemper
c447f856fb FS-11659 [core] Fix implicit declaration of RAND_bytes
Since the update to openssl-1.1.1a the compile fails like this:

  CC       src/libfreeswitch_la-switch_rtp.lo
src/switch_rtp.c: In function 'switch_rtp_get_random':
src/switch_rtp.c:2419:2: error: implicit declaration of function 'RAND_bytes'; did you mean 'RSA_bits'? [-Werror=implicit-function-declaration]
  RAND_bytes(buf, len);
  ^~~~~~~~~~
  RSA_bits
cc1: all warnings being treated as errors
make[4]: *** [Makefile:2377: src/libfreeswitch_la-switch_rtp.lo] Error 1

This patch adds the missing include.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-02-15 22:06:14 +01:00
Chris Ayoup
a1cb008087 FS-11646: Improved support for ICE-lite
Specifically:
* Send the a=ice-lite SDP attribute as a session-level attribute
* Suppress sending STUN connectivity checks when enabled
* Make sure FS is the controlled entity if it is declaring ICE-lite
2019-02-05 13:17:35 -05:00
lazedo
8f659a81cf [FS-11608] [core] set prefix for caller profile soft variables 2019-01-30 23:54:16 +00:00
Mariah Yang
6ac8105944 FS-11601: Fix some core function prototype 2019-01-09 08:44:41 -05:00
Andrey Volk
0994131894 FS-11564: [mod_verto] Add ext-rtp-ip detection using stun. 2019-01-09 17:19:11 +04:00
Seven Du
1ddd4c992b FS-11569 add rate to null endpoint 2018-12-20 10:19:33 -05:00
Chris Rienzo
a754d379ba FS-11442 [test] enable module runtime when loading it 2018-12-20 10:19:14 -05:00
Chris Rienzo
d46f4f2149 FS-11442 [test] add fst_check_extension_apps to compare dialplan apps with expected. 2018-12-20 10:19:08 -05:00
Chris Rienzo
19eb5af90d FS-11442 [test] Fix double-free on test suite cleanup. 2018-12-20 10:19:02 -05:00
Liyang
69252d9911 missing comma
https://freeswitch.org/jira/browse/FS-11465
2018-12-20 10:18:48 -05:00
Seven Du
b53d1caea0 FS-11461: [mod_av] Add test code, improve tests on Windows. 2018-12-20 10:18:42 -05:00
Andrey Volk
2ae3b85721 FS-11461: [core] Fix mod_av test code on Windows. 2018-12-20 10:18:35 -05:00
Chris Rienzo
0c8f5ed60d FS-11453 [core] remove dependency to libtap for unit tests
move all core unit tests to tests/unit
2018-12-20 10:18:28 -05:00
Chris Rienzo
2226c3c621 FS-11453 [mod_rayo] convert to fst testing 2018-12-20 10:18:14 -05:00
Chris Rienzo
101512ba33 FS-11442 [mod_test] new module, mod_test - mock ASR interface. 2018-12-20 10:17:50 -05:00
Chris Rienzo
a4a0dd81bb FS-11442 [core] allow multiple test modules to be loaded in the same test program. 2018-12-20 10:17:39 -05:00
Chris Rienzo
5014e11eeb FS-11442 [core] Add test helpers for wall time measurements and integer/double range checks. Improve simple test log output to identify which test the failure is in. 2018-12-20 10:17:27 -05:00
Chris Rienzo
3dd0eadcc1 FS-11442 [core] added test helpers for constructing XML objects 2018-12-20 10:17:15 -05:00
Chris Rienzo
e95beb8d4f FS-11442 [core] added fst_play_and_detect_app_test and fst_sched_recv_dtmf 2018-12-20 10:17:04 -05:00
Chris Rienzo
3f512c0a74 FS-11439 [core] Update switch_test.h so unprivileged users can execute tests when basedir is owned by root. 2018-12-20 10:16:53 -05:00
Seven Du
e36caa7544 FS-11416 fix build error FCT_FIXTURE_SUITE_BGN undefined 2018-12-20 10:16:46 -05:00
Chris Rienzo
d298b4f93a FS-11416 [core] add test framework header files. 2018-09-27 14:19:48 -04:00
Seven Du
710d011c85 FS-11340 export switch_vad_state2str and update vad_test to support the latest params
FS-11340 check the status for read frame avoid crash
2018-09-24 20:22:24 +00:00