Andrey Volk
e7651bd90d
Merge pull request #357 from dragos-oancea/switch_ivr_bridge-status-val-never-read
...
[core] scan-build: Value stored to 'status' is never read - audio_bridge_thread()
2020-02-14 20:49:07 +04:00
Dragos Oancea
39cc48904d
[core] scan-build: Null pointer passed as an argument to a 'nonnull' parameter - switch_event_base_add_header()
2020-02-14 15:53:16 +00:00
Andrey Volk
5378eae101
Merge pull request #355 from dragos-oancea/switch_loadable_module-val-never-read-
...
[core] scan-build: Value stored to 'err' is never read - switch_loadable_module_build_dynamic()
2020-02-14 01:39:15 +04:00
Andrey Volk
e4ea0dc230
Merge pull request #354 from dragos-oancea/switch_msrp-val-never-read
...
[core] scan-build: Value stored to 'q' during its initialization is never read - msrp_parse_headers()
2020-02-14 01:37:34 +04:00
Andrey Volk
cb9188c957
Merge pull request #350 from dragos-oancea/switch_vpx-pid-val-never-read
...
[core] scan-build: Value stored to 'pid' is never read - buffer_vp9_packets()
2020-02-14 00:30:16 +04:00
Andrey Volk
b8510c33ca
Merge pull request #346 from dragos-oancea/switch_ivr_originate-myflags-val-never-read
...
[core] scan-build: Value stored to 'myflags' during its initialization is never read - switch_ivr_originate()
2020-02-14 00:20:23 +04:00
Andrey Volk
21e0bb2394
Merge pull request #345 from dragos-oancea/switch_time-time_sync-val-never-read
...
[core] scan-build: Value stored to 'time_sync' is never read - softtimer_runtime()
2020-02-14 00:13:18 +04:00
Dragos Oancea
786f6f8a08
[core] scan-build: Value stored to 'last_speed' is never read - switch_ivr_play_file()
2020-02-13 20:10:32 +00:00
Andrey Volk
04717a5fb8
[mod_hash] Fix use of remote's hash table after free.
2020-02-13 23:55:18 +04:00
Dragos Oancea
f120c24698
[core] scan-build: Value stored to 'status' is never read - audio_bridge_thread()
2020-02-13 19:11:35 +00:00
Dragos Oancea
4e8c70e33b
[core] scan-build: Value stored to 'status' is never read - switch_ivr_session_echo()
2020-02-13 19:08:21 +00:00
Dragos Oancea
d9550b6169
[core] scan-build: Value stored to 'err' is never read - switch_loadable_module_build_dynamic()
2020-02-13 19:00:40 +00:00
Dragos Oancea
063c6f9884
[core] scan-build: Value stored to 'q' during its initialization is never read - msrp_parse_headers()
2020-02-13 18:56:07 +00:00
Dragos Oancea
f4881c957e
[core] scan-build: Value stored to 'pid' is never read - buffer_vp9_packets()
2020-02-13 12:18:54 +00:00
Dragos Oancea
fde2f685e7
[core] scan-build: Value stored to 'lcount' is never read - switch_xml_toxml_r()
2020-02-13 12:12:01 +00:00
Dragos Oancea
0e6a15419d
[core] scan-build: Value stored to 'myflags' during its initialization is never read - switch_ivr_originate()
2020-02-12 21:49:43 +00:00
Dragos Oancea
7e0ba182cc
[core] scan-build: Value stored to 'time_sync' is never read - softtimer_runtime()
2020-02-12 21:44:50 +00:00
Dragos Oancea
a02d3d653d
[core] scan-build: Value stored to 'status' is never read - switch_ivr_menu_execute()
2020-02-12 21:39:57 +00:00
Dragos Oancea
6878623f4f
[core] scan-build: Value stored to 'midstate' during its initialization is never read - switch_core_session_hangup_state()
2020-02-12 21:37:19 +00:00
Andrey Volk
c714401935
Merge pull request #292 from iguanae/issue_210
...
[mod_conference] Fix possible NULL argument.
2020-02-12 23:50:11 +04:00
Piotr Gregor
978171592a
[mod_avmd] Add test of CPU usage
2020-02-12 23:47:51 +04:00
Visytel
b997c4fc8b
[core] Turn DTMF logging on or off using sensitive_dtmf var
2020-02-12 23:44:35 +04:00
Andrey Volk
5b725386d4
[mod_conference] Fix possible NULL argument.
2020-02-12 23:31:34 +04:00
Andrey Volk
d3752173bf
Merge pull request #216 from rucc/short_play_fix
...
[core] fix: don't terminate file before max_samples returned
2020-02-12 23:08:15 +04:00
Andrey Volk
718c5f56a5
Merge pull request #339 from dragos-oancea/switch_ivr_async-nullptr
...
[core] scan-build: Dereference of null pointer (loaded from variable 'result') - switch_ivr_play_and_detect_speech()
2020-02-12 22:54:23 +04:00
Andrey Volk
2d186794b6
Merge pull request #338 from dragos-oancea/switch_time-val-never-read
...
[core] scan-build: Value stored to 'time_sync' during its initialization is never read
2020-02-12 22:51:45 +04:00
Dragos Oancea
b446dc7370
[core] scan-build: Dereference of null pointer (loaded from variable 'result') - switch_ivr_play_and_detect_speech()
2020-02-12 10:23:32 +00:00
Dragos Oancea
1c2788a055
[core] scan-build: Value stored to 'time_sync' during its initialization is never read
2020-02-12 10:19:16 +00:00
Dragos Oancea
d23608f0cb
[mod_sofia] scan-build: Access to field 'sip_call_info' results in a dereference of a null pointer (loaded from variable 'sip')
2020-02-12 01:53:24 +00:00
Andrey Volk
9ede52517c
Merge pull request #303 from dragos-oancea/switch_core_video-nullptr
...
[core] scan-build: Dereference of null pointer (loaded from variable 'txt') - switch_img_write_text_img(
2020-02-12 00:57:54 +04:00
Andrey Volk
8151591b7d
Merge pull request #302 from dragos-oancea/switch_log-res-undefined
...
[core] scan-build: The result of the '<<' expression is undefined - switch_log_str2mask()
2020-02-12 00:55:04 +04:00
Andrey Volk
cdcfaaca68
Merge pull request #299 from dragos-oancea/mod_sofia-nullptr
...
[mod_sofia] scan-build: Access to field 'sip_payload' results in a dereference of a null pointer (loaded from variable 'sip')
2020-02-12 00:45:30 +04:00
Andrey Volk
c84d1da934
Merge pull request #277 from dragos-oancea/switch_event_base_add_header-null
...
[core] scan-build: Null pointer passed as an argument to a 'nonnull' parameter - switch_event_base_add_header()
2020-02-12 00:05:51 +04:00
Andrey Volk
a3edbeedda
Merge pull request #274 from dragos-oancea/collect_thread_run_dead_a
...
[core] scan-build: Value stored to 'file' is never read
2020-02-12 00:02:19 +04:00
Visytel
78eb8f61b3
[core] Reduce log level to DEBUG for binding to events and certain clock messages
2020-02-11 23:58:33 +04:00
Dragos Oancea
2876442317
[mod_opusfile] use SWITCH_SIZE_T_FMT when printing debug logs.
2020-02-07 12:39:17 +00:00
Dragos Oancea
b1dbb99f5c
[core] scan-build: Null pointer passed as an argument to a 'nonnull' parameter - switch_event_base_add_header()
2020-02-02 16:54:04 +00:00
Dragos Oancea
8247dfc475
[core] scan-build: Dereference of null pointer (loaded from variable 'txt') - switch_img_write_text_img()
2020-01-31 23:43:37 +00:00
Dragos Oancea
8e41116412
[core] scan-build: The result of the '<<' expression is undefined - switch_log_str2mask()
2020-01-31 23:28:25 +00:00
Andrey Volk
8f8e74cae9
Merge pull request #287 from dragos-oancea/switch_ivr_park-val-never-read
...
[core] scan-build: Value stored to 'timeout' is never read - switch_ivr_park()
2020-02-01 02:36:27 +04:00
Andrey Volk
1428e9a94b
Merge pull request #283 from dragos-oancea/eavesdrop_callback-val-never-read
...
[core] scan-build: Value stored to 'frame' during its initialization is never read - eavesdrop_callback()
2020-02-01 02:32:44 +04:00
Andrey Volk
24aa732728
Merge pull request #282 from dragos-oancea/switch_ivr_collect_digits_callback-null-deref
...
[core] scan-build: Called function pointer is null (null dereference) - switch_ivr_collect_digits_callback()
2020-02-01 02:25:03 +04:00
Dragos Oancea
513c441d8e
[core] scan-build: Value stored to 'frame' during its initialization is never read - eavesdrop_callback()
2020-01-31 21:56:58 +00:00
Dragos Oancea
a05f7b8da0
[mod_sofia] scan-build: Access to field 'sip_payload' results in a dereference of a null pointer (loaded from variable 'sip')
2020-01-31 21:52:47 +00:00
Andrey Volk
fc13e7d783
Merge pull request #278 from dragos-oancea/switch_loadable_module_nullptr
...
[core] scan-build: Access to field 'microseconds_per_packet' results in a dereference of a null pointer
2020-02-01 01:43:11 +04:00
Andrey Volk
e7ea81530f
Merge pull request #280 from dragos-oancea/switch_ivr_val-never-read
...
[core] scan-build: Value stored to 'first_timeout' is never read - switch_ivr_collect_digits_count()
2020-01-31 22:50:52 +04:00
Dragos Oancea
87f78e2974
[core] scan-build: Access to field 'microseconds_per_packet' results in a dereference of a null pointer
2020-01-31 18:49:33 +00:00
Dragos Oancea
94f0a9dd79
[core] scan-build: Value stored to 'timeout' is never read - switch_ivr_park()
2020-01-31 15:07:02 +00:00
Dragos Oancea
015045d5a4
[core] scan-build: Called function pointer is null (null dereference) - switch_ivr_collect_digits_callback()
2020-01-30 23:20:38 +00:00
Dragos Oancea
3fadf95090
[core] scan-build: Value stored to 'first_timeout' is never read - switch_ivr_collect_digits_count()
2020-01-30 22:31:04 +00:00
Dragos Oancea
309cd1a974
[core] scan-build: Value stored to 'master' is never read - switch_ivr_broadcast()
2020-01-30 22:25:43 +00:00
Andrey Volk
b067a7ccbd
Merge pull request #266 from dragos-oancea/conf_passthrough_fix
...
[mod_conference] fix overflow (video mode == passthrough)
2020-01-30 23:31:00 +04:00
Andrey Volk
42473043f9
Merge pull request #275 from dragos-oancea/memleak_playback_err
...
[core] fix memory leak on playback, in certain error conditions (eg: native file related)
2020-01-30 23:25:47 +04:00
Andrey Volk
f9415eadae
Merge pull request #273 from dragos-oancea/switch_core_session_reporting_state_dead_a
...
[core] scan-build: Value stored to 'midstate' during its initialization is never read
2020-01-30 23:24:38 +04:00
Andrey Volk
78857d9b00
Merge pull request #272 from dragos-oancea/switch_ivr_tone_detect_session_dead_a
...
[core] scan-build: Value stored to 'status' is never read
2020-01-30 23:23:11 +04:00
Andrey Volk
09da2993c6
Merge pull request #271 from dragos-oancea/switch_img_write_text_img_dead_a
...
[core] scan-build: Value stored to 'len' is never read
2020-01-30 23:21:46 +04:00
Andrey Volk
a1f78a0b38
Merge pull request #270 from dragos-oancea/switch_loadable_module_dead_a
...
[core] scan-build: Value stored to 'err' is never read
2020-01-30 23:19:12 +04:00
Andrey Volk
645f986504
Merge pull request #269 from dragos-oancea/tzparse_dead_a
...
[core] scan-build: Value stored to 'theiroffset' is never read
2020-01-30 23:16:50 +04:00
Dragos Oancea
a909ca5e80
[mod_conference] fix overflow (video mode == passthrough)
2020-01-30 18:04:51 +00:00
Dragos Oancea
4fce39bd78
[core] scan-build: Value stored to 'file' is never read
2020-01-30 18:01:00 +00:00
Andrey Volk
a9b0d2931d
Merge pull request #255 from dragos-oancea/mux_overflow_file_read
...
[mod_native_file] don't channel mux during native file play (and avoid overflow too).
2020-01-30 21:56:44 +04:00
Dragos Oancea
8df26b480f
[core] fix memory leak on playback, in certain error conditions (eg: native file related)
2020-01-30 15:17:33 +00:00
Andrey Volk
88f1a03cad
[mod_mariadb] Fix autocommit not flipping back to on when a transaction ends in mod_mariadb causing switch_cache_db_test_reactive() to fail.
2020-01-29 23:55:29 +04:00
Andrey Volk
3d650f4f69
[mod_pgsql] Fix autocommit not flipping back to on when a transaction ends in mod_pgsql causing switch_cache_db_test_reactive() to fail.
2020-01-29 23:55:17 +04:00
Dragos Oancea
f97892bfd9
[mod_native_file] set SWITCH_FILE_NOMUX to prevent overflow in core (we should not channel mux native files)
2020-01-29 19:06:48 +00:00
Andrey Volk
496d39bbd7
Merge pull request #221 from signalwire/sofia_abort
...
[mod_sofia] Add abort-on-empty-external-ip global param disabled by default.
2020-01-29 21:00:42 +04:00
Andrey Volk
931cf4d83f
Merge pull request #243 from lazedo/cjson-update
...
[cJSON] Update to v1.7.12
2020-01-29 18:16:50 +04:00
Dragos Oancea
b998f3bfa5
[core] scan-build: Value stored to 'midstate' during its initialization is never read
2020-01-28 23:52:07 +00:00
Dragos Oancea
301110f596
[core] scan-build: Value stored to 'status' is never read
2020-01-28 23:18:28 +00:00
Dragos Oancea
a5ef549b81
[core] scan-build: Value stored to 'len' is never read
2020-01-28 23:16:02 +00:00
Dragos Oancea
5c7c53fd22
[core] scan-build: Value stored to 'err' is never read
2020-01-28 23:01:45 +00:00
Dragos Oancea
6c06e9549a
[core] scan-build: Value stored to 'theiroffset' is never read
2020-01-28 22:57:12 +00:00
lazedo
db95f1e9dd
[cJSON] Update to v1.7.12
2020-01-29 00:29:04 +04:00
Andrey Volk
91551679be
Merge pull request #264 from signalwire/text_bridge_thread
...
[Core] Remove dead assignment and dead increment in text_bridge_thread().
2020-01-28 23:09:43 +04:00
Dragos Oancea
c1b66f650f
[core] add audio channels limit when opening files, configurable through switch.conf.xml (param "max-audio-channels"), add unit-test.
2020-01-27 23:35:19 +00:00
Andrey Volk
e94d8cfdfc
Merge pull request #261 from lazedo/kazoo-queues
...
[mod_kazoo] queue timeout configuration
2020-01-27 13:49:33 +04:00
Andrey Volk
9d9541e350
[Core] Remove dead assignment and dead increment in text_bridge_thread().
2020-01-26 18:07:15 +04:00
Dragos Oancea
0ec6ec10ae
[mod_opusfile] fix play sample rate (don't use original rate, always use 48k), fix EOF, add unit-test.
2020-01-25 20:42:07 +04:00
lazedo
30f5fdd1da
[mod_kazoo] : simplify kz_att_xfer
2020-01-24 16:40:53 +00:00
lazedo
be9888d74c
[mod_kazoo] add configuration for queue timeouts
...
* implements ei_queue_pop that calls
switch_queue_trypop or switch_queue_pop_timeout
depending on timeout value
* default for sender_timeout is set to 0
to bring back previous behaviour of
using switch_queue_trypop when fetching
messages to be sent to erlang node
2020-01-24 16:39:51 +00:00
Andrey Volk
c39a2b11ce
[Core] Fix regression in switch_utils after implementing unit-tests parallel.
2020-01-23 18:08:08 +00:00
Andrey Volk
fb14a03924
Merge pull request #258 from signalwire/parallel
...
[Unit-test] Run tests in parallel
2020-01-23 18:49:22 +04:00
Andrey Volk
893a3cdc1f
[Unit-test] Run tests in parallel
2020-01-23 02:29:57 +04:00
Andrey Volk
5657965039
Merge pull request #254 from dragos-oancea/amr_no_native_file
...
[mod_amr], [mod_amrwb]: mark AMR and AMRWB as VBR, don't let mod_native_file load them for playback/recording)
2020-01-22 23:14:34 +04:00
Dragos Oancea
d68a7e2490
FS-10642: [mod_amr], [mod_amrwb]: mark AMR and AMRWB as VBR (don't let mod_native_file load them for playback/recording)
2020-01-22 12:48:30 +00:00
Dragos Oancea
08317fc5c3
[mod_sndfile] fix playing "raw" and other formats ("r8", "r16", "r24", "r32"), add unit-test
...
[mod_sndfile] add stereo to mono support for file formats that need it (eg: gsm, vox), add unit test for stereo
[mod_sndfile] mono to stereo and stereo to mono unit tests.
[unit-tests] mod_sndfile: don't wait for recording file to be flushed to disk by the core, use switch_ivr_stop_record_session()
[mod_sndfile] fix format "wve" (Psion Series 3)
[mod_sndfile] fix format "htk" (Hidden Markov Model Tool Kit)
[mod_sndfile] fix file format "iff" (AIFF)
[mod_sndfile] fix file format "xi" (FastTracker 2)
[mod_sndfile] fix file format "sds" (Midi Sample Dump Standard)
[uni-tests] add more audio file extensions to sndfile unit tests.
[mod_sndfile] add config file support (with one param currently: "allowed-extensions")
[mod_sndfile] add sample file sndfile.conf.xml to 'testing' and 'vanilla' cfg trees.
[mod_sndfile] free() cfg xml
[unit-tests] mod_sndfile: unload module test.
[unit-tests] mod_sndfile: add conf file unit-test (param that allows only certain file extensions)
[unit-tests] adjusts Makefile.am for new CI (tests)
[unit-tests] adjust path to sound file.
[unit-tests] [mod_sndfile] remove Makefile.am from test/
[unit-tests] [mod_sndfile] fix build (Andrey)
2020-01-21 22:12:08 +00:00
Andrey Volk
1927367cbc
[Unit-tests] Fix leaks mod_av and mod_conference tests, fix fonts and paths.
2020-01-21 21:50:08 +04:00
Andrey Volk
4dd86960ba
[mod_lua] Fix leaks.
2020-01-21 13:27:06 +00:00
lazedo
93fdf2d9d7
[mod_kazoo] Fix potential memory leaks
...
* fixes several potential memory leaks
* formatting
* fixes parameter name
* logs unsupported parameters
* fixes default event profile
* fixes unconfigured bindings
2020-01-20 20:12:05 +04:00
Andrey Volk
f1c1f9085c
Merge pull request #241 from signalwire/mod_rayo_leak
...
[mod_rayo] Fix leak in the mod and in tests.
2020-01-20 13:44:50 +04:00
Andrey Volk
520de70f4f
[mod_rayo] Fix leak in the mod and in tests.
2020-01-20 03:04:48 +04:00
Andrey Volk
852e4a9471
[mod_rayo] Fix heap use after free and a possible buffer overflow.
2020-01-20 00:20:30 +04:00
Andrey Volk
7effdf0565
Merge pull request #232 from signalwire/modtestmake
...
[Unit-tests] Place module tests into their module's Makefile.am, fix tests, add missing Makefile.am to mod_png, implement recursive make check.
2020-01-18 14:24:11 +04:00
Andrey Volk
751d5ff55b
[Unit-tests] Place module tests into their module's Makefile.am, fix tests, add missing Makefile.am to mod_png, implement recursive make check.
2020-01-18 09:58:42 +00:00
Dragos Oancea
c2e80ea1e3
[core] avoid overflow when channel muxing
2020-01-18 00:58:57 +04:00
Seven Du
a28436deb7
[mod_loopback] add pre_answer and null_auto_answer support to null channel
2020-01-17 20:50:08 +04:00
joshebosh
41000cfbba
[mod_loopback] add channel var loopback_no_pre_answer
2020-01-17 20:47:38 +04:00
Mike Jerris
5e83ef7e7b
[Build-System] Add print_tests make target to output the list of tests being built including in modules
2020-01-14 22:08:16 +04:00
Andrey Volk
a074814b3f
[mod_sofia] Add abort-on-empty-external-ip global param disabled by default.
2020-01-11 01:18:14 +04:00
Mike Jerris
4ed2af733d
[mod_vmd] deprecate abandoned module that is replaced by mod_avmd
2020-01-10 14:03:34 -07:00
mangshe0
975e6a6032
[mod_av] Fix mod_av not having audio when using avresample
2020-01-10 22:38:38 +04:00
rucc
e90db0d768
[core] fix: don't terminate file before max_samples returned
...
if file buffer is considerably bigger than max_samples than keeping track of samples read instead of samples returned might result in a significantly shorter play
2020-01-09 15:54:42 +01:00
Andrey Volk
d6094643bb
[Core] Fix RTP unit-test by adding switch_rtp_get_core_session().
2020-01-09 13:06:08 +04:00
Andrey Volk
44ba7eb753
[Unit-tests] Do not initiate sqldb by default unless requested.
2020-01-07 21:17:52 +04:00
Andrey Volk
ebeada67d1
Revert "[mod_opusfile] fix play sample rate (don't use original rate, always use 48k), fix eof."
...
This reverts commit 937c4a03eb
.
2020-01-06 22:47:49 +04:00
Andrey Volk
78aa7ea37f
Merge pull request #202 from dragos-oancea/opusfile_fixes
...
[mod_opusfile] fix play sample rate (don't use original rate, always use 48k), fix eof.
2020-01-06 22:38:38 +04:00
Andrey Volk
8797a0f480
Merge pull request #180 from signalwire/CF_AUDIO
...
[mod_portaudio] CF_AUDIO flag is not set
2020-01-06 22:35:03 +04:00
mangshe0
e0d3668e72
[Core] switch_loadable_module wrongly logs that modules.conf loading fails while it's pre_load_modules.conf
...
fix print log error
2020-01-06 22:30:51 +04:00
Dragos Oancea
937c4a03eb
[mod_opusfile] fix play sample rate (don't use original rate, always use 48k), fix eof.
2020-01-03 19:00:26 +00:00
Sebastian Kemper
28d39be261
[core] Fix copy/paste mistake in switch_xml.h
...
Commit 7907994
introduced a copy/paste mistake that may result in
compile failure:
In file included from ../../../../src/include/switch.h:134,
from mod_xml_ldap.c:34:
mod_xml_ldap.c: In function 'xml_ldap_search':
../../../../src/include/switch_xml.h:236:68: error: implicit declaration of function 'switch_xml_toxml_buf'; did you mean 'switch_xml_toxml_buf_ex'? [-Werror=implicit-function-declaration]
#define switch_xml_toxml_buf(xml, buf, buflen, offset, prn_header) switch_xml_toxml_buf(xml, buf, buflen, offset, prn_header, USE_UTF_8_ENCODING);
^~~~~~~~~~~~~~~~~~~~
mod_xml_ldap.c:764:9: note: in expansion of macro 'switch_xml_toxml_buf'
switch_xml_toxml_buf(xml, buf, 0, 0, 1);
^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[7]: *** [Makefile:710: mod_xml_ldap_la-mod_xml_ldap.lo] Error 1
This commit fixes the mistake.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-01-01 15:29:28 +01:00
Andrey Volk
4c1a47d5d1
swigall
2019-12-30 23:39:35 +00:00
Chris Rienzo
9c3f9a9a50
[core] Add SMBF_FIRST flag which forces media bug to front of the list. Add 'f' flag to switch_ivr_displace_session to add displace as first operation on the media stream. ( #76 )
2019-12-31 03:14:31 +04:00
Andrey Volk
6f0ad146d2
[mod_sofia] Fix crash from double profile unlock on outgoing channel from a gateway on a paused profile
2019-12-31 03:13:03 +04:00
Chris Rienzo
562079376a
[core] Add SHUTDOWN_REQUESTED event. Bind to this event to know when ASAP or elegant shutdown has been requested.
2019-12-31 03:11:12 +04:00
Seven Du
13dc7629d6
[mod_sofia] add sip_refer_status_code channel variable to track refer status
2019-12-31 03:08:58 +04:00
Seven Du
2aec6035dd
[mod_loopback] add refer mock to null endpoint
2019-12-31 03:07:49 +04:00
Seven Du
c7480bc3fe
[mod_loopback] remember dtmf in channel var null_channel_dtmf_queued
2019-12-31 03:05:25 +04:00
Seven Du
79079942de
[core] add option to toggle ampersand entities on/off when serialize xml string
2019-12-31 03:03:41 +04:00
Seven Du
917d850b04
[core] remember if a tag is parsed from CDATA
2019-12-31 03:03:04 +04:00
Seven Du
5df8bfcd84
[core] log status code when queue event failure
2019-12-31 02:34:26 +04:00
Mike Jerris
c65cb486d6
[core] change No audio stun for a long time error to warning
2019-12-31 02:32:47 +04:00
Andrey Volk
1486e84aa2
[Core] Fix dereference of null pointer in switch_ivr_originate and switch_ivr_enterprise_originate causing crashes, add unit test.
2019-12-31 02:31:26 +04:00
Andrey Volk
cd5d72ac74
[Core] Database interface: fix potential crash in switch_cache_db_database_interface_flush_handles, code cleanup.
2019-12-31 02:29:12 +04:00
Andrey Volk
cbc8d698a0
FS-11827: [Core] Fix regression in mod_managed due to the type name switch_core_db_handle conflicting with the switch_core_db_handle macro
2019-12-31 02:28:34 +04:00
Andrey Volk
20295c53ef
FS-11827: [Core] Add feature allowing FreeSWITCH to store CORE DB (SQLite) fully in memory (core-db-dsn).
2019-12-31 02:28:20 +04:00
Andrey Volk
e753e615ca
[mod_sofia] Module load will fail if ext-rtp-ip or ext-sip-ip configuration param is set as empty string.
2019-12-31 02:17:17 +04:00
Seven Du
00967290b9
[core] support partial speech events
2019-12-31 02:14:48 +04:00
Andrey Volk
da31fac5a0
[Core, mod_commands] Add switch_core_pool_stats API and pool_stats command with corresponding --enable-pool-debug configure flag.
2019-12-31 02:07:22 +04:00
Dragos Oancea
51bf0fc51a
[core] scan-build: switch_agc_feed() - Division by zero
2019-12-31 00:57:59 +04:00
Dragos Oancea
3d52d2a9ca
[core] scan-build: Dead assignment. Value stored to 'p' is never read
2019-12-31 00:57:48 +04:00
Dragos Oancea
459627dee2
[core] scan-build: audio_bridge_thread() - Dead assignment
2019-12-31 00:57:39 +04:00
Dragos Oancea
ed991ef153
[core] scan-build: switch_strftime_tz() - Dead assignment
2019-12-31 00:57:29 +04:00
Dragos Oancea
cb7db309af
[core] scan-build: video_bridge_thread() - Dereference of null pointer
2019-12-31 00:57:19 +04:00
Andrey Volk
dd1aab3332
[mod_voicemail] vm_fsdb_msg_email command leaks xml object.
2019-12-31 00:48:01 +04:00
Andrey Volk
e4f95f7069
[mod_local_stream] Xml object is leaked on reload when cannot stop local_stream beeing in use.
2019-12-31 00:46:36 +04:00
Andrey Volk
8442218df1
[mod_sofia] sofia_handle_sip_i_invite() leaks xml and event objects on acl_token, sofia_reg_handle_sip_r_challenge() leaks xml object when a user does not have params.
2019-12-31 00:45:00 +04:00
Andrey Volk
5fd6299267
[mod_hiredis] Xml object is not freed on load.
2019-12-31 00:43:24 +04:00
Andrey Volk
05dbd8bd05
[mod_distributor] Fix leak of xml object when no lists in config.
2019-12-31 00:41:19 +04:00
Liyang
4d2f3fc5ec
FS-11677: [mod_video_filter] fix memory leak and support replace read/write video of session with a bug
...
https://freeswitch.org/jira/browse/FS-11677
2019-12-31 00:31:23 +04:00
Liyang
9847a8915f
FS-11677: [mod_video_filter] support api/app to replace the write video of session with a bug
...
https://freeswitch.org/jira/browse/FS-11677
2019-12-31 00:31:08 +04:00
Seven Du
fa18a3d0d6
FS-11877 fix regression from FS-11773 27ce89a6a2a
...
rename callID to sessionCallID since it breaks VC
2019-12-31 00:25:32 +04:00
Seven Du
aec1cbd236
FS-11773 add callID to conference private event
2019-12-31 00:25:00 +04:00
Andrey Volk
4eca43bc62
FS-12048: [Core] Fix leak in SQLite (switch_cache_db_execute_sql2str) when queries return a NULL containing field which may result in high memory consumption.
2019-12-31 00:01:23 +04:00
Andrey Volk
fc61fcfe60
FS-12050: [Core] Fix DataBase Handle (DBH) cache logic
2019-12-30 23:59:46 +04:00
Andrey Volk
e2c1e3a7d3
FS-12055: [mod_sofia] Fix leaks and release profile properly in general_event_handler() and actual_sofia_presence_event_handler()
2019-12-30 23:58:28 +04:00
Andrey Volk
b8a18f7d83
FS-12057: [mod_conference] Fix video mute (use of uninitialized pointer)
2019-12-30 23:58:04 +04:00
Seven Du
3f075d30ac
FS-12032 remove extra semi colon
2019-12-30 23:57:16 +04:00
Andrey Volk
24e0949844
FS-12056: [mod_sofia] Fix leaking destination in sofia_glue_do_invite() and leaking route in sofia_glue_gen_contact_str()
2019-12-30 23:56:16 +04:00
Dragos Oancea
b28eb5ea92
FS-11836: scan-build: Argument with 'nonnull' attribute passed null
...
FS-11836: scan-build: Dead assignments
2019-12-30 23:55:18 +04:00
Andrey Volk
d49d22ff06
[Core] DTMF: Avoid division by zero on low actual_samples_per_second
2019-12-20 00:14:17 +04:00
Andrey Volk
0c90ab01e5
Merge pull request #182 from signalwire/core_fixes
...
[Core] Fix hard coded dtmf durations based on 8k, fix short-circuit in write timestamp calc
2019-12-19 22:55:03 +04:00
Andrey Volk
52949efc28
[Core] Wait for all EVENT_DISPATCH_QUEUE_THREADS before killing the logging which leaks otherwise.
2019-12-17 21:03:20 +04:00
Anthony Minessale
47c5c8f3e8
[Core] Fix short-circuit in write timestamp calc
2019-12-17 00:37:07 +04:00
Anthony Minessale
7ce50c8bd0
[Core] Fix hard coded dtmf durations based on 8k
2019-12-17 00:36:23 +04:00
Andrey Volk
ea6a34aa7d
[mod_portaudio] CF_AUDIO flag is not set
2019-12-17 00:21:52 +04:00
Dragos Oancea
b124b607d7
[Core] Add PRE_CLOSED flag on file handle, add unit test.
2019-12-05 21:55:46 +04:00
Andrey Volk
5274dd1f9c
Merge pull request #164 from lazedo/kazoo-create_ei_cnode
...
[mod_kazoo] use globals hostname to create nodename in create_ei_cnode
2019-12-05 00:43:16 +04:00
Andrey Volk
a124937f0c
[Core] Fix wrong sqldb initialization order causing crash on load.
2019-12-04 19:32:46 +04:00
lazedo
ac77de715b
[mod_kazoo] use globals hostname to create nodename in create_ei_cnode
2019-12-04 05:58:08 +00:00
lazedo
731b0eb8fd
[mod_kazoo] add kz_set_hostname declaration
2019-12-03 23:24:47 +00:00
lazedo
1afad3413b
[mod_kazoo] missing call to kz_set_hostname
2019-12-03 21:45:15 +00:00
Andrey Volk
b337e77258
[Unit-tests] Fix leaks in mod_test and in switch_core_codec, switch_vpx, switch_xml, switch_ivr_play_say tests.
2019-11-27 21:38:19 +04:00
Andrey Volk
4c434aef1f
[Unit-tests] Fix test framework by telling sqldb to manage handles so they don't leak and are destroyed on shutdown.
2019-11-26 22:54:17 +04:00
Andrey Volk
2865603ad2
[Unit-tests] Fix xml error not finding freeswitch.xml on FST_MINCORE_BEGIN
2019-11-26 01:54:43 +04:00
Ítalo Rossi
3de3ec3b1a
[mod_callcenter] Adding SAF_SUPPORT_NOMEDIA to callcenter_track since we don't need media up for it. Also, a small fix to make it compile on OSX.
2019-11-26 01:33:12 +04:00
Andrey Volk
5836b9652b
[Unit-tests] Fix test framework leaking on successful checks under setup or teardown mode. Failed checks in these modes are noted and then freed, but not when passed.
2019-11-26 01:05:03 +04:00
Andrey Volk
a4f0b2f2a0
[mod_test] Fix OSX build
2019-11-22 00:09:14 +04:00
Seven Du
254fda292a
[core] fix shutdown crash when core running with MINIMAL flag
2019-11-21 22:05:43 +04:00
Andrey Volk
66aa064588
Merge pull request #91 from lazedo/event-channel-debug
...
[core] allow event-channel debugging & single delivery
2019-11-15 23:37:36 +04:00
Andrey Volk
f8dc87bd18
[mod_event_socket] Fix "Listener session is null" problem - regression from previous commit to the mod.
2019-11-13 19:28:25 +04:00
Piotr Gregor
b0f09fcff2
[mod_avmd] Unlock and close session if adding a media bug fails
2019-11-12 21:29:29 +04:00
Dragos Oancea
a2b46bcf10
[core] Do not try to close a file handle if it's not SWITCH_FILE_OPEN, return SWITCH_STATUS_FALSE instead
2019-11-12 03:18:23 +04:00
Andrey Volk
a288c3d969
Merge pull request #117 from lazedo/kazoo-ctx
...
[mod_kazoo] recurse context runtime vars
2019-11-12 01:25:14 +04:00
Dragos Oancea
60746cc07c
[mod_tts_commandline, mod_sndfile] fix crash on file not found
2019-11-11 23:02:21 +04:00
Vallimamod Abdullah
7f63483138
[mod_event_socket] Add null pointer checks on listener session and socket
2019-11-11 22:58:18 +04:00
lazedo
3c6d47c293
[mod_kazoo] recurse context runtime vars
2019-11-11 18:09:26 +00:00
Areski Belaid
647ed310e5
[mod_callcenter] Unreserve callcenter events when config errors loading
2019-11-11 20:23:20 +04:00
Andrey Volk
7861ec937e
Merge pull request #64 from cdosoftei/amqp-reconnect
...
[mod_amqp] open logging and produced connections from within their threads
2019-11-11 20:11:59 +04:00
Andrey Volk
55afe220d3
Merge pull request #71 from cdosoftei/amqp-queue-properties
...
[mod_amqp] configurable commands queue properties
2019-11-11 20:11:30 +04:00
lazedo
998e322f46
[mod_kazoo] add kz-endpoint-runtime-context
2019-11-07 22:42:28 +00:00
Andrey Volk
aa2df4f3f8
Merge pull request #90 from lazedo/k-header
...
[mod_sofia] add K- to prefixes that create a sip_h_ variable
2019-10-31 20:50:05 +04:00
Andrey Volk
5705290f8d
Merge pull request #89 from lazedo/sofia-auth-query
...
[mod_sofia] add existing variables when locating user
2019-10-31 20:33:55 +04:00
lazedo
506bcd280d
[core] allow event-channel debugging & single delivery
2019-10-31 12:41:47 +00:00
lazedo
b4373c6666
[mod_sofia] add K- to prefixes that create a sip_h_ variable
...
used by sip tracing tools and not to confuse with application (X-) or (P-)
2019-10-31 12:27:21 +00:00
lazedo
f77484b96d
[mod_sofia] add existing variables when locating user
2019-10-31 12:20:33 +00:00
lazedo
8d2174d707
[mod_kazoo] several fixes & code cleanup
2019-10-31 11:06:16 +00:00
Andrey Volk
c76a8c5458
swigall
2019-10-30 17:25:47 +00:00
Chris Rienzo
1442186cee
[core] Update switch_ivr_bridge_bleg to skip audio bridge during transfer
2019-10-30 21:08:03 +04:00
Seven Du
8aafff281b
[Core] Make switch_ivr_orig_and_bridge function return status and a cause.
2019-10-30 21:07:54 +04:00
Dragos Oancea
45219aef6f
[mod_sndfile] don't force channels and sample rate with .raw extension
2019-10-29 21:47:22 +04:00
Andrey Volk
311a20af63
[mod_verto] Ignore not just zero but negative frame size as well.
2019-10-23 23:03:18 +04:00
cdosoftei
5244a64d4e
[mod_amqp] configurable commands queue properties
2019-10-22 15:22:00 -04:00
cdosoftei
5f628c0090
[mod_amqp] open logging and produced connections from within their respective threads
2019-10-17 15:38:38 -04:00
cdosoftei
7e91927278
[mod_amqp] Properly parse out heartbeat parameter
2019-10-15 12:37:47 -04:00
Ciprian
696814cb26
[Core] Disable msrp by default, only enable when listen-port or listen-ssl-port config params configured in msrp.conf
2019-10-13 21:27:58 +04:00
lazedo
318e5d0d6d
[mod_kazoo] fix xml leak when event-filter is not available
2019-10-13 12:21:22 +01:00
Andrey Volk
db64a08b02
Merge pull request #45 from micmac1/master-memleak-multicast
...
[mod_event_multicast] Fix memory leak
2019-10-13 00:45:59 +04:00
Sebastian Kemper
fc41980f19
[mod_event_multicast] Fix memory leak
...
Taken from FS-11193:
In "event_handler()" function, when encrypting data using openssl 1.1.0,
the context ctx is allocated by "EVP_CIPHER_CTX_new()", then data is
encrypted, and at the end, EVP_CIPHER_CTX_cleanup is called. This
function resets the context (the function itself is deprecated, and has
been renamed to "EVP_CIPHER_CTX_reset) so that it can be used again. The
correct call would be to "EVP_CIPHER_CTX_free()", which frees the
memory. The code for openssl 1.0 is OK, since the "ctx" struct is kept
in stack. The same thing happens during decryption. "ctx" is allocated,
but never freed.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-12 21:43:14 +02:00
Chris Rienzo
9d4f480335
[mod_sofia] Fix some incorrect word contractions.
2019-10-10 09:41:53 -04:00
Andrey Volk
34075172eb
Merge pull request #27 from andywolk/mod_av_crash
...
[mod_av] Fix crash on `av show codecs` and `av show formats`.
2019-10-01 19:37:12 +04:00