Commit Graph

34260 Commits

Author SHA1 Message Date
Andrey Volk 00867086e3 [Build-System] Fix regression from the mariadb library checking fix. 2020-01-07 19:42:21 +04:00
Andrey Volk 21229ad18f
Merge pull request #194 from signalwire/coredump
[Unit-tests] Collect crash data when a unit-test core-dumps
2020-01-06 22:49:21 +04:00
Andrey Volk ebeada67d1 Revert "[mod_opusfile] fix play sample rate (don't use original rate, always use 48k), fix eof."
This reverts commit 937c4a03eb.
2020-01-06 22:47:49 +04:00
Andrey Volk 78aa7ea37f
Merge pull request #202 from dragos-oancea/opusfile_fixes
[mod_opusfile] fix play sample rate (don't use original rate, always use 48k), fix eof.
2020-01-06 22:38:38 +04:00
Andrey Volk 8797a0f480
Merge pull request #180 from signalwire/CF_AUDIO
[mod_portaudio] CF_AUDIO flag is not set
2020-01-06 22:35:03 +04:00
mangshe0 e0d3668e72 [Core] switch_loadable_module wrongly logs that modules.conf loading fails while it's pre_load_modules.conf
fix print log error
2020-01-06 22:30:51 +04:00
Nathan Neulinger ffa4ca422d [Build-system] Fallback for mariadb lib check 2020-01-06 22:19:00 +04:00
Dragos Oancea 937c4a03eb [mod_opusfile] fix play sample rate (don't use original rate, always use 48k), fix eof. 2020-01-03 19:00:26 +00:00
Andrey Volk 053be38506
Merge pull request #198 from micmac1/switch_xml_typo
[core] Fix copy/paste mistake in switch_xml.h
2020-01-02 15:30:15 +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
Andrey Volk 9762569bfa [Unit-tests] Collect crash data when a unit-test core-dumps 2019-12-31 20:11:43 +04:00
Andrey Volk 965bd27d54 version bump 2019-12-31 19:46:29 +04:00
Andrey Volk cdaebdce9d [Unit-tests] Fix switch_xml leak and build. 2019-12-31 04:15:01 +04:00
Andrey Volk 4c1a47d5d1 swigall 2019-12-30 23:39:35 +00: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
Andrey Volk 6f0ad146d2 [mod_sofia] Fix crash from double profile unlock on outgoing channel from a gateway on a paused profile 2019-12-31 03:13:03 +04:00
Andrey Volk f7ec94c9c4 [esl] Add SHUTDOWN_REQUESTED event. 2019-12-31 03:12:04 +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 9248aa05ec [sofia-sip] fix 183 received right after 200 (#67) 2019-12-31 03:10:13 +04:00
Seven Du 13dc7629d6 [mod_sofia] add sip_refer_status_code channel variable to track refer status 2019-12-31 03:08:58 +04:00
Seven Du 2aec6035dd [mod_loopback] add refer mock to null endpoint 2019-12-31 03:07:49 +04:00
Andrey Volk 6452fff8df [Unit-tests] Fix switch_xml test crash 2019-12-31 03:06:21 +04:00
Seven Du c7480bc3fe [mod_loopback] remember dtmf in channel var null_channel_dtmf_queued 2019-12-31 03:05:25 +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
Seven Du 5df8bfcd84 [core] log status code when queue event failure 2019-12-31 02:34:26 +04:00
Mike Jerris c65cb486d6 [core] change No audio stun for a long time error to warning 2019-12-31 02:32:47 +04:00
Andrey Volk 1486e84aa2 [Core] Fix dereference of null pointer in switch_ivr_originate and switch_ivr_enterprise_originate causing crashes, add unit test. 2019-12-31 02:31:26 +04:00
Andrey Volk cd5d72ac74 [Core] Database interface: fix potential crash in switch_cache_db_database_interface_flush_handles, code cleanup. 2019-12-31 02:29:12 +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 e753e615ca [mod_sofia] Module load will fail if ext-rtp-ip or ext-sip-ip configuration param is set as empty string. 2019-12-31 02:17:17 +04:00
Seven Du 00967290b9 [core] support partial speech events 2019-12-31 02:14:48 +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 f664600df4 [fs_cli] Fix unchecked tainted data. 2019-12-31 01:01:45 +04:00
Seven Du bafe238b72 [core] fix copy and paste error 2019-12-31 01:00:03 +04:00
Dragos Oancea 51bf0fc51a [core] scan-build: switch_agc_feed() - Division by zero 2019-12-31 00:57:59 +04:00
Dragos Oancea 3d52d2a9ca [core] scan-build: Dead assignment. Value stored to 'p' is never read 2019-12-31 00:57:48 +04:00
Dragos Oancea 459627dee2 [core] scan-build: audio_bridge_thread() - Dead assignment 2019-12-31 00:57:39 +04:00
Dragos Oancea ed991ef153 [core] scan-build: switch_strftime_tz() - Dead assignment 2019-12-31 00:57:29 +04:00
Dragos Oancea cb7db309af [core] scan-build: video_bridge_thread() - Dereference of null pointer 2019-12-31 00:57:19 +04:00
Andrey Volk 8126d1f482 [sofia-sip] Fix memory leak when a tcp connection gives POLLERR due to RST. 2019-12-31 00:54:49 +04:00
Andrey Volk 0af811bb24 [sofia-sip] Fix memory leak when incomplete tls connection. 2019-12-31 00:49:50 +04:00
Andrey Volk dd1aab3332 [mod_voicemail] vm_fsdb_msg_email command leaks xml object. 2019-12-31 00:48:01 +04:00
Andrey Volk e4f95f7069 [mod_local_stream] Xml object is leaked on reload when cannot stop local_stream beeing in use. 2019-12-31 00:46:36 +04:00
Andrey Volk 8442218df1 [mod_sofia] sofia_handle_sip_i_invite() leaks xml and event objects on acl_token, sofia_reg_handle_sip_r_challenge() leaks xml object when a user does not have params. 2019-12-31 00:45:00 +04:00
Andrey Volk 5fd6299267 [mod_hiredis] Xml object is not freed on load. 2019-12-31 00:43:24 +04:00
Andrey Volk 05dbd8bd05 [mod_distributor] Fix leak of xml object when no lists in config. 2019-12-31 00:41:19 +04:00
Liyang 4d2f3fc5ec FS-11677: [mod_video_filter] fix memory leak and support replace read/write video of session with a bug
https://freeswitch.org/jira/browse/FS-11677
2019-12-31 00:31:23 +04:00
Liyang 9847a8915f FS-11677: [mod_video_filter] support api/app to replace the write video of session with a bug
https://freeswitch.org/jira/browse/FS-11677
2019-12-31 00:31:08 +04:00