To configure Digium provisioning

  1. Update to the latest Enswitch fixes.
  2. On the primary database server, run the following command:
    enswitch install_provisioning digium
  3. 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
  4. 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".
  5. 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.
  6. Restart the web server to make these settings take effect.
  7. Go to Features » Provisioning, and edit the Digium template to suit.
  8. 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.
  9. Set the telephone to download XML configuration from the appropriate web server, with path "/provision/digium/".