]>
git.ipfire.org Git - thirdparty/freeswitch.git/log
Andrey Volk [Thu, 25 Mar 2021 13:16:09 +0000 (16:16 +0300)]
Merge branch 'master' into v1.10
Andrey Volk [Wed, 24 Mar 2021 18:08:57 +0000 (21:08 +0300)]
Merge pull request #126 from micmac1/gentlscert-md
[gentls_cert] Update message digest
Christian Glombek [Wed, 24 Mar 2021 16:30:52 +0000 (17:30 +0100)]
[mod_avmd, esl/python] Two build fixups (#611)
Andrey Volk [Tue, 23 Mar 2021 18:10:30 +0000 (21:10 +0300)]
Merge pull request #1134 from signalwire/add-dial-handle-to-enterprise-originate
[core] Update switch_ivr_enterprise_originate() to accept optional switch_dial_handle_list_t instead of dialstring.
Andrey Volk [Tue, 23 Mar 2021 17:33:46 +0000 (17:33 +0000)]
swigall
Chris Rienzo [Thu, 18 Mar 2021 23:28:40 +0000 (02:28 +0300)]
[core] Update switch_ivr_enterprise_originate() to accept optional switch_dial_handle_list_t instead of dialstring.
Andrey Volk [Fri, 12 Mar 2021 14:27:07 +0000 (17:27 +0300)]
[Core] Hangup call instead of crashing system on SSL_CTX_new failure. Improve logging.
Andrey Volk [Wed, 10 Mar 2021 13:10:54 +0000 (16:10 +0300)]
[Core] switch_ivr_set_user_xml: Buffer is wrongly truncated when it's small in get_prefixed_str()
Dragos Oancea [Mon, 1 Mar 2021 17:48:45 +0000 (19:48 +0200)]
[core] rtp: fix #ifdef DEBUG_TS_ROLLOVER (#357)
Dragos Oancea [Sat, 27 Feb 2021 14:01:27 +0000 (14:01 +0000)]
[mod_av] fix memory leak on file playing
Andrey Volk [Fri, 26 Feb 2021 22:04:16 +0000 (01:04 +0300)]
[Core] Add new switch_core_session_try_reset() API to fix a deadlock for the case when two threads want to set session codecs.
Chris Rienzo [Thu, 25 Feb 2021 11:04:27 +0000 (06:04 -0500)]
[core] Remove unused buffers and mutexes in switch_core_session. Remove destruction of resamplers that will already be destroyed by switch_core_session_reset().
Andrey Volk [Fri, 11 Dec 2020 19:32:25 +0000 (22:32 +0300)]
[mod_sofia] Use thread-safe alternatives when destroying nua and nua_handle references. Bump sofia-sip library requirement to version 1.13.3
Andrey Volk [Fri, 19 Mar 2021 20:52:53 +0000 (23:52 +0300)]
Merge pull request #1128 from signalwire/isbr
[mod_conference] Bridged conference did not wait it's last member before destroy and crashed.
Andrey Volk [Fri, 19 Mar 2021 20:31:46 +0000 (23:31 +0300)]
[mod_conference] Bridged conference did not wait it's last member before destroy and crashed.
Andrey Volk [Thu, 18 Mar 2021 22:21:23 +0000 (01:21 +0300)]
Merge pull request #905 from traud/patch-4
[core] Allow other (D)TLS Curves/Groups beside P-256
Aron Podrigal [Thu, 18 Mar 2021 22:13:01 +0000 (17:13 -0500)]
[mod_pgsql] Use PQcmdTuples() to get number of effected rows to support UPDATE and INSERT without RETURNING.
Alexander Traud [Tue, 13 Oct 2020 12:33:19 +0000 (14:33 +0200)]
[core] Allow other (D)TLS Curves/Groups beside P-256
Five years ago, commit
8e1b2ea enabled ECDHE for the DTLS server by hard-coding P-256. Released before that, OpenSSL 1.0.2, allows auto selection of the curve (P-256, P-384, and P-512). OpenSSL 1.1.x has this enabled on default, which adds groups/curves like X25519 and X448 automatically. This change here allows DTLS clients with a demand for Security Level 4 (192 bit) and 5 (256 bit) connecting to the DTLS server.
sergey-safarov [Thu, 18 Mar 2021 21:30:08 +0000 (00:30 +0300)]
[Build-System] freeswitch.spec update
* freeswitch.spec: mod_shout - build always enabled
* Removed not nessary erlang spec file
* freeswitch.spec: Added cache direcory to http_cache module
* freeswitch.spec: added zrtp feature in packaging
* freeswitch.spec: added dependency for gumbo-parser-devel on fedora dist (HTML parser for MSRP)
* remove autoload_configs dir dublication
Andrey Volk [Wed, 17 Mar 2021 21:53:38 +0000 (00:53 +0300)]
[mod_sofia] Gateways DOWN state introduced a regression: REG gateways in DOWN state could not be killed. NOREG gateways could change state in some conditions. Register and Unregister commands will now error if a gateway is NOREG.
Chris Rienzo [Sat, 20 Feb 2021 19:17:50 +0000 (19:17 +0000)]
[test] Fix fst_session_park() to wait for CF_PARK instead of CS_PARK. CF_PARK will be set when the channel has actually parked.
Andrey Volk [Sat, 20 Feb 2021 18:14:15 +0000 (21:14 +0300)]
[Core] Fix race between switch_ivr_park_session() and the state machine. switch_core_session_run() wants to clear the CF_TRANSFER flag on state change while parking sets the flag.
Andrey Volk [Thu, 18 Feb 2021 16:02:03 +0000 (19:02 +0300)]
[Core] Fix leaking codec, timer and abuf in switch_ivr_play_file() in the case of failing switch_ivr_phrase_macro() or switch_ivr_speak_text()
Andrey Volk [Thu, 28 Jan 2021 00:13:13 +0000 (03:13 +0300)]
[Core] Fix leaking stream in switch_channel_expand_variables_check()
Andrey Volk [Tue, 26 Jan 2021 17:24:38 +0000 (20:24 +0300)]
[mod_callcenter] Fix use of uninitialized res variable in cc_agent_update()
Andrey Volk [Tue, 26 Jan 2021 17:23:52 +0000 (20:23 +0300)]
[mod_sofia] Fix use of uninitialized network_ip in sofia_handle_sip_r_invite()
Andrey Volk [Tue, 26 Jan 2021 17:26:14 +0000 (20:26 +0300)]
[mod_http_cache] Handle error cases to avoid using uninitialized variables in aws logic.
Andrey Volk [Wed, 20 Jan 2021 15:48:01 +0000 (18:48 +0300)]
[mod_sofia] scan-build in sofia_glue_do_invite(): Null pointer passed as an argument to a 'nonnull' parameter
Andrey Volk [Fri, 22 Jan 2021 18:57:24 +0000 (21:57 +0300)]
[Core] Fix possible memory leak of switch_core_session_message_t in switch_core_session_queue_indication()
Andrey Volk [Fri, 22 Jan 2021 18:45:37 +0000 (21:45 +0300)]
[mod_snom, mod_snmp] Replace strncpy with snprintf
Andrey Volk [Thu, 21 Jan 2021 19:32:12 +0000 (22:32 +0300)]
[Core] Fix leak of switch_event_header_t in switch_event_base_add_header(). Code cleanup.
Andrey Volk [Thu, 21 Jan 2021 16:38:37 +0000 (19:38 +0300)]
[Core] Fix leaking stream in switch_event_expand_headers_check()
Andrey Volk [Thu, 21 Jan 2021 15:43:02 +0000 (18:43 +0300)]
[mod_lcr] Fix order_by and sql_stream streams leaking in the case of a DB error in lcr_load_config()
Andrey Volk [Thu, 21 Jan 2021 15:29:44 +0000 (18:29 +0300)]
[mod_pgsql] Fix memory leek in the case of an empty string of err_str in pgsql_handle_exec_base_detailed()
Andrey Volk [Thu, 21 Jan 2021 14:40:29 +0000 (17:40 +0300)]
[mod_httapi] Fix memory leak of dup_creds in httapi_sync()
Andrey Volk [Wed, 20 Jan 2021 21:46:40 +0000 (00:46 +0300)]
[mod_curl] Avoid passing null pointer value via data parameter of do_lookup_url()
Andrey Volk [Wed, 20 Jan 2021 19:31:35 +0000 (22:31 +0300)]
[Unit-Tests] Fix leak of arg in the case of an error in fct_clp__parse()
Andrey Volk [Wed, 20 Jan 2021 15:30:32 +0000 (18:30 +0300)]
[mod_shout] Fix memory leak in do_telecast
Andrey Volk [Sat, 16 Jan 2021 19:53:23 +0000 (22:53 +0300)]
[Core] Fix codec ready checks in switch_core_session_read_frame()
Andrey Volk [Mon, 14 Dec 2020 20:46:08 +0000 (00:46 +0400)]
[mod_loopback] Fix new_session leak in the case of a hangup_cause.
Andrey Volk [Tue, 1 Dec 2020 00:21:57 +0000 (04:21 +0400)]
[mod_sofia] Protect insertion into profile->reg_nh_hash with a mutex.
Andrey Volk [Mon, 30 Nov 2020 18:24:21 +0000 (22:24 +0400)]
[mod_sofia] Properly handle nua events came without nua handles.
Andrey Volk [Thu, 19 Nov 2020 17:18:09 +0000 (21:18 +0400)]
[mod_mongo, mod_redis, mod_voicemail] Fix leaking hash iterators.
Andrey Volk [Wed, 18 Nov 2020 17:50:04 +0000 (21:50 +0400)]
[Core] Fix leaks in switch_ivr_park when initially no rate.
Mike Jerris [Tue, 17 Nov 2020 20:01:03 +0000 (00:01 +0400)]
[Core] ODBC: Fix large column logic and improve error handling.
Mike Jerris [Tue, 17 Nov 2020 00:08:43 +0000 (17:08 -0700)]
[core] improve logging on oversized fields in odbc
Andrey Volk [Fri, 13 Nov 2020 17:23:20 +0000 (21:23 +0400)]
[mod_sofia] Prevent crash in sofia_handle_sip_i_state on switch_channel_set_state() when PFLAG_3PCC_PROXY flag is set.
Andrey Volk [Wed, 28 Oct 2020 20:14:00 +0000 (00:14 +0400)]
[mod_sofia] Keep noreg gateways as NOREG, mark unregistered gateways as DOWN.
Co-authored-by: Mike Jerris <mike@signalwire.com>
Andrey Volk [Tue, 16 Mar 2021 22:58:19 +0000 (01:58 +0300)]
Merge pull request #1121 from signalwire/switch_eavesdrop
[Unit-tests] Fix build issues in switch_eavesdrop.c test file.
Andrey Volk [Tue, 16 Mar 2021 22:15:42 +0000 (01:15 +0300)]
[Unit-tests] Fix build issues in switch_eavesdrop.c test file.
Andrey Volk [Fri, 23 Oct 2020 17:48:53 +0000 (21:48 +0400)]
[Core] Scheduler: Fix race between switch_scheduler_add_task() and task_thread_loop(). Add new switch_scheduler_add_task_ex() method.
Andrey Volk [Wed, 28 Oct 2020 19:49:36 +0000 (23:49 +0400)]
[mod_sofia] Fix memory leaks caused by improper profile destroy. Add a unit-test.
Andrey Volk [Tue, 6 Oct 2020 23:21:16 +0000 (03:21 +0400)]
[mod_sofia] Fix multiple memory leaks in sofia_presence_handle_sip_i_subscribe()
Mike Jerris [Tue, 6 Oct 2020 15:26:42 +0000 (11:26 -0400)]
[core] fix leak in http request parser
Andrey Volk [Sun, 4 Oct 2020 22:49:08 +0000 (02:49 +0400)]
[Core] Fix memory leak of local_var_event in switch_ivr_originate() when caller_channel is not ready.
surendrasignalwire [Tue, 29 Sep 2020 15:10:33 +0000 (20:40 +0530)]
[Core] Reuse caller profile
Dragos Oancea [Fri, 4 Sep 2020 08:57:28 +0000 (08:57 +0000)]
[core] eavesdrop: init L16 codec at right ptime in certain conditions.
[core] eavesdrop: avoid eavesdropping on itself and return error.
[core] eavesdrop: adjust buffer operations for ptime mismatch and for when ptimes are the same.
[core] eavesdrop: add buffering based on LCM (Least Common Multiple) when ptime mismatch,
and have audio write thread enabled when ptime eavesdropee < ptime eavesdropper.
[unit-tests] add unit-tests for eavesdrop.
Dragos Oancea [Wed, 16 Sep 2020 21:20:17 +0000 (00:20 +0300)]
[core] native tap fix (pass the copy of the frame to switch_core_session_write_frame() so it does not get encoded)
surendrasignalwire [Thu, 13 Aug 2020 10:49:47 +0000 (14:49 +0400)]
[mod_sofia] Fix recovery reinvite issue
Andrey Volk [Wed, 12 Aug 2020 17:53:06 +0000 (21:53 +0400)]
[Core] Fix SDP parsing causing segfault.
Andrey Volk [Tue, 4 Aug 2020 19:06:59 +0000 (23:06 +0400)]
[mod_pgsql] Prevent a stall of PQconsumeInput().
Andrey Volk [Mon, 27 Jul 2020 17:41:13 +0000 (21:41 +0400)]
[Core] Make switch_core_media_set_codec() and switch_core_media_set_video_codec() thread-safe so there is no race when a session's codec is initiated by different threads simultaneously.
Andrey Volk [Fri, 24 Jul 2020 18:42:49 +0000 (22:42 +0400)]
[Core] Fix buffer race in switch_ivr_eavesdrop_session()
surendrasignalwire [Wed, 22 Jul 2020 21:30:31 +0000 (03:00 +0530)]
[Core] Fixed issue while setting mode on reinvite or outbound direction
Andrey Volk [Fri, 17 Jul 2020 16:38:15 +0000 (20:38 +0400)]
[mod_sofia] Fix potential leak of uuid in sofia_event_callback().
Andrey Volk [Tue, 7 Jul 2020 14:00:35 +0000 (18:00 +0400)]
[Core] Fix double close of a socket in switch_rtp
surendrasignalwire [Thu, 9 Jul 2020 21:26:42 +0000 (02:56 +0530)]
[Core] Fix crash while writing text_frame in conference
Andrey Volk [Wed, 17 Jun 2020 14:52:20 +0000 (18:52 +0400)]
[mod_pgsql] Fix potential hang when calling PQconsumeInput() while checking if db_is_up().
Seven Du [Fri, 12 Jun 2020 22:53:25 +0000 (06:53 +0800)]
[mod_av] remove extra space
surendrasignalwire [Wed, 10 Jun 2020 16:09:01 +0000 (20:09 +0400)]
[core] Fix ODBC column size performance issue
Andrey Volk [Tue, 19 May 2020 16:29:25 +0000 (20:29 +0400)]
[Core] Fix reference counter lock order when protect/unprotect interface.
Andrey Volk [Tue, 19 May 2020 15:55:36 +0000 (19:55 +0400)]
[Core] Fix wrong switch_assert expressions in switch_core_session_write_frame()
Andrey Volk [Mon, 18 May 2020 22:48:02 +0000 (02:48 +0400)]
[Core] Fix multiple missing session unlocks in switch_core_media.c
Seven Du [Mon, 11 May 2020 17:33:14 +0000 (01:33 +0800)]
[mod_sofia] fix session log
Dragos Oancea [Tue, 28 Apr 2020 16:46:15 +0000 (17:46 +0100)]
[core] eavesdrop: reduce lock contention, fix error condition + enable eavesdrop stereo
Seven Du [Fri, 24 Apr 2020 20:47:45 +0000 (04:47 +0800)]
[mod_sndfile] fix read sndfiles with float data
Seven Du [Wed, 15 Apr 2020 02:36:32 +0000 (10:36 +0800)]
[mod_av] enable resampler when sample rate mismatch (#153)
phonecomwire [Fri, 24 Apr 2020 22:10:41 +0000 (15:10 -0700)]
[Core] Adding fix for switch_ivr_originate to not copy group_confirm variables to the channel
Seven Du [Thu, 12 Mar 2020 14:01:56 +0000 (22:01 +0800)]
[mod_video_filter] Disable waiting video ready which blocks the channel 10 seconds in early media
surendrasignalwire [Fri, 20 Dec 2019 22:06:57 +0000 (03:36 +0530)]
[mod_sofia] Url encode the sip_to_user before using in 200 ok contact
surendrasignalwire [Tue, 29 Oct 2019 18:06:59 +0000 (23:36 +0530)]
[Core] execute_on_audio_change on codec change
Andrey Volk [Tue, 16 Mar 2021 15:12:40 +0000 (18:12 +0300)]
Merge pull request #1120 from dragos-oancea/mod_enum_fix_leak
[mod_enum] fix mem leak - ldns_resolver_new() - vanilla cfg.
Dragos Oancea [Tue, 16 Mar 2021 14:45:12 +0000 (14:45 +0000)]
[mod_enum] fix mem leak - ldns_resolver_new() - vanilla cfg.
Andrey Volk [Wed, 10 Mar 2021 20:34:36 +0000 (23:34 +0300)]
Merge pull request #1103 from dragos-oancea/amr_sync_changes_from_amrwb
[mod_amr] introduce new cfg setting force-oa to change between OA/BE when originating, show session in debug logs, update configs
windy-wang [Wed, 10 Mar 2021 14:06:11 +0000 (22:06 +0800)]
[core] add log debug socket sendto
Dragos Oancea [Wed, 10 Mar 2021 13:43:45 +0000 (15:43 +0200)]
[mod_amr] introduce new cfg setting force-oa to change between OA/BE when originating, show session in debug logs, update configs.
Andrey Volk [Tue, 9 Mar 2021 19:19:58 +0000 (22:19 +0300)]
Merge pull request #1098 from dragos-oancea/amr_wb_frame_types_fix
[mod_amrwb] handle frame types SPEECH_LOST and NO_DATA. add unit test.
Paul Mateer [Mon, 8 Mar 2021 11:28:27 +0000 (11:28 +0000)]
[Core] Capture return value of 2nd call to LoadLibraryEx and add a third call to widen the search to the module in switch_dso_open().
Dragos Oancea [Fri, 5 Mar 2021 09:24:22 +0000 (11:24 +0200)]
[mod_amrwb] handle frame types SPEECH_LOST and NO_DATA. add unit test.
Andrey Volk [Thu, 4 Mar 2021 17:22:12 +0000 (20:22 +0300)]
Merge pull request #1096 from signalwire/apr-osx-configure-ipv6
[build] fix configure checks for ipv6 on latest osx
Andrey Volk [Wed, 3 Mar 2021 18:21:49 +0000 (21:21 +0300)]
Merge pull request #1083 from dragos-oancea/amr_no_data
[mod_amr] handle frame type NO_DATA and add unit test.
Dragos Oancea [Thu, 25 Feb 2021 14:16:14 +0000 (16:16 +0200)]
[mod_amr] handle frame type NO_DATA and add unit test.
Mike Jerris [Wed, 3 Mar 2021 17:02:29 +0000 (10:02 -0700)]
[build] fix configure checks for ipv6 on latest osx
Michael Jerris [Fri, 26 Feb 2021 21:11:38 +0000 (14:11 -0700)]
Merge pull request #1087 from signalwire/swigall
[Build-System] Add src/include/switch_swigable_cpp.h requirement to make swigall
Andrey Volk [Fri, 26 Feb 2021 21:09:44 +0000 (00:09 +0300)]
[Build-System] Add src/include/switch_swigable_cpp.h requirement to make swigall
Evan McGee [Thu, 25 Feb 2021 18:03:47 +0000 (10:03 -0800)]
Merge pull request #602 from stweil/typos
Fix some typos (most found by codespell)
Stefan Weil [Fri, 1 May 2020 12:08:14 +0000 (14:08 +0200)]
Fix typo and convert line endings from CRLF to LF
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Stefan Weil [Fri, 1 May 2020 11:51:52 +0000 (13:51 +0200)]
Fix some typos (most found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
s3rj1k [Tue, 23 Feb 2021 17:59:26 +0000 (19:59 +0200)]
[Unit-tests] Fix previously defined AM_* in tests.
Andrey Volk [Wed, 20 Jan 2021 17:49:05 +0000 (20:49 +0300)]
[libesl] Fix leak of esl_event_header_t in esl_event_base_add_header(). Code cleanup.