To configure Polycom provisioning
- Add "provision_models = polycom" to /etc/enswitch/common.conf, or if a provision_models line already exists, add a ",polycom" to the end.
- Restart the web server.
- Set the "SIP domain" custom setting for the system rate plan (normally called "Your own rate plan") to be the hostname or IP address that telephones should register to.
- Set up a tftp server serving from /var/lib/enswitch/provision.
- Edit a telephone on the Enswitch web, and set the MAC address. If there are multiple lines on the same physical phone, the accounts on the Enswitch can be suffixed with "-1", "-2", etc. For example:
00:11:22:33:44:55-1
for the first line on physical phone 00:11:22:33:44:55. When you save, update, or delete the phone, the Enswitch web will generate, regenerate, or delete the files in /var/lib/enswitch/provision. - Point the phone to the tftp server.
To modify the templates used
- Edit /var/lib/enswitch/provision/sip.cfg. This is a symlink to /opt/enswitch, and we recommend against changing files under /opt/enswitch (they will break on Enswitch upgrade), so you should delete the symlink, copy /opt/enswitch/current/etc/polycom/sip.cfg, and edit the new file. Changes to this file take effect immediately.
- Copy /opt/enswitch/current/templates/en/provision/polycom/* to /etc/enswitch/templates/en/provision/polycom (you will need to make this directory), edit them to suit, then re-save any telephones on the web. The Enswitch web interface will replace the <TMPL_VAR> with the data from the database using the HTML::Template Perl library.