fogopoa
(usa Debian)
Enviado em 01/03/2017 - 19:00h
Boa tarde,
Realizei a configuração e instalação do google speech recognition api, instalei as bibliotecas necessárias, mas mesmo assim não reconhece a fala, poderiam me ajudar?
ERRO:
-- Executing [4065@ura-fala:4] AGI("IAX2/central01-3598", "speech-recog.agi|pt-BR|3") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/speech-recog.agi
-- <IAX2/central01-3598> Playing 'beep' (language 'br')
-- speech-recog.agi|pt-BR|3: Unable to get recognition data.
-- AGI Script speech-recog.agi completed, returning 0
-- Executing [4065@ura-fala:5] NoOp("IAX2/central01-3598", "= Script returned: | | -1 | -1 =") in new stack
-- Executing [4065@ura-fala:6] NoOp("IAX2/central01-3598", " O que reconheceu: -1 ") in new stack
Código:
[ura-fala]
exten => 4065,1,Answer()
exten => 4065,n,MixMonitor(/opt/gravacoes/${EXTEN}/${UNIQUEID}.gsm)
exten => 4065,n,Agi(speech-recog.agi,pt-BR,3)
exten => 4065,n,Noop(= Script returned: ${status} , ${id} , ${confidence} , ${utterance} =)
exten => 4065,n,NoOp( O que reconheceu: ${utterance} )
exten => 4065,n,hangup
Versão do asterisk: 1.4.43
Debian: 7.11
Bibliotecas instaladas:
ii perl 5.14.2-21+deb7u4 amd64 Larry Wall's Practical Extraction and Report Language
ii libwww-perl 6.04-1 all simple and consistent interface to the world-wide web
ii libjson-perl 2.53-1 all module for manipulating JSON-formatted data
ii flac 1.2.1-6+deb7u1 amd64 Free Lossless Audio Codec - command line tools
ii libio-socket-ssl-perl 1.76-2 all Perl module implementing object oriented interface to SSL sockets
ii libcrypt-ssleay-perl 0.58-1 amd64 OpenSSL support for LWP
Poderiam me ajudar?