Re: [asterisk-users] speech-recog.agi

2017-10-19 Thread Jonathan H
Argh! Of course, you are correct! I had not noticed that either - why
does he hide the working version right at the end?!

Anyway, that is your immediate requirement resolved, but I will still
post python version for anyone who wishes for it, soon!



On 19 October 2017 at 23:32, Carlos Chavez  wrote:
> On 10/19/17 3:53 PM, Jonathan H wrote:
>
>> 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?
>>
> Thank you.  I just realized that I just needed to RTFM.  There is a new
> version of the speech-recog agi that uses the Cloud Speech API.  It is
> listed on the web site almost at the end. That one works perfectly.  Of
> course alternatives are always welcome.
>
>
> --
> 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

-- 
_
-- 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

Re: [asterisk-users] speech-recog.agi

2017-10-19 Thread Carlos Chavez

On 10/19/17 3:53 PM, Jonathan H wrote:


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?

Thank you.  I just realized that I just needed to RTFM.  There is a 
new version of the speech-recog agi that uses the Cloud Speech API.  It 
is listed on the web site almost at the end. That one works perfectly.  
Of course alternatives are always welcome.


--
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

Re: [asterisk-users] speech-recog.agi

2017-10-19 Thread Mike Diehl
If you'll release it for python, I'll take a stab at porting it to perl.

Mike


On October 19, 2017 4:53:52 PM EDT, Jonathan H  wrote:
>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  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:
>>
>> AGI Tx >> 200 result=99981 (timeout)
>endpos=22720
>> 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
>
>-- 
>_
>-- 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

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.-- 
_
-- 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

Re: [asterisk-users] speech-recog.agi

2017-10-19 Thread Jonathan H
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  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:
>
> AGI Tx >> 200 result=99981 (timeout) endpos=22720
> 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

-- 
_
-- 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

[asterisk-users] speech-recog.agi

2017-10-19 Thread Carlos Chavez
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:


AGI Tx >> 200 result=99981 (timeout) endpos=22720
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