Andrey Volk
4e581b096b
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.
2021-03-23 21:10:30 +03:00
Andrey Volk
877102d4b9
swigall
2021-03-23 17:33:46 +00:00
Chris Rienzo
e3a6ec86f8
[core] Update switch_ivr_enterprise_originate() to accept optional switch_dial_handle_list_t instead of dialstring.
2021-03-23 20:23:28 +03:00
Andrey Volk
0cab42bfb6
[Core] Hangup call instead of crashing system on SSL_CTX_new failure. Improve logging.
2021-03-22 18:52:04 +03:00
Andrey Volk
effafb6993
[Core] switch_ivr_set_user_xml: Buffer is wrongly truncated when it's small in get_prefixed_str()
2021-03-22 18:51:10 +03:00
Dragos Oancea
2e65ca908d
[core] rtp: fix #ifdef DEBUG_TS_ROLLOVER ( #357 )
2021-03-22 18:50:12 +03:00
Dragos Oancea
dd39997588
[mod_av] fix memory leak on file playing
2021-03-22 18:49:13 +03:00
Andrey Volk
c61d89a47f
[Core] Add new switch_core_session_try_reset() API to fix a deadlock for the case when two threads want to set session codecs.
2021-03-22 18:47:46 +03:00
Chris Rienzo
c63f9524ee
[core] Remove unused buffers and mutexes in switch_core_session. Remove destruction of resamplers that will already be destroyed by switch_core_session_reset().
2021-03-22 18:46:03 +03:00
Andrey Volk
dfb9541b08
[mod_sofia] Use thread-safe alternatives when destroying nua and nua_handle references. Bump sofia-sip library requirement to version 1.13.3
2021-03-22 18:43:19 +03:00
Andrey Volk
ee8c4df2d5
Merge pull request #1128 from signalwire/isbr
...
[mod_conference] Bridged conference did not wait it's last member before destroy and crashed.
2021-03-19 23:52:53 +03:00
Andrey Volk
af272f5179
[mod_conference] Bridged conference did not wait it's last member before destroy and crashed.
2021-03-19 23:31:46 +03:00
Andrey Volk
40fb80b019
Merge pull request #905 from traud/patch-4
...
[core] Allow other (D)TLS Curves/Groups beside P-256
2021-03-19 01:21:23 +03:00
Aron Podrigal
fddc6adf8d
[mod_pgsql] Use PQcmdTuples() to get number of effected rows to support UPDATE and INSERT without RETURNING.
2021-03-19 01:13:01 +03:00
Alexander Traud
48c4db71c2
[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.
2021-03-19 01:00:56 +03:00
sergey-safarov
9c589b7750
[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
2021-03-19 00:30:08 +03:00
Andrey Volk
0059f0cc1b
[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.
2021-03-18 03:07:49 +03:00
Chris Rienzo
9e49a4176b
[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.
2021-03-17 19:46:18 +03:00
Andrey Volk
8e2234a205
[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.
2021-03-17 19:45:08 +03:00
Andrey Volk
2ca0d02531
[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()
2021-03-17 19:43:14 +03:00
Andrey Volk
e6e227d1f4
[Core] Fix leaking stream in switch_channel_expand_variables_check()
2021-03-17 19:39:17 +03:00
Andrey Volk
3134c9aa57
[mod_callcenter] Fix use of uninitialized res variable in cc_agent_update()
2021-03-17 19:38:10 +03:00
Andrey Volk
f348ab9d38
[mod_sofia] Fix use of uninitialized network_ip in sofia_handle_sip_r_invite()
2021-03-17 19:37:06 +03:00
Andrey Volk
cfdd1d9be8
[mod_http_cache] Handle error cases to avoid using uninitialized variables in aws logic.
2021-03-17 19:35:37 +03:00
Andrey Volk
4aa1c1736f
[mod_sofia] scan-build in sofia_glue_do_invite(): Null pointer passed as an argument to a 'nonnull' parameter
2021-03-17 19:34:12 +03:00
Andrey Volk
97930570dc
[Core] Fix possible memory leak of switch_core_session_message_t in switch_core_session_queue_indication()
2021-03-17 19:30:39 +03:00
Andrey Volk
d127eeeecc
[mod_snom, mod_snmp] Replace strncpy with snprintf
2021-03-17 19:25:46 +03:00
Andrey Volk
2a8804af97
[Core] Fix leak of switch_event_header_t in switch_event_base_add_header(). Code cleanup.
2021-03-17 19:23:30 +03:00
Andrey Volk
91066f56fa
[Core] Fix leaking stream in switch_event_expand_headers_check()
2021-03-17 19:21:49 +03:00
Andrey Volk
be6b40b024
[mod_lcr] Fix order_by and sql_stream streams leaking in the case of a DB error in lcr_load_config()
2021-03-17 19:20:41 +03:00
Andrey Volk
c282386fdb
[mod_pgsql] Fix memory leek in the case of an empty string of err_str in pgsql_handle_exec_base_detailed()
2021-03-17 19:19:39 +03:00
Andrey Volk
e614f08c93
[mod_httapi] Fix memory leak of dup_creds in httapi_sync()
2021-03-17 19:18:33 +03:00
Andrey Volk
3e7ba04cbe
[mod_curl] Avoid passing null pointer value via data parameter of do_lookup_url()
2021-03-17 18:55:40 +03:00
Andrey Volk
c8e7a57b4c
[Unit-Tests] Fix leak of arg in the case of an error in fct_clp__parse()
2021-03-17 18:54:36 +03:00
Andrey Volk
29b5043904
[mod_shout] Fix memory leak in do_telecast
2021-03-17 18:49:14 +03:00
Andrey Volk
82b6f01b69
[Core] Fix codec ready checks in switch_core_session_read_frame()
2021-03-17 18:46:23 +03:00
Andrey Volk
f6e076507e
[mod_loopback] Fix new_session leak in the case of a hangup_cause.
2021-03-17 18:34:21 +03:00
Andrey Volk
e3e0c7c259
[mod_sofia] Protect insertion into profile->reg_nh_hash with a mutex.
2021-03-17 18:33:12 +03:00
Andrey Volk
b78c9a115e
[mod_sofia] Properly handle nua events came without nua handles.
2021-03-17 18:31:42 +03:00
Andrey Volk
90c35685c3
[mod_mongo, mod_redis, mod_voicemail] Fix leaking hash iterators.
2021-03-17 18:29:20 +03:00
Andrey Volk
9608a56873
[Core] Fix leaks in switch_ivr_park when initially no rate.
2021-03-17 18:27:00 +03:00
Mike Jerris
81aa6fa9d0
[Core] ODBC: Fix large column logic and improve error handling.
2021-03-17 18:25:57 +03:00
Mike Jerris
7539921eca
[core] improve logging on oversized fields in odbc
2021-03-17 18:24:40 +03:00
Andrey Volk
96e139854e
[mod_sofia] Prevent crash in sofia_handle_sip_i_state on switch_channel_set_state() when PFLAG_3PCC_PROXY flag is set.
2021-03-17 18:21:49 +03:00
Andrey Volk
a746d12f6c
[mod_sofia] Keep noreg gateways as NOREG, mark unregistered gateways as DOWN.
...
Co-authored-by: Mike Jerris <mike@signalwire.com>
2021-03-17 18:20:32 +03:00
Andrey Volk
aa91b46d3f
Merge pull request #1121 from signalwire/switch_eavesdrop
...
[Unit-tests] Fix build issues in switch_eavesdrop.c test file.
2021-03-17 01:58:19 +03:00
Andrey Volk
eaf5a70246
[Unit-tests] Fix build issues in switch_eavesdrop.c test file.
2021-03-17 01:15:42 +03:00
Andrey Volk
5ed17dd19c
[Core] Scheduler: Fix race between switch_scheduler_add_task() and task_thread_loop(). Add new switch_scheduler_add_task_ex() method.
2021-03-17 01:01:01 +03:00
Andrey Volk
3065cb9168
[mod_sofia] Fix memory leaks caused by improper profile destroy. Add a unit-test.
2021-03-17 00:58:29 +03:00
Andrey Volk
dcb75a79e3
[mod_sofia] Fix multiple memory leaks in sofia_presence_handle_sip_i_subscribe()
2021-03-17 00:56:19 +03:00