Send voice message (text to speech)

  • 1
  • Question
  • Updated 2 months ago
  • Answered
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?
Photo of Eyecare Leaders 2

Eyecare Leaders 2

  • 130 Points 100 badge 2x thumb

Posted 1 year ago

  • 1
Photo of Benjamin Dean

Benjamin Dean, Official Rep

  • 8,582 Points 5k badge 2x thumb
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.

(Edited)
Photo of John Wang

John Wang, Official Rep

  • 4,338 Points 4k badge 2x thumb
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.
(Edited)
Photo of Eyecare Leaders 2

Eyecare Leaders 2

  • 130 Points 100 badge 2x thumb
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?
Photo of Benjamin Dean

Benjamin Dean, Official Rep

  • 8,582 Points 5k badge 2x thumb
That is correct.
Photo of Tyler Long

Tyler Long, Official Rep

  • 4,524 Points 4k badge 2x thumb
You can send fax which contains an audio file. RingCentral API supports fax sending. 

Not an ideal solution but good to know.
Photo of Extension One

Extension One

  • 112 Points 100 badge 2x thumb
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?
Photo of Tyler Long

Tyler Long, Official Rep

  • 4,524 Points 4k badge 2x thumb
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.