Commit Graph

35195 Commits

Author SHA1 Message Date
Andrey Volk 35e8ad8f70 [Build-System] Add --enable-heap-profiler and --enable-cpu-profiler configure flags. 2021-10-23 01:21:42 +03:00
Andrey Volk 70784febd8 [Core] Fix MSRP relaying. 2021-10-23 01:21:41 +03:00
Andrey Volk e449dcbade [mod_httapi] Avoid using CURLOPT_WRITEFUNCTION for headers 2021-10-23 01:21:41 +03:00
Chris Rienzo 580a46ca5a [mod_ssml] replace strncpy() with snprintf() to fix errors reported by newer compilers. 2021-10-23 01:21:40 +03:00
Dragos Oancea b9bb5aa2ed [mod_conference] json: MFLAG_DIST_DTMF 2021-10-23 01:21:39 +03:00
Dragos Oancea 763230cc09 [mod_http_cache] fix race cond at shutdown 2021-10-23 01:21:38 +03:00
Andrey Volk 2767527c67 [mod_commands] Fix leak of a timer object in timer_test 2021-10-23 01:21:37 +03:00
Andrey Volk 83a02712f5 [mod_sofia] Destroy session after relaying notify result on proxy refer. 2021-10-23 01:21:37 +03:00
Andrey Volk a39e723d98 [mod_python] scan-build: Assigned value is garbage or undefined 2021-10-23 01:21:36 +03:00
Andrey Volk 8e7e2fffc1 [mod_python] scan-build: Called C++ object pointer is null 2021-10-23 01:21:35 +03:00
Andrey Volk 9d5503b71d [Core] Fix database handles infinitely locked in switch_cache_db_database_interface_flush_handles() 2021-10-23 01:21:34 +03:00
Andrey Volk 1607214fd0 [Core] sqldb: Fix wrong lock order in switch_cache_db_release_db_handle() 2021-10-23 01:21:33 +03:00
Andrey Volk 5169e58aca [Core] Fix wrong lock order in switch_user_sql_thread() 2021-10-23 01:21:32 +03:00
Andrey Volk 65afde7b43 [Core] Cleanup sqldb: remove unimplemented io_mutex from switch_cache_db_handle and sql_manager structures 2021-10-23 01:21:32 +03:00
Dragos Oancea 0dcc1d119f [mod_sofia] rfc8760: use different nonce per auth algorithm.
[mod_sofia] keep unconsumed nonce in the db for 32 seconds (timer_t1x64) + nonce_ttl.
[mod_sofia] add #ifdef condition on using sha512: OPENSSL_VERSION_NUMBER >= 0x10101000L
2021-10-23 01:21:31 +03:00
aslgithub 19b31edc64 [mod_verto] clientReady - reattached_sessions array
Make mod_verto clientReady reattached_sessions array send channel IDs that have been reattached, rather than the same connection ID repeatedly.

Co-authored-by: davidp <davidp@cyfas.co.uk>
2021-10-23 01:21:30 +03:00
Andrey Volk a8c971aad4 [Core] Add exclude-error-log-from-xml-cdr config parameter and exclude_error_log_from_xml_cdr global variable. 2021-10-23 01:21:30 +03:00
Chris Rienzo aa9134fdad [mod_ssml] Add channel-uuid parameter to the tts:// file format and forward it to the core speech handle as a parameter. 2021-10-23 01:21:29 +03:00
Chris Rienzo 9718de33e8 [mod_sofia] add sip_refer_continue_after_reply channel variable.
Set to true to prevent hangup when response to REFER request is received.
Added sip_refer_target_status_code and sip_refer_target_provisional_status_code
channel variables to store responses from NOTIFY sipfrags.
2021-10-23 01:21:28 +03:00
Chris Rienzo 44f868c77b [core] Add switch_log_meta_printf() and switch_log_meta_vprintf() to allow JSON metadata to tag along with the log message. 2021-10-23 01:21:27 +03:00
Chris Rienzo 59ac11e10b [Unit-tests] Report test failure details as they happen. Fix issue where fst_xcheck definition did not allow its use inside conditional statements. 2021-10-23 01:21:26 +03:00
Chris Rienzo fecc3af9bb [core] Add app_disable_expand_variables channel variable. When true, application args are not expanded by FreeSWITCH and are passed to the application unchanged. 2021-10-23 01:21:25 +03:00
Chris Rienzo a09f09fb1b [core] Add switch_ivr_record_file_event() and handle execute_on_record_start/execute_on_record_stop 2021-10-23 01:21:25 +03:00
Chris Rienzo 75223dc44a [core] Update switch_ivr_record_session_event() to check event vars for RECORD_STEREO, etc 2021-10-23 01:21:24 +03:00
Andrey Volk caa428aa16 [Core] Prevent write after free into heap when calling switch_core_destroy_memory_pool() 2021-10-23 01:21:23 +03:00
Seven Du 7b873a2dc3 [mod_loopback] Add video support to null endpoint
* [mod_loopback] add video support to null channel

