Auto Provision Mitel IP Phone with Yeastar P-Series Software Edition

This topic takes Mitel 6867i (firmware: 5.0.0.1018) as an example to describe how to auto provision Mitel IP phones with Yeastar P-Series Software Edition in Local Area Network (LAN).

Requirements and restrictions

Requirements
The firmwares of Mitel IP phone and Yeastar PBX meet the following requirements.
Table 1.
Model Phone Requirement PBX Requirement Supported Auto Provisioning Method
6863i R5.1.0SP6 or later

83.9.0.103 or later

  • DHCP
  • Provision Link
6865i R5.1.0SP6 or later

83.9.0.103 or later

  • DHCP
  • Provision Link
6867i R5.1.0SP6 or later

83.9.0.103 or later

  • DHCP
  • Provision Link
6869i R5.1.0SP6 or later

83.9.0.103 or later

  • DHCP
  • Provision Link
6873i R5.1.0SP6 or later

83.9.0.103 or later

  • DHCP
  • Provision Link
6920 6.3.1 SP1 or later

83.9.0.103 or later

  • DHCP
  • Provision Link
6930 6.3.1 SP1 or later

83.9.0.103 or later

  • DHCP
  • Provision Link
6940 6.3.1 SP1 or later

83.9.0.103 or later

  • DHCP
  • Provision Link
Restrictions
The following features are NOT supported on the provisioned Mitel IP phones:
  • LDAP Directory
  • Specific types of PBX function keys, including LDAP Directory, DTMF, Intercom and Park & Retrieve.

Scenarios

Yeastar P-Series Software Edition supports to auto provision Mitel IP phone via DHCP method in the local network. The provisioning operations vary depending on the network environment of Mitel IP phone and Yeastar PBX, as the following table shows.

Scenario Description
IP Phone and PBX are in the SAME subnet In this scenario, you can provision the Mitel IP phone using the PBX built-in DHCP server to deliver a PBX-provided provisioning link to the IP phones. In this way, the phones can retrieve configurations from the PBX using the given link.
Note: If there is already a DHCP server running in the subnet, you can directly set up DHCP option 66 with PBX-provided provisioning link on the DHCP server.

For more information, see Auto provision a Mitel IP phone in the same subnet.

IP Phone and PBX are in DIFFERENT subnets In this scenario, you can provision the Mitel IP phone using DHCP option 66 of a third-party DHCP server to deliver a PBX-provided provisioning link to the IP phones. In this way, the phones can retrieve configurations from the PBX using the given link.

For more information, see Auto provision a Mitel IP phone in different subnets.

Auto provision a Mitel IP phone in the same subnet

In this example, the Mitel IP phone and the Yeastar PBX (IP: 192.168.28.118) are both deployed in subnet 28.

Prerequisites
  • Make sure that there is only one DHCP server running in the subnet, or the IP phone would fail to obtain an IP address.
  • Make sure that you have downloaded the template for the desired phone model (Path: Auto Provisioning > Resource Repository > Default Templates).
  • RESET the IP phone if it is previously used.
  • Gather information of IP phone, including Vendor, Model, and MAC address.
Procedure
Step 1. Set the PBX as a DHCP server
  1. Log in to PBX web portal, go to System > Network, click DHCP Server tab.
  2. Turn on the DHCP Server, and complete the following network configurations.
    • Gateway: Specify the IP address of the default gateway for the DHCP server.
    • Subnet Mask: Specify the subnet mask used to subdivide your IP address.
    • Preferred DNS Server: Specify a DNS server for the DHCP server.
    • Alternative DNS Server: Optional. Specify a secondary DNS server for the DHCP server.
    • DHCP Address Range: Specify the IP address range that will be allocated to DHCP clients.
    • NTP Server: Enter the IP address of an NTP server.
      Note: The default value is the IP address of the PBX, which can synchronize the network time of the client devices with the PBX.
  3. Click Save.

    The Status field displays Running, indicating the DHCP server is running.

