3CX icon

3CX

Interact with 3CX telephony system

Actions462

Overview

This node interacts with the 3CX telephony system, specifically allowing users to update chat log settings. The "Update Chat Log Settings" operation lets you configure how chat logs are managed, including automatic clearing of old logs, auto-closing chats after a certain period, and enabling or disabling remote storage for chat data.

Practical scenarios include:

  • Automatically cleaning up chat logs older than a specified number of months to save storage.
  • Automatically closing inactive chats after a set number of days to keep the system tidy.
  • Enabling or disabling remote storage of chat logs depending on compliance or infrastructure needs.

Properties

Name Meaning
Auto Clear Months Number of months after which chat logs will be automatically cleared (0 disables this).
Auto Close Days Number of days after which chats will be automatically closed (0 disables this).
Remote Storage Enabled Boolean flag to enable (true) or disable (false) remote storage of chat logs.

Output

The node outputs JSON data reflecting the updated chat log settings as returned by the 3CX API. This typically includes confirmation of the new configuration values for auto-clear months, auto-close days, and remote storage status.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the 3CX telephony system.
  • Needs the base URL of the 3CX server configured in credentials.
  • The node sends requests to the 3CX API endpoint /xapi/v1.

Troubleshooting

  • Invalid Credentials: If authentication fails, verify that the API key and server URL are correctly configured.
  • Invalid Property Values: Ensure numeric properties like "Auto Clear Months" and "Auto Close Days" are non-negative integers; zero disables the feature.
  • API Endpoint Issues: Confirm the 3CX server URL is reachable and correct; trailing slashes are handled but malformed URLs may cause errors.
  • Permission Errors: The API user must have sufficient permissions to update chat log settings.

Links and References

Discussion