Asterisk icon

Asterisk

Interact with Asterisk PBX via ARI (Asterisk REST Interface)

Channels → List

AI-generated

Overview

This node interacts with the Asterisk PBX system via the Asterisk REST Interface (ARI). Specifically, the 'Channels' resource with the 'List' operation allows users to retrieve a list of active channels or calls managed by the Asterisk system. This is useful for monitoring current call activity, managing live calls, or integrating call data into other workflows.

Use Case Examples

  1. Listing all active channels to monitor ongoing calls in a call center.
  2. Fetching channel details to trigger automated call handling or logging.

Output

JSON

  • channels - An array of channel objects representing the active calls or channels retrieved from the Asterisk system.

Dependencies

  • Requires an API key credential for authenticating with the Asterisk REST Interface (ARI).

Troubleshooting

  • Ensure the Asterisk API credentials are correctly configured and have the necessary permissions to access channel information.
  • Verify the base URL for the Asterisk ARI is correct and accessible from the n8n environment.
  • Common errors include authentication failures (check API key and credentials) and network connectivity issues (check firewall and network settings).

Links

Discussion