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

Unable to get recognition data #41

Closed zeeshankareem closed 6 years ago

zeeshankareem commented 6 years ago

Hello Zaf,

Hope you are doing great.

I am getting this error

VERBOSE "Unable to get recognition data." 3 -- asterisk-speech-recog/speech-recog.agi,en-US: Unable to get recognition data.

What can be the issue?

Thanks in advance

ernany commented 6 years ago

I'm too

wsotest commented 6 years ago

Me too

Launched AGI Script /var/lib/asterisk/agi-bin/speech_recog.agi <PJSIP/102-00000012>AGI Tx >> agi_request: speech_recog.agi <PJSIP/102-00000012>AGI Tx >> agi_channel: PJSIP/102-00000012 <PJSIP/102-00000012>AGI Tx >> agi_language: ru <PJSIP/102-00000012>AGI Tx >> agi_type: PJSIP <PJSIP/102-00000012>AGI Tx >> agi_uniqueid: 1516625903.126 <PJSIP/102-00000012>AGI Tx >> agi_version: certified/13.13-cert8 <PJSIP/102-00000012>AGI Tx >> agi_callerid: 102 <PJSIP/102-00000012>AGI Tx >> agi_calleridname: unknown <PJSIP/102-00000012>AGI Tx >> agi_callingpres: 0 <PJSIP/102-00000012>AGI Tx >> agi_callingani2: 0 <PJSIP/102-00000012>AGI Tx >> agi_callington: 0 <PJSIP/102-00000012>AGI Tx >> agi_callingtns: 0 <PJSIP/102-00000012>AGI Tx >> agi_dnid: unknown <PJSIP/102-00000012>AGI Tx >> agi_rdnis: unknown <PJSIP/102-00000012>AGI Tx >> agi_context: from-kamailio <PJSIP/102-00000012>AGI Tx >> agi_extension: 1234 <PJSIP/102-00000012>AGI Tx >> agi_priority: 2 <PJSIP/102-00000012>AGI Tx >> agi_enhanced: 0.0 <PJSIP/102-00000012>AGI Tx >> agi_accountcode: <PJSIP/102-00000012>AGI Tx >> agi_threadid: 140712192878336 <PJSIP/102-00000012>AGI Tx >> agi_arg_1: ru-RU <PJSIP/102-00000012>AGI Tx >> <PJSIP/102-00000012>AGI Rx << SET VARIABLE "utterance" "-1" <PJSIP/102-00000012>AGI Tx >> 200 result=1 <PJSIP/102-00000012>AGI Rx << SET VARIABLE "confidence" "-1" <PJSIP/102-00000012>AGI Tx >> 200 result=1 <PJSIP/102-00000012>AGI Rx << CHANNEL STATUS <PJSIP/102-00000012>AGI Tx >> 200 result=6 <PJSIP/102-00000012>AGI Rx << GET FULL VARIABLE ${CHANNEL(audionativeformat)} <PJSIP/102-00000012>AGI Tx >> 200 result=1 ((speex|ulaw)) <PJSIP/102-00000012>AGI Rx << RECORD FILE /tmp/stt_lL4Obq sln "#" "-1" BEEP "s=2" -- <PJSIP/102-00000012> Playing 'beep.ulaw' (language 'ru') 0x7ffab4046f90 -- Strict RTP learning complete - Locking on source address 10.10.4.8:56282 <PJSIP/102-00000012>AGI Tx >> 200 result=99990 (timeout) endpos=24320 <PJSIP/102-00000012>AGI Rx << VERBOSE "Unable to get recognition data." 3 -- speech_recog.agi,ru-RU: Unable to get recognition data. <PJSIP/102-00000012>AGI Tx >> 200 result=1

26tajeen commented 5 years ago

What was the fix for this?