]> 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)
committercmaj <chris@penguinpbx.com>
Tue, 6 Feb 2024 18:56:27 +0000 (18:56 +0000)
commitd2de6a215803fa7d08ae11db376508629c8efa20
tree19edaf47d83c9524afe28ed83133e193330efb9c
parent5e09e2afeb55c647ebf476afc3538fc5178c5942
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