Changes the status of the recording to paused, stopped, or in-progress. Note: To use `Twilio.CURRENT`, pass it as recording sid.
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
-
The SID of the Account that created the Conference Recording resource to update.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^AC[0-9a-fA-F]{32}$
. -
The Conference SID that identifies the conference associated with the recording to update.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^CF[0-9a-fA-F]{32}$
. -
The Twilio-provided string that uniquely identifies the Conference Recording resource to update. Use
Twilio.CURRENT
to reference the current active recording.
Body
-
The status of the recording. Can be:
processing
,completed
andabsent
. For more detailed statuses on in-progress recordings, check out how to Update a Recording Resource.Values are
in-progress
,paused
,stopped
,processing
,completed
, orabsent
. -
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
.
curl \
--request POST 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings/{Sid}.json' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Status=paused&PlayBeep=true&PauseBehavior=skip'
{"Status"=>"paused", "PlayBeep"=>true, "PauseBehavior"=>"skip"}
{
"sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
"price": null,
"source": "StartConferenceRecordingAPI",
"status": "paused",
"call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"channels": 1,
"duration": null,
"error_code": null,
"price_unit": null,
"start_time": "Fri, 14 Oct 2016 21:56:34 +0000",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"api_version": "2010-04-01",
"date_created": "Fri, 14 Oct 2016 21:56:34 +0000",
"date_updated": "Fri, 14 Oct 2016 21:56:39 +0000",
"conference_sid": "CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"encryption_details": null
}