Lineblocs Phone Provisioner allows you to manage global and individual phone configurations fully.
This guide will go over how to use the Lineblocs provisioning server to manage and update a Grandstream GXP2160's SIP configuration.
To complete this guide, you will need the following items:
Grandstream GXP2160
Lineblocs account
We will first need to update our Grandstream GXP2160's "Config Server Path" to configure our phones with Lineblocs. This can be done in one of the following ways:
Use DHCP option 66
Update the "Config Server Path" in the Grandstream web GUI
In this guide, we will be updating the URL directly in the phone's web GUI.
To update your Config Server Path URL:
Boot on your GXP2160
On your phone LCD screen, go to Status -> Network Status
Open the "IPv4 Address" value in a browser
You will then need to login to your Grandstream control panel.
If this is a new phone, you can login to your Grandstream Admin with username: admin and password: admin.
To change your Provisioning Path, please go to the "Maintenance -> Upgrade and Provisioning" section, then please set your "Config Server Path" to:
```
prv.lineblocs.com
```
Once you are done, please save all changes.
Your Grandstream GXP2160 should now be setup to fetch its configuration from the Lineblocs provisioning server.
To create a new phone in Lineblocs:
In Lineblocs dashboard click "Provisioning" -> "Phones"
In the top right, click "Create New"
On the create screen, you will need to provide a name for your phone, a MAC address, and optionally a group.
Below is an example of how you may want to set up your phone:
```
Name: Desk Phone
```
```
MAC Address: 0A:0B:0C:0D:0E:0F
```
```
Model: Grandstream GXP2160
```
For our phone to register and fetch its configuration details such as its Extension #, SIP Server URL, and other GXP21XX related settings, we will need to create a "Global Template.".
To setup a global template, please go to the Provisioning -> Global Templates section in Lineblocs dashboard.
On the Global Templates page please click "Add Global Settings."
Please create a template with the following details:
```
Model: Grandstream GXP2160
```
```
Group: (None)
```
To edit the global template's Account 1 SIP Server and Extension number, click the link.
In the General Settings page, please add the following settings:
```
Account Active?: Yes
```
```
Account Name: Desk Phone
```
```
SIP Server: {your-workspace-lineblocs-username}.lineblocs.com
```
```
SIP User ID: your-ext-number
```
```
Auth ID: your-ext-number
```
```
Auth Password: your-ext-password
```
```
Name: Desk Phone
```
```
Voicemail UserID: *98
```
Please save all changes once you are complete.
Your phone is now ready to fetch its configuration from Lineblocs.
To check the status of your deployment, please go to "Provision" -> "Deploy Now".
You should see that there is "1" phone pending provision on this page.
To deploy your config, please click "Begin Deployment"
Upon completion of the settings, the configurations should be deployed and you should get a success message with instructions to complete the deployment process.
Once your GXP2160 has been restarted, it should be successfully registered to Lineblocs, and you should be able to make/receive calls!
For tips on troubleshooting, please read article Debugging Config Deployment
In this guide, we discussed how to provide a Grandstream GXP2160 in Lineblocs phone provisioner. For related articles, be sure to check out the following posts: