]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_speech_utils.c: Allow partial speech results.
authorcmaj <chris@penguinpbx.com>
Fri, 2 Feb 2024 17:27:31 +0000 (10:27 -0700)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Tue, 6 Feb 2024 18:56:30 +0000 (18:56 +0000)
commit3f00a32d9d73749d3525d114e87396bb0890e794
tree959bba896a8ccadad3e1645d2eec6e3a46b6a307
parent775352ee6c2a5bcd4f0e3df51aee5d1b0abf4cbe
app_speech_utils.c: Allow partial speech results.

Adds 'p' option to SpeechBackground() application.
With this option, when the app timeout is reached,
whatever the backend speech engine collected will
be returned as if it were the final, full result.
(This works for engines that make partial results.)

Resolves: #572

UserNote: The SpeechBackground dialplan application now supports a 'p'
option that will return partial results from speech engines that
provide them when a timeout occurs.
apps/app_speech_utils.c