Step 2. Add the Mitel IP phone on PBX
  1. On PBX web portal, go to Auto Provisioning > Phones.
  2. Click Add > Add.
  3. In the IP Phone section, enter the following phone information.

    • Vendor: Select Mitel.
    • Model: Select the phone model. In this example, select 6867i.
    • MAC Address: Enter the MAC address of the IP phone.
  4. In the Options section, configure the following settings.

    • Template: Select a desired template from the drop-down list.
      Note: You can select the default template corresponding to the phone model, or customize your own template. For more information, see Create a Custom Auto Provisioning Template.
    • Provisioning Method: Select DHCP (In the Office).

      A provisioning link is automatically generated and displayed in the Provisioning Link field. This provisioning link points to the location where the phone's configuration file is stored.

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

    Note: If your desired extension is not listed in the drop-down list, it indicates that the extension has been associated with an IP phone or gateway.
  6. Click Save.
  7. Reboot the IP phone manually.
Result
  • After the phone is rebooted, it gets an IP address from the PBX built-in DHCP server, download the configurations from the PBX and applies the settings automatically.
  • The extension is successfully registered on the IP phone. You can check the extension registration status on Auto Provisioning > Phones on the PBX web portal.

Auto provision a Mitel IP phone in different subnets

In this example, the Mitel IP phone and DHCP server are deployed in subnet 20, while the Yeastar PBX (IP: 192.168.28.118) is deployed in subnet 28.

Prerequisites
  • Make sure that there is only one DHCP server running in the subnet where the IP phone is deployed, or the IP phone would fail to obtain an IP address.
  • Make sure that the IP phone and PBX can communicate with each other over the subnets.
  • Make sure that you have downloaded the template for the desired phone model (Path: Auto Provisioning > Resource Repository > Default Templates).
  • RESET the IP phone if it is previously used.
  • Gather information of IP phone, including Vendor, Model, and MAC address.
Procedure
Step 1. Enable Remote Registration feature for the extension on PBX
Enable the Remote Registration feature for the extension to be assigned to the phone, so that the extension can be registered in a different subnet.
  1. Log in to PBX web portal, go to Extension and Trunk > Extension, edit the desired extension.
  2. Click Security tab, select the checkbox of Allow Remote Registration in the SIP Security section.

  3. Click Save and Apply.
Step 2. Add the Mitel IP phone on PBX

Add the IP phone on PBX. The PBX will generate a configuration file based on the phone's MAC address.

  1. On PBX web portal, go to Auto Provisioning > Phones.
  2. Click Add > Add.
  3. In the IP Phone section, enter the following phone information.

    • Vendor: Select Mitel.
    • Model: Select the phone model. In this example, select 6867i.
    • MAC Address: Enter the MAC address of the IP phone.
  4. In the Options section, configure the following settings.

    • Template: Select a desired template from the drop-down list.
      Note: You can select the default template corresponding to the phone model, or customize your own template. For more information, see Create a Custom Auto Provisioning Template.
    • Provisioning Method: Select DHCP (In the Office).

      A provisioning link is automatically generated and displayed in the Provisioning Link field. This provisioning link points to the location where the phone's configuration file is stored.

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

    Note: If your desired extension is not listed in the drop-down list, it indicates that the extension has been associated with an IP phone or gateway.
  6. Click Save.
  7. Reboot the IP phone manually.
Step 3. Configure DHCP option 66 on DHCP server

In the subnet where the IP phone is deployed, use the generated provisioning link to configure option 66 on the DHCP Server.

  1. On the DHCP server, set up option 66 with the provisioning link.

    In this example, the configuration is shown below.

Step 4. Turn off certificate validation on the phone
Some older Mitel phones don't have certain necessary certificates, so they would not be able to download configuration files from the PBX due to the certification validation issue. In this case, you have to turn off the certificate validation on the IP phone to bypass the authentication between the PBX and the phone.
Important: It is strongly recommended that you use a trusted certificate, as disabling server validation may introduce security risks on the network.
  1. Log in to the web interface of the Mitel IP phone.

    1. In the browser's address bar, enter the IP address of the IP phone.
    2. Enter the username admin and the associated password.

      In this example, enter the default password 22222.

    3. Click Sign in.
  2. On the left navigation bar, go to Advanced Settings > Network > HTTPS Settings, then unselect the checkbox of Enabled beside the Validate Certificates.

  3. Click Save Settings.
  4. Reboot the phone manually.
Result
  • After the IP phone is rebooted, it gets an IP address from the DHCP server, downloads the configurations from the PBX via the provisioning link, and applies the settings automatically.
  • The extension is successfully registered on the IP phone. You can check the extension registration status on Auto Provisioning > Phones on the PBX web portal.