# Provision a Unify IP Phone

Auto provisioning lets Cloud Voice hand a phone its configuration from the server, so you never have to type settings into the handset itself. Unify OpenScape phones find that configuration through DHCP (Dynamic Host Configuration Protocol) option 66, which means provisioning happens in two parts: first you add the phone in Cloud Voice, then you tell your DHCP server where the phone should fetch its files. This page walks through the process with an OpenScape CP210 as the working example; the same steps apply to the other supported models.

## Supported models and firmware

Before you begin, confirm that both the phone and Cloud Voice meet the minimum firmware versions below.

| Model | Phone firmware | Cloud Voice version |
|-------|----------------|---------------------|
| OpenScape CP200 | V2 R4.13.0 or later | 84.19.0.23 or later |
| OpenScape CP210 | V2 R0.4.0 SIP 220614 or later | 84.19.0.23 or later |
| OpenScape CP400 | V2 R4.13.0 or later | 84.19.0.23 or later |
| OpenScape CP410 | V2 R4.13.0 or later | 84.19.0.23 or later |

## Before you start

- Have a DHCP server running on the same subnet as the phone so it can lease the phone an IP address.

  :::note
  Only one DHCP server may run on the subnet. If a second one is active, the phone can't reliably obtain an address.
  :::

- If the phone was used previously, factory-reset it first.

  :::caution
  A factory reset erases the phone's existing SIP account and all local settings. Confirm you are resetting the correct handset, and never reset a phone that is still in service.
  :::

- Collect the phone's details: vendor, model, and MAC (Media Access Control) address, the unique hardware ID printed on a label on the phone.
- Download the default auto provisioning template for your phone model. The templates live under **Auto Provisioning > Resource Repository > Default Templates**.
- On the extension you plan to assign, set the **Registration Name** to match the **Extension Number**. Edit the extension under **Extension and Trunk > Extension**, then open **User > Extension Information**.

  :::caution
  Unify phones require the **Registration Name** and **Extension Number** to be identical. If they differ, the extension won't register.
  :::

  ![Extension information page with the registration name set to match the extension number](/images/pbx/avaya-extension.png)

## Step 1: Add the Unify phone in Cloud Voice

Adding the phone generates a configuration file keyed to its MAC address.

1. Sign in to the Cloud Voice web portal and go to **Auto Provisioning > Phones**.
2. Click **Add > Add**.
3. In the **IP Phone** section, fill in the phone's details.

   ![Adding a Unify phone by vendor, model, and MAC address](/images/pbx/add-unify-phone.png)

   - **Vendor**: Choose **Unify**.
   - **Model**: Pick your phone model. This example uses **CP210**.
   - **MAC Address**: Type the phone's MAC address.

4. In the **Options** section, set the following.

   ![Template and provisioning link options for a Unify phone](/images/pbx/unify-phone-option-cloud.png)

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

     :::note
     Use the default template that matches your phone model, or build your own custom auto provisioning template.
     :::

   - **Provisioning Link**: This link is generated automatically and points to where the phone's configuration file is stored.

     :::note
     Make a note of the provisioning link. You'll need it when you configure DHCP option 66 in Step 2.
     :::

5. In the **Assign Extension** section, assign an extension to the phone.

   ![Assigning an extension to the phone during provisioning](/images/pbx/assign-an-extension-pnp.png)

   :::tip
   If the extension you want isn't in the drop-down list, it's already tied to another IP phone. You have two ways to free it up:

   - Release the extension from the phone it's currently associated with.
   - Enable concurrent registration for that extension, which lets it register on more than one device. By default, Cloud Voice permits an extension to register with only one SIP (Session Initiation Protocol) endpoint.
   :::

6. Click **Save**. The phone now appears in the Auto Provisioning phone list.

## Step 2: Configure DHCP option 66

Option 66 delivers the provisioning link you took from Cloud Voice to the phone, so the phone knows where to retrieve its configuration files. This example sets up a DHCP server on the phone's network to hand out that link.

:::note
Using DHCP option 66 is best suited to provisioning many phones at once. For a single device, you can instead enter the provisioning link directly in the phone's own web interface.
:::

1. In the Cloud Voice web portal, open the phone's detail page and copy its provisioning link.

   ![Phone detail page showing the provisioning link to copy](/images/pbx/unify-prov-link.png)

2. On your DHCP server, create option 66 and set its value to the provisioning link.

   ![DHCP server configuration with option 66 set to the provisioning link](/images/pbx/remote-link-dhcp-gs.png)

## Result

- When the phone reboots, it leases an IP address from the DHCP server, downloads its configuration from Cloud Voice over the provisioning link, and applies the settings automatically.
- The extension registers successfully on the phone. To confirm, check the registration status under **Auto Provisioning > Phones** in the web portal.

  ![Auto provisioning list showing the Unify phone with a registered extension](/images/pbx/unify-register-ok.png)
