Find and add desk phones from the MonoPhone app
An administrator with the MonoPhone app (iPhone, Android, Mac or Windows) on the office network can let the app look for desk phones on that network and set them up in one step: the app finds the phone, you pick an extension (or create one), and the phone fetches its configuration a few seconds later. Nobody types a MAC address unless the app could not read it.
This works even when MonoPbx runs in the cloud: the server cannot hear the phones on your office network, but your app can.
Who can do it
| Action | Permission |
|---|---|
| See the phones the apps found | devices:read for the whole company |
| See a phone's address on your network | devices:write for the whole company |
| Report phones (the app does it while it looks) and dismiss them | devices:write for the whole company |
| Provision a phone to an existing extension | devices:write for the department of the extension's owner, and the right to manage that owner |
| Provision a phone to a new extension | the above, and extensions:write (as when creating an extension) |
Other users never see the search or the phones found.
How the app finds phones
The app looks in several ways and reports each phone with how it was found:
| Source | What it means |
|---|---|
pnp_multicast | The phone announced itself on the plug-and-play group, as an unconfigured phone does when it boots. |
mdns | The phone advertised itself on the local network (Bonjour / mDNS). |
http_probe | The app recognised the phone's own web page at an address. |
arp | The app read the phone's MAC address from the network table of the computer. |
barcode | You scanned the barcode on the phone's label or box. |
Phones heard by the server itself (when it is on the same network) are listed as pnp, phones posted by an edge agent as agent.
Some apps can see only a phone's address and not its MAC (an iPhone cannot read the network table). Such a phone is listed without a MAC; you enter the MAC from the label when you provision it. When the same phone is later reported with its MAC, the two entries become one.
The list shows each phone's vendor, model and firmware when the phone told them, how it was found, found by (the administrator and the device whose app reported it) and when it was last seen. When another administrator's app finds a new phone, your app and console update at once.
Provision a phone
- Pick the phone in the list of found phones.
- Choose an existing extension, or a new extension: the number is suggested (the first free number of your extension ranges, else 1000 to 1999); you can change it, give the extension a name and choose the user who owns it.
- Enter the MAC if the phone has none yet, and the vendor if it is not known.
- Confirm. MonoPbx creates the device with the phone's MAC, gives it its own provisioning address and new SIP credentials, and opens the first-boot window for that phone's MAC only (15 minutes by default, 5 to 60).
- The app hands the phone the company's provisioning address (plug-and-play, see below). The phone fetches its file once, which closes the window, and from then on uses its own address.
The answer also holds:
- the phone's own provisioning address, to type into the phone's auto-provisioning setting yourself if the phone does not take plug-and-play;
- a signed link that works once for 30 minutes (up to 4 hours), as an alternative (type it in, or put it in a QR code);
- the phone's web page login when one was created now.
Doing the same step again (for example after the app lost its connection) is safe: it answers again with the same device, opens the window again and issues a new link, without creating anything twice. Choosing a different extension for a phone that was already provisioned is refused.
In the web console
The same list is under Admin > People and devices > Device extras, section Discovered phones, with the columns Source, Found by and Last seen. In a phone's ... menu, Provision to extension opens a dialog: choose Existing extension or New extension (shown only with extensions:write; the number is suggested), enter the MAC and vendor when the phone did not tell them, and the window in minutes. The answer shows the phone's own provisioning address, the signed link and the phone web page login once.
Plug-and-play
Phones that boot without a configuration ask for one on the plug-and-play group. The app answers such a phone with the company's provisioning address (https://pbx.example.com/prov/, the same address as DHCP option 66). Because the window is open for that phone's MAC only, the phone gets its own file and nothing else. The message never contains a password or the phone's own address.
| Vendor | Plug-and-play | Address handed to the phone |
|---|---|---|
| Yealink, Fanvil, Grandstream, Htek, Poly | yes | the provisioning address (the phone adds its file name) |
| Snom | yes | the provisioning address followed by {mac}.xml |
| Cisco (multiplatform) | yes | the provisioning address followed by cfg$MA.xml |
| Panasonic, Mitel, Alcatel-Lucent Enterprise, Akuvox, Avaya | no | use the phone's own address or the signed link |
A phone that already has a configuration does not ask on the plug-and-play group: reset it to factory settings first, or use its own address or the signed link.
Safety
- A MAC address alone never gets credentials: provisioning only opens a short, single-use window for that MAC, or issues a signed single-use link.
- Keep the window short and provision just before the phone boots. Anyone on the network who can send that MAC can fetch the file while the window is open.
- Reports cannot change a phone that was already provisioned.
- Every report of a new phone, every provisioning and every link is recorded in the audit log. Phones found in one company are never visible to another.
- An app reports at most 300 phones a minute; a company keeps at most 2000 phones in the found list (provision or dismiss some to make room).
Dismiss a phone
Dismiss a phone you do not want to set up; it moves to the dismissed list and comes back when it is found again.
See also
- Find desk phones from the app for the mobile screen walkthrough (scan methods, camera MAC-label scan, Windows/iOS permission prompts).
- Desk phone provisioning
- Extensions and devices
- Administration in the MonoPhone app