Commit Graph

35212 Commits

Author SHA1 Message Date
Chris Rienzo d459af0a38 [core] Save position of XML opening tag '>' and XML closing tag '<' in switch_xml_parse_str(). 2021-10-23 01:21:55 +03:00
dhruvecosmob 49f1dd4d15 [Core] Add Unit test script for Check RTP/SAVP transport protocol with crypto attribute. 2021-10-23 01:21:54 +03:00
Andrey Volk bb25de9ab9 [Core] Do not generate SDP media Descriptions with RTP/SAVP transport protocol when no crypto attribute. 2021-10-23 01:21:53 +03:00
dhruvecosmob 8308233819 [mod_sofia] Add a unit-test for the 3pcc telephone event. 2021-10-23 01:21:52 +03:00
Andrey Volk 3e93f2423d [Core] Fix duplicates in SDP 2021-10-23 01:21:52 +03:00
Andrey Volk 56a9f5d3a9 [Core] switch_core_media: copy telephony event over on 3rd party response. 2021-10-23 01:21:51 +03:00
Brian West a8d311bb1c [mod_sofia] Map 607 to CAUSE_UNWANTED and add 608 to CALL_REJECTED 2021-10-23 01:21:50 +03:00
Andrey Volk 80f0506ad3 [Core] switch_ivr: Restrict the misuse of uuid_hold API. Add switch_hold unit-test. 2021-10-23 01:21:50 +03:00
Anthony Minessale 945ad43346 [Core] Fix ICE and media delay. 2021-10-23 01:21:48 +03:00
Andrey Volk c7a2e40b0c [mod_sofia] Fix possible nua handle leak in sofia_handle_sip_i_refer() 2021-10-23 01:21:48 +03:00
Andrey Volk e508795b77 [Core] Fix possible deadlock of an rtp_session in handle_ice() 2021-10-23 01:21:47 +03:00
Dragos Oancea dba2c5c4df [mod_sofia] unit-tests fix - don't run shaken tests if lib not installed. 2021-10-23 01:21:46 +03:00
Dragos Oancea fa3e8ef161 [core] MSRP: fix memleak (ssl) 2021-10-23 01:21:46 +03:00
Brian West c7886faabf [mod_conference] Skip dtmf dist to members with skip-dtmf 2021-10-23 01:21:45 +03:00
Andrey Volk 2e5b5dfecf [Core] Deprecate RFC 2833 Line flash event code 16 according to RFC 4733 2021-10-23 01:21:44 +03:00
Dragos Oancea 4723917d70 [mod_sofia] fix memleak with invalid hostname as gw/proxy 2021-10-23 01:21:43 +03:00
Andrey Volk cd4f7bf729 [Core] Don't flip CID on recover if that's done already. 2021-10-23 01:21:43 +03:00
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