News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
How to actually download/link to voicemail message from message-store
Tags: sdk
Apr 7, 2017 at 3:33pm   •   2 replies  •  0 likes
rory-mcdowell

I'm calling the message-store endpoint and see the attachment URI, but when I attempt to view or download the file, it's binary data, and I can't play it or anything.


Am I missing something about how I should actually obtain the file or link to it for playback?


I'm attempting to send voicemail messages into Slack so that they can be played by teammates that miss calls.


I feel silly, since I don't see this being asked by anyone else and I'm not sure how/if anyone else is trying to do something similar.

2 Answers
answered on Apr 10, 2017 at 2:02pm  
You can get link to a message attachment URI from message (for example, https://developer.ringcentral.com/api-docs/latest/index.html#!#RefGetMessageInfo). If you try to download a voicemail attachment you will get a binary file with Content-Type header set to either "audio/mp3" or "audio/wav" (uncommon). See also this link: https://developer.ringcentral.com/api-docs/latest/index.html#!#RefMessageAttachment.html

 0
answered on Apr 9, 2017 at 4:48pm  
Yes voidemail is binary. You can save it as a *.wav file. Once you have the *.wav file, you can play it or send it to Slack. I have no experience with Slack so I cannot guide you further.

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us