Commit Graph

34326 Commits

Author SHA1 Message Date
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
Andrey Volk 7d8de79950
Merge pull request #247 from signalwire/mod_lua_leak
[mod_lua] Fix leaks.
2020-01-21 20:46:52 +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
Dragos Oancea e3b1fb91c8 [sofia-sip] fix overflow in logging (tport)
[sofia-sip] bump .update
2020-01-20 19:46:51 +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 3fb5df00fb
Merge pull request #240 from signalwire/mod_rayo_heap
[mod_rayo] Fix heap use after free and a possible buffer overflow.
2020-01-20 13:42:30 +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