NAME
Twilio::Rest::Trunking::V1::Trunk::Recording - The Recording resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $recording = $client->trunking->v1->trunks($trunk_sid)->recordings->fetch;
$client->trunking->v1->trunks($trunk_sid)->recordings->update(\%options);
DESCRIPTION
Recording settings for a trunk
This file holds RecordingContext and RecordingInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
RecordingContext
Returned by $client->trunking->v1->trunks($trunk_sid)->recordings. It makes no request until one of these methods is called.
fetch
my $recording = $client->trunking->v1->trunks($trunk_sid)->recordings->fetch;
Returns a RecordingInstance.
update
my $recording = $client->trunking->v1->trunks($trunk_sid)->recordings->update(\%options);
Returns a RecordingInstance.
The options are:
mode-
One of
do-not-record,record-from-ringing,record-from-answer,record-from-ringing-dualorrecord-from-answer-dual. trim-
One of
trim-silenceordo-not-trim.
RecordingInstance
See also Twilio::InstanceResource.
It has fetch and update, which work as they do on the context.
Its fields are:
- mode
-
One of
do-not-record,record-from-ringing,record-from-answer,record-from-ringing-dualorrecord-from-answer-dual. - trim
-
One of
trim-silenceordo-not-trim.
CONSTRUCTORS
new
Objects here come from the methods above, so there is no need to call new directly.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.