Actions462
- Users Actions
- Download Greeting
- Batch Delete
- Get Call Log
- Get Phone Registrars
- Reboot Phone
- Reprovision Phone
- Upgrade Phone
- Generate Prov Link
- Has Duplicated Email
- Get Duplicated Emails
- Send Welcome Email
- List Groups
- List Forwarding Profiles
- Get Phone Secret
- Regenerate
- Regenerate Passwords
- Export Extensions
- Get Phone Registrar
- Bulk Update
- Get User
- Update User
- Delete User
- List Greetings
- Make Call User Record Greeting
- Make Call
- Get Monitor Status
- Set Monitor Status
- Multi User Update
- Reprovision All Phones
- Get Multi Edit Greetings
- Multi Delete Greeting
- Get User By Number
- List User
- Create User
- Active Calls Actions
- Activity Log Actions
- Anti Hacking Settings Actions
- Backups Actions
- Black List Numbers Actions
- Blocklist Actions
- Call Cost Settings Actions
- Call Flow Apps Actions
- Call Flow Scripts Actions
- Call History View Actions
- Call Parking Settings Actions
- Call Types Settings Actions
- CDR Settings Actions
- Chat History View Actions
- Chat Log Settings Actions
- Contacts Actions
- Chat Messages History View Actions
- Codecs Settings Actions
- Conference Settings Actions
- Console Restrictions Actions
- Countries Actions
- Country Codes Actions
- CRM Integration Actions
- Crm Templates Actions
- Custom Prompts Actions
- Data Connector Settings Actions
- Defs Actions
- Device Infos Actions
- Dial Code Settings Actions
- Did Numbers Actions
- DN Properties Actions
- E 164 Settings Actions
- Email Template Actions
- Emergency Geo Locations Actions
- Fax Actions
- Fax Server Settings Actions
- Firewall Actions
- Firmwares Actions
- Fxs Actions
- General Settings For Pbx Actions
- Google Settings Actions
- Emergency Notifications Settings Actions
- Event Logs Actions
- Fxs Templates Actions
- General Settings For Apps Actions
- Groups Actions
- Holidays Actions
- Hotel Services Actions
- Microsoft 365 Integration Actions
- My Group Actions
- Inbound Rules Actions
- Last Cdr And Chat Message Timestamp Actions
- License Status Actions
- Logging Settings Actions
- Microsoft 365 Teams Integration Actions
- Music On Hold Settings Actions
- My Tokens Actions
- My User Actions
- Network Interfaces Actions
- Network Settings Actions
- Notification Settings Actions
- Office Hours Actions
- Outbound Rules Actions
- Parameters Actions
- Parkings Actions
- Peers Actions
- Phone Book Settings Actions
- Phone Logos Actions
- Phones Settings Actions
- Phone Templates Actions
- Playlists Actions
- Prompt Sets Actions
- Purge Settings Actions
- Queues Actions
- Receptionists Actions
- Report Queue Failed Callbacks Actions
- Recordings Actions
- System Status Actions
- Remote Archiving Settings Actions
- Report Abandoned Chats Statistics Actions
- Report Abandoned Queue Calls Actions
- Report Agent Login History Actions
- Report Agents In Queue Statistics Actions
- Report Audit Log Actions
- Report Average Queue Waiting Time Actions
- Report Breaches Sla Actions
- Report Call Cost By Extension Group Actions
- Report Call Distribution Actions
- Report Call Log Data Actions
- Report Detailed Queue Statistics Actions
- Report Extensions Statistics By Ring Groups Actions
- Report Extension Statistics By Group Actions
- Report Extension Statistics Actions
- Report Inbound Rules Actions
- Report Queue Agents Chat Statistics Actions
- Report Queue Agents Chat Statistics Totals Actions
- Report Queue Answered Calls By Wait Time Actions
- Report Queue An Un Calls Actions
- Report Queue Callbacks Actions
- Report Queue Chat Performance Actions
- Report Statistic Sla Actions
- Report Queue Performance Overview Actions
- Report Queue Performance Totals Actions
- Report Ring Group Statistics Actions
- Sbcs Actions
- Secure Sip Settings Actions
- Report Team Queue General Statistics Actions
- Scheduled Reports Actions
- Ring Groups Actions
- Security Tokens Actions
- Service Principals Actions
- Services Actions
- Sip Devices Actions
- Directories Actions
- Tenant Properties Actions
- Trunks Actions
- Trunk Templates Actions
- Updates Actions
- Voicemail Settings Actions
- Website Links Actions
- Report Inbound Calls Actions
- Report Outbound Calls Actions
- Report User Activity Actions
Overview
The "Update Phone Template" operation in the Phone Templates resource allows users to modify an existing phone template configuration within the 3CX telephony system. This node is useful for administrators who want to programmatically update settings such as allowed networks, codecs, ring tones, time formats, and other device-specific configurations for phones managed by 3CX.
Typical use cases include:
- Updating phone templates to reflect new company policies or preferences.
- Automating bulk updates of phone configurations across multiple devices.
- Customizing phone behavior and appearance based on user roles or locations.
For example, an administrator could update a phone template to change the default queue ring tone or enable/disable SSL provisioning for enhanced security.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the phone template to update. Can be set via expression like {{$json.Id}}. |
| Add Allowed | Boolean flag to allow adding this template. |
| Allowed Net Configs | JSON array specifying allowed network configurations. |
| Allow SSL Provisioning | Boolean indicating if SSL provisioning is permitted. |
| Backlight Timeouts | JSON array defining backlight timeout settings. |
| Codecs | JSON array listing supported audio codecs. |
| Content | String content associated with the template. |
| Date Formats | JSON array specifying date format options. |
| Default Queue Ring Tone | String specifying the default ring tone for queues. |
| Hotdesking Allowed | Boolean indicating if hotdesking (using any phone) is allowed. |
| Is Custom | Boolean indicating if the template is custom. |
| Languages | JSON array of supported languages. |
| Max Queue Custom Ringtones | Number specifying maximum custom ringtones allowed in queues. |
| Models | JSON array describing supported phone models. |
| Power Led Settings | JSON array defining power LED behavior. |
| Queue Ring Tones | JSON array of available queue ring tones. |
| Ring Tones | JSON array of available ring tones. |
| Rps Enabled | Boolean indicating if RPS (Remote Phone Setup) is enabled. |
| Screen Saver Timeouts | JSON array defining screen saver timeout settings. |
| Template Type | Option selecting the type of template: Preferred, Supported, Dedicated, Third Party, Deleted, Unknown. |
| Time Formats | JSON array specifying time format options. |
| Time Zones | JSON array specifying supported time zones. |
| URL | String URL related to the template. |
| Xfer Type Enabled | Boolean indicating if transfer type is enabled. |
Output
The node outputs JSON data representing the updated phone template object as returned by the 3CX API. This typically includes all properties of the phone template after the update, reflecting the changes made.
No binary data output is indicated for this operation.
Dependencies
- Requires an active connection to a 3CX telephony system.
- Needs an API authentication token credential configured in n8n to authorize requests.
- The base URL for the 3CX API must be provided in the credentials.
- The node sends HTTP requests to the 3CX API endpoint
/xapi/v1.
Troubleshooting
- Invalid Id: If the provided template Id does not exist, the API will likely return an error. Verify the Id is correct and accessible.
- Malformed JSON inputs: Properties expecting JSON arrays (e.g., AllowedNetConfigs, Codecs) must be valid JSON strings. Invalid JSON will cause parsing errors.
- Permission issues: Ensure the API token has sufficient permissions to update phone templates.
- Network errors: Confirm connectivity to the 3CX server and that the base URL is correctly configured without trailing slashes.
- Unsupported template types: Using an invalid Template Type option may cause errors; use one of the predefined options.
Links and References
- 3CX API Documentation
- 3CX Phone System Configuration Guide
- n8n HTTP Request Node Documentation (for understanding how API calls are made)