We have an automation for our IT tickets, when an agent hangs up with a caller it creates a ticket and then links to RingCentral's call recording for the call to listen to later.
What we would like to do is dump the recording as an attachment to that ticket/email, this would allow us to keep recordings longer.
How am I able to do that? We looked through "Get Call Recordings Data" (https://developers.ringcentral.com/api-reference/Call-Recordings/listCallRecordingData) but are not sure how to take that data in Python and save it as a MP3/WAV file.
We have tried taking r.text() and exporting the bytes to a WAV file, but then it returns that r.text() is does not contain only byes(which it doesn't). We have tried loading r.text() into pydub as well, but it does not read it either.
Is this not possible with Python?