3CX icon

3CX

Interact with 3CX telephony system

Actions462

Overview

This node operation allows users to update notification settings for the 3CX telephony system. It is useful in scenarios where administrators want to customize which system events trigger notifications and configure email-related settings such as SMTP server details and authorized email addresses. For example, an admin can enable or disable alerts for network errors, license limits, or voicemail quota thresholds, and specify the mail server credentials used to send these notifications.

Properties

Name Meaning
Can Edit Email Addresses Boolean flag indicating if email addresses can be edited
Can Edit Mail Server Type Boolean flag indicating if the mail server type can be changed
Email Addresses Comma-separated string of email addresses to receive notifications
Fake Id A string identifier (purpose depends on implementation context)
Mail Address The email address used as the sender for notification emails
Mail Password JSON object containing the password or authentication details for the mail server
Mail Server The hostname or IP address of the SMTP mail server
Mail Server Type Type of mail server; options: "Tcx", "MS 365", "Custom", "Google Workspace"
Mail Ssl Enabled Boolean flag to enable or disable SSL for the mail server connection
Mail User Username for authenticating with the mail server
Notify Call Denied Enable notification when a call is denied
Notify Emergency Number Dialed Enable notification when an emergency number is dialed
Notify Extension Added Enable notification when a new extension is added
Notify IP Blocked Enable notification when an IP address is blocked
Notify License Limit Enable notification when license limits are reached
Notify Network Error Enable notification on network errors
Notify Request Anti Hacked Enable notification on anti-hacking requests
Notify Service Stopped Enable notification when a service stops
Notify Storage Limit Enable notification when storage limits are reached
Notify STUN Error Enable notification on STUN protocol errors
Notify Success Scheduled Backups Enable notification when scheduled backups succeed
Notify System Owners Enable notification sent to system owners
Notify Trunk Error Enable notification on trunk errors
Notify Trunk Failover Enable notification on trunk failover events
Notify Trunk Status Changed Enable notification when trunk status changes
Notify Updates Available Enable notification when updates are available
Notify When Recordings Quota Reached Enable notification when recordings quota threshold is reached
Notify When Voicemail Quota Reached Enable notification when voicemail quota threshold is reached
Recordings Quota Percentage Numeric value specifying the percentage threshold for recordings quota
Voicemail Quota Percentage Numeric value specifying the percentage threshold for voicemail quota

Output

The node outputs JSON data representing the updated notification settings after the operation completes. This typically includes confirmation of the applied settings or any relevant response from the 3CX API. There is no indication that binary data is output by this operation.

Dependencies

  • Requires an API key credential for authenticating with the 3CX telephony system.
  • The node uses the base URL configured in the credentials to send requests to the 3CX API endpoint /xapi/v1.
  • Proper configuration of the mail server and authentication details is necessary for email notifications to function correctly.

Troubleshooting

  • Invalid Credentials: If the API key or mail server credentials are incorrect, the node will fail to update settings. Verify all authentication details.
  • Incorrect Mail Server Settings: Misconfigured mail server parameters (host, user, password, SSL) may cause notification emails not to send.
  • Permission Issues: If Can Edit Email Addresses or Can Edit Mail Server Type flags are false, attempts to change those fields might be rejected.
  • Quota Thresholds: Setting invalid quota percentages (e.g., negative numbers or values above 100) could lead to errors.
  • Network Errors: Connectivity issues with the 3CX server or mail server will prevent successful updates.

Links and References

Discussion