Auto Provision IP Phones Remotely (Provision Link Method)

For IP phones that are located in remote network but don't support RPS Auto Provisioning method, Yeastar P-Series Software Edition supports to provision the IP phones using Provision Link method via public IP address/domain name and port.

Supported IP phones

This topic can be applied to the 'Provision Link' supported IP phones that are deployed in a remote network.

Prerequisites

  • Make sure that you have downloaded the template for the desired phone model (Path: Auto Provisioning > Resource Repository > Default Templates).
  • Gather information of IP phone, including Vendor, Model, and MAC address.

Step 1. Set a remote extension

  1. Log in to PBX web portal, go to Extension and Trunk > Extension, edit the extension to be assigned.
  2. Click Advanced tab, select the checkbox of NAT in the VoIP Settings section.

  3. Click Security tab, select the checkbox of Allow Remote Registration in the SIP Security section.

  4. Click Save and Apply.

The extension can be registered in different LAN subnet or in a remote network.

Step 2. 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 an IP phone.
  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 Provision Link (Remote).

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

      Note: Note down the generated provisioning link, as you will use it later.
  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.

Step 3. Make the configuration file accessible to the IP phone

Set up the provisioning link to where your IP phones can fetch the configuration files in one of the following ways:
Configure a DHCP server and set up option 66
Configure a DHCP server and set up DHCP option 66 to the provisioning link. The IP phone will download configurations from PBX via the provisioning link, and apply the settings automatically.
You can use the PBX as a DHCP server, or use a third-party DHCP server that supports DHCP option 66.
  • If you use PBX as a DHCP server, the DHCP option 66 is set to the provisioning link automatically.
  • If you use a third-party DHCP server, you need to set DHCP option 66.

    Here takes Tftpd32 DHCP server as an example.

    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.
      • Mask (Opt 1): Subnet mask that corresponds to the available IP address segment.
      • DNS Server (Opt 6): DNS server address for the DHCP server.
      • Additional Option: Enter option to 66 and paste the PBX provisioning link beside the option.
    4. Click OK.

      The IP phone downloads the configuration file from the PBX, and applies the configurations automatically.

Configure provisioning server address on the phone

Here takes the Yealink IP phone as an example.

  1. On the IP phone, go to Menu > Status, check the IP address of the IP phone on the IPv4 field.
  2. Log in to the IP phone web page by the IP address, go to Settings > Auto Provision.
  3. In the Server URL field, paste the PBX provisioning link.
  4. Scroll down to the bottom, click Auto Provision Now.
  5. In the pop-up dialog box, click OK to auto provision the IP phone.

    The IP phone downloads the configuration file from the PBX, and applies the configurations automatically.