Content
Introduction
The <uploads> tag contains a list of the URLs for uploading new designs onto the phone (For further description please see the detailed article: Phone Customization )
Syntax
This XML tag can be used either
inside the <settings> tag or
<uploads> <file url=URL type=TYPE /> </uploads>
as an individual XML file whose URL is listed inside <setting-files> tag
<?xml version="1.0" encoding="utf-8" ?> <uploads> <file url=URL type=TYPE /> </uploads>
Old configuration < fw 8.9.3.60
Since version 8.9.3.60 all the original mentioned files can be found in the "Customisation archive file" released along with the firmware, so please refer to the Firmware Update Center.
The following attributes are allowed:
- e="2" defines that unicode-values inside xml-escapes (e.g. & # 6 4Â ;) may be greater than 255.
Since version 10.1.73.16 a new file type is supported in XML <uploads> tag: gui_xml_custom This allows to upload a custom XML without the need to replace an existing one. Basically the phone can host the custom XML-"app" without the need to store it on a server.
The phone can access to the stored file using the URL: file:///xml/gui/custom_minibrowser.xml
Example
Branding Snom Deskphones
Create a XML file, e.g. branding.xml and copy it onto your Web (HTTP) Server, i.e. http://yourwebserver/branding.xml :
<?xml version="1.0" encoding="utf-8" ?> <uploads> <file url="http://yourwebserver/branding/snom820_mypuidesign.tar" type="gui" /> </uploads>
Factory Defaults
To change default settings create a XML file e.g. default.xml with the settings which you want to change and copy it onto your Web (HTTP) Server, i.e. http://yourwebserver/default.xml :
<?xml version="1.0" encoding="utf-8"?> <settings> <phone-settings> <webserver_type perm="">off</webserver_type> </phone-settings> </settings>
Now create a second XML file e.g. uploads.xml and load it via webinterface/advanced/update/Setting URL:
<?xml version="1.0" encoding="utf-8" ?> <settings> <uploads> <file url="http://yourwebserver/default.xml" type="defaults" /> </uploads> </settings>
PUI Menu
- See this How To for creating a new "state_stettings.xml".
Create another XML file, e.g. menu.xml and load it via WUI --> Advanced --> Update --> Setting URL:
<?xml version="1.0" encoding="utf-8" ?> <uploads> <file url="http://yourwebserver/state_settings.xml" type="gui_xml_state_settings" /> </uploads>
PUI fonts
- See this How To for creating a new font.tar
Create a XML file, e.g. fonts.xml and load it via WUI --> Advanced --> Update --> Setting URL:
<?xml version="1.0" encoding="utf-8" ?> <uploads> <file url="http://yourwebserver/fonts.tar" type="font" /> </uploads>
Further Information
Related articles