The desk phone: provisioning and BLF keys

John Smith Ltd's PBX works (PBX) and extensions 201–205 make calls from the browser. At reception, however, a real desk phone is needed: a Yealink T46U, MAC 00:15:65:aa:bb:01, which must:

Situation

John Smith Ltd’s PBX works (PBX) and extensions 201–205 make calls from the browser. At reception, however, a real desk phone is needed: a Yealink T46U, MAC 00:15:65:aa:bb:01, which must:

  • ring on extension 205 «Reception» and also on 201 (John);
  • have on the display the colleagues’ BLF keys: a lamp saying whether John, Jack, Julia or Paul are free, on a call or ringing, and which calls them when pressed;
  • have a key for the courier (the short number 401);
  • configure itself, without anybody typing anything on the phone.

The phone is in the office (192.168.10.81, LAN 192.168.10.0/24) and reaches Atlas through the Argos tunnel (the link is described in the chapter «Joining the site to EDON Atlas» of the Argos manual, and in Network for the Atlas side). The Telephony chapter describes the Telephony → Desk phones page in detail.

What you need

  • The phone, powered (PoE or power supply) and connected to the office LAN.
  • Its MAC address: it is printed under the phone or in its status menu.
  • The extensions already created in Telephony → Extensions: 201 «John Smith», 202 «Jack Green», 203 «Julia Brown», 204 «Paul Black» and 205 «Reception» (device). They are needed because the phone has one line per extension.
  • The short number 401 «Courier» in Telephony → Shot numbers.
  • The office network in Network → IPAM: after the link with Argos, the network 192.168.10.0/24 appears «managed by the Argos link» with «Trusted» already on and locked. This is the condition for the phone to download its configuration: Atlas serves it only to an address that is in a trusted network.
  • An idea of who gives the phone its address. In this office the LAN’s DHCP is Argos’s, not Atlas’s: so follow the «path without Atlas’s DHCP». If instead your network is served by Atlas’s DHCP, the path is shorter (see the end).
  • Argos open towards Atlas for HTTP (the phone downloads its configuration over plain HTTP from Atlas’s port 80) and for SIP (udp and tcp 5060) plus media (udp 10000–20000). With «Telephony» on in the local firewall with «Reachable from» «LAN and VPN sites» it is enough (Ports and services).

Warning The configuration contains the SIP passwords and travels over plain HTTP inside the network. Never open the phone networks to the internet and never publish Atlas’s port 80 to the outside for the phones: use the tunnel.

Steps

Adopt the phone in Atlas

  1. Open Telephony → Desk phones and press «New phone».
  2. In the «Addresses» section write the «MAC address» 00:15:65:aa:bb:01 (12 hexadecimal digits, separators are accepted). The «IP address» is optional without Atlas’s DHCP and only serves to find the MAC: write 192.168.10.81. The magnifier next to each field («Look up the IP address from the MAC», «Look up the MAC from the IP address») searches the reservations and leases of Atlas’s DHCP and then the network’s neighbour table. If it finds nothing: «No match found in DHCP or on the network.», and that is fine too.
  3. The «Identity» section appears. «Vendor»: Yealink (the console recognises it from the MAC and preselects it). «Model»: Yealink SIP-T46U. «Description»: Reception.
  4. If an orange note appears, read it: it warns that the driver for the brand or model has not yet been tried on a real phone. For Yealink V8x it should not appear.
  5. Press «Confirm». From this moment the MAC and the vendor can no longer be changed (to redo them, delete the phone and adopt it again); the model can, staying within the same brand.

The lines

  1. In «Assigned extensions» add 205 with «Add», then 201. The phone registers with a SIP account for each line, each with its own password generated by the console. You need at least one line («Assign at least one extension to a line.») and no more than the model’s lines (the T46U has 16). The name on the phone’s line is the extension itself.
  2. The assigned extensions also ring on the phone. Since John already has the softphone in the browser on extension 201, a call for 201 rings both: the browser and the reception phone.

The programmable keys (BLF)

  1. In «Programmable keys» press + («Add key»). In the window: «Key number» 1, «Type» «Extension», «Assigned extension» 201, «Label» John. Press «Add». The positions already taken are disabled and show what is there.
  2. Repeat for 2 → 202 «Jack», 3 → 203 «Julia», 4 → 204 «Paul». A key of type «Extension» is a BLF key: it lights up when that extension is busy or ringing and, when pressed, calls it.
  3. For the courier press + again: «Key number» 5, «Type» «Speed dial», «Number to call» 401, «Label» Courier. The key dials the short number (which goes out on the line like a normal external call). A speed dial has no lamp: an external number has no presence.

In the key list the − («Remove key») removes a key. The T46U has 16 lines and 27 programmable keys: the console does not let you assign more than the model’s.

Time zone, language and time

  1. Press «Advanced». «Time zone» Europe/Dublin (it is the default: the phone gets the time from the PBX and switches to daylight saving time by itself). «Language» English (appears only for Yealink). The «Extra configuration» field stays empty, unless you need to add native vendor lines for settings the page does not cover.
  2. Press «Create». Since DHCP is not run by Atlas, the console warns: «Phone saved. DHCP is not run by Atlas, so there is no reservation: set the provisioning URL (Info) on the phone, or as option 66 on your DHCP server.»
Telephony → Desk phones: a Yealink phone with two lines and the BLF keysTelephony → Desk phones: a Yealink phone with two lines and the BLF keys
Telephony → Desk phones: a Yealink phone with two lines and the BLF keys

Tell the phone where to download its configuration

  1. Select the phone in the list and open «Info». Copy the «Provisioning URL» with «Copy»: it is an http://… address with a secret code for the phone. Do not paste it in a chat or an email.
  2. On Argos’s DHCP (Argos manual, DNS and DHCP → DHCP) open the LAN interface’s reservations and press «Add reservation»: «MAC address» 00:15:65:aa:bb:01, «IP address» 192.168.10.81, «Host name» tel-reception and, in «Provisioning URL», paste the copied URL (it is DHCP option 66; http:// is fine, with no spaces, commas or quotes, up to 255 characters). Save and apply with Argos’s confirmation.
  3. As an alternative, open the phone’s web interface (its address appears on the display), go to the automatic provisioning item (in Yealinks, «Auto Provision») and paste the URL in the server field. The menu path changes with the firmware and this manual does not describe it: the URL field is all you need.
  4. Restart the phone: it takes the address 192.168.10.81, reads option 66, downloads from Atlas its <mac>.cfg file with the accounts, keys, time and language, and registers.

For the technician Atlas serves the file only to a phone that is already adopted and only if the phone’s address is in a trusted network of IPAM: a phone network that is not trusted gets a refusal, and the phone does not configure itself. The files are under /pabx/cfg/<code>/ (per phone, with the secret code) and /pabx/cfg/ (shared, no code, files without passwords only). Yealink downloads <mac>.cfg plus a common file per model with the mandatory #!version:1.0.0.1 header. The phones’ time comes from the appliance, which acts as NTP server: a phone with the wrong time writes its call log wrongly.

The path with Atlas’s DHCP

If the phone’s LAN is served by Atlas’s DHCP («DHCP services» module), the procedure is shorter: the «Phones found on the network» panel of Telephony → Desk phones lists the devices with an assigned address whose MAC belongs to a known vendor and that are not yet adopted («Yealink — 00:15:65:aa:bb:01», 192.168.10.81); press «Adopt» and the form opens already filled in. In «Reserved IP address» there is the address for which the console writes the reservation with option 66 by itself (required): on saving, the DHCP is restarted with that reservation and you do not have to copy any URL. The other steps (lines, keys, «Advanced») are identical.

Check

  1. Telephony → Desk phones: the dot next to the phone turns green (registered; amber: on a call; red: unreachable; grey: not registered). A phone with several lines counts as registered as soon as one is registered.
  2. Select the phone and open «Info»: «Last fetch» shows the date, time and address (192.168.10.81) of the last time it downloaded the configuration; «SIP endpoints» and «User agent» appear. If «Last fetch» is «—», the phone has never reached Atlas: this is the first thing to look at.
  3. In Telephony → Extensions extensions 205 and 201 are «Registered».
  4. From the phone dial 202: Jack’s browser rings. From another extension dial 205: the reception phone rings. Dial 201: John’s phone and browser ring.
  5. Have John called from another extension: when he is on a call or it rings, the lamp of key 1 lights up. The same goes for the other three colleagues.
  6. Press key 5: the call to the courier (+353 1 000 0100) starts.
  7. Check the time on the display and that the menus are in English.
  8. To re-read the configuration without restarting, select the phone and press «Reconfigure now» (the lightning icon in the detail bar): Atlas sends a SIP command and the phone downloads the files again. It works only if the phone is already registered.

If something goes wrong

  • «Last fetch» is «—» and the dot is grey. The phone did not get the URL or cannot reach Atlas. Check in this order: (a) that it really took the address from the reservation (you see it on the display or in Argos’s leases); (b) that option 66 of Argos’s reservation contains the correct URL; (c) that the 192.168.10.0/24 network in Network → IPAM has «Trusted» on; (d) that the tunnel to the office is up and that Argos lets the phone through to Atlas (port 80, SIP and media).
  • Red or grey dot but «Last fetch» recent. It downloaded but does not register: check «Telephony» in the local firewall (Network → Local firewall) and that the lines’ extensions exist.
  • «The phone did not accept the command: it may not be registered.» «Reconfigure now» needs a registered phone. Restart it.
  • «Invalid MAC address (12 hex digits).» / «A phone with this MAC already exists.» Check the MAC again; the phone is already adopted.
  • «Assign at least one extension to a line.» / «More extensions than the model has lines.» / «The same extension is chosen twice.» Correct the lines.
  • «Phone saved, but the DHCP reservation was not written…» Only with Atlas’s DHCP: check the logs, or set the URL by hand as above.
  • The BLF keys do not light up. A key of type «Extension» reflects the state of the assigned extension. Check that the extension exists, is registered and that the key is not a «Speed dial» (which has no lamp).
  • The time is wrong. The time comes from the appliance (NTP server): check the time zone in «Advanced» and the appliance’s clock.
  • You change the appliance’s public name or address. The phones must be reconfigured («Reconfigure now» or a restart).
  • Deleting the phone. It removes its SIP registrations and, with Atlas’s DHCP, the reservation written by Atlas. You remove Argos’s reservation yourself.

What about cordless (DECT) phones?

The Yealink W60B and W70B are bases with several handsets, and in Atlas they are a phone like any other, with these differences: each line of the base goes to the handset with the same number (the first to handset 1, the second to 2…, one per extension); the handsets register with the base by hand, from the base’s own menu, and the console cannot do it; there are no programmable keys; to give the same handset more lines you write in «Extra configuration» a line such as handset.2.incoming_lines = 1,2.

Example for the warehouse: create extensions 210 and 211 (type «Device», labels «Warehouse 1» and «Warehouse 2»), then Telephony → Desk phones → «New phone» with the base’s MAC, «Vendor» Yealink, «Model» «Yealink W60B (DECT base)», «Confirm»; in «Assigned extensions» add 210 and then 211; «Create». Register the handsets from the base’s menu and try dialling 210 from another extension: handset 1 must ring.

Warning The manual could not verify that the W60B or W70B have been tried on a real base with Atlas: the console does not flag these models as «never tested» (it does so for Snom, Fanvil and for the Polycom UC Software 4.x family), but this is not the same as a documented test. Try the base with a handset before entrusting a department to it, and use «Extra configuration» for whatever does not work.

For those with another phone

Atlas has drivers for four brands: Yealink, Polycom, Snom and Fanvil. If your model is missing from the list, choose the closest one of the same generation: the numbers of lines and keys only serve to guide the module. Snom and Fanvil are written from the vendors’ documentation and not yet tried on a real phone (the console says so with an orange note); after the first provisioning check that the phone registers. Polycom supports only BLF keys: speed dial is not offered. Polycom, Snom and Fanvil have no language in the generated configuration.

LET’S TALK INFRASTRUCTURE

Control starts with a conversation.

Tell us about your infrastructure. Let’s start with what you actually need.

Talk to an engineer