Jakub Karolczyk
5656972bfe
[core,miniupnpc,modules] Fix not used variables
2023-07-04 10:18:16 +01:00
David Villasmil
b355bf21e6
[mod_conference] Add flag to destroy the conference only when all mandatory members disconnect. And set endconf to end the conference when any member with the flag disconnects ( #2079 )
...
* feature/mod_conference_mandatory_member_flag: Add flag to destroy the conference only when all mandatory members disconnect. And set endconf to end the conference when any member with the flag disconnects
2023-06-28 19:39:22 +03:00
Andrey Volk
d7a4ab7dce
[mod_spandsp] Coverity CID 1024263 (Dereference before null check)
2023-06-09 12:18:19 +03:00
Andrey Volk
f377a0ff57
Revert "[Core, mod_curl, mod_httapi, mod_http_cache] Compatible with libcurl>=7.87.0" ( #2070 )
...
This reverts commit 0398238489 .
2023-05-01 20:38:51 +03:00
Clarence
0398238489
[Core, mod_curl, mod_httapi, mod_http_cache] Compatible with libcurl>=7.87.0
...
* [core] fix deprecated with libcurl>=7.56.0
* [mod_httpapi] fix deprecated with libcurl>=7.56.0
* [mod_curl] fix deprecated with libcurl>=7.56.0
* [mod_http_cache] fix deprecated with libcurl>=7.12.1
2023-04-27 23:43:32 +03:00
Andrey Volk
dbd37bdc51
Merge pull request #2052 from dragos-oancea/mod_dptools-cov3
...
[mod_dptools] coverity CID 1468646 (Unsigned compared against 0)
2023-04-18 13:25:13 +03:00
Dragos Oancea
5597fe3098
[mod_avmd] coverity CID 1395555 (Dereference before null check)
2023-04-18 12:58:16 +03:00
Dragos Oancea
e1d966ed0a
[mod_dptools] coverity CID 1468646 (Unsigned compared against 0)
2023-04-18 12:55:42 +03:00
Jakub Karolczyk
6eefc674fe
[mod_avmd] Coverity fixes
...
* [mod_avmd] Coverity CID 1395501 (Dereference null return value)
* [mod_avmd] Coverity CID 1395478 (Resource leak)
2023-04-17 21:49:42 +03:00
Jakub Karolczyk
0b05623cef
[mod_translate] Coverity CID 1301006 (Resource leak)
2023-04-16 14:22:09 +01:00
Andrey Volk
7f3a833466
[mod_commands] Fix leaking session readlock in uuid_capture_text
2023-04-14 14:48:41 +03:00
Jakub Karolczyk
eec1fd737c
[mod_signalwire] Make this module working with libks and signalwire-c in versions 2.0
...
* [mod_signalwire] Fix load credentials data from json
* [mod_signalwire] Fix parsing of configuration response
2023-04-13 16:24:35 +03:00
Jakub Karolczyk
875a1b04ff
[mod_av] Coverity CID 1500320 (Resource leak)
2023-04-06 18:25:56 +01:00
Jakub Karolczyk and Andrey Volk
49c1c35982
[core] Coverity fixes
...
* [core] Coverity CID 1468218 (Resource leak)
* [core] Coverity CID 1468214 (Resource leak)
* [core] Coverity CID 1294472 (Resource leak)
* [core] Coverity CID 1294470 (Resource leak)
* [core] Coverity CID 1500361 (Resource leak)
* [core] Coverity CID 1500308 (Resource leak)
* [core] Coverity CID 1500278 (Resource leak)
---------
Co-authored-by: Andrey Volk <andywolk@gmail.com >
2023-04-01 00:07:59 +03:00
Tomasz Ostrowski
afc8d78a18
[mod_enum] Fix use-after-free if creating resolver from file failed
2023-03-28 17:36:01 +03:00
Andrey Volk
ef9268ec0c
Merge pull request #1900 from jyelloz/master
...
[mod_ladspa] Added activate/deactivate support.
2023-03-28 17:00:28 +03:00
Henrique
bb2fa44071
[mod_conference] handle personal canvas with vmuted member
2023-03-28 16:53:16 +03:00
yois615
6d65f8e08c
[mod_callcenter] Fix stale agents and UUID broadcasts
...
* [call_center] Stop uuid_broadcast on answer
* [mod_callcenter] Fix stale members in database
When a channel is originated to an agent but the
member fails to bridge to that agent, the database is
not updated with the member status and a stale entry
of 'Answered' persists until mod_callcenter is restarted.
Additionally, cc_agent_found is set before the bridge,
therefore ending the while loop on the member channel.
If there is a problem with the agent bridge, the call is
terminated prematurely.
In this commit, we:
* Move the SQL update of the member
to the 'Answered' state to the agent thread instead of
the member's thread, so that correct data is populated.
* Reset the members state accordingly to Abandoned or
Waiting if the channels fail to bridge.
* Use cc_agent_bridged to end the member loop,
so that a member is put back on queue if the agent
channel fails to bridge.
2023-03-28 14:53:16 +03:00
yois615
965e88a6b0
[core, mod_cidlookup] Free memory allocated via strdup
...
In mod_cidlookup and several other modules, config parameters
are read from external XML files using the SWITCH_CONFIG_ITEM_STRING_STRDUP
method. These items do not have string_options, and are not freed
with switch_xml_config_cleanup. We therefore need to call switch_safe_free
for config without string_options. We also add switch_xml_config_cleanup
to mod_cidlookup. There are other modules that may be affected but this
commit makes no attempt at fixing those.
Fixes #1752
2023-03-28 01:47:23 +03:00
Andrey Volk
2c36dcdd50
Merge pull request #1843 from greenbea/patch-17
...
[mod_commands] Fix and improve coalesce function
2023-03-27 20:03:40 +03:00
Дилян Палаузов
99ca7436d8
[mod_commands] add completions for fsctl api_expansion and sync_clock_when_idle
2023-03-27 19:50:51 +03:00
agree
8cf90dae41
[mod_commands] Fix and improve coalesece function
...
* fixed memory leak
* added custom delimeter support
2023-03-21 12:23:19 -04:00
Jordan Yelloz
9fd214fcbb
[mod_ladspa] Add activate/deactivate support.
...
Without these -- especially activate() -- stateful plugins will not be
set up correctly.
For example, the low-pass filter "lpf" in the CMT library may produce
a pop when starting since its state is not zeroed out.
2023-01-18 12:02:16 -07:00
Andrey Volk
2ab600c71a
[mod_http_cache] Fix leaking curl handle in http_get()
2022-10-28 01:00:17 +03:00
Brian West
c999598a0a
Merge pull request #1584 from greenbea/patch-7
...
[mod_callcenter] Fix SWITCH_EVENT_PRESENCE_PROBE unbind
2022-09-06 10:57:26 -05:00
Andrey Volk
23eeb4ae75
[Unit-tests] Improve stability of some tests.
2022-08-28 13:24:43 +03:00
Ruslan and Ruslan Andronov
a8dee4b2ff
[mod_conference] file descriptor stays open
...
Solution: don't even start to play file if conference is not running.
Co-authored-by: Ruslan Andronov <randronov@outlook.com >
2022-08-23 18:07:55 +03:00
Andrey Volk
1e5e3216d8
[mod_conference] Fix dead nested assignments
2022-08-10 00:18:18 +03:00
Andrey Volk
cd86de2f1f
[mod_av] Fix dead nested assignments
2022-08-10 00:17:03 +03:00
Andrey Volk
716a21b0b5
[mod_callcenter] Fix dead nested assignments in cc_config_api_function
2022-08-10 00:14:36 +03:00
Andrey Volk
1c83a92b7d
[mod_video_filter] Fix dead nested assignments
2022-08-10 00:07:52 +03:00
Andrey Volk
b6264e264c
[mod_enum] Fix dead nested assignments
2022-08-10 00:03:52 +03:00
Andrey Volk
688984f8b9
[mod_dptools] Fix dead nested assignments.
2022-08-09 23:48:29 +03:00
Andrey Volk
c062f85e16
[mod_commands] Fix dead nested assignments
2022-08-09 23:44:56 +03:00
Andrey Volk
c47c16b1dd
Fix dead nested assignments in various modules
2022-08-09 23:20:52 +03:00
Dragos Oancea
871cc585b1
[mod_voicemail] fix vm_fsdb_msg_list
2022-07-06 15:26:43 +03:00
Andrey Volk
1f055250e1
[mod_av] Remove unused buf variable in av_file_write
2022-05-23 22:34:29 +03:00
Andrey Volk
6b4359f4ae
[mod_av] Avoid using 16384 stack (or heap) bytes in av_file_write(). Remove ff_input_buffer_padding static variable.
2022-05-23 22:00:45 +03:00
Andrey Volk
70a1761ab5
Merge pull request #1424 from dhruvecosmob/test_tts_change
...
[mod_test] Increase tts_time unit-test's duration window.
2022-04-01 13:27:57 +03:00
agree
415a8a19eb
[mod_callcenter] Fix globals.nodes gets unset
...
`globals` was getting initialized to null after `switch_event_bind_removable` binding causing `globals.nodes` to get set to NULL causing `switch_event_unbind` not to be able to unbind the SWITCH_EVENT_PRESENCE_PROBE event when unloading the module. Besides not being able to unbind the event, this was also causing a segfault upon receiving a PRESENCE_PROBE event when unloading or reloading the module
2022-03-19 22:44:26 -04:00
Andrey Volk
d01c427c0b
[mod_conference] Fix regression made by previous commit when fixing memory consumption.
2022-03-18 01:53:38 +03:00
Andrey Volk
c460588dfe
[mod_conference] Fix memory consumption and Media flow direction issue.
2022-03-08 01:50:07 +03:00
Martin Paterson
083a9ab1c3
[mod_voicemail] Fix voicemail ignoring vm-a1-hash
2021-12-28 19:02:02 +03:00
Andrey Volk
de70d9d493
Merge pull request #1420 from signalwire/voicemail-ivr-overflow
...
[mod_voicemail_ivr] Fix array overflow
2021-12-28 17:07:45 +03:00
wmasilva
a92eee4e93
[mod_voicemail] add option to skip goodbye
2021-12-23 01:55:29 +03:00
ros-tel
cbc610db26
[mod_av] FIX parse config param "profile" and "level"
2021-12-22 17:32:59 +05:00
Andrey Volk
ee1dc921fe
Merge pull request #1436 from seven1240/fix-vmd
...
[mod_vmd] fix shutdown function not being called
2021-12-04 01:29:14 +03:00
Minh
f3604557e5
[mod_distributor] Reload message should be same as others (+OK instead of +ok)
2021-12-01 20:48:29 +03:00
Jakub Karolczyk
4f123c4682
[mod_conference] Set conference vars from core/channel variables
2021-11-23 20:24:23 +03:00
Jakub Karolczyk
4c781e2b5f
[mod_conference] Add APIs to set/get conference variables
2021-11-23 20:22:43 +03:00