Asterisk icon

Asterisk

Interact with Asterisk PBX via ARI (Asterisk REST Interface)

Channels → Continue in Dialplan

AI-generated

Overview

This node interacts with the Asterisk PBX system via the Asterisk REST Interface (ARI) to manage telephony channels. Specifically, the 'Continue in Dialplan' operation allows the user to continue a call channel's execution in the dialplan at a specified context, extension, and priority. This is useful for dynamically controlling call flow, such as redirecting calls to different parts of the dialplan based on runtime conditions.

Use Case Examples

  1. Redirect an active call to a different extension within the dialplan to handle specific call scenarios.
  2. Continue a call in a particular context and priority to implement custom call routing logic.

Properties

Name Meaning
Channel ID The unique identifier of the channel (call) to be continued in the dialplan.
Context The dialplan context to continue the channel in.
Extension The dialplan extension to continue the channel to.
Priority The priority within the dialplan to continue the channel to, defaulting to 1 if not specified.

Output

JSON

  • response - The response from the Asterisk ARI API after continuing the channel in the dialplan, typically containing status or confirmation details.

Dependencies

  • Asterisk REST Interface (ARI) API

Troubleshooting

  • Ensure the Channel ID provided is valid and corresponds to an active channel in Asterisk; invalid IDs will cause errors.
  • Verify that the context, extension, and priority specified exist in the Asterisk dialplan; incorrect values may cause the operation to fail or behave unexpectedly.
  • Check network connectivity and API credentials to ensure successful communication with the Asterisk ARI endpoint.

Links

Discussion