* [core test] add video session support

* [core] add video channel test case
2021-10-23 01:21:22 +03:00
Chris Rienzo 5e7db8fdb5 [core] Add SMBF_PAUSE media bug flag to pause an individual media bug.
* [core] Add SMBF_PAUSE media bug flag to pause an individual media bug.
[core] Add switch_ivr_record_session_pause() to pause a session recording.
[mod_dptools] Add record_session_pause and record_session_resume dialplan APPs.
[mod_commands] Add pause/resume sub-commands to uuid_record API.
2021-10-23 01:21:21 +03:00
Andrey Volk 0867950a1a [Core] Add check for recovery_skip_announcement_type_applications channel variable, change default behavior to not skip announcement type apps on recovery. 2021-10-23 01:21:20 +03:00
Andrey Volk 3a16866201 [mod_sofia] Set sip_100_uepoch channel variable on initial 100 trying response. 2021-10-23 01:21:19 +03:00
Andrey Volk 4abc58c396 [mod_sofia] Add tls-orq-connect-timeout profile parameter so SIP engine could try again sending an outgoing request and when possible - using an alternative address (DNS failover). Add sip_call_tls_orq_connect_timeout channel variable per call to override profile's timeout. 2021-10-23 01:21:18 +03:00
Andrey Volk 4893572069 [Unit-tests] Add --enable-fake-dlclose configure flag so modules are not unloaded and ASAN could give more info and not just <unknown module>. 2021-10-23 01:21:18 +03:00
Seven Du a7a497810d [mod_av] support rtmps 2021-10-23 01:21:17 +03:00
Chris Rienzo 235dbf5f57 [mod_spandsp] set fax_trace_file channel var if a trace file is opened 2021-10-23 01:21:16 +03:00
Chris Rienzo 3a0f3686ae [mod_spandsp] add fax_trace_dir channel variable. When set, it will write spandsp fax trace to one file per fax. 2021-10-23 01:21:15 +03:00
Chris Rienzo 39793617c8 [core, mod_console, mod_graylog2] Add sequence to logs to preserve order when timestamp is not precise enough. 2021-10-23 01:21:14 +03:00
Chris Rienzo 3e3200db89 [mod_spandsp] Add verbose-log-level configuration. 2021-10-23 01:21:14 +03:00
Chris Rienzo b52a3f95a0 [core] Do not log ERROR in switch_ivr_record_session() if media bug failed due to hangup 2021-10-23 01:21:13 +03:00
Andrey Volk 60ce1f5603 [mod_verto] Fix use of libks websockets on Windows. POLLHUP is ignored in poll events on Linux but fails on Windows so should be avoided. 2021-10-23 01:21:12 +03:00
Anthony Minessale 708944fad1 [mod_av] don't exit on decode errs just continue 2021-10-23 01:21:11 +03:00
Seven Du d9cd35455e [mod_av] fix interrupt callback is not passed down to the hls context in the first open_input 2021-10-23 01:21:10 +03:00
Seven Du c14191e09e [mod_av] make key_frame_min_freq work to prevent generate key frames too frequently 2021-10-23 01:21:09 +03:00
Anthony Minessale 9f9d54a22e [core] some more hardening work 2021-10-23 01:21:08 +03:00
Anthony Minessale c31a6e0bcb [core] some mods for file playback to get proper bitrate and timing 2021-10-23 01:21:08 +03:00
Anthony Minessale 415b0b74bb [mod_sofia] don't auto unhold via media format for non-sip 2021-10-23 01:21:07 +03:00
Anthony Minessale 735637fa4d [core] don't decode strings with no encoding in them 2021-10-23 01:21:06 +03:00
Anthony Minessale f3f757072d [core] gen keyframe on new recording 2021-10-23 01:21:05 +03:00
Anthony Minessale ae85190e0f [mod_video_filter] fix some keyframe stuff and add read:sound and write:sound options 2021-10-23 01:21:05 +03:00
Anthony Minessale 50fea65c34 [core] flush all the rtp on transfers 2021-10-23 01:21:04 +03:00
Anthony Minessale 280ffbc155 [core] fix possible looping recover 2021-10-23 01:21:03 +03:00
Anthony Minessale 9457bf9082 [core, mod_verto] remove CF_VIDEO_ONLY and pay attention to the streams instead and add CF_NO_RECOVER flag for verto 2021-10-23 01:21:02 +03:00