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

This topic takes HUAWEI eSpace 8950 as an example to describe how to auto provision Huawei IP phone with Yeastar P-Series Software Edition.

Requirements

The firmwares of Huawei IP phone and Yeastar PBX meet the following requirements.

Model Phone Requirement PBX Requirement Supported Auto Provisioning Method
eSpace 7910 V200R003C30SPCf00 or later

83.16.0.25 or later

  • DHCP
  • Provision Link
eSpace 7950 V200R003C00SPCs00 or later

83.16.0.25 or later

  • DHCP
  • Provision Link
IP Phone 7920 V600R019C10SPC200 or later

83.16.0.25 or later

  • DHCP
  • Provision Link
IP Phone 7960 V600R019C10SPC202 or later

83.16.0.25 or later

  • DHCP
  • Provision Link
eSpace 8950 V200R003C00SPCg00B015 or later

83.16.0.25 or later

  • DHCP
  • Provision Link
eSpace 8950HK V200R003C30SPCh20 or later

83.17.0.17 or later

  • DHCP
  • Provision Link

Prerequisites

  • Set up a DHCP server in the same subnet as the IP phone to assign it an IP address.
    Note: Make sure that there is only one DHCP server running in the subnet, or the IP phone would fail to obtain an IP address.
  • RESET the IP phone if it is previously used.
  • Gather information of IP phone, including Vendor, Model, and MAC address.
  • Make sure that you have downloaded the template for the desired phone model (Path: Auto Provisioning > Resource Repository > Default Templates).
  • Make sure that you have completed the corresponding settings shown below according to the network environment of Huawei IP phone and Yeastar PBX.
    Network Environment Setting
    Local Network Provision an IP phone in the same subnet Set the registration name to the same as the extension number for the extension that will be assigned to the IP phone (Path: Extension and Trunk > Extension > > User > Extension Information).
    Important: Due to the IP phone's limitation, the extension's Registration Name must be the same as the Extension Number; otherwise, the registration will FAIL.

    Provision an IP phone in different subnets
    • Make sure that the two subnets can communicates with each other.
    • Complete the following settings for the extension to be assigned to the IP phone:
      • Set the registration name to the same as the extension number for the extension (Path: Extension and Trunk > Extension > > User > Extension Information).
        Important: Due to the IP phone's limitation, the extension's Registration Name must be the same as the Extension Number; otherwise, the registration will FAIL.

      • Enable the Remote Registration feature for the extension (Path: Extension and Trunk > Extension > > Security > SIP Security > Allow Remote Registration).
    Remote Network Remotely provision an IP phone using Yeastar FQDN
    • Complete the following settings for the extension to be assigned to the IP phone:
      • Set the registration name to the same as the extension number for the extension (Path: Extension and Trunk > Extension > > User > Extension Information).
        Important: Due to the IP phone's limitation, the extension's Registration Name must be the same as the Extension Number; otherwise, the registration will FAIL.

      • Grant remote SIP access permission for the extension (Path: System > Network > Yeastar FQDN > Features > SIP Access).

    Remotely provision an IP phone using Public IP address / External Host domain name
    • Configure PBX network for remote access by a public IP address or by an external host domain name.
    • Complete the following settings for the extension to be assigned to the IP phone:
      • Set the registration name to the same as the extension number for the extension (Path: Extension and Trunk > Extension > > User > Extension Information).
        Important: Due to the IP phone's limitation, the extension's Registration Name must be the same as the Extension Number; otherwise, the registration will FAIL.

      • Enable NAT for the extension (Path: Extension and Trunk > Extension > > Advanced > VoIP Settings > NAT).

      • Enable the Remote Registration feature for the extension (Path: Extension and Trunk > Extension > > Security > SIP Security > Allow Remote Registration).

Procedure

Step 1. Add the Huawei 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. Log in to 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 Huawei.
    • Model: Select the phone model. In this example, select eSpace 8950.
    • 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.
  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.

    The IP phone is added and displayed in the Auto Provisioning phone list.

Step 2. Configure DHCP option 246 on DHCP server

Configure DHCP option 246 to point to the PBX. This allows the Avaya IP phone to automatically retrieve its configuration files from the PBX.

The following instructions take Tftpd64 DHCP server as an example to show how to configure the option 246.

  1. On the running Tftpd64 software, go to Settings > DHCP > DHCP Options.
  2. Add option 246 and define the location of the configuration files.

    1. In the Additional Option field, enter 246.
    2. In the string value field, enter the provisioning link obtained from the PBX in the following format:
      cfg.address={provisioning_link}/
      Important: The slash / at the end of the string is REQUIRED. Omitting this slash will cause the provisioning to fail.

      For example:

      cfg.address=https://yeastardocs.ras.yeastar.com:443/api/autoprovision/lgjnRL8CkoYFXWJd/
  3. Click OK to save the settings.

Results

  • After rebooting the IP phone, 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 registration status on Auto Provisioning > Phone on the PBX web portal.