To configure Cisco 7940 and 7960 provisioning
- Add "cisco" to the "Provisioning models" setting under System » Configuration. If there is already a setting, add a ",cisco" to the end - for example "aastra,cisco".
- 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.
- Copy /opt/enswitch/current/etc/cisco/SIPDefault.cnf to /var/lib/enswitch/provision, and edit to suit.
- 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 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 you save, update, or delete the telephone, the Enswitch web will generate, regenerate, or delete the files in /var/lib/enswitch/provision. - Point the telephone to the tftp server.
To modify the templates used
- Copy /opt/enswitch/current/templates/en/provision/cisco/79xx.cnf.tmpl to /etc/enswitch/templates/en/provision/cisco (you will need to make this directory) on any web server machines, edit 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.