Voicemail Transcription with IBM Service and that script

In reference to this thread:

I was going to try to set this up. I did activate the new voicemail script (as it’s showing in the email the “transcribed text” section, but I’m having trouble getting it to connect to IBM in the first place. It seems they may be using service accounts instead of a login/pass (which L/P is what the script is geared for).

Anyone have familiarity with doing the tie-in with this script to the IBM service? It did create some default service credentials, but again, they’re more token-like, not Login/Pass based. The downloadable JSON file says it has an API Key and Secret (though I can’t find the “secret” within the file, only the API key) - FIgured the Key was the login and Secret was the password… I’m a little stuck…

Here’s an example output from a JSON credential (I’ve already deleted the credential and edited some of what was in the example below so it’s not valid), but if anyone knows what elements I’d extract to place in the Username/Password fields of the script, that would be greatly appreciated:

  "apikey": "Q507dlsfDGVFNiRrgTkl7cZR2VGalOCkLQhfVtLQ8H2c",
  "iam_apikey_description": "Auto generated apikey during resource-key operation for Instance - crn:v1:bluemix:public:speech-to-text:us-east:a/4107aa09a77e4266a49128857817c305:f00755dd-a49a-48e6-800c-cd0d1a2c0591::",
  "iam_apikey_name": "auto-generated-apikey-fda2b702-f25d-4c8e-99a7-6feb808edc34",
  "iam_role_crn": "crn:v1:bluemix:public:iam::::serviceRole:Manager",
  "iam_serviceid_crn": "crn:v1:bluemix:public:iam-identity::a/4107aa09a77e4266a49128857817c305::serviceid:ServiceId-dddd91a6-650a-4739-8d17-56685b24763c",
  "url": "https://gateway-wdc.watsonplatform.net/speech-to-text/api"

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.