Changes the status of the recording to paused
Recordings of conferences
Changes the status of the recording to paused, stopped, or in-progress. Note: To use Twilio.CURRENT
, pass it as recording sid.
Path parameters
-
AccountSid string Required
The SID of the Account that created the Conference Recording resource to update.
-
ConferenceSid string Required
The Conference SID that identifies the conference associated with the recording to update.
-
Sid string Required
The Twilio-provided string that uniquely identifies the Conference Recording resource to update. Use
Twilio.CURRENT
to reference the current active recording.
Body
-
PauseBehavior string
Whether to record during a pause. Can be:
skip
orsilence
and the default issilence
.skip
does not record during the pause period, whilesilence
will replace the actual audio of the call with silence during the pause period. This parameter only applies when settingstatus
is set topaused
. -
Status string Required
The new status of the recording. Can be:
stopped
,paused
,in-progress
.Values are
in-progress
,paused
,stopped
,processing
,completed
, orabsent
.
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings/{Sid}.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'PauseBehavior=string&Status=in-progress'
{
"PauseBehavior": "string",
"Status": "in-progress"
}
{
"account_sid": "string",
"api_version": "string",
"call_sid": "string",
"channels": 42,
"conference_sid": "string",
"date_created": "string",
"date_updated": "string",
"duration": "string",
"error_code": 42,
"price": "string",
"price_unit": "string",
"sid": "string",
"source": "DialVerb",
"start_time": "string",
"status": "in-progress",
"uri": "string"
}