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