To configure custom phone provisioning via TFTP
- Add "custom" to the "Provision models" setting under System » Configuration. If there is already a setting, add a ",custom" to the end - for example "snom,custom".
- 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.
- Wait one minute for these setting to take effect.
- Set up a tftp server serving from /var/lib/enswitch/provision.
- Go to Features » Provisioning, and click the New button.
- In the "Model" field select "Custom via TFTP". In the "Model name" field that appears enter the format of the file name phones will access via TFTP, using "MAC" to show where the phone's MAC address should be. For example you could use "MAC.xml".
- Fill out the rest of the provisioning template and save it.
- Edit a telephone line on the Enswitch web, and set the MAC address. If there are multiple lines on the same physical telephone, the accounts can be suffixed with "-1", "-2", etc. For example:
00:11:22:33:44:55-1
for the first line on physical telephone 00:11:22:33:44:55. In the "Provisioning template" field select your custom TFTP template (Automatic will not work). When done, save the telephone line. If you change the provisioning template you will need to re-save each telephone line to have the TFTP file rewritten. - Point the telephone to the tftp server.