Commit Graph

34188 Commits

Author SHA1 Message Date
Dragos Oancea e84738d92c [sofia-sip] scan-build: Assigned value is garbage or undefined - outgoing_naptr_tport() 2020-01-31 15:27:54 +00:00
Andrey Volk d9bec17d16
Merge pull request #281 from signalwire/dronenode
[Unit-test] Separate to a node on Drone CI
2020-01-31 03:26:21 +04:00
Andrey Volk 1577cd7c08 [Unit-test] Separate to a node on Drone CI 2020-01-31 02:34:56 +04: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
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 dc2b43fb74
Merge pull request #265 from signalwire/set_illuminant_from_code
[SpanDSP] Fix use of uninitialized xyz variable in set_illuminant_from_code()
2020-01-28 23:10:07 +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
Andrey Volk 97616141e5
Merge pull request #263 from signalwire/spandspunused
[SpanDSP] Remove unused x_repeats variable from header_row_read_handler()
2020-01-28 23:09:18 +04:00
Sebastian Kiesel 197a6a6564 [docs/phrase] Translated all phrases (voice prompts) to German. 2020-01-28 21:15:35 +04:00
Andrey Volk 1a79aea73a
Merge pull request #268 from dragos-oancea/channel_limit
[core] add audio channels limit when opening files, configurable through switch.conf.xml (param "max-audio-channels")
2020-01-28 14:56:28 +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 4fc6fc9b09 [SpanDSP] Fix use of uninitialized xyz variable in set_illuminant_from_code() 2020-01-26 18:32:18 +04:00
Andrey Volk 9d9541e350 [Core] Remove dead assignment and dead increment in text_bridge_thread(). 2020-01-26 18:07:15 +04:00
Andrey Volk 1e4cb132d6 [SpanDSP] Remove unused x_repeats variable from header_row_read_handler() 2020-01-26 17:57:08 +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 6d8e8f35b4
Merge pull request #257 from dragos-oancea/upnp_asan
[miniupnpc] fix heap-buffer-overflow reported by ASAN (on read)
2020-01-22 23:59:42 +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 e3abcf2808 [miniupnpc] fix heap-buffer-overflow reported by ASAN (on read) 2020-01-22 19:07:06 +00:00
Andrey Volk 937d881b9c
Merge pull request #217 from dragos-oancea/sndfile_fixes
[mod_sndfile] Fix .raw audio file playing and other raw audio file extensions. Fix stereo2mono for certain formats.
2020-01-22 22:33:47 +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 78c7dd2a37
Merge pull request #251 from signalwire/module_tests
[Unit-tests] Implement module tests in Drone CI
2020-01-21 22:44:25 +04:00
Andrey Volk 6d31e846a8 [Unit-tests] Implement module tests in Drone CI 2020-01-21 22:23:30 +04:00
Andrey Volk b7bc78ec6f
Merge pull request #250 from signalwire/fix_tests
[Unit-tests] Fix leaks mod_av and mod_conference tests, fix fonts and paths.
2020-01-21 22:02:04 +04: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