[asterisk-users] Speech recognition in asterisk using google voice API
Bruce B
bruceb444 at gmail.com
Tue Jan 3 23:51:23 CST 2012
And with recent version 14.3.2 I get:
/usr/local/bin/sox FAIL formats: no handler for file extension `flac'
-- speech-recog.agi: /usr/local/bin/sox failed: 512
-- <SIP/5555-0000002e>AGI Script speech-recog.agi completed, returning 0
Regards,
On Wed, Jan 4, 2012 at 12:43 AM, Bruce B <bruceb444 at gmail.com> wrote:
> Very interesting. I just tried to get it to work but it complains about
> sox. Probably you used a different version of sox?
>
> *PBX-*CLI> /usr/bin/sox: invalid option -- -*
> */usr/bin/sox: invalid option -- n*
> */usr/bin/sox: invalid option -- o*
> */usr/bin/sox: -r must be given a positive integer*
> * -- speech-recog.agi: /usr/bin/sox failed: 512*
>
> I am using: *Package sox-12.18.1-1.el5_5.1.i386 *
>
> Thanks,
>
>
> On Tue, Jan 3, 2012 at 9:42 PM, Lefteris Zafiris <zaf.000 at gmail.com>wrote:
>
>> Hello,
>> I have written an agi script that uses google voice API for voice
>> recognition.
>> The script records from the current channel untill the pound key (#) is
>> pressed or the timeout (15 seconds) is reached. The recording is send
>> over to google speech recognition service and the returned text string
>> is assigned to a channel variable.
>> More info and dialplan examples can be found in the README file:
>> https://raw.github.com/zaf/asterisk-speech-recog/master/README
>>
>> The script is available here:
>> https://github.com/zaf/asterisk-speech-recog
>>
>> The code is still young and not roughly tested so comments, suggestions
>> and bug reports are more than welcome.
>>
>> ----------------
>> Lefteris Zafiris
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>> http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120104/bc09ac60/attachment.htm>
More information about the asterisk-users
mailing list