diff --git a/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/internal/DialogProcessor.java b/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/internal/DialogProcessor.java index 9870634ab6..869cc665d4 100644 --- a/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/internal/DialogProcessor.java +++ b/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/internal/DialogProcessor.java @@ -244,7 +244,6 @@ public class DialogProcessor implements KSListener, STTListener { public synchronized void sttEventReceived(STTEvent sttEvent) { if (sttEvent instanceof SpeechRecognitionEvent) { if (!isSTTServerAborting) { - abortSTT(); SpeechRecognitionEvent sre = (SpeechRecognitionEvent) sttEvent; String question = sre.getTranscript(); try { @@ -256,6 +255,7 @@ public class DialogProcessor implements KSListener, STTListener { say(msg); } } + abortSTT(); } } else if (sttEvent instanceof RecognitionStartEvent) { toggleProcessing(true);