zaf / asterisk-speech-recog

Speech recognition script for Asterisk that uses google's speech engine.
GNU General Public License v2.0
245 stars 131 forks source link

API key installed but getting error #20

Closed albersag closed 8 years ago

albersag commented 8 years ago

Hi i have take a look to new way to use google API, and installed key of type server on script

Debug on

-- Executing [s@astricon-asr:3] AGI("SIP/201-00000013", "speech-recog-tiny.agi,en-US") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/speech-recog-tiny.agi <SIP/201-00000013>AGI Tx >> agi_request: speech-recog-tiny.agi <SIP/201-00000013>AGI Tx >> agi_channel: SIP/201-00000013 <SIP/201-00000013>AGI Tx >> agi_language: en <SIP/201-00000013>AGI Tx >> agi_type: SIP <SIP/201-00000013>AGI Tx >> agi_uniqueid: 1443891594.50 <SIP/201-00000013>AGI Tx >> agi_version: 13.5.0 <SIP/201-00000013>AGI Tx >> agi_callerid: 201 <SIP/201-00000013>AGI Tx >> agi_calleridname: unknown <SIP/201-00000013>AGI Tx >> agi_callingpres: 0 <SIP/201-00000013>AGI Tx >> agi_callingani2: 0 <SIP/201-00000013>AGI Tx >> agi_callington: 0 <SIP/201-00000013>AGI Tx >> agi_callingtns: 0 <SIP/201-00000013>AGI Tx >> agi_dnid: 667 <SIP/201-00000013>AGI Tx >> agi_rdnis: unknown <SIP/201-00000013>AGI Tx >> agi_context: astricon-asr <SIP/201-00000013>AGI Tx >> agi_extension: s <SIP/201-00000013>AGI Tx >> agi_priority: 3 <SIP/201-00000013>AGI Tx >> agi_enhanced: 0.0 <SIP/201-00000013>AGI Tx >> agi_accountcode: <SIP/201-00000013>AGI Tx >> agi_threadid: -1231666144 <SIP/201-00000013>AGI Tx >> agi_arg_1: en-US <SIP/201-00000013>AGI Tx >> -- <SIP/201-00000013>AGI Script speech-recog-tiny.agi completed, returning 0

But always getting this error?

Any idea?

albersag commented 8 years ago

Finally solved. Tiny version does not work for me but normal version it does..