[asterisk-speech-rec] PHPAGI

Nitesh Divecha nitesh at vipernetworks.com
Wed Jan 2 10:14:16 CST 2008


Thanks Stephen,

Videos are really helpful to get started with LumenVox app... Now I just 
need to purchase the starter kit and test it out...

Cheers,
Nitesh



Stephen Keller wrote:
>> Now is there anyway to integrate LumenVox speech recognition
>> app with PHPAGI?
>>     
>
> Hi Nitesh,
>
> In short the answer to this question is yes. When you use LumenVox speech recognition on Asterisk, you will just make use of the standard Asterisk speech applications exported by res_speech.so.
>
> All the documentation for these applications is at http://www.asterisk.org/doxygen/1.4/AstSpeech.html
>
>   
>> Now how can I use speech to capture the input and store it in
>> $pin_no variable?
>>     
>
> I am no expert at PHP or the AGI, but basically all you will need to do is use AGI to execute the SpeechBackground() function and then from your application read in the value of the Asterisk $SPEECH_TEXT(0) variable. Perhaps somebody more familiar with PHP and AGI can give you a code snippet of how this is done in PHP.
>
> If you know Java, you can see some sample Java applications that do this via the AGI at http://www.lumenvox.com/partners/digium/applicationzone/index.aspx
>
> I have a video series at LumenVox.com that will really walk you through the basics of speech recognition on Asterisk that begins at http://www.lumenvox.com/support/videos/asteriskSpeechRec101/vid01_summary.aspx
>
> That assumes you are using dialplan, but the core logic should be the same regardless of how you implement it.
>
> Thanks,
>
>
> Stephen Keller
> Technical Support
> LumenVox
> P: 1-877-977-0707 - just say, "Support"
> P: +1-858-707-7700
> F: +1-858-707-7072
> support at LumenVox.com
> www.LumenVox.com
>
>
> _______________________________________________
> --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