Auto Provision IP Phones Remotely (DHCP Method)

This topic takes Yealink SIP-T53W (firmware: 96.86.0.81) as an example to describes how to auto provision IP phones in a remote network via Yeastar Onsite Proxy and the DHCP method.

Note: This topic describes how to provision an IP phone and assign a user's extension to the phone. If you want to set up a hot desking phone via auto provisioning, see Set up a Hot Desking Phone.

Requirement

The firmware version of Yeastar P-Series Software Edition is 83.22.0.138 or later.

Scenario

IP phone is deployed in a different network from Yeastar P-Series Software Edition, and the subnet where the IP phone is located has an Onsite Proxy and one DHCP server deployed.

Prerequisites

  • You have deployed an Onsite Proxy in the SAME subnet as the remote IP phones, and connected the Onsite Proxy to the PBX. For more information, see Onsite Proxy Overview.
  • Make sure that there is only one DHCP server in the network where the IP phone is located, otherwise the IP phone may fail to obtain an IP address.
  • IP Phone MUST support DHCP provisioning. For more information, see Auto Provisioning - Supported Devices.
  • You have obtained information of IP phone, including its vendor, model, and MAC address.
  • Make sure that you have downloaded the template for the desired phone model on the PBX (Path: Auto Provisioning > Resource Repository > Default Templates).

Procedure

Step1. Generate configuration file for an IP phone on the PBX

Step2. Set up a DHCP option 66

Step1. Generate configuration file for an IP phone on the PBX

  1. RESET the phone if it is previously used.
  2. Log in to PBX web portal, go to Auto Provisioning > Phones.
  3. Click Add to add a phone to the PBX.
  4. In the IP Phone section, configure phone information as follows:
    • Vendor: Select a phone vendor.
    • Model: Select a phone model.
    • MAC Address: Enter MAC address of the phone.
  5. In the Options section, configure the following settings.
    • Template: Select a desired template from the drop-down list.
      Note: The template provides configurations except extension assignment. 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 (Via Onsite Proxy).

      A provisioning server URL is generated automatically and displayed on the web page.

    • Onsite Proxy: Select the Onsite Proxy deployed on the subnet where the phone is located.
  6. In the Assign Extension section, assign extension(s) to the phone, then specify which extension's phonebook and function keys you want to use on the phone.
    Note:
    • To assign a single extension, select the desired extension from the drop-down list beside SIP1.

      Both the Phonebook Line and the Function Key Line are set to SIP1 by default, indicating that the phone will use the authorized phonebook(s) and function keys of the extension assigned to the SIP line 1.

    • To assign multiple extensions, complete the following settings.

      1. In the drop-down list beside SIP1, select a desired extension for SIP line 1.
      2. Click Add, then select a desired SIP line and an extension for the added entry.
        To assign more extensions to the phone, repeat this step.
        Note: The selected SIP lines must be supported by the phone, otherwise the configurations for unsupported SIP line will not be applied. You can check the phone's supported SIP lines via the phone webpage or on the device screen.
      3. In the Phonebook Line drop-down list, select a SIP line. The phonebook of extension assigned to the SIP line will be applied to the phone.
        Note: After successful registration, contacts are available regardless of which SIP line is currently active on the phone.
      4. In the Function Key Line drop-down list, select a SIP line. The function keys of extension assigned to the SIP line will be applied to the phone.
        Note: After successful registration, the function keys take effect only when the selected SIP line is active on the phone. For more information about configuring function keys for the phone, see Auto Provision Function Keys for Phones.
  7. Click Save.

Step2. Set up a DHCP option 66

For most firewalls or routers, the built-in DHCP server does not have the capability to add or change the scope option. Tftpd32 software supports this function, which can be an alternative choice to accomplish this task. The following instructions are based on the Tftpd32 DHCP server.

  1. On Yeastar PBX, obtain the provisioning link.
    1. Log in to PBX web portal, go to Auto Provisioning > Phones, click beside the desired IP phone.
    2. In the Options section, copy the provisioning link.

  2. On DHCP server, set up Option 66 using the provisioning link.
    1. Run the Tftpd32 software, click Settings at the bottom of the window.

    2. In the pop-up window, click GLOBAL tab, select the checkbox of DHCP Server.

    3. Click DHCP tab, configure the DHCP server parameters.

      • IP pool start address: The starting IP addresses to be allocated.
      • Size of pool: Total number of available IP addresses.
      • Lease time: IP address lease time.
      • Def. Router (Opt 3): The gateway IP address. In this example, enter 192.168.66.1.
      • Mask (Opt 1): Subnet mask that corresponds to the available IP address segment.
      • DNS Server (Opt 6): DNS server address for the DHCP server. In this example, enter 192.168.66.1.
      • Additional Option: Enter option to 66 and paste the PBX provisioning link besides the option.
    4. Click OK.

      The PC starts to work as a DHCP server.

  3. Restart the IP phone.

Result

  • The IP phone obtains a IP address and provisioning link from the DHCP server, and automatically downloads the configuration file via the provisioning link to achieve Auto Provisioning.
  • The extension is successfully registered on the IP phone via the Onsite Proxy, and the registration status of the IP phone is displayed on Auto Provisioning > Phones.

    Tip: You can also check the extension registration status directly via the phone webpage or on the device screen.
    • : All assigned extensions are registered on the phone.
    • : Only some of the assigned extensions are registered on the phone.
      Note: You can hover over to view the registration status of each extension.

    • : None of the assigned extensions are registered on the phone.
  • If multiple extensions are successfully registered on the phone, corresponding SIP lines are associated with different physical line keys on the device.

    You can press a line key to activate the target SIP line. The corresponding indicator LED illuminates, and all calls are processed over this SIP line.