---
title: Templates
summary: 'A saved set of user-field values applied to many users at once. The Override toggle next to each field decides whether the value is pushed or left alone.'
section: features
tags:
  - crud
  - telephony
  - management
updated: '2026-09-03'
---

> A **template** is a saved set of user-field values you apply to many users at once. Instead of editing each user one by one, you define the values on a template and apply it to a batch of users and groups.

## Overview

A template has two parts: the field values and a per-field **Override** toggle that decides whether each value is actually pushed.

## What it does

The **Override** toggle separates "this value is set on the template" from "this value should overwrite the target's value".

| Override state | What happens on apply |
|---|---|
| **On** | The template's value replaces the target user's value. |
| **Off** | The target user's current value is preserved. The template's value is ignored. |

Override is off by default on most fields. Use it liberally in the off state: the point of templates is to push the deltas, not the defaults. A focused template with three fields toggled on is easier to reason about than one with thirty.

## Choosing the targets

A template is applied to the users you name, the members of the groups you name, or - with the **Apply to all users** switch - to everyone on the PBX. Targets are resolved when you run the apply action, not when you save the template, so a group that gains a member, or a user created after the switch was turned on, is covered by the next apply without touching the template.

Turning the switch on hides the two target lists but keeps them: turn it off and the previous selection comes back.

Apply overwrites the marked fields on every target user with no per-user opt-out and no rollback, so confirm the targets and the override list first. Templates are batch operations, not standing policies: nothing is applied until you run the apply action.

## Applying

**Apply** on a template opens the preview page, which shows what the apply would change. The apply itself is confirmed there. Because applying changes users, it needs both the **Write templates** and the **Write users** permissions; a role that can only read templates sees them without the apply action.

Small applies run while you wait and report the exact number of users changed. Past 20 targets the run is handed to a background worker instead, and the toast says it has started rather than that it has finished. Either way you land on the template History with the run on it, and the **Last applied** column on the template list shows when the run finished and who started it.

### Preview

The list on the left shows every override that changes somebody, with the number of targets it actually changes: "20/48" means twenty of the forty-eight targets end up different. Overrides that turn a switch off for somebody carry a red dot. Overrides every target already matches are folded into one line at the bottom, which expands to list them.

Click an override to show only that field in the table; click it again, or **All fields**, to show everything. This filters the view only: **Apply** always writes every override on the template.

The table lists each person, then their changes under **Field**, **Currently** and **Will be**. Values are shown by type:

- switches as **Yes** / **No**
- choices by their label, as in the form
- groups, languages, tags and other lists as one badge per item, with removed items struck through and added items highlighted
- phone buttons position by position, with the positions that change marked on both sides

People the template changes nothing on are listed last, marked as unchanged. The first 100 people are listed; the counts cover every target. **Find a user** narrows the table by name.

**Apply** asks for a short confirmation that repeats the numbers: how many users, how many fields change, and any switches turned off, values removed or phone button layouts replaced. Existing values are overwritten; the template History keeps what they were.

Only one template is applied at a time in a PBX. While another apply is queued or running, the preview says so, links to its progress and keeps **Apply** disabled; the same goes for **Retry**.

If the template is edited, or the set of users it targets changes, while your preview is open, applying is refused rather than writing changes you never reviewed. Reload the preview and check it again.

### History

**History** on the template list records every run: when it was requested, who by, how many users it reached of how many it aimed at, and an outcome that carries the status, whether it ran immediately or in the background, and how long it took. A run that failed shows why underneath. A run no worker picked up within 30 minutes, or whose worker stopped partway, is marked failed automatically. On a failed run's page, **Retry** finishes it for the users it did not reach; users it already updated are skipped. Retry is not offered once the template has been edited since the run; apply the template again from its preview instead. The list can be filtered by status and by template. **Changes** on a run opens its detail, laid out like the preview: the same field list and user search, with each person's values **Before** and **After**. Users that were targeted but already matched the template are listed too, marked as unchanged.

> [!WARNING]
> A template with no Override toggled on does nothing on apply. Double-check before saving.

## See also

- [Users](users.md) - the target of every template apply. Each User-form field is mirrored on the template.
- [Groups](groups.md) - the membership source for group-targeted templates.

```yaml fields
name:
  label: Name
  tab: Template
  hint: 'Shown in lists and on the Apply action.'
type:
  label: Type
  tab: General
  hint: 'What the template applies to. Sets which fields you can override.'
target_all_users:
  label: 'Apply to all users'
  tab: Template
  hint: 'Targets every user, including future ones. The lists below are then ignored.'
targetUsers:
  label: 'Target users'
  tab: Template
  hint: 'Users the template applies to.'
targetGroups:
  label: 'Target groups'
  tab: Template
  hint: 'Groups whose members the template applies to.'
status:
  label: Enabled
  tab: 'Profile information'
  hint: 'Disabled users cannot log in or receive calls.'
language:
  label: 'Phone language'
  tab: 'Profile information'
  hint: 'The phone language of target users.'
groups:
  label: Group
  tab: 'Profile information'
  hint: "Replaces each user's current group."
tags:
  label: Tags
  tab: 'Profile information'
  hint: "Replaces each user's current tags."
locations:
  label: Locations
  tab: 'Profile information'
  hint: 'Where target users are based.'
languages:
  label: Languages
  tab: 'Profile information'
  hint: 'Languages target users speak, used to route calls to language queues.'
voicemail_type:
  label: 'Voicemail type'
  tab: 'Call preferences'
  hint: 'Which calls can reach voicemail: none, internal, external, or all.'
voicemail_destination:
  label: 'Voicemail destination'
  tab: 'Call preferences'
  hint: 'Delivers voicemail by email only, or by email and phone.'
show_caller_id_for_twinning_call:
  label: 'Show my company default number on twinning calls'
  tab: 'Call preferences'
  hint: 'Twinned calls to the mobile show the company default number.'
allow_telephony:
  label: 'Allow telephony'
  tab: Permissions
  hint: 'Master switch for making and receiving calls.'
allow_call_forwarding:
  label: 'Allow call forwarding'
  tab: Permissions
  hint: 'Lets users set up call forwarding.'
allow_dnd:
  label: 'Allow DND (Do not disturb)'
  tab: Permissions
  hint: 'Lets users turn on Do not disturb.'
allow_change_twinning_dest:
  label: 'Allow change twinning destination'
  tab: Permissions
  hint: 'Lets users change their twinning numbers in the Voxbi app.'
allow_sms:
  label: 'Allow SMS'
  tab: Permissions
  hint: 'Lets users send and receive SMS.'
allow_webrtc:
  label: 'Allow Voxbi.team'
  tab: Permissions
  hint: 'Lets users call over WebRTC: Voxbi.team in the browser and the desktop app, and any other WebRTC client. Turn it off and none of those can place or receive calls for them.'
vip:
  label: VIP
  tab: Permissions
  hint: 'VIP contacts still reach these users during Do not disturb.'
send_missed_call_via_email:
  label: 'Send missed call via email'
  tab: Permissions
  hint: 'Emails users when they miss a call.'
limit_email_missed_call_to_direct:
  label: 'Limit missed call emails to direct calls only'
  tab: Permissions
  hint: 'Sends missed call emails only for calls that rang the extension directly.'
allow_national_calls:
  label: 'Allow national calls'
  tab: Permissions
  hint: 'Lets users make national calls.'
allow_eu_calls:
  label: 'Allow EU calls'
  tab: Permissions
  hint: 'Lets users call EU countries.'
allow_international_calls:
  label: 'Allow world calls'
  tab: Permissions
  hint: 'Lets users make international (world) calls.'
allow_premium_numbers:
  label: 'Allow premium calls'
  tab: Permissions
  hint: 'Lets users call premium-rate numbers.'
allow_anonymous_calls:
  label: 'Allow anonymous calls'
  tab: Permissions
  hint: 'Lets users hide their number on outgoing calls.'
allow_default_pbxes_outgoing_phone_numbers:
  label: 'Allow default outgoing phone numbers'
  tab: Permissions
  hint: 'Lets users call out with the PBX default outgoing numbers.'
show_in_address_book:
  label: 'Show in address book'
  tab: Permissions
  hint: 'Lists users in the internal address book.'
allow_status_changer:
  label: 'Allow status changer'
  tab: Permissions
  hint: 'Lets users change their presence status in the Voxbi app.'
allow_right_to_disconnect:
  label: 'Allow right to disconnect'
  tab: Permissions
  hint: 'Lets users block calls outside working hours.'
extension_roaming:
  label: 'Extension roaming'
  tab: Permissions
  hint: 'Lets users log in to any SIP device with their extension.'
allow_manage_voicemail_parameters:
  label: 'Allow voicemail changes'
  tab: Permissions
  hint: 'Lets users change their voicemail settings in the Voxbi app.'
concurrent_calls:
  label: 'Concurrent calls'
  tab: Permissions
  hint: 'Lets users handle more than one call at a time.'
record_your_calls:
  label: 'Record your external calls'
  tab: Permissions
  hint: 'Records all external calls.'
access_all_call_recordings:
  label: 'Access own call recordings and transcriptions'
  tab: Permissions
  hint: 'Lets users play their own recordings and transcriptions.'
record_your_internal_calls:
  label: 'Record your internal calls'
  tab: Permissions
  hint: 'Records all internal calls.'
allow_in_call_recording:
  label: 'Allow in-call recording'
  tab: Permissions
  hint: 'Lets users start and stop recording during a call.'
callRecordingAllowedGroups:
  label: 'Access group call recordings and transcriptions'
  tab: Permissions
  hint: 'Groups whose recordings and transcriptions target users can access.'
allow_manage_global_contacts:
  label: 'Allow managing all contacts'
  tab: Permissions
  hint: 'Lets users create, edit, and delete contacts shared across the PBX.'
allowManageGroupContacts:
  label: 'Allow managing group contacts'
  tab: Permissions
  hint: 'Groups whose shared contacts users can create, edit, and delete.'
allowAccessToGroupContacts:
  label: 'Allow visibility to group contacts'
  tab: Permissions
  hint: 'Groups whose shared contacts users can view but not change.'
allow_grafana_access:
  label: 'Access to call analytics'
  tab: Permissions
  hint: 'Gives users access to the call analytics dashboard.'
roles:
  label: Roles
  tab: Permissions
  hint: "Decide which parts of the admin panel target users can access. Needs the permission to change users' roles; without it applying the template skips the roles and still applies the rest."
phoneButtons:
  label: 'Phone buttons'
  tab: 'Phone buttons'
  hint: "Replaces each user's own buttons entirely. They are not merged."
integration_mappings:
  hint: 'Maps template fields to fields in a connected integration.'
```
