setup tftpboot directory - chan-sccp/chan-sccp GitHub Wiki
contents of /tftpboot
DISTINCTIVERINGLIST.XML
RINGLIST.XML
Desktops/
SEP<mac_of_sccp_phone>.cnf.xml
XMLDefault.cnf.xml
Latest SCCP Firmware Files
Check these pages about setting up ringtone and backgrounds
SEP<mac_of_sccp_phone>.cnf.xml (Look in ./conf/tftp/ for more examples)
Examples:
- 7960: conf/tftp/SEP0000000000.cnf.xml_796x_template
- 7970: conf/tftp/SEP0000000000.cnf.xml_797x_template
- XMLDefault.cnf.xml: conf/tftp/XMLDefault.cnf.xml
- See: Cisco phone configuration files SEPXXXXXXXXX.cnf.xml
Tip: To reduce the amount of work when setting up new phone, instead of copying SEP...cnf.xml file, you can just create a small number of template files per type and softlink directly to them (reduce diskspace / work).
You can find more information about the parameters inside the cnf.xml files via conf/tftp/SEP0000000000.cnf.xml_annotated
Tip: To speed up restarting Java Based phones, you need to know that they will try to download firmware files via http on port 6970 before connecting to the tftp server. If you do not provide an http server on this port, the device have to wait for the http request to timeout, which can take some time. makeing the restart on these devices slow. Just start a new http service on 6970 and point it at the same tftpboot directory to speed things up.
Here is an example apache configuration file, on RedHat systems which you can save as: /etc/httpd/conf.d/tftpd.conf
Listen *:6970
<VirtualHost *:6970>
DocumentRoot /tftpboot
ErrorLog /var/log/httpd/tftp.error.log
CustomLog /var/log/httpd/tftp.access.log combined
<Directory />
Require all granted
Options +Indexes
IndexOptions FancyIndexing FoldersFirst NameWidth=30 DescriptionWidth=30
</Directory>
<Location />
Require all granted
</Location>
</VirtualHost>
And restart apache afterwards. Similar virtual host configurations can be created on other webservers.
More: