Actions76
- Applications Actions
- Asterisk Actions
- Bridges Actions
- Channels Actions
- Device States Actions
- Endpoints Actions
- Events Actions
- Mailboxes Actions
- Playbacks Actions
- Recordings Actions
- Sounds Actions
Asterisk → Set Variable
AI-generatedOverview
This node interacts with the Asterisk PBX system via the Asterisk REST Interface (ARI). Specifically, the 'Set Variable' operation under the 'Asterisk' resource allows users to set a global variable within the Asterisk system. This is useful for managing and controlling call flows or system behavior dynamically by updating global variables during runtime.
Use Case Examples
- Setting a global variable to track call status or user preferences.
- Updating system-wide flags or counters used in call routing logic.
Properties
| Name | Meaning |
|---|---|
| Variable Name | The name of the global variable to set in the Asterisk system. |
| Variable Value | The value to assign to the specified global variable. |
Output
JSON
variable- The name of the global variable that was set.value- The value assigned to the global variable.
Dependencies
- Requires an API key credential for authenticating with the Asterisk REST Interface (ARI).
Troubleshooting
- Ensure the API credentials are correctly configured and have sufficient permissions to set global variables in Asterisk.
- Verify that the variable name is valid and does not conflict with existing system variables.
- Check network connectivity to the Asterisk ARI endpoint specified in the credentials.
- Common error messages may include authentication failures, permission denied, or invalid variable names. Resolving these typically involves verifying credentials, permissions, and input values.
Links
- Asterisk ARI REST API Documentation - Official documentation for the Asterisk REST Interface, useful for understanding available operations and parameters.