[asterisk-users] speech-recog.agi

Jonathan H
Thu, 19 Oct 2017 20:53:52 -0000

That's because it uses a deprecated API and endpoint.

However, funny you should ask this, because I've just finished
updating my Google TTS routine to take advantage of the new
streamlined API.

If you can wait a couple of days, I've stick it up on the repo -
BUT... it's going to require python3.5+, the way I do it...

Would that work for you?

On 19 October 2017 at 18:41, Carlos Chavez <cursor at telecomab.mx>
wrote:
>     I want to try using google for speech recognition in Asterisk and I
> found a ready made AGI:
>
> http://zaf.github.io/asterisk-speech-recog/
>
>     I have followed all the steps listed in the web site but I keep getting
> this error:
>
> <PJSIP/2001-0000006e>AGI Tx >> 200 result=99981 (timeout)
endpos=22720
> <PJSIP/2001-0000006e>AGI Rx << VERBOSE "Unable to get
recognition data." 3
>
>     I made sure all the dependencies are met and that my API key for Google
> Cloud Speech is correct (cut and paste).  Any pointers to get this to work
> or any other quick waysto start using Google for speech recognition in
> Asterisk?  Thanks.
>
>
> --
> Telecomunicaciones Abiertas de M?xico S.A. de C.V.
> Carlos Ch?vez
> +52 (55)8116-9161
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>      https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users