Asterisk icon

Asterisk

Interact with Asterisk PBX via ARI (Asterisk REST Interface)

Sounds → List

AI-generated

Overview

This node interacts with the Asterisk PBX system via the Asterisk REST Interface (ARI). Specifically, the 'Sounds' resource with the 'List' operation allows users to retrieve a list of audio files (sounds) available in the Asterisk system. Users can filter the list by language or audio format. This is useful for managing and accessing audio prompts or recordings used in telephony applications.

Use Case Examples

  1. Retrieve all available sounds in the Asterisk system.
  2. Filter sounds to list only those in English language.
  3. Filter sounds to list only those in WAV audio format.

Properties

Name Meaning
Language Filter sounds by a specific language to narrow down the list of audio files.
Format Filter sounds by a specific audio format (e.g., wav) to get sounds in that format only.

Output

JSON

  • sounds - An array of sound objects representing the audio files available in the Asterisk system.

Dependencies

  • Requires Asterisk API credentials to authenticate and interact with the Asterisk REST Interface (ARI).

Troubleshooting

  • Ensure the Asterisk API credentials are correctly configured and have the necessary permissions to access the sounds resource.
  • If no sounds are returned, verify that the filters (language and format) are correctly specified and that matching sounds exist in the system.
  • Network connectivity issues to the Asterisk server can cause failures; ensure the base URL and network access are correct.

Links

Discussion