Commit Graph

21735 Commits

Author SHA1 Message Date
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 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
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
Anthony Minessale 8f26613c80 [core] add unlockable youtube resolver in the core. use global variable ${youtube_resolver} to set a cgi that takes url= param to translate youtube urls into real stream urls 2021-10-23 22:00:27 +03:00
Anthony Minessale 0d463a2b42 [core] expand vars on execute_on and api_on 2021-10-23 22:00:27 +03:00
Chris Rienzo 6b6b721c10 [core] allow external ID to be same as the session UUID 2021-10-23 22:00:26 +03:00
Chris Rienzo c2e240d6dc [core] Add switch_core_session_set_external_id() which lets you define an additional identifier that you can use in switch_core_session_locate(). 2021-10-23 22:00:26 +03:00
Anthony Minessale d197db0601 [mod_verto] verto.announce 2021-10-23 22:00:25 +03:00
Anthony Minessale 34fa5c7dfe [mod_verto] add subscribed channel in events so you can see what subscription string you used 2021-10-23 22:00:25 +03:00
Anthony Minessale d84bf06bb1 [mod_verto] send last known display info on re-attach 2021-10-23 22:00:24 +03:00
Anthony Minessale ce6426052b [mod_verto] add verto.ping 2021-10-23 22:00:24 +03:00
Anthony Minessale 3b26bc65ae [mod_verto] verto auth stuff 2021-10-23 22:00:24 +03:00
Anthony Minessale ebe1fb3874 [mod_verto] add verto perms commands 2021-10-23 22:00:23 +03:00
Anthony Minessale c20cffdf61 [mod_verto] add jsonlist 2021-10-23 22:00:23 +03:00
Anthony Minessale 249718e934 [mod_verto] add log line to detect incorrect login 2021-10-23 22:00:22 +03:00
Anthony Minessale 4220e4659a [mod_verto] make verto.attach always an answer and never an offer 2021-10-23 22:00:22 +03:00
Anthony Minessale 993e778fcc [mod_verto] fix reattach on reopen 2021-10-23 22:00:22 +03:00
Anthony Minessale 91c0379041 [mod_verto] get the conference to send a keyframe when you reload/attach so the video shows up faster 2021-10-23 22:00:21 +03:00
Anthony Minessale ff48868dc4 [mod_verto] add param to have verto send pass over xml_curl 2021-10-23 22:00:21 +03:00
Anthony Minessale 902fa2c3da [mod_verto] add debug controls for verto 2021-10-23 22:00:20 +03:00
Anthony Minessale fb2250df8e [mod_verto] indicate video fps and size of current layer to client 2021-10-23 22:00:20 +03:00
Anthony Minessale a33062c9d8 [mod_verto] verto re-invites part 1 2021-10-23 22:00:19 +03:00
Anthony Minessale 1793c8cb7a [mod_verto] add new verto command construct basics 2021-10-23 22:00:19 +03:00
Anthony Minessale 2d5df53009 [mod_verto] new changes for verto video features 2021-10-23 22:00:18 +03:00
Anthony Minessale dc4bef79ec [core]speed up call setup 2021-10-23 22:00:18 +03:00
Andrey Volk da8e3b04db [mod_verto] Fix content length overflow on 32bit 2021-10-23 22:00:18 +03:00
Anthony Minessale ed98516666 [mod_verto] move websocket implementation to libks 2021-10-23 22:00:17 +03:00
Seven Du e237d08073 [mod_dptools] add debug_media app 2021-10-23 22:00:17 +03:00
Mike Jerris fc8d431879 [mod_av] dont leak avformat context in error cases 2021-10-23 22:00:16 +03:00
Anthony Minessale 2ba85b8555 [core] add idle cpu to log lines 2021-10-23 22:00:14 +03:00
Mike Jerris 531f2f0135 [core] url decode video render text 2021-10-23 22:00:14 +03:00
Anthony Minessale 6e68da4930 [core] reduce waits in sqldb 2021-10-23 22:00:14 +03:00
Anthony Minessale cc68179d2b [mod_sofia] add sip_ignore_remote_cid var to ignore remote display update 2021-10-23 22:00:13 +03:00
wangxiaoli 1cbb2e6fc3 [mod_openh264, mod_av] add avcodec and openh264 debug 2021-10-23 22:00:13 +03:00
Anthony Minessale e2a53bdcb8 [mod_signalwire] add configurable stun port 2021-10-23 22:00:12 +03:00
Anthony Minessale 182a9cd1d5 [mod_imagick] improve log line 2021-10-23 22:00:12 +03:00
Anthony Minessale 243fc44f45 [mod_httapi, mod_http_cache] pass through seek values tracked in handle on proxy file handles 2021-10-23 22:00:12 +03:00
wangxiaoli 2ceec0b7f8 [mod_av] print I-frame 2021-10-23 22:00:11 +03:00
Anthony Minessale fd747684a4 [mod_av] fix interrupt callback is not passed down to the hls context in the first open_input 2021-10-23 22:00:11 +03:00
Anthony Minessale f74e2a962c [core] add switch_filecmp 2021-10-23 22:00:10 +03:00
Anthony Minessale 761d5310fd [core] make auto mean cpu * 3 / 2 2021-10-23 22:00:10 +03:00
Dragos Oancea b2a8f9ce9f [core] change estimator CUSUM design params for loss to reduce oscillations. rename var. 2021-10-23 22:00:09 +03:00
Anthony Minessale bb02989f42 [core] use the more efficient mult-byte tolower/toupper in the helper func 2021-10-23 22:00:09 +03:00
Anthony Minessale 4ad2e71f95 [mod_imagick] [mod_png] small tweaks for pdf 2021-10-23 22:00:08 +03:00
Andrey Volk 07884e20a2 [Build-System] Fix switch_packetizer headers and add it to the build. 2021-10-23 22:00:08 +03:00
Mike Jerris 465344e8e3 [mod_fsv] fix leak in read failure scenario 2021-10-23 22:00:08 +03:00
Seven Du 97276035dc [mod_av] fix leak (#211) 2021-10-23 22:00:06 +03:00
Seven Du 5243fbd3c5 [core, mod_av] move switch_packetizer to core 2021-10-23 22:00:06 +03:00
Seven Du 64aebc31ed [core] fix memeory leak when font not found 2021-10-23 22:00:05 +03:00
Seven Du 23640d06b1 [mod_av] fix value never read 2021-10-23 22:00:04 +03:00
Seven Du 2448d32c0f [core] add jpg data_url support with stb_image 2021-10-23 22:00:03 +03:00
Seven Du 2a87e7b98c [core] add stb_image_write supported image write 2021-10-23 22:00:03 +03:00
Seven Du 58d5442dc5 [core] add stb_image to read more supported picture formats 2021-10-23 22:00:03 +03:00
Seven Du 9d2cb8b190 [mod_av] play video without decode 2021-10-23 22:00:02 +03:00
Seven Du 0db19ecdf8 [mod_fsv] add no_video_decode to support read video rtp packets without decode 2021-10-23 22:00:02 +03:00
Seven Du 3a1a2b3831 [mod_fsv] fix channels regression from 94eb8ac0a 2021-10-23 22:00:02 +03:00
Seven Du 7b46c01e9e [mod_fsv] add video read support to fsv file format 2021-10-23 22:00:01 +03:00
Seven Du 01ffc4493c [core] fix patch alpha on alpna image 2021-10-23 22:00:00 +03:00
Seven Du 96562bcc48 [core] add switch_img_read_png_from_memory 2021-10-23 22:00:00 +03:00
Anthony Minessale b18ea498df [core] add new prompt functionality to ask for pin over dialogbox 2021-10-23 22:00:00 +03:00
Anthony Minessale ffbe8500ec [core] add new function to theorize the dimensions of an image if it were to be resizedto fit inside another image 2021-10-23 21:59:59 +03:00
Anthony Minessale efff71f2f0 [core] add switch_thread_pool_wait 2021-10-23 21:59:59 +03:00
Anthony Minessale 2c7f97a606 [mod_verto] allow vars from dp to pass to verto dialog 2021-10-23 21:59:59 +03:00
Chris Rienzo 6fb9a69fca [core] Remove 255 byte limit to core ASR param stored in module name 2021-10-23 21:59:58 +03:00
Chris Rienzo 6a2661b608 [mod_conference] Members are searchable by var in more APIs 2021-10-23 21:59:57 +03:00
Andrey Volk ec7ec190b0 [mod_sofia] Add TLS v1.3 support. 2021-10-23 21:59:57 +03:00
Seven Du 01b92f00bb [core] add peer uuid to originate log 2021-10-23 21:59:57 +03:00
Chris Rienzo d1d777df6c [core] add SCSC_SHUTDOWN_CAUSE 2021-10-23 21:59:56 +03:00
Ken 53807da088 [mod_sofia] Include isup-oli parameter on outbound invite when we have value in caller profile 2021-10-23 21:59:56 +03:00
phonecomwire 885c05f01b [mod_fifo] adding 'noans' and 'early' call status options and dtmf '0' disable config settings option 2021-10-23 21:59:56 +03:00
surendrasignalwire 28e7353769 [mod_sofia] Adding custom header to refer 2021-10-23 21:59:55 +03:00
Chris Rienzo 3fca63e821 [mod_conference] Add conference::maintenance conference-heartbeat. Enable with heartbeat-period-sec configuration, minimum 20 seconds, 0 to disable. 2021-10-23 21:59:55 +03:00
phonecomwire e8bbe933ac [mod_valet_parking] Add valet_parking_orbit_exit_key option 2021-10-23 21:59:54 +03:00
Chris Rienzo 7770359e8a [mod_av] Don't require .ext for streaming rtmp:// and rtsp:// formats 2021-10-23 21:59:54 +03:00
Michael Jerris 53b459a687 [core] add support for resolving (and ignoring) mdns style .local addresses in ice candidates 2021-10-23 21:59:54 +03:00
Chris Rienzo 6a099f74f9 [mod_spandsp] Protect spandsp data from t38 timer thread and call session thread simultaneous access. 2021-10-23 21:59:53 +03:00
Andrey Volk 61089e8f24 [core] Improve session recording thread performance. 2021-10-23 21:59:53 +03:00
VCC Live/Core d6de1d9af7 [Core] Add systemd sd_notify support 2021-10-23 21:59:52 +03:00
cerner-cac-solution-partner 9f0656a6ba [mod_event_multicast] Add unicast and IPv6 support, enhanced reloadxml support. 2021-10-23 21:59:52 +03:00
Nick Lemberger dfb6e3a3ef [mod_event_multicast] Normalize whitespace/tabs 2021-10-23 21:59:52 +03:00
Michael Jerris 9163b7569a [mod_sofia] add 'sip_destination_prefix' var to prefix user portion of request uri with a value (note this will not affect calls to registered endpoints) (#70) 2021-10-23 21:59:51 +03:00
Mike Jerris 0283c9e2e7 [mod_sofia] add 'sip_destination_prefix' var to prefix user portion of request uri with a value (note this will not affect calls to registered endpoints) 2021-10-23 21:59:51 +03:00
Seven Du 260d1a40e3 [mod_sofia] add contact header in REFER 2021-10-23 21:59:50 +03:00
Chris Rienzo 205bf55c8f [mod_spandsp] Use single log for fax negotiation and page reports. 2021-10-23 21:59:50 +03:00
Mike Jerris 829676e4d3 FS-11856: [Core] Offer all negotiated codecs in 200 OK when receiving re-INVITE without SDP 2021-10-23 21:59:50 +03:00
Andrey Volk e51bbea7ca [mod_dptools]: wait_for_silence does not allow the listen_hits parameter to be a value of 0 2021-10-23 21:59:49 +03:00
Seven Du 623fecd599 [Core] Add partial Asr support 2021-10-23 21:59:49 +03:00
Liyang b1714199ce FS-11855: [Core] Offer all negotiated codecs in 200 OK when receiving re-INVITE without SDP 2021-10-23 21:59:48 +03:00
Seven Du 8e2bba1d9d [mod_conference] make conference breakable 2021-10-23 21:59:48 +03:00
nrensen ce87856c91
[mod_sofia] Remove redundant sip_from->a_url checks 2021-10-21 19:39:19 +03:00
nrensen 01fe8b36fa
[Core] Fix portability for logging last_digit_time in switch_ivr_play_say.c 2021-10-21 19:36:59 +03:00
Marc Olivier Chouinard 578024ed86
[mod_python3] Replace previously removed deprecated calls 2021-10-21 03:16:39 +03:00
Andrey Volk 24958e51c2 [mod_python3] Fix switch module definition preventing mod_python3 from loading. 2021-10-20 19:49:51 +03:00
Andrey Volk b8be418fb8 [Core, mod_commands] Implement memory allocation statistics by adding the "memory" API command. 2021-10-20 17:53:18 +03:00
Andrey Volk 3f958d3724 [mod_verto] scan-build: fix false-positive Argument with 'nonnull' attribute passed null in check_auth 2021-10-19 20:51:56 +03:00
Andrey Volk b9fdf00f6f [Core] Fix a false-positive memory leak detected by scan-build in switch_channel_set_variable_strip_quotes_var_check() 2021-10-19 20:45:08 +03:00
Andrey Volk c58b659f3f [Core] Add new switch_channel_set_variable_strip_quotes API, cleanup mod_sofia. 2021-10-19 20:45:07 +03:00
Andrey Volk c1b00d945b [mod_verto] Fix memory leak and a deadlock on verto endpoint interface in verto_outgoing_channel() 2021-10-19 20:45:06 +03:00
Andrey Volk 36ac71f621 [Core] Fix false-positive memory leak in switch_core_set_variable() detected by scan-build 2021-10-19 20:45:05 +03:00
Andrey Volk 8201f54a2c [Core] Fix possible memory leak in switch_console_complete() 2021-10-19 20:39:37 +03:00
Andrey Volk 21952f26c1 [freeswitch] Argument with 'nonnull' attribute passed null in reincarnate_protect() 2021-10-19 20:39:37 +03:00
Andrey Volk 58abf91d1d [Core] Add new switch_core_hash_insert_dup_auto_free() API 2021-10-19 20:39:36 +03:00
Andrey Volk 0b0f5fff65 [mod_sofia] Cleanup sofia_glue_get_host() and make the pool arg be required. 2021-10-19 20:39:35 +03:00
Andrey Volk f21da2885b [mod_verto] Add hack.diff to mcast's swig 2021-10-19 20:39:34 +03:00
Andrey Volk bd7b76bacf [Core] Add new switch_core_hash_insert_pointer(switch_hash_t *hash, const void *data) API to be able to insert data into a hash with an auto-generated key based on the data pointer. Cleanup switch_loadable_module_process() to not generate hash keys for stored events itself. Add unit-test. 2021-10-19 20:35:12 +03:00
Andrey Volk e14df00aa6 [Core] scan-build: Argument with 'nonnull' attribute passed null in switch_html_strip() 2021-10-19 20:35:11 +03:00
Andrey Volk 67048377c4 [Core] Fix possible dereference of null pointer in switch_ivr_originate() and switch_ivr_enterprise_originate() 2021-10-19 20:35:10 +03:00
Andrey Volk 4b03a47a7f [Core] Fix dereference of null pointer in switch_ivr_wait_for_answer() 2021-10-19 20:35:10 +03:00
Dragos Oancea af095ebb68 [core] scan-build: Dereference of null pointer (loaded from variable 'flags') 2021-10-19 20:35:09 +03:00
Andrey Volk 77c8557aa7 [mod_managed] Fix Windows build 2021-10-19 20:34:45 +03:00
Andrey Volk dca7940fb9 [Core] scan-build: Use of zero allocated in switch_xml_str2utf8() 2021-10-19 20:30:18 +03:00
Andrey Volk c35a3bb4db [Core] scan-build: fix false-positive memory leak in switch_xml_set_attr_d and switch_xml_set_attr_d_buf 2021-10-19 20:30:18 +03:00
Andrey Volk 781180ff48 [Core] scan-build: memory leak in switch_xml_user_cache() 2021-10-19 20:30:17 +03:00
Andrey Volk e30c62f8ec [Core] scan-build: Argument with 'nonnull' attribute passed null in switch_xml_internal_dtd() 2021-10-19 20:30:17 +03:00
Andrey Volk 6726922e34 [mod_sofia] scan-build: Dereference of null pointer in sofia_handle_sip_i_bye(), sofia_handle_sip_i_invite() and our_sofia_event_callback() 2021-10-19 20:30:15 +03:00
Andrey Volk ac1a3dc565 [mod_sofia] scan-build: Argument with 'nonnull' attribute passed null 2021-10-19 20:26:53 +03:00
Andrey Volk 86a075da56 [mod_sofia] scan-build: Fix dereference of null pointer in sofia_outgoing_channel(). 2021-10-19 20:26:53 +03:00
Andrey Volk 92a55cf85a [Core] scan-build: Argument with 'nonnull' attribute passed null in switch_loadable_module_load_module_ex() 2021-10-19 20:26:52 +03:00
Andrey Volk 1b048a8a97 [Core, mod_hash] Add two APIs switch_core_hash_insert_alloc_destructor and switch_core_hash_insert_dup_destructor. Code cleanup in mod_hash. Add unit-tests. 2021-10-19 20:26:50 +03:00
Andrey Volk f92368d2f2 [mod_xml_ldap] Move all memory allocations into the mod's pool so it does not leak on shutdown. Fix leaking xml_ldap_search(). 2021-10-19 20:24:10 +03:00
Andrey Volk 9a491fb8f8 [mod_say_pl] Fix potential memory leak in pl_say_ip() 2021-10-19 20:24:09 +03:00
Andrey Volk 4ab8936a0e [mod_v8] Fix false-positive memory leak detected in process_status_function() by scan-build 2021-10-19 20:24:09 +03:00
Andrey Volk 0e96038d21 [mod_lua] scan-build: Called C++ object pointer is null (Dbh_test_reactive) 2021-10-19 20:24:09 +03:00
Andrey Volk 3abccb4b4f [mod_kazoo] Fix leaking stream in kz_event_expand_headers_check() 2021-10-19 20:24:06 +03:00
Andrey Volk ccd2174fb5 [mod_kazoo] Remove wrong usage of switch_safe_strdup() causing leaks in kazoo_tweaks 2021-10-19 20:19:26 +03:00
Andrey Volk 31c10fac22 [mod_kazoo] scan-build: Argument with 'nonnull' attribute passed null in kz_endpoint_outgoing_channel() 2021-10-19 20:19:26 +03:00
Andrey Volk 322191a2f4 [mod_dialplan_xml] Fix possible use after free in parse_exten() 2021-10-19 20:19:25 +03:00
Andrey Volk bb150bc486 [mod_spandsp] scan-build: Argument with 'nonnull' attribute passed null in udptl_rx_packet() 2021-10-19 20:15:59 +03:00
Andrey Volk e4ec2e1043 [mod_spandsp] scan-build: Argument with 'nonnull' attribute passed null in modem_init() 2021-10-19 20:15:58 +03:00
Andrey Volk e42ebbb33f [Core] scan-build: Fix false-positive use-after-free in switch_xml_free_attr(). Add unit test. 2021-10-19 20:15:58 +03:00
Andrey Volk 95fb8c7773 [Core] Fix crash on removing xml attributes. Add unit test. 2021-10-19 20:15:57 +03:00
Andrey Volk b59c28bdbd [Core] scan-build: fix false-positive use-after-free in switch_xml_internal_dtd() 2021-10-19 20:10:35 +03:00
Andrey Volk cba582cf4a [mod_sofia] Fix multiple issues in sofia_presence.c found by scan-build. 2021-10-19 20:10:35 +03:00
Dragos Oancea 0cf323c339 [mod_opusfile] unit-tests: add timer to fix random failures due to the fact that the decoding callback is not installed immediatelly 2021-10-15 16:52:06 +03:00
Dragos Oancea 97a0b0fbae [mod_opusfile] protect ogg data buff 2021-10-15 16:52:06 +03:00
Dragos Oancea 37ab323c13 [mod_opusfile] add ogg/opus streams, fix Makefile for encoding.
[mod_opusfile] add stats, opusctl

[mod_opusfile] add unit-test using teletone
2021-10-15 16:52:06 +03:00
Kevin Garabedian f8d8e740cc [core] play_and_collect_input() - suppress digit timer if start of speech is detected 2021-10-14 23:45:38 +03:00
Andrey Volk e9fde845de [mod_cv] Replace deprecated definitions and update configure.ac to check renamed opencv4.pc on Debian Bullseye. 2021-10-14 23:29:30 +03:00
Andrey Volk 2505b45134 [mod_skinny, mod_cdr_mongodb, mod_rayo] Fix Debian 11 build warnings. 2021-10-14 23:29:06 +03:00
Andrey Volk 54becc8d28 [mod_python3] Remove deprecated calls. 2021-10-14 23:27:33 +03:00
Andrey Volk e44fd2ea38 [mod_python3, ESL py3mod] Add Python3 support. 2021-10-14 23:26:36 +03:00
Dragos Oancea acbe88d18d [core] polish SEND_RTCP_MESSAGE 2021-10-04 08:54:05 +00:00
Ryan Mitchell 607f5db140 [core] add SEND_RTCP_MESSAGE:
toggle send rtcp events off fire_rtcp_events.
eval most common path first when checking flags.
2021-10-01 13:46:34 +00:00
Noah Mehl d24280c700 [core] Add SEND_RTCP_MESSAGE
We utilize: https://github.com/sipcapture/hepipe.js to monitor RTCP for our calls. As such, it's super helpful to get the sent RTCP data along with the received RTCP data. The new: SEND_RTCP_MESSAGE basically mirrors the existing RECV_RTCP_MESSAGE.
2021-10-01 13:46:34 +00:00
Dhruv Gupta 0924fed31d [mod_sofia] Deprecate the auth-subscriptions profile param by setting it to be enabled by default and introducing the new disable-auth-subscriptions param with a higher priority when set. 2021-10-01 00:40:24 +03:00
Dragos Oancea bb7bf86bb9 [core] print SRTP lib version at init. 2021-09-27 16:42:37 +03:00
Dragos Oancea 5aacf41f14 [core] add core media getter (it gets the RTP session, handy for unit-testing). 2021-09-27 16:42:30 +03:00
Chris Rienzo 6827c66373
[mod_verto] Handle short read from websocket. This fixes an interop problem with iOS 15. 2021-09-14 21:24:42 +03:00
Dragos Oancea 9eb20d7b54 [mod_sofia] fix memleak on gw registration timeout or 403 2021-09-08 19:50:52 +03:00