Re: [asterisk-users] Integration of Google Speech API V2

2017-07-19 Thread Rahul MathuR
Thanks a bunch Jonathan ! Let me try it out. On Wed, Jul 19, 2017 at 5:30 PM, Jonathan H wrote: > Hi Rahul, > > So sorry - I got interrupted. Anyway, this is the library I am using - > seems much smaller and uses the correct endpoints. > >

Re: [asterisk-users] Integration of Google Speech API V2

2017-07-19 Thread Rahul MathuR
Yeah, I was using this one and was getting 403 on each and every attempt. On Wed, Jul 19, 2017 at 5:41 PM, Marcelo Terres wrote: > Development snapshots that support Speech API v2 are available in either > zip

Re: [asterisk-users] Integration of Google Speech API V2

2017-07-19 Thread Marcelo Terres
Development snapshots that support Speech API v2 are available in either zip or tar formats. A version that supports the new Cloud Speech API

Re: [asterisk-users] Integration of Google Speech API V2

2017-07-19 Thread Marcelo Terres
If you clone zaf repository you will find a branch called cloud_api that works with the new version. In the link that you sent you will find information about it. Regards, On 19 Jul 2017 11:36 am, "Rahul MathuR" wrote: > Hi Marcelo, > > Thanks for replying, I do not

Re: [asterisk-users] Integration of Google Speech API V2

2017-07-19 Thread Jonathan H
Hi Rahul, So sorry - I got interrupted. Anyway, this is the library I am using - seems much smaller and uses the correct endpoints. https://github.com/invitecomm/asterisk-speech-recog/tree/master/v1beta1 The link in that README is broken - I've put in a pull request, but for now, the correct

Re: [asterisk-users] Integration of Google Speech API V2

2017-07-19 Thread Rahul MathuR
Hi Mark, Thanks for replying. Yes, I put my API key. I can see request going over HTTPS and then I get response from Google Cloud that I do not have the access and this is an invalid key. However, when I use the same key in .json format in the Google samples, I get a successful response. #

Re: [asterisk-users] Integration of Google Speech API V2

2017-07-19 Thread Rahul MathuR
Hi Marcelo, Thanks for replying, I do not know what this branch is. Could you please let me know. Also, I enabled google cloud speech API only from the console. Do I need more API enabled? On Wed, Jul 19, 2017 at 3:41 PM, Marcelo Terres wrote: > Did you already tried the

Re: [asterisk-users] Integration of Google Speech API V2

2017-07-19 Thread Mark Wiater
I've had Lefteris' code running for a few years without a problem. I don't have a service key but I have entered my API key in the script in the 'User defined parameters' section. You did that, right? What do the other user defined parameters in your script look like? On 7/19/2017 4:37 AM, Rahul

Re: [asterisk-users] Integration of Google Speech API V2

2017-07-19 Thread Marcelo Terres
Did you already tried the cloud_api branch? Regards, Marcelo H. Terres IM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres On 19 July 2017 at 10:17, Rahul MathuR

Re: [asterisk-users] Integration of Google Speech API V2

2017-07-19 Thread Rahul MathuR
Hi Jonathan Thanks ! That would indeed be wonderful, at this point I really do not care whether I need to use Python or Lua or JS. I was following http://zaf.github.io/asterisk-speech-recog/ but hit a road end with (for the lack of sane word ) copulating Google's Key On Wed, Jul 19, 2017 at

Re: [asterisk-users] Integration of Google Speech API V2

2017-07-19 Thread Jonathan H
Yes! But I can only tell you if you can use Python, as I used Google's own demo code. If you can hold on for half an hour, I'll remove personal info and put a version up on Github if you're interested? On 19 July 2017 at 09:37, Rahul MathuR wrote: > Hi, > > I'm

[asterisk-users] Integration of Google Speech API V2

2017-07-19 Thread Rahul MathuR
Hi, I'm trying to integrate Google cloud speech recognition v2 in it. I can get the audio recorded, have created Service key and API key but whenever I try to access it, I just get 403 access denied. I am at my wits end here. Has anybody tried it ? were you successful ? Could you please guide me