Asterisk icon

Asterisk

Interact with Asterisk PBX via ARI (Asterisk REST Interface)

Asterisk → Reload Module

AI-generated

Overview

This node interacts with the Asterisk PBX system via the Asterisk REST Interface (ARI). Specifically, the 'Reload Module' operation allows users to reload a specified module within the Asterisk system. This is useful for applying changes or updates to modules without restarting the entire PBX system. Practical examples include reloading voicemail or channel driver modules after configuration changes.

Use Case Examples

  1. Reload the 'app_voicemail.so' module to apply new voicemail settings without restarting Asterisk.
  2. Reload a custom dialplan module after updating its configuration to immediately reflect changes.

Properties

Name Meaning
Module Name The name of the Asterisk module to reload, e.g., 'app_voicemail.so'.

Output

JSON

  • response - The JSON response from the Asterisk REST Interface after attempting to reload the specified module, indicating success or failure and any relevant details.

Dependencies

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

Troubleshooting

  • Ensure the module name is correct and matches the module installed on the Asterisk system; incorrect names will cause errors.
  • Verify that the API credentials have sufficient permissions to perform module reload operations.
  • Check network connectivity to the Asterisk ARI endpoint specified in the credentials.
  • Common error messages may include authentication failures, module not found, or permission denied. Resolving these involves verifying credentials, module existence, and user permissions.

Links

Discussion