Commit Graph

21105 Commits

Author SHA1 Message Date
Dragos Oancea 89555c2151 [mod_amqp] scan-build: Dereference of null pointer (loaded from variable 'active') - mod_amqp_connection_open() 2020-02-25 22:09:33 +00:00
Dragos Oancea b53274276f [mod_redis] scan-build: Potential leak of memory pointed to by 'cptr' - cr_morebulk() 2020-02-25 22:04:01 +00:00
Dragos Oancea 8fdda68018 [mod_voicemail_ivr] scan-build: Null pointer passed as an argument to a 'nonnull' parameter - SWITCH_STANDARD_APP(voicemail_ivr_function) 2020-02-25 21:49:09 +00:00
Andrey Volk 456a7fa8cc [mod_pgsql,mod_mariadb] Fix scan-build warnings. 2020-02-26 01:48:40 +04:00
Dragos Oancea ba0221ff09 [mod_verto] scan-build: Value stored to 'status' is never read - verto_read_text_frame() 2020-02-25 21:45:38 +00:00
Dragos Oancea f99eecdd03 [mod_rtmp] scan-build: Value stored to 'status' is never read - RTMP_INVOKE_FUNCTION(rtmp_i_sendevent) 2020-02-25 21:42:20 +00:00
Dragos Oancea d1d42dab71 [mod_oreka] scan-build: Value stored to 'linear_frame' is never read - oreka_audio_callback() 2020-02-25 21:37:57 +00:00
Dragos Oancea fa49e46bb7 [mod_vlc] scan-build: Value stored to 'vcontext' is never read - vlc_file_av_open() 2020-02-25 21:34:16 +00:00
Dragos Oancea 1ccd75c94b [mod_erlang_event] scan-build: Access to field 'rwlock' results in a dereference of a null pointer (loaded from variable 'listener') 2020-02-25 21:30:10 +00:00
Dragos Oancea 40c7d62c42 [mod_skinny] scan-build: Value stored to 'profile' is never read - channel_outgoing_channel() 2020-02-25 21:24:36 +00:00
Andrey Volk 05a7914b8e [mod_json_cdr] scan-build: Fix dead assignments. 2020-02-26 01:18:45 +04:00
Dragos Oancea 0ad909aec7 [mod_verto] scan-build: Null pointer argument in call to string comparison function - http_run() 2020-02-25 21:18:44 +00:00
Andrey Volk 39453fbcdc [mod_odbc_cdr] scan-build: Fix dereference of null pointer and a dead assignment. 2020-02-26 00:58:51 +04:00
Andrey Volk e8c4de5b48 [mod_imagick] Remove unused variable. 2020-02-26 00:45:19 +04:00
Andrey Volk adef812266 [mod_png] Remove unused variable. 2020-02-26 00:37:39 +04:00
Andrey Volk d767976167 [mod_portaudio_stream] scan-build: Fix dead assignment. 2020-02-26 00:28:05 +04:00
Seven Du 6decc21669 [core] fix sdp parsing on invalid sdp 2020-02-26 00:17:55 +04:00
Dragos Oancea 828605fe4d [mod_unimrcp] scan-build: Value stored to 'lname' is never read - audio_queue_create() 2020-02-25 20:16:16 +00:00
Andrey Volk d331e5947c [mod_python] scan-build: Fix "Argument with 'nonnull' attribute passed null" 2020-02-26 00:15:28 +04:00
Andrey Volk d63676405f [mod_say_xx] Fix multiple dead assignments 2020-02-25 23:53:45 +04:00
Dragos Oancea 0c2873e726 [mod_amr] scan-build: Array access (from variable 'tocs') results in a null pointer dereference - switch_amr_unpack_oa() 2020-02-25 17:51:09 +00:00
Dragos Oancea a07c0447f0 [mod_amr] scan-build: Value stored to 'ft' is never read - switch_amr_unpack_be() 2020-02-25 17:38:15 +00:00
Andrey Volk f9cafeb7a8 [Core] Fix crash when parsing some uncommon SDP attributes 2020-02-25 01:40:52 +04:00
Andrey Volk 5082454c45 [mod_dingaling] scan-build: fix multiple dead assignments and dereference of null pointer. 2020-02-22 00:46:10 +04:00
Dragos Oancea c6f5869474 [core] scan-build: Function call argument is an uninitialized value - switch_xml_set_attr() 2020-02-21 07:00:18 +00:00
Andrey Volk 09b40e052f
Merge pull request #387 from signalwire/mod_dptools_leak
[mod_dptools] scan-build: Fix "Potential leak of memory pointed to by 'head'"
2020-02-19 20:15:15 +04:00
Andrey Volk d9b63859a1 [mod_dptools] scan-build: Fix "Potential leak of memory pointed to by 'head'" 2020-02-19 19:54:29 +04:00
Andrey Volk 1c2aff0feb [mod_hash] scan-build: Fix "Potential leak of memory pointed to by 'item'". 2020-02-19 19:37:09 +04:00
Andrey Volk 10aad69e1b
Merge pull request #347 from dragos-oancea/switch_ivr_async-status-val-never-read
[core] scan-build: Value stored to 'status' is never read - switch_ivr_eavesdrop_session()
2020-02-16 02:07:37 +04:00
Andrey Volk 4594fb9209
Merge pull request #373 from signalwire/switch_loadable_module
[Core] scan-build: Fix possible dereference of null pointer in switch_loadable_module_sort_codecs()
2020-02-16 01:49:39 +04:00
Andrey Volk dea8086cc6
Merge pull request #372 from signalwire/switch_core_video
[Core] scan-build: Fix "Result of operation is garbage or undefined" in switch_color_yuv2rgb()
2020-02-16 01:44:01 +04:00
Andrey Volk 7a3605e984
Merge pull request #371 from signalwire/switch_log
[Core] scan-build: Fix "The result of the '<<' expression is undefined" in switch_log_str2mask().
2020-02-16 01:31:59 +04:00
Andrey Volk 0171e18657 [Core] scan-build: Fix possible dereference of null pointer in switch_loadable_module_sort_codecs() 2020-02-16 01:30:31 +04:00
Andrey Volk 8cee6230e3 [Core] scan-build: Fix "Result of operation is garbage or undefined" in switch_color_yuv2rgb() 2020-02-16 01:23:40 +04:00
Andrey Volk 46ca31314c [Core] scan-build: Fix "The result of the '<<' expression is undefined" in switch_log_str2mask(). 2020-02-16 01:14:44 +04:00
Andrey Volk c3ee0c17cb [Core] Fix various dead assignments. 2020-02-16 00:59:37 +04:00
Andrey Volk 9f2d044ca5
Merge pull request #369 from signalwire/custom_hash_leak
[Core] Fix possible leak of the subclass variable in CUSTOM_HASH'es switch_event_reserve_subclass_detailed().
2020-02-16 00:51:34 +04:00
Andrey Volk 688bdadd58
Merge pull request #368 from signalwire/core_hash
[Core] Fix potential leak of hash table keys.
2020-02-16 00:33:19 +04:00
Andrey Volk 2c6480a99e
Merge pull request #342 from dragos-oancea/switch_ivr_play_say-last-speed-val-never-read
[core] scan-build: Value stored to 'last_speed' is never read - switch_ivr_play_file()
2020-02-16 00:31:55 +04:00
Andrey Volk 8dd27183f8 [Core] Fix possible leak of the subclass variable in CUSTOM_HASH'es switch_event_reserve_subclass_detailed(). 2020-02-16 00:29:38 +04:00
Andrey Volk 36a528f9a7 [Core] Fix potential leak of hash table keys. 2020-02-16 00:07:13 +04:00
Mike Jerris 39ff576097 [mod_verto] fix crash on vhost http server requests without content type 2020-02-15 13:40:00 -05:00
Dragos Oancea c0b833fe74 [core] scan-build: Value stored to 'status' is never read - switch_ivr_eavesdrop_session() 2020-02-15 18:10:26 +00:00
Andrey Volk 0d29633e23
Merge pull request #361 from dragos-oancea/switch_time-tzname-val-never-read
[core] scan-build: Value stored to 'tz_name' is never read - switch_strftime_tz()
2020-02-14 21:04:04 +04:00
Andrey Volk 9c5f2109cb
Merge pull request #343 from dragos-oancea/switch_core_state_machine-val-never-read
[core] scan-build: Value stored to 'midstate' during its initialization is never read - switch_core_session_hangup_state()
2020-02-14 21:02:19 +04:00
Andrey Volk 95fe3cbdc0
Merge pull request #351 from dragos-oancea/switch_xml-lcont-val-never-read
[core] scan-build: Value stored to 'lcount' is never read - switch_xml_toxml_r()
2020-02-14 20:58:41 +04:00
Andrey Volk 0724039b20
Merge pull request #353 from signalwire/mod_hash
[mod_hash] Fix use of remote's hash table after free.
2020-02-14 20:57:11 +04:00
Dragos Oancea b4a591dcd2 [core] scan-build: Value stored to 'tz_name' is never read - switch_strftime_tz() 2020-02-14 16:55:02 +00:00
Andrey Volk 465890fcb9
Merge pull request #356 from dragos-oancea/switch_ivr_async-echo-val-never-read
[core] scan-build: Value stored to 'status' is never read - switch_ivr_session_echo()
2020-02-14 20:50:41 +04:00
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