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
Dragos Oancea
317e197b0b
FS-11959: add switch_jb_get_packets_per_frame() - gets the number of packets per video frame
2019-07-25 18:00:27 +00:00
Mike Jerris
241911817f
Merge pull request #1766 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11958 to master
...
* commit '863189fed69b953dcf732b351124a63814a8f322':
FS-11958: [core] add switch_core_media functions that deal with bw and bitrate
2019-07-25 12:52:54 -05: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
Dragos Oancea
863189fed6
FS-11958: [core] add switch_core_media functions that deal with bw and bitrate
2019-07-25 17:08:58 +00:00
Dragos Oancea
1f4dbe50e6
FS-11955: JB: add stats for received packets that have been NACKed previously (video)
2019-07-25 14:28:38 +00:00
Andrey Volk
5b9d0244c5
FS-11903: Fix regression on Windows in switch_utils.h
2019-07-19 00:33:21 +04:00
Brian West
b23d887586
FS-11654: [core] add media_timeout, media_hold_timeout and video vs audio variants
2019-07-18 00:54:37 +04:00
Mike Jerris
382ecb6612
FS-11922: [core] improve switch_calc_bitrate
2019-07-18 00:53:14 +04:00
Anthony Minessale
9cb6b201a6
FS-11921: [core] add switch_img_data_url_png
2019-07-18 00:50:48 +04:00
Mike Jerris
7906a2054a
FS-11919: [core] add api compatibility for switch_rtp_new
2019-07-17 16:43:34 -04:00
Anthony Minessale
4926eac49d
FS-11918: [core] add function to see frame buffer len switch_frame_buffer_size
2019-07-18 00:35:56 +04:00
Brian West
d355a57264
FS-10634 [mod_spandsp]: txfax failing with 488 Not Acceptable Here race
2019-07-18 00:32:53 +04:00
Dragos Oancea
38f0f0662f
FS-11876 [core] getter for VAD state
2019-07-18 00:31:01 +04:00
Andrey Volk
ccc4ae282a
FS-11880: [Core,mod_pgsql] Remove native PostgreSQL support from the core, add mod_pgsql database module.
2019-07-18 00:20:50 +04:00
Chris Rienzo
fb695c528e
FS-11893 [core] add switch_dial_handle_create_json() and switch_dial_handle_serialize_json() for dial handle/json conversions
2019-07-18 00:09:20 +04:00
Chris Rienzo
b06c7b0831
FS-11870 [core, mod_graylog2, mod_console] Added switch_log_node_to_json() and updated mod_graylog2 to use it. This is a unified log node to JSON conversion.
...
Added json log mode in mod_console
2019-07-18 00:07:54 +04:00
Luis Azedo
302b409815
FS-11848 [core] add user_data to event_channel_bind
...
* also adds a convenience switch_event_channel_deliver for already in thread
2019-07-17 16:02:12 -04:00
Anthony Minessale
eb31e17e6c
FS-11910: [mod_dptools] add native eavesdrop mode. use app native_eavesdrop args <uuid> [read|write] ... default is read with no flag. Must be same codecs
2019-07-17 23:38:23 +04:00
Seven Du
5371de231e
FS-11721 refactor msrp serialize function
...
to be consistant with Content-Type at the end of headers if present
dynamically alloc memory to avoid buffer overflow on large message
2019-07-17 23:26:19 +04:00
Seven Du
1a95ef664b
FS-11721 add a send queue to buffer msg messages before msrp socket is ready
2019-07-17 23:25:25 +04:00
Mike Jerris
3870c0fc2a
FS-11785: [core] help clang static analyzer understand this macro construct
2019-07-17 21:48:59 +04:00
Chris Rienzo
c776680c56
FS-11785 [core, mod_commands] update XML API to fix scan-build false positive memory leaks
2019-07-17 20:21:57 +04:00
Chris Rienzo
c796723dd7
FS-11728 [core] add switch_ivr_play_and_collect_input(). This function plays a prompt while looking for DTMF or speech and returns whatever was heard.
2019-07-17 19:58:45 +04:00