[asterisk-dev] Speech Recognition
Joshua Colp
jcolp at digium.com
Mon Oct 16 09:47:01 MST 2006
Stephan A. Edelman wrote:
> Hello Joshua,
>
> Thanks for committing those changes, much appreciated.
>
> I would like the Speech API to behave more transparently and be capable
> of injecting responses into existing applications, such as WaitExten,
> VoiceMail, VoiceMailMain, etc.
> I'm trying to figure out an elegant way to do this, but can only think
> of a wrapper channel driver (so as to allow access to the voice path and
> inject DTMF, as required). Anyone else have a better idea?
>
You can activate a spy on the channel and feed the audio from the frames
into the speech recognition engine, and read the result. You can then
inject DTMF frames into the channel which will be received by the
application ... in theory.
The nifty thing about the speech recognition API is that it doesn't care
about channels, it just wants audio - so that's what you give it :)
>
> Stephan.
> ---
--
Joshua Colp
Software Developer
Digium, Inc.
More information about the asterisk-dev
mailing list