class Asterisk::ARI::Recordings
- Asterisk::ARI::Recordings
- Asterisk::ARI::Resources
- Reference
- Object
Defined in:
asterisk/ari/resources/recordings.crasterisk/ari/models/recordings_live_recording.cr
asterisk/ari/models/recordings_stored_recording.cr
Instance Method Summary
-
#cancel(recording_name : String)
Stop a live recording and discard it.
-
#copy_stored(recording_name : String, destination_recording_name : String) : HTTP::Client::Response | Recordings::StoredRecording
Copy a stored recording.
-
#delete_stored(recording_name : String)
Delete a stored recording.
-
#get_live(recording_name : String) : HTTP::Client::Response | Recordings::LiveRecording
List live recordings.
-
#get_stored(recording_name : String) : HTTP::Client::Response | Recordings::StoredRecording
Get a stored recording's details.
-
#get_stored_file(recording_name : String) : HTTP::Client::Response | Binary
Get the file associated with the stored recording.
-
#list_stored : HTTP::Client::Response | Array(Recordings::StoredRecording)
List recordings that are complete.
-
#mute(recording_name : String)
Mute a live recording.
-
#pause(recording_name : String)
Pause a live recording.
-
#stop(recording_name : String)
Stop a live recording and store it.
-
#unmute(recording_name : String)
Unmute a live recording.
-
#unpause(recording_name : String)
Unpause a live recording.
Instance methods inherited from class Asterisk::ARI::Resources
ari : ARI
ari
Constructor methods inherited from class Asterisk::ARI::Resources
new(ari)
new
Instance Method Detail
Stop a live recording and discard it.
Arguments:
recording_name
- the name of the recording. (required);
Error responses:
- 404 - Recording not found
Copy a stored recording.
Arguments:
recording_name
- the name of the recording to copy. (required);destination_recording_name
- the destination name of the recording. (required);
Error responses:
- 404 - Recording not found
- 409 - A recording with the same name already exists on the system
Delete a stored recording.
Arguments:
recording_name
- the name of the recording. (required);
Error responses:
- 404 - Recording not found
List live recordings.
Arguments:
recording_name
- the name of the recording. (required);
Error responses:
- 404 - Recording not found
Get a stored recording's details.
Arguments:
recording_name
- the name of the recording. (required);
Error responses:
- 404 - Recording not found
Get the file associated with the stored recording.
Arguments:
recording_name
- the name of the recording. (required);
Error responses:
- 403 - The recording file could not be opened
- 404 - Recording not found
List recordings that are complete.
Mute a live recording.
Arguments:
recording_name
- the name of the recording. (required);
Error responses:
- 404 - Recording not found
- 409 - Recording not in session
Pause a live recording.
Arguments:
recording_name
- the name of the recording. (required);
Error responses:
- 404 - Recording not found
- 409 - Recording not in session
Stop a live recording and store it.
Arguments:
recording_name
- the name of the recording. (required);
Error responses:
- 404 - Recording not found
Unmute a live recording.
Arguments:
recording_name
- the name of the recording. (required);
Error responses:
- 404 - Recording not found
- 409 - Recording not in session
Unpause a live recording.
Arguments:
recording_name
- the name of the recording. (required);
Error responses:
- 404 - Recording not found
- 409 - Recording not in session