To configure Digium provisioning
- Update to the latest Enswitch fixes.
- On the primary database server, run the following command:
enswitch install_provisioning digium
- On all web server machines, check whether the following line exists in /etc/apache2/sites-enabled/enswitch.conf or /etc/httpd/conf.d/enswitch.conf, and if not add it just above the other ScriptAliasMatch lines:
ScriptAliasMatch ^/provision/digium/[\w\.]+$ /opt/enswitch/current/www/provision/digium/index.pl
- Add "digium" to the "Provision models" setting under System » Configuration. If there is already a setting, add a ",digium" to the end - for example "snom,digium".
- 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.
- Restart the web server to make these settings take effect.
- Go to Features » Provisioning, and edit the Digium template to suit.
- 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. When done, save the telephone line. - Set the telephone to download XML configuration from the appropriate web server, with path "/provision/digium/".