Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page
Looking for more inspiration?Visit the

Voice Recording settings


Twilio can record calls and Conferences that you create with Programmable Voice. You start a recording with the <Record> or <Dial record> TwiML verbs, the Record parameter on the Calls resource or Conferences resource, or by creating a Recording resource directly. By default, Twilio stores the resulting Recording in encrypted cloud storage and you retrieve it through the Recording resource.

On the Voice Recording settings page, you can configure the following account-wide settings for Voice Recordings:

Changes affect all new Recordings created after you save your settings. Existing Recordings don't change.


Voice Recording external storage

voice-recording-external-storage page anchor

With Voice Recording external storage, Twilio uploads new Voice Recordings to an AWS S3 bucket that you own instead of storing them in Twilio's cloud. Turning on this setting activates external storage for all regions, but you configure the bucket and AWS credentials for each region separately.

Before you begin, make sure you have:

  • An AWS S3 bucket that Twilio can write to.
  • An AWS IAM user with permission to write objects to that bucket. You'll need the IAM user's access key ID and secret access key.

Turn on Voice Recording external storage

turn-on-voice-recording-external-storage page anchor

After you configure external storage and save your settings, Twilio uploads all new Voice Recordings to your S3 bucket and doesn't retain a copy in Twilio's cloud storage.

Twilio ConsoleLegacy Console
  1. In Twilio Console(link takes you to an external page), go to Voice > Recordings > Settings.
  2. In the Voice Recording external storage section, select Enable.
  3. For Select AWS credentials, choose an existing AWS credential, or select Create a new AWS credential and provide a friendly name, the IAM user's access key ID, and the IAM user's secret access key.
  4. For External S3 Bucket URL, enter the URL of your S3 bucket.
  5. Select Save.

Voice Recording encryption

voice-recording-encryption page anchor
(information)

Twilio Editions feature

Voice Recording Encryption is available to Twilio Enterprise Edition and Twilio Security Edition customers. Learn more about Editions(link takes you to an external page).

Voice Recording Encryption encrypts new Voice Recordings with a public key that you provide. Only you, the holder of the corresponding private key, can decrypt the Recordings.

For details on how encryption works, how to generate a key pair, and how to decrypt your Recordings, see the Voice Recording Encryption tutorial.

(warning)

Warning

After you activate Voice Recording Encryption, only you can decrypt the Recordings. No one at Twilio, including Twilio support, can decrypt your Recordings. Only test this feature on test accounts with non-production Recordings.

Turn on Voice Recording encryption

turn-on-voice-recording-encryption page anchor

After encryption is on, Twilio encrypts new Voice Recordings with the public key that you select. Before you begin, generate an RSA key pair and create a Twilio Public Key resource that contains your public key.

Twilio ConsoleLegacy Console
  1. In Twilio Console(link takes you to an external page), go to Voice > Recordings > Settings.
  2. In the Voice Recording encryption section, select Enable.
  3. For Select a public key, choose the public key to use for encryption, or select Create new public key and provide a friendly name and the contents of your public key in PEM format.
  4. Select Save.

Dual-channel Recording for Conference

dual-channel-recording-for-conference page anchor

Dual-channel Recording for Conference records new Conference Recordings in dual-channel format by default. The first channel contains the audio of the first Participant that joined the Conference. The second channel contains all other audio from the call. Read the Dual-channel Conference Recordings Changelog entry(link takes you to an external page) to understand the implications of turning on this setting.

Turn on Dual-channel Recording for Conference

turn-on-dual-channel-recording-for-conference page anchor

After you turn on this setting, new Conference Recordings are saved in dual-channel format by default. Existing Recordings and non-Conference Recordings aren't affected.

Twilio ConsoleLegacy Console
  1. In Twilio Console(link takes you to an external page), go to Voice > Recordings > Settings.
  2. In the Dual-channel Recording for Conference section, select Enable.
  3. Select Save.

To retrieve a dual-channel Recording, include the RequestedChannels=2 query parameter on your request to the Recording resource.