[asterisk-users] How to make SpeechBackground keep playing ifutterance doesn't match our grammar
Danny Nicholas
danny at debsinc.com
Mon Jan 25 15:06:35 CST 2010
I assume you've tried the $GARBAGE in your grammar to make speech run
"tightly"?
--
Danny Nicholas
--
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Quinn Weaver
Sent: Monday, January 25, 2010 2:58 PM
To: asterisk-speech-rec-request at lists.digium.com
Cc: asterisk-users at lists.digium.com
Subject: [asterisk-users] How to make SpeechBackground keep playing
ifutterance doesn't match our grammar
Hi,
We've run into an interesting (to us) problem with SpeechBackground. Inside
a
AGI script, we're playing some extended audio-basically, like a podcast-and
we
want playback to stop if and only if the speech recognized matches something
in our grammar. If there's speech that doesn't match, we just want to go
right on playing. (We're using LumenVox as our speech recognition engine.)
Problem is, any speech is always matching something, even if it matches
with a low score. This is going to be annoying to our users,
as you can imagine.
A second, only partly related problem is that we'd like to have the
fast-forward and rewind abilities of ControlPlayback, but with speech
recognition. We have a hackish way around this-make a sound file starting
several seconds into the first file, and call SpeechBackground on that-
but it's a kludge.
So what we really want is something that acts like SpeechBackground, but
blocks until there's a matching result (preferrably with rewind and
fast-forward support). The first part, block if no match, is essential;
the second part, rewind and fast-forward, is not.
I know this is a tall order, but, hey, it can't hurt to ask, right?
Has anyone faced this before? Is there any application or AGI command
that works? (We couldn't find one.) Are we going to have to bust out gcc
and write our own dialplan application? :/
Thanks a lot,
--
Quinn Weaver Consulting, LLC
Full-stack web design and development
http://quinnweaver.com/
510-520-5217
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list