Twilio Elastic SIP Trunks do support call recording. When recording is enabled, all calls are recorded (both origination and termination traffic), in a pay-as-you-go consumption model.
Elastic SIP Trunking Call Recording Options
There are three different recording settings to select from:
- Do Not Record (Default option): Recording is disabled on this trunk.
- Record from Answer: Recording will begin when a call is answered.
- Record from Ringing: Recording will begin when the ringing starts.
Enable Call Recording for an Elastic SIP Trunk
- Login to your project at www.twilio.com/console.
- Select Elastic SIP Trunking > Trunks, or click here.
- Click the desired SIP Trunk to modify.
- Click the Recording Setting drop-down menu, and then select the desired recording option.
- Click Save.
Access Call Recordings in Console
Single call recordings can be viewed and manually deleted one at a time from the Recordings log in Console:
- Login to your project at www.twilio.com/console.
- Select Elastic SIP Trunking > Logs, or click here.
- Navigate to and select the desired recordings -
- From Calls logs: select the desired call, and then click on the Recording SID.
- From Recordings logs: click the desired recording.
- From here, you can play or delete a recording.
Access Call Recordings Programmatically via the REST API
Call recordings can be be accessed via calls to the Recordings API resource.
- HTTP DELETE requests are used to delete call recordings.
- HTTP GET requests are used to download call recordings.
To download or delete multiple recordings using the API, a script would be required that iterates over the list of recordings, making a separate API request for each action.