-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with ASR and the :native_or_unimrcp renderer #223
Comments
So, the most obvious thing ( The reason your first option didn't work is because input defaults to the native recognizer, which only handles DTMF. You have to specify that you want to use a recognizer via UniMRCP if you want ASR. |
^ edited to point to correct line |
So the solution here is to add Apologies for this being a round-about review, but it's not been clear up until this explanation what the problem was, and thus the solution was quite confused. |
does a |
You know, it doesn't... I could have sworn it was implemented as a composition of entirely separate Input and Output components, but it's actually an Input component (DTMF only) with a nested Output. Thinking it through further, though, UniMRCP doesn't emit a barge event over AMI, making it impossible to construct a prompt component in this way anyway. This is going to require changes to UniMRCP also :( |
Barge events do work with UniMRCP. I think just |
I know that barge events work, but UniMRCP does not propagate these as AMI events such that we can use them. MRCPPrompt leaves the TTS engine to do all rendering via UniMRCP's You can forget all varieties of |
Ah, I see what you mean. Ideally we'd have a handler registered on RECOG We'll give this some thought and let you know what we come up with in |
@Jared-Prime Any further thoughts on this? Has the situation with UniMRCP changed at all? |
Yes, I believe Asren's additions to UniMRCP /cc @sfgeorge |
I agree with @Jared-Prime here, I believe that UniMRCP's One caveat: To rely on audio support in SynthAndRecog(), it is necessary for Adhearsion-Asterisk users to check that their audio files exist on-disk before passing them over to UniMRCP. |
Following up on a recent email and submitting an issue as suggested, I'd like to clarify what we need at Ifbyphone.
Preamble
We know we have these options available to us:
:unimrcp
,:asterisk
:unimrcp
,:native
,:native_or_unimrcp
:voice
,:dtmf
The Issue
Our defaults are a
:unimrcp
recognizer and a:native_or_unimrcp
renderer. We use the:native_or_unimrcp
renderer specifically to allow playback of audiofiles natively and TTS over unimrcp since Neospeech doesn't support audio tags.We don't get an input type that allows us to pass along the appropriate grammar.
Our Approaches
ComposedPrompt
. Upon validating the options, we get an error saying voice is not supported by default:unimrcp
. This succeeds but only without audio tags.:native_or_unimrcp
to create anMRCPPrompt
, and added to the validator to have the renderer accepted. However, it's not a great solution and we'd still miss the fallback functionality.TL;DR
The easiest thing for us to do is to simply use a
:unimrcp
renderer; yet the rub of the issue is that the fix for TTS fallback does not work with ASR since the fix only applies toComposedPrompt
and not alsoMRCPPrompt
.What do you suggest? We need both the fallback and ASR.
The text was updated successfully, but these errors were encountered: