Asterisk icon

Asterisk

Interact with Asterisk PBX via ARI (Asterisk REST Interface)

Recordings → Delete Stored

AI-generated

Overview

This node interacts with the Asterisk PBX system via the Asterisk REST Interface (ARI). Specifically, for the 'Recordings' resource and 'Delete Stored' operation, it deletes a stored recording by its name. This is useful in scenarios where you need to manage and clean up recordings on your Asterisk server, such as removing outdated or unnecessary call recordings to free up storage space.

Use Case Examples

  1. Deleting a specific call recording by providing its recording name to maintain storage hygiene.
  2. Automating the cleanup of recordings after a certain period or event.

Properties

Name Meaning
Recording Name The name of the recording to be deleted. This is a required string input that identifies which stored recording to remove.

Output

JSON

  • success - Indicates whether the deletion operation was successful.
  • message - Provides additional information or error messages related to the deletion operation.

Dependencies

  • Requires an API key credential to authenticate with the Asterisk REST Interface (ARI).
  • Needs the base URL of the Asterisk server to send requests to the ARI endpoint.

Troubleshooting

  • Ensure the recording name provided exists on the Asterisk server; otherwise, the deletion will fail.
  • Verify that the API credentials and base URL are correctly configured to avoid authentication or connection errors.
  • Common error messages may include 'Recording not found' if the specified recording name does not exist, or 'Unauthorized' if the API key is invalid or missing.

Links

Discussion