Commit Graph

35293 Commits

Author SHA1 Message Date
Andrey Volk 729992d5ae [mod_httapi] Avoid using CURLOPT_WRITEFUNCTION for headers 2021-10-23 22:00:47 +03:00
Chris Rienzo 326edd6b6c [mod_ssml] replace strncpy() with snprintf() to fix errors reported by newer compilers. 2021-10-23 22:00:47 +03:00
Dragos Oancea 3764871c1a [mod_conference] json: MFLAG_DIST_DTMF 2021-10-23 22:00:46 +03:00
Dragos Oancea c8413bb77c [mod_http_cache] fix race cond at shutdown 2021-10-23 22:00:46 +03:00
Andrey Volk 90b85ce4cd [mod_commands] Fix leak of a timer object in timer_test 2021-10-23 22:00:46 +03:00
Andrey Volk 3447daea46 [mod_sofia] Destroy session after relaying notify result on proxy refer. 2021-10-23 22:00:45 +03:00
Andrey Volk cd9a44799b [mod_python] scan-build: Assigned value is garbage or undefined 2021-10-23 22:00:45 +03:00
Andrey Volk 0d105c5683 [mod_python] scan-build: Called C++ object pointer is null 2021-10-23 22:00:44 +03:00
Andrey Volk 94337b33fb [Core] Fix database handles infinitely locked in switch_cache_db_database_interface_flush_handles() 2021-10-23 22:00:44 +03:00
Andrey Volk 58f7c2d64e [Core] sqldb: Fix wrong lock order in switch_cache_db_release_db_handle() 2021-10-23 22:00:44 +03:00
Andrey Volk 69b8c080f6 [Core] Fix wrong lock order in switch_user_sql_thread() 2021-10-23 22:00:43 +03:00
Andrey Volk 79127d94e5 [Core] Cleanup sqldb: remove unimplemented io_mutex from switch_cache_db_handle and sql_manager structures 2021-10-23 22:00:43 +03:00
Dragos Oancea c86e3827f9 [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 22:00:42 +03:00
aslgithub fa78235baf [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 22:00:42 +03:00
Andrey Volk f289721147 [Core] Add exclude-error-log-from-xml-cdr config parameter and exclude_error_log_from_xml_cdr global variable. 2021-10-23 22:00:42 +03:00
Chris Rienzo 97d5854655 [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 22:00:41 +03:00
Chris Rienzo 1adcebb309 [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 22:00:41 +03:00
Chris Rienzo a26d0c39b0 [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 22:00:40 +03:00
Chris Rienzo 451900b353 [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 22:00:40 +03:00
Chris Rienzo e6cd6391ff [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 22:00:40 +03:00
Chris Rienzo 594963a3ca [core] Add switch_ivr_record_file_event() and handle execute_on_record_start/execute_on_record_stop 2021-10-23 22:00:39 +03:00
Chris Rienzo 60faf1a1b1 [core] Update switch_ivr_record_session_event() to check event vars for RECORD_STEREO, etc 2021-10-23 22:00:39 +03:00
Andrey Volk a7fa9bfedc [Core] Prevent write after free into heap when calling switch_core_destroy_memory_pool() 2021-10-23 22:00:39 +03:00
Seven Du 90db5a9032 [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 22:00:38 +03:00
Chris Rienzo 60c4b62254 [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 22:00:38 +03:00
Andrey Volk a162cf86e8 [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 22:00:37 +03:00
Andrey Volk d2e8a775b0 [mod_sofia] Set sip_100_uepoch channel variable on initial 100 trying response. 2021-10-23 22:00:37 +03:00
Andrey Volk 66a92063b6 [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 22:00:36 +03:00
Andrey Volk 734e9776e0 [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 22:00:36 +03:00
Seven Du 6b3cd2e41f [mod_av] support rtmps 2021-10-23 22:00:36 +03:00
Chris Rienzo be8535341a [mod_spandsp] set fax_trace_file channel var if a trace file is opened 2021-10-23 22:00:35 +03:00
Chris Rienzo a9629e72d4 [mod_spandsp] add fax_trace_dir channel variable. When set, it will write spandsp fax trace to one file per fax. 2021-10-23 22:00:35 +03:00
Chris Rienzo 2c3dcbde71 [core, mod_console, mod_graylog2] Add sequence to logs to preserve order when timestamp is not precise enough. 2021-10-23 22:00:34 +03:00
Chris Rienzo cd041b768c [mod_spandsp] Add verbose-log-level configuration. 2021-10-23 22:00:34 +03:00
Chris Rienzo 31fdf1b746 [core] Do not log ERROR in switch_ivr_record_session() if media bug failed due to hangup 2021-10-23 22:00:34 +03:00
Andrey Volk 5331850fc0 [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 22:00:33 +03:00
Anthony Minessale f8150ead2c [mod_av] don't exit on decode errs just continue 2021-10-23 22:00:33 +03:00
Seven Du 565550f218 [mod_av] fix interrupt callback is not passed down to the hls context in the first open_input 2021-10-23 22:00:32 +03:00
Seven Du 7cd3bf5af2 [mod_av] make key_frame_min_freq work to prevent generate key frames too frequently 2021-10-23 22:00:32 +03:00
Anthony Minessale 128d4776f8 [core] some more hardening work 2021-10-23 22:00:32 +03:00
Anthony Minessale d3ca238b05 [core] some mods for file playback to get proper bitrate and timing 2021-10-23 22:00:31 +03:00
Anthony Minessale d2ccb93f3e [mod_sofia] don't auto unhold via media format for non-sip 2021-10-23 22:00:31 +03:00
Anthony Minessale 5111b6ef73 [core] don't decode strings with no encoding in them 2021-10-23 22:00:30 +03:00
Anthony Minessale a7c3c95bef [core] gen keyframe on new recording 2021-10-23 22:00:30 +03:00
Anthony Minessale 1c37daba4c [mod_video_filter] fix some keyframe stuff and add read:sound and write:sound options 2021-10-23 22:00:30 +03:00
Anthony Minessale 8a6a6fca47 [core] flush all the rtp on transfers 2021-10-23 22:00:29 +03:00
Anthony Minessale f8004e1d66 [core] fix possible looping recover 2021-10-23 22:00:29 +03:00
Anthony Minessale badd59d609 [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 22:00:28 +03:00
Anthony Minessale 3ce9a9a393 [core] fix long sql stmts may be skipped, introduced in 2e88c67c9d in 2009 2021-10-23 22:00:28 +03:00
Anthony Minessale 2bdefa3532 [core] add a flag to tell when video media bugs that touch the write stream are active 2021-10-23 22:00:28 +03:00