Record caller for 20 seconds

Hi

is there a way to record caller's voice for 20-40 seconds and send as wav file to Data Action ? (base64)

I would like to create a simple IVR, when a caller called the number, I prompt" Please tell me your home address, and email address.

then IVR should send data action (post) request to a restful service with

  • caller's phone number
  • the recorded audio (home address, email address) the audio/wav file can be encoded into base64.

at last, the IVR play, thank you, disconnect the caller.

IVR will store the calle'rs phone number and audio to a file on the server, someone will listen to the audio later.

This isn't currently possible. You can request new features and share your use case at https://purecloud.ideas.aha.io/ideas.

I think you can accomplish something close to your scenario...

First you'd have to setup a recording policy in Admin->Quality.
In Architect you'd have to use the "Enable Participant Recording" action.
Play a prompt to ask them to speak their address and email.
Call a data action and send the ANI and the ConversationId to your web service.
Play the thank you message and disconnect.

The web service will have to use the ConversationId that it received to pull the recording using the Recordings API, when the recording is available after the call completes (note this can take a few minutes). Then your web service can store the ANI and the audio file on the file server for someone to listen to it.

The only difference in that approach is that your web service has to obtain the recording using the API instead of the audio file being sent via the data action.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.