Difference between revisions of "Provisioning with Snom Phones"
(Created page with " == Provisioning FusionPBX with Snom Phones == These instruction are meant for the "CenOS 6.2 with PostgreSQL 9.1" installation script. It may work with other installs as we...") |
(→Provisioning Templates) |
||
Line 17: | Line 17: | ||
− | == Custom Provisioning Variables | + | == Custom Provisioning Variables == |
− | |||
− | At Helia, we add SNMP and custom phone administration passwords to our deployments. There are variables needed for this that is not included as part of the default install. We add this to our systems using | + | At Helia, we add SNMP and custom phone administration passwords to our deployments. There are variables needed for this that is not included as part of the default install. We add this to our systems using a post install script where other Helia specific items are modified or added. The additional provisioning variables we add are: |
+ | |||
+ | - Phone Password | ||
+ | - SNMP Trusted Address | ||
+ | |||
+ | To add a "Phone Password" variable in FusionPBX: | ||
+ | |||
+ | 1. Log in and go to System > Variables | ||
+ | |||
+ | 2. Look for a group called Provision and click the "+" on the right. If there is no Provision group, select the "+" in the top right of the page. | ||
+ | |||
+ | 3. On the "Variable Add" page add in the following items: | ||
+ | |||
+ | Name> phone_password | ||
+ | |||
+ | Value> my_secure_password | ||
+ | |||
+ | Category> Provision | ||
+ | |||
+ | If a Provision category doesn't exist then select "Other". Set the custom category field to: Provision | ||
+ | |||
+ | Enabled> true | ||
+ | |||
+ | Description> Admin password on the hardware phone, set via the provisioning file. This will be the password used to access the web interface on a phone (assuming the provisioning template includes it) | ||
+ | |||
+ | 4. Click the Save button in the lower right | ||
+ | |||
+ | To add a "SNMP Trusted Address" variable in FusionPBX | ||
+ | |||
+ | 5. Find the group called Provision and click the "+" on the right | ||
+ | |||
+ | 6. On the "Variables Add" page add in the following items: | ||
+ | |||
+ | Name> snmp_trusted_address | ||
+ | |||
+ | Value> 192.168.0.1/24 | ||
+ | |||
+ | Category> Provision | ||
+ | |||
+ | Enabled> true | ||
+ | |||
+ | Description> The trusted address range for SNMP requests. This is in the format required by Snom but may work for other brands as well. Ensure the address matches your internal IP range where SNMP requests will be made from | ||
+ | |||
+ | 7. Click the Save button in the lower right | ||
+ | |||
+ | |||
+ | == Editing a Provisioning Template == | ||
+ | |||
+ | As noted above, provisioning templates can be edited directly from the filesystem using tools like Dreamweaver and Filezilla. They can also be edited directly in the FusionPBX web interface, if you are part of the SuperAdmins group. | ||
+ | |||
+ | To edit a provision template: | ||
+ | |||
+ | 1. Select Advanced > Provision Editor from the menu | ||
+ | |||
+ | 2. Navigate to Files > Snom > 820 and select {v_mac}.xml from the file tree on the left. |
Revision as of 18:09, 4 July 2012
Contents
Provisioning FusionPBX with Snom Phones
These instruction are meant for the "CenOS 6.2 with PostgreSQL 9.1" installation script. It may work with other installs as well.
Introduction
FusionPBX provides functionality to generate provisioning files for phones. In this article we will be talking about Snom phones however templates exist for other phones as well.
Provisioning Templates
There are a number of provisioning templates available. We at Helia upload our custom templates at time of install and make any customer changes as required directly using Dreamweaver or Filezilla. Dreamweaver and Filezilla have the ability to manage files over SSH so makes updating the files a bit easier. If you do use these tools and create a new file, make sure you update the owner of the files to apache:apache. By default a new file created when you're root has an owner:group of root:root.
Provisioning templates can be found on the file system at: /var/www/html/fusionpbx/includes/templates/provision
These templates allow for variables to be added for required items like phone account username and password, but also parameters custom to your deployment. The files you find in the provisioning templates folder include examples to follow.
Custom Provisioning Variables
At Helia, we add SNMP and custom phone administration passwords to our deployments. There are variables needed for this that is not included as part of the default install. We add this to our systems using a post install script where other Helia specific items are modified or added. The additional provisioning variables we add are:
- Phone Password - SNMP Trusted Address
To add a "Phone Password" variable in FusionPBX:
1. Log in and go to System > Variables
2. Look for a group called Provision and click the "+" on the right. If there is no Provision group, select the "+" in the top right of the page.
3. On the "Variable Add" page add in the following items:
Name> phone_password
Value> my_secure_password
Category> Provision
If a Provision category doesn't exist then select "Other". Set the custom category field to: Provision
Enabled> true
Description> Admin password on the hardware phone, set via the provisioning file. This will be the password used to access the web interface on a phone (assuming the provisioning template includes it)
4. Click the Save button in the lower right
To add a "SNMP Trusted Address" variable in FusionPBX
5. Find the group called Provision and click the "+" on the right
6. On the "Variables Add" page add in the following items:
Name> snmp_trusted_address
Value> 192.168.0.1/24
Category> Provision
Enabled> true
Description> The trusted address range for SNMP requests. This is in the format required by Snom but may work for other brands as well. Ensure the address matches your internal IP range where SNMP requests will be made from
7. Click the Save button in the lower right
Editing a Provisioning Template
As noted above, provisioning templates can be edited directly from the filesystem using tools like Dreamweaver and Filezilla. They can also be edited directly in the FusionPBX web interface, if you are part of the SuperAdmins group.
To edit a provision template:
1. Select Advanced > Provision Editor from the menu
2. Navigate to Files > Snom > 820 and select {v_mac}.xml from the file tree on the left.