Auto Provision Grandstream IP Phone with Yeastar P-Series PBX System

This topic takes Grandstream GPR2602 (firmware: 1.0.3.67) as an example to introduce how to auto provision a Grandstream IP phone with Yeastar P-Series PBX System in Local Area Network (LAN).

Requirements

The firmwares of Grandstream IP Phone and Yeastar PBX meet the following requirements.

Model Phone Requirement PBX Requirement Supported Auto Provisioning Method
GXP1610 1.0.7.13 or later

37.3.0.42 or later

  • PnP
  • DHCP
GXP1620 1.0.7.13 or later

37.3.0.42 or later

  • PnP
  • DHCP
GXP1625 1.0.7.13 or later

37.3.0.42 or later

  • PnP
  • DHCP
GXP1628 1.0.7.13 or later

37.3.0.42 or later

  • PnP
  • DHCP
GXP1630 1.0.7.13 or later

37.3.0.42 or later

  • PnP
  • DHCP
GXP2130 1.0.11.16 or later

37.3.0.42 or later

  • PnP
  • DHCP
GXP2135 1.0.11.16 or later

37.3.0.42 or later

  • PnP
  • DHCP
GXP2140 1.0.11.16 or later

37.3.0.42 or later

  • PnP
  • DHCP
GXP2160 1.0.11.16 or later

37.3.0.42 or later

  • PnP
  • DHCP
GXP2170 1.0.11.16 or later

37.3.0.42 or later

  • PnP
  • DHCP
GAC2500 1.0.3.45 or later

37.11.0.22 or later

  • PnP
  • DHCP
GAC2570 1.0.1.36 or later

37.11.0.22 or later

  • PnP
  • DHCP
GRP2601 1.0.3.63 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2601P 1.0.3.63 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2602 1.0.3.63 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2602P 1.0.3.63 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2602G 1.0.3.63 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2602W 1.0.3.63 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2603 1.0.3.63 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2603P 1.0.3.63 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2604 1.0.3.63 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2604P 1.0.3.63 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2612 1.0.7.25 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2612P 1.0.7.25 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2612G 1.0.7.25 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2612W 1.0.7.25 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2613 1.0.7.25 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2614 1.0.7.25 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2615 1.0.7.25 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2616 1.0.7.25 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2624 1.0.7.25 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2634 1.0.7.25 or later

37.7.0.51 or later

  • PnP
  • DHCP
GRP2670 1.0.7.25 or later

37.7.0.51 or later

  • PnP
  • DHCP

Scenarios

The provisioning methods and operations vary depending on the network environment of Grandstream 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 Grandstream IP phone with the PBX via PnP method.

For more information, see Auto provision a Grandstream IP phone in the same subnet (PnP).

IP Phone and PBX are in DIFFERENT subnets In this scenario, you can provision the Grandstream IP phone with the PBX via DHCP method.

For more information, see Auto provision a Grandstream IP phone in different subnets (DHCP)

Auto provision a Grandstream IP phone in the same subnet (PnP)

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

Prerequisites
  • Make sure that you have downloaded the template for the desired phone model (Path: Auto Provisioning > Resource Repository > Default Templates).
  • If the IP phone is previously used, you need to RESET the IP phone, then re-configure the network settings for the phone.
Procedure
  1. Log in to PBX web portal, go to Auto Provisioning > Phones.

    The IP phones detected by the PBX via PnP are displayed in the phone list.

  2. Click beside the Grandstream IP phone.

  3. Optional: In the Options section, select a desired template from the Template 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.
  4. 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.
  5. Click Save.
Result
Note: Some IP phones will reboot automatically. If not, you need to manually reboot the phone to make the configurations take effect.
  • The IP phone automatically downloads the configurations from the PBX and applies the settings.
  • The extension is successfully registered on the IP phone. You can check the registration status on Auto Provisioning > Phone in PBX web portal.

What to do next
By default, Grandstream IP phone enables all available codecs for its accounts, which may lead to issues with outgoing calls. Therefore, it is recommended to remove unnecessary codecs for the account that has been registered with the PBX extension.
For more information, see Remove Unnecessary Codecs for Grandstream IP Phone.

Auto provision a Grandstream IP phone in different subnets (DHCP)

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

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 Grandstream 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 Grandstream.
    • Model: Select the phone model. In this example, select GRP2602.
    • 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).
  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.
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 PBX web portal, copy the provisioning link from the phone's detail page.

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

    In this example, the configuration on a router's DHCP server is shown below.

Result
Note: Some IP phones will reboot automatically. If not, you need to manually reboot the phone to make the configurations take effect.
  • 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 registration status on Auto Provisioning > Phone on the PBX web portal.

What to do next
By default, Grandstream IP phone enables all available codecs for its accounts, which may lead to issues with outgoing calls. Therefore, it is recommended to remove unnecessary codecs for the account that has been registered with the PBX extension.
For more information, see Remove Unnecessary Codecs for Grandstream IP Phone.