Commit Graph

20903 Commits

Author SHA1 Message Date
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 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
Andrey Volk d6094643bb [Core] Fix RTP unit-test by adding switch_rtp_get_core_session(). 2020-01-09 13:06:08 +04:00