Skip to main content

Remote management (TR-069)

MonoPbx includes a TR-069 server (an ACS, auto-configuration server). Desk phones that speak TR-069 report to it, and an administrator can then see their status and change them live, without editing a template and waiting for the next reboot.

Nothing has to be set up on the phones: when remote management is on, every provisioned phone's file tells it the server's address and gives it a login of its own.

What it adds to provisioning​

Provisioning fileRemote management
Change a settingEdit the template; the phone takes it at its next downloadSet a parameter; most phones apply it at once, without a reboot
See the phone's stateWhat the phone's requests show in the provisioning logRead any parameter of the phone, live
InventoryMAC and model typed in the consoleModel, serial number, software and hardware version, address and last boot, reported by the phone
HealthRegistration stateThe phone reports in periodically (every hour by default): "last seen" and boot events
FirmwareThe file names a firmware imageThe phone downloads the image and reports success or the error
Reboot, factory resetBy hand on the phoneFrom the console

The provisioning file stays the source of the configuration (SIP account, keys, directory). A setting you change over TR-069 is replaced by the template's value at the phone's next download when the template sets the same setting.

Turn it on​

  1. Open Admin, then People and devices > Devices and phones > Desk phones (/admin/phones).
  2. Under Remote management (TR-069), tick Desk phones report to the PBX (TR-069) and choose how often they report in (Report interval, 60 seconds to 24 hours; one hour by default).
  3. Click Save. Each phone picks the settings up at its next download of its file (at reboot, or at its periodic check), then reports in.

Remote management is off by default. Turning it off refuses the phones' reports at once; their files stop carrying the settings at the next download.

Per-phone logins​

Every provisioned phone gets its own TR-069 login when it first downloads its file with remote management on: a user name like cpe-1a2b3c4d5e6f7a8b and a long random password, and a second login the PBX uses to knock on the phone (the connection request). The PBX stores only a hash of the password and encrypted copies. A preview of the file shows ********; an administrator with the right to reveal device credentials can read both logins with Reveal credentials (see Desk phone provisioning).

  • The first report pins the phone's serial number: the same login on another phone is refused and recorded in the activity log.
  • Provision the phone again and it gets new logins at its next download; the old ones stop working.
  • Revoking or deleting the device ends its login.

See and change a phone​

On Desk phones, choose Remote management in a phone's ... menu. The dialog shows what the phone last reported (model, serial number, software and hardware version, address, last report and last boot) and whether the PBX can reach it directly.

ActionWhat it doesNeeds
RefreshReads the phone's device information and management settings.Devices (write)
ReadReads the parameters you name (a full name, or a path ending in .).Devices (write)
BrowseLists the parameter names under a path, one level at a time.Devices (write)
SetWrites values. Parameters that look like passwords or keys are refused: credentials reach a phone only through its file.Devices (write)
RebootRestarts the phone.Devices (write)
Upgrade firmwareInstalls one of the company's firmware images; the phone reports success or the error.Devices (write)
Factory resetErases the phone's settings. The console asks you to confirm and for your own password again (and the authenticator code when your account has one).Devices (write) and a fresh sign-in proof

Each action waits in the phone's queue until the phone reports in: at once when the PBX can knock on it, otherwise at its next periodic report. The History tab lists every request with its state (queued, sent, transferring, done, failed, timed_out, cancelled) and the phone's answer or error. A queued request can be cancelled. A reboot, reset or firmware download that got no answer is shown as timed out and never sent twice; reads and writes are sent again (at most three times).

Parameters shows every value the PBX knows from the phone's reports and reads, filtered by name.

To act on many phones, select them in the list and choose Remote management in the selection bar (up to 200 phones): each phone gets its own result.

Firmware upgrade jobs also send the image over TR-069 to phones that report to the PBX, and mark each phone upgraded or failed from its own report.

Every queued action is recorded in the activity log (TR-069 request queued), with the parameter names but never the values. Changes appear live in the console.

Ports, encryption and NAT​

PortProtocolUse
443TCP, HTTPSPhones report to https://<your PBX address>/cwmp, the same address and certificate as their provisioning files. No extra port.
set by the phone (often 7547)TCP, HTTP, towards the phoneThe connection request: the PBX asks a phone to report in now.
  • Reports are refused over plain HTTP, unless the company allows plain HTTP for its provisioning files (the same setting applies to both).
  • Phones log in with HTTP digest (or Basic, over HTTPS only).
  • Phones behind NAT. The PBX can knock on a phone only when it can reach the address the phone reports from: on the same network (an on-premises PBX), or a phone with a public address. A phone behind NAT on another network cannot be knocked on; what you queue for it runs at its next periodic report. Lower the report interval if that is too slow.

Supported phones​

The settings come from each vendor's administrator guide. Check them on one phone of each model before relying on them, and fix the template if needed (Desk phones > Templates).

VendorModelsNotes
YealinkT2x, T3x, T4x, T5x, T8x, CPstatic.managementserver.*. DECT bases are not set up yet.
GrandstreamGXP, GRP; HT8xx adaptersP-values 1409 and 4503 to 4512
FanvilX-seriesTR-069 section of the configuration file
HtekUC9xxmanagementserver.*
SnomD3xx, D7xx (firmware 10.1 or later)tr69_* settings
Cisco (MPP)6800, 7800, 8800TR-069 settings of the profile
Poly, Panasonic, Mitel, ALE, Akuvox, Avaya, Gigaset—Not built in yet

Security​

  • Each phone has its own login; one leaked login opens one phone's reports, not the office.
  • A phone can only ever see and change itself; the PBX looks a login up only inside the company whose address the phone uses.
  • Reports are size-limited and checked strictly (no document type definitions, no external entities); refused logins are slowed down per network.
  • The PBX knocks only on the address the phone reported from, so a phone cannot make the PBX call another host.