Prov Diff

Prov Diff

Drop a Yealink phone's common CFG and its per-phone MAC CFG. See which settings conflict, which value wins, and the file and line it came from.

The model-wide file, applied first. Often named like y000000000108.cfg.

Choose the common CFG or drop it here · one .cfg file, up to 256 KiB

This phone's own file, applied second, so its values win. Named after the MAC address, like 805ec0a1b2c3.cfg.

Choose the per-phone CFG or drop it here · one .cfg file, up to 256 KiB

Files stay on this device. Nothing is uploaded.

Choose both files to compare them.

Use the common CFG and the per-phone CFG generated for the same phone. Every setting gets a row: do the files agree, which value wins, and the file and line it came from.

What it does

A Yealink phone provisioned by 3CX or another server usually gets two generated files: a common CFG shared by every phone of that model, and a CFG named after the phone's MAC address. Without a boot file, the phone applies the common file first and the MAC file second, so where both set a key, the MAC file's value wins. This page reads both files in your browser, lists every setting either one sets, marks conflicts and settings that appear in only one file, and shows the file and line behind each value. Settings that are repeated or left empty in a file are flagged Ambiguous instead of guessed.

Worked example: the MAC file overrides the time zone

Common CFG · y000000000108.cfg
1#!version:1.0.0.1
2local_time.time_zone = +1
3lang.gui = English
4features.dnd.enable = 0
Per-phone CFG · 805ec0a1b2c3.cfg
1#!version:1.0.0.1
2account.1.label = Reception
3local_time.time_zone = -5
4features.dnd.enable = 0
Worked example: settings from both files, sorted by key
SettingCommon CFGy000000000108.cfgPer-phone CFG805ec0a1b2c3.cfgResult
account.1.labelPer-phone onlyAbsentReception805ec0a1b2c3.cfg:2Per-phone onlyFrom per-phoneReception805ec0a1b2c3.cfg:2
features.dnd.enableSame value0y000000000108.cfg:40805ec0a1b2c3.cfg:4Same valueBoth set0805ec0a1b2c3.cfg:4
lang.guiCommon onlyEnglishy000000000108.cfg:3AbsentCommon onlyFrom commonEnglishy000000000108.cfg:3
local_time.time_zoneConflict+1y000000000108.cfg:2Overridden-5805ec0a1b2c3.cfg:3ConflictPer-phone wins-5805ec0a1b2c3.cfg:3

The phone gets time zone -5 from line 3 of its MAC file, not +1 from the common file. If every phone of the model should use +1, remove the line from the MAC file's template; if only this phone is in another time zone, the override is doing its job.

How to use it

  1. Download the common CFG and the MAC CFG for the phone from your provisioning server.
  2. Choose or drop the common file in slot 1 and the MAC file in slot 2.
  3. Read the Conflict rows first: the teal tag is the value the phone gets and the line it came from.

What it does not do

Questions

Which file wins, the common CFG or the MAC CFG?

In standard Yealink provisioning without a boot file, the MAC-specific file is applied after the common file, so its value wins when both set the same key. Other layers, such as changes made on the phone, are outside these two files.

Why is a setting marked Ambiguous?

The key appears more than once in one file, or is set to an empty value. Which line the phone uses then is not something this page will guess, so it shows every line and leaves the winner blank.

Are keys case-sensitive?

Yes. Account.1.label and account.1.label are listed as two different settings, exactly as written.

Can I use files from 3CX's template folder?

Use the CFG files the server generated for the phone, the ones the phone downloads. Raw templates with placeholders are not supported.

Is my configuration uploaded?

No. Both files are read by your browser and discarded when you clear them or leave the page. They may contain SIP passwords; they never leave your device.

See it work

The MAC file wins four conflicts, and a name set twice gets no winner.
The MAC file wins four conflicts, and a name set twice gets no winner.
Every value carries its file and line, so you know which template line to fix.
Every value carries its file and line, so you know which template line to fix.
A broken line is named by file and line number, and the other file stays loaded.
A broken line is named by file and line number, and the other file stays loaded.
On a phone, each setting stacks with its winner and source last.
On a phone, each setting stacks with its winner and source last.

More pictures, and how Prov Diff works