Commit Graph

35515 Commits

Author SHA1 Message Date
Dragos Oancea a5a1fb9dd8 [mod_sofia] fix memleak (presence) 2021-10-23 22:00:56 +03:00
Dragos Oancea ce9905cdf4 [core] don't hangup call on SRTP errors (new default behaviour) 2021-10-23 22:00:55 +03:00
Chris Rienzo 8e17dca00d [core] Save position of XML opening tag '>' and XML closing tag '<' in switch_xml_parse_str(). 2021-10-23 22:00:55 +03:00
dhruvecosmob 047c3c7217 [Core] Add Unit test script for Check RTP/SAVP transport protocol with crypto attribute. 2021-10-23 22:00:54 +03:00
Andrey Volk 8a2ad233d6 [Core] Do not generate SDP media Descriptions with RTP/SAVP transport protocol when no crypto attribute. 2021-10-23 22:00:54 +03:00
dhruvecosmob d178632748 [mod_sofia] Add a unit-test for the 3pcc telephone event. 2021-10-23 22:00:54 +03:00
Andrey Volk f2bb1aba66 [Core] Fix duplicates in SDP 2021-10-23 22:00:53 +03:00
Andrey Volk f283b1227e [Core] switch_core_media: copy telephony event over on 3rd party response. 2021-10-23 22:00:53 +03:00
Brian West 01d805d5a0 [mod_sofia] Map 607 to CAUSE_UNWANTED and add 608 to CALL_REJECTED 2021-10-23 22:00:52 +03:00
Andrey Volk fcaaf20c7d [Core] switch_ivr: Restrict the misuse of uuid_hold API. Add switch_hold unit-test. 2021-10-23 22:00:52 +03:00
Anthony Minessale 6040f3bf48 [Core] Fix ICE and media delay. 2021-10-23 22:00:52 +03:00
Andrey Volk 76e8c5cc57 [mod_sofia] Fix possible nua handle leak in sofia_handle_sip_i_refer() 2021-10-23 22:00:51 +03:00
Andrey Volk a065460e5f [Core] Fix possible deadlock of an rtp_session in handle_ice() 2021-10-23 22:00:51 +03:00
Dragos Oancea 8eaf6911dc [mod_sofia] unit-tests fix - don't run shaken tests if lib not installed. 2021-10-23 22:00:50 +03:00
Dragos Oancea 31970d51fd [core] MSRP: fix memleak (ssl) 2021-10-23 22:00:50 +03:00
Brian West da15a518f7 [mod_conference] Skip dtmf dist to members with skip-dtmf 2021-10-23 22:00:50 +03:00
Andrey Volk 94f437aefc [Core] Deprecate RFC 2833 Line flash event code 16 according to RFC 4733 2021-10-23 22:00:49 +03:00
Dragos Oancea 392bc26a43 [mod_sofia] fix memleak with invalid hostname as gw/proxy 2021-10-23 22:00:49 +03:00
Andrey Volk ea74d2a5d6 [Core] Don't flip CID on recover if that's done already. 2021-10-23 22:00:48 +03:00
Andrey Volk 68e6ddf828 [Build-System] Add --enable-heap-profiler and --enable-cpu-profiler configure flags. 2021-10-23 22:00:48 +03:00
Andrey Volk 331e50a77b [Core] Fix MSRP relaying. 2021-10-23 22:00:47 +03:00
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