Asterisk icon

Asterisk

Interact with Asterisk PBX via ARI (Asterisk REST Interface)

Asterisk → Add Log Channel

AI-generated

Overview

This node interacts with the Asterisk PBX system via the Asterisk REST Interface (ARI). Specifically, the 'Add Log Channel' operation allows users to add a new log channel to the Asterisk system, specifying the channel's name and the log levels it should capture. This is useful for managing and organizing log data within Asterisk, enabling better monitoring and troubleshooting of the PBX system.

Use Case Examples

  1. Adding a log channel named 'myLogChannel' with log levels 'notice,warning,error' to capture important system events and errors.
  2. Creating multiple log channels for different purposes, such as separating error logs from informational logs.

Properties

Name Meaning
Log Channel Name The name of the log channel to be added to the Asterisk system.
Configuration The log levels for the log channel, specified as a comma-separated string (e.g., notice,warning,error).

Output

JSON

  • response - The response from the Asterisk API after attempting to add the log channel, typically containing status and details of the operation.

Dependencies

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

Troubleshooting

  • Ensure the API credentials are correctly configured and have the necessary permissions to add log channels.
  • Verify that the log channel name is unique and does not conflict with existing channels.
  • Check the format of the configuration string to ensure it is a valid comma-separated list of log levels.
  • Common error messages may include authentication failures, invalid parameters, or conflicts with existing log channels. Resolving these typically involves correcting credentials, input values, or channel names.

Links

Discussion