Hi,
I am having an issue getting TTS to work on vitalpbx. In following http://nerdvittles.com/?p=25333 I see in the script that the password is supposed to look line the following: $IBM_password = "xxxxxxxxxxxx";
Yet in http://nerdvittles.com/?page_id=25616 it says "When Text to Speech dialog opens, copy your API Key and URL". I see in the url in the script but there is no place to put the API Key. I only have a place for a password, yet IBM does not give me a password in the credentials.
For giggles I tried putting the api key in the $IBM_password field but no joy.
In the ibmtts.txt log I see the following at the bottom:
Is this just the error from Watson because the credentials are incorrect?
In addition, if I dial into the demo ivr on my system and tell it to call American Airlines it completes the call. This tells me that STT is working. The weird thing about that is I forgot to put the credentials into the getnumber.sh file. To be sure I was working with the correct file I renamed getnumber.sh and of course I am unable to place a call using the STT.
Can someone please tell me what I am missing?
I am having an issue getting TTS to work on vitalpbx. In following http://nerdvittles.com/?p=25333 I see in the script that the password is supposed to look line the following: $IBM_password = "xxxxxxxxxxxx";
Yet in http://nerdvittles.com/?page_id=25616 it says "When Text to Speech dialog opens, copy your API Key and URL". I see in the url in the script but there is no place to put the API Key. I only have a place for a password, yet IBM does not give me a password in the credentials.
For giggles I tried putting the api key in the $IBM_password field but no joy.
In the ibmtts.txt log I see the following at the bottom:
Code:
CURL URL: https://stream.watsonplatform.net/text-to-speech/api/v1/synthesize?voice=en-US_LisaVoice
STREAM FILE /tmp/text ""
510 Invalid or unknown command
Couldn't figure out returned string, Returning code=510 result=0
Is this just the error from Watson because the credentials are incorrect?
In addition, if I dial into the demo ivr on my system and tell it to call American Airlines it completes the call. This tells me that STT is working. The weird thing about that is I forgot to put the credentials into the getnumber.sh file. To be sure I was working with the correct file I renamed getnumber.sh and of course I am unable to place a call using the STT.
Can someone please tell me what I am missing?