question

eyecare-leaders-21733 avatar image
eyecare-leaders-21733 asked ·

Send voice message (text to speech)

Our system has reminder function. Currently, we send SMS message for reminder. I wonder if we can send the voice message for reminder (like text to speech) from RingCentral API?
topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

benjamin-dean avatar image
benjamin-dean answered ·
RingCentral does not support this feature currently in the way I think you're hoping to achieve.

We do offer this from within the product as custom announcements/greeting. But it is precofigured (so not dynamic).

This is not configurable from the API at this time.

Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

John Wang avatar image
John Wang answered ·
Per Benjamin, we do not have a text to speech API today but you can use a text to speech API such as the Google Speech Synthesis API or the IBM Watson Text to Speech API to create an audio file. From there, two options include:

  • SMS: A link to the hosted audio file can be sent allow users to playback via the browser. We can support this today with SMS messages up to 1000 characters in length, but a URL shortener may be useful for aesthetics.
  • MMS: The audio file can be directly set in the message allowing direct playback. We do not support this today, but it is on our roadmap.
2 comments Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

So, there are only two options at this time.
There is no any other option to call (ringout) a phone number with an automated voice message (can be static or dynamic - text to speech), isn't it?
0 Likes 0 · ·
That is correct.
0 Likes 0 · ·
Tyler Liu avatar image
Tyler Liu answered ·
You can send fax which contains an audio file. RingCentral API supports fax sending. 

Not an ideal solution but good to know.
2 comments Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

I tried sending a fax with audio file, but all I get is "The information could not be saved.  Please try again later."  Have you actually tried this before?
0 Likes 0 · ·
My bad. I didn't try it. I just realized that audio is not a valid fax format.

But there is cumbersome workaround. You can convert the audio file to base64 and send the base64 as plain text.  In the receiver side, you can convert base64 back to audio.
0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.