Asterisk icon

Asterisk

Interact with Asterisk PBX via ARI (Asterisk REST Interface)

Device States → List

AI-generated

Overview

This node interacts with the Asterisk PBX system via the Asterisk REST Interface (ARI). Specifically, for the 'Device States' resource with the 'List' operation, it retrieves a list of device states managed by the Asterisk system. This is useful for monitoring and managing the status of various devices connected to the PBX, such as phones or other endpoints.

Use Case Examples

  1. Listing all device states to monitor the current status of devices in a telephony system.
  2. Retrieving device states to trigger workflows based on device availability or status changes.

Output

JSON

  • deviceStates - List of device states retrieved from the Asterisk PBX system

Dependencies

  • Requires an API key credential for Asterisk REST Interface (ARI) authentication.

Troubleshooting

  • Ensure the Asterisk API credentials are correctly configured and have the necessary permissions to access device states.
  • Verify the base URL for the Asterisk ARI is correct and accessible from the n8n environment.
  • Common errors may include authentication failures or network connectivity issues to the Asterisk server.

Links

Discussion