Skip to content

Auto Provision IP Phones Remotely with Proxy

An Onsite Proxy lets you provision several IP phones at a remote site without exposing them to the public internet. Instead of each phone reaching Cloud Voice directly, the proxy sits in the phones’ local subnet and carries provisioning and registration traffic through an encrypted tunnel. This page walks through auto provisioning for both PnP (Plug and Play) and Non-PnP phones, and shows how to assign a user extension to each device.

Your Cloud Voice system must be running firmware version 84.23.0.24 or later.

When a phone supports PnP provisioning, an Onsite Proxy in the same subnet finds it automatically. The proxy detects the phone, reports its details back to the PBX (Private Branch Exchange, your hosted Cloud Voice phone system), and passes the SIP (Session Initiation Protocol) NOTIFY message, which carries the provisioning link, from the PBX down to the phone.

The phone then pulls its configuration file from the server named in that link and sends its extension registration request back through the Onsite Proxy, which relays it to the PBX to finish registration.

The example below uses a Yealink SIP-T53W running firmware 96.86.0.81 to illustrate PnP provisioning through an Onsite Proxy.

  1. If the phone has been used before, reset it to factory defaults.

  2. Sign in to your Cloud Voice management portal and open Auto Provisioning > Phones.

    Every phone the Onsite Proxy has discovered appears in the list, along with its MAC (Media Access Control) address, IP address, vendor, and model.

    Discovered IP phones listed on the auto provisioning page

  3. Click the edit icon Edit next to the phone you want to provision.

  4. Under Options, pick a template from the Template drop-down list.

  5. Under Assign Extension, choose the extension to register on the phone.

  6. Click Save.

  7. Restart the phone.

  • The template settings are applied to the phone automatically.

  • The extension registers on the phone through the Onsite Proxy. You can confirm the registration state on Auto Provisioning > Phones:

    • Registered The assigned extension is registered on the phone.
    • Unregistered The assigned extension is not registered on the phone.

    Provisioned PnP phone showing its registration status

Phones that do not support PnP can’t be discovered automatically, so you add them to the PBX by hand and then publish the provisioning link where the phones can reach it.

Once the link is reachable, each phone downloads its configuration file from the server named in the link, and the Onsite Proxy in its subnet relays the extension registration request to the PBX.

The example below uses a Grandstream GHP621W running firmware 1.0.1.71, provisioned through an Onsite Proxy together with a DHCP (Dynamic Host Configuration Protocol) server.

The process has two parts:

Step 1. Generate a configuration file for the phone on the PBX

Section titled “Step 1. Generate a configuration file for the phone on the PBX”
  1. If the phone has been used before, reset it to factory defaults.

  2. Sign in to your Cloud Voice management portal and open Auto Provisioning > Phones.

  3. Click Add to create a new phone entry.

  4. Under IP Phone, enter the device details:

    • Vendor: Select the phone’s vendor.
    • Model: Select the phone’s model.
    • MAC Address: Enter the phone’s MAC address.
  5. Under Options, configure the following:

    • Template: Select a template from the drop-down list.

    • Provisioning Link: A provisioning server URL is generated for you and shown on the page.

    • Register via Onsite Proxy: Select the checkbox.

    • Onsite Proxy: Select the Onsite Proxy that serves the phone’s subnet.

  6. Under Assign Extension, choose the extension to register on the phone.

  7. Click Save.

Step 2. Make the configuration file reachable by the phone

Section titled “Step 2. Make the configuration file reachable by the phone”

Set up a DHCP server on the phone’s network and point DHCP option 66 at the provisioning link. The steps below use the Tftpd32 DHCP server as an example.

  1. Launch Tftpd32 and click Settings at the bottom of the window.

    Tftpd32 main window with the Settings button

  2. In the window that opens, go to the GLOBAL tab and select the DHCP Server checkbox.

    Enabling the DHCP Server option on the GLOBAL tab

  3. Go to the DHCP tab and set the server parameters.

    DHCP tab with the address pool and option settings

    • IP pool start address: The first IP address to hand out.
    • Size of pool: How many addresses are available.
    • Lease time: How long each address stays assigned.
    • Def. Router (Opt 3): The gateway IP address.
    • Mask (Opt 1): The subnet mask for the address range.
    • DNS Server (Opt 6): The DNS (Domain Name System) server address.
    • Additional Option: Set the option number to 66 and paste the PBX provisioning link from Step 1 next to it.
  4. Click OK.

  5. Restart the phone.

  • The phone receives an IP address and the provisioning link from the DHCP server, then downloads its configuration file from that link to complete auto provisioning.

  • The extension registers on the phone through the Onsite Proxy. You can confirm the registration state on Auto Provisioning > Phones:

    • Registered The assigned extension is registered on the phone.
    • Unregistered The assigned extension is not registered on the phone.

    Provisioned Non-PnP phone showing its registration status