Asterisk icon

Asterisk

Interact with Asterisk PBX via ARI (Asterisk REST Interface)

Asterisk → Rotate Log Channel

AI-generated

Overview

This node interacts with the Asterisk PBX system via the Asterisk REST Interface (ARI). Specifically, the 'Rotate Log Channel' operation under the 'Asterisk' resource allows users to rotate the log channel by specifying the log channel name. This is useful for managing and maintaining log files in Asterisk, ensuring logs are properly archived and rotated to prevent excessive file sizes or to start fresh logs.

Use Case Examples

  1. Rotate the log channel named 'myLogChannel' to archive current logs and start new logging.
  2. Use this operation as part of a scheduled workflow to maintain Asterisk log files automatically.

Properties

Name Meaning
Log Channel Name The name of the log channel to rotate.

Output

JSON

  • success - Indicates whether the log channel rotation was successful.
  • message - Additional information or status message about the rotation operation.

Dependencies

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

Troubleshooting

  • Ensure the 'Log Channel Name' is correctly specified and exists in the Asterisk system.
  • Check that the API credentials for Asterisk ARI are valid and have sufficient permissions.
  • Common errors may include authentication failures, invalid log channel names, or network connectivity issues to the Asterisk server.

Discussion