[asterisk-speech-rec] AGI and embargeability

Trevor Benson tbenson at a-1networks.com
Wed Jan 6 11:52:36 CST 2010


SPEECHBACKGROUND..

This application does just what you asked, please core show application speechbackground.  I use this to do the exact thing you are asking, you just have to configure the grammar files to give you the output you expect to be able to deal with in your application.

You AGI execs applications with commands as well, and AGI can be used for speech recognition.  You need to look into lumenvox, try out their started license for $50, or a monthly account for $7.99.  Once you start setting up the application you will get a better understanding of how to accomplish what your looking for.  But in short, its all in the speech application, it has the intelligence to take the digit input, you just have to code the grammar properly or at least enable the correct grammar and phrase the question in just the right way so you get the correct response from the user.


Trevor Benson
A1 Networks  |  Network Engineer
dCAP- Digium Certified Asterisk Professional
LPIC-1, Network+, CNA, MCP
DID (707)703-1041
Fax (707)703-1983 
tbenson at a-1networks.com





On Jan 5, 2010, at 12:56 PM, Quinn Weaver wrote:

> On Tue, Jan 5, 2010 at 12:20 AM, Trevor Benson <tbenson at a-1networks.com> wrote:
>> Its called speechbackground.  from asterisk console type 'core show applications speech' (and hit the tab key) these are the speech applications used.  Speechbackground being similar to background.
> 
> Thanks, Trevor, Steve, and Alex.  I should have been clearer about
> what I want to do.  I want to play a sound file while listening for
> *either* speech *or* DTMF input.  Either should affect control flow.
> Think "for customer service, press or say 2."  Is there any way to do
> this?
> 
> My second constraint is that I want to do this within a single AGI
> script.  I'd prefer using AGI commands rather than EXEC'ing dialplan
> applications like Background and speechbackground, but I guess I can
> use apps if I need to.
> 
> Thanks again,
> 
>> 
>> 
>> Trevor Benson
>> A1 Networks  |  Network Engineer
>> dCAP- Digium Certified Asterisk Professional
>> LPIC-1, Network+, CNA, MCP
>> DID (707)703-1041
>> Fax (707)703-1983
>> tbenson at a-1networks.com
>> 
>> 
>> 
>> 
>> 
>> On Jan 4, 2010, at 5:41 PM, Quinn Weaver wrote:
>> 
>>> Hi,
>>> 
>>> This is a naive question, but is there a way in my AGI script to
>>> simultaneously play audio and listen for DTMF or voice responses?
>>> I've heard VOIP hackers call this "inbargeability;" it's the ability
>>> to "barge in" to a playing audio clip.
>>> 
>>> I'm planning to use Lumenvox for the DTMF and voice recognition, BTW.
>>> Not sure if that matters.
>>> 
>>> Many thanks to anyone who can lend me a clue about this,
>>> 
>>> --
>>> 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-speech-rec mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
>> 
>> 
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>> 
>> asterisk-speech-rec mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
>> 
> 
> 
> 
> -- 
> 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-speech-rec mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
> 




More information about the asterisk-speech-rec mailing list