Content
Introduction
The <uploads> tag contains a list of the URLs for uploading new designs onto the phone.
<uploads> tag syntax and use cases
This XML tag can be used in different ways:
1. directly in an xml file (where the uploads tag is used alone)
On the Snom phone, configure Settings URL to a link to the file similar to uploads.xml below:uploads.xml<?xml version="1.0" encoding="utf-8" ?> <uploads> <file url="URL" type="TYPE" /> </uploads>
Upload Type | Replaces original snom menu / screen | XML File |
---|---|---|
gui_xml_state_conference | Conference Screen | state_conference.xml |
gui_xml_state_details | Currently not in use | state_details.xml |
gui_xml_state_edit_number | Dial / Edit Number screen | state_edit_number.xml |
gui_xml_state_holding | Currently not in use | state_holding.xml |
gui_xml_state_settings | Settings Menu | state_settings.xml |
gui_xml_state_settings_preferences | Preferences Menu | preferences.xml |
gui_xml_state_settings_call_features | Call Features Menu | call_features.xml |
gui_xml_state_settings_identity | Identity Menu | identity.xml |
gui_xml_state_settings_network | Network Menu | network.xml |
gui_xml_state_settings_maintenance | Maintenance Menu | maintenance.xml |
gui_xml_state_settings_information | Information Menu | information.xml |
gui_xml_brand_variant | Brand Variant Menu | brand_variant.xml |
gui_xml_contactlist | Server-based Contact List | contact_list.xml |
gui_xml_state_multicast_file | Multicast Window | state_multicast.xml |
gui_xml_state_status_message_file | Status Messages Menu | state_status_messages.xml |
gui_xml_call_lists_file | Call History Groups | call_lists.xml |
gui_xml_call_lists_list_file | Call History View | call_lists_list.xml |
gui_xml_contact_pool | Contact Pool Overview | contact_pool.xml |
gui_xml_state_ringtone_file | Ringtone Menu | state_ringtone.xml |
gui_xml_state_addressbook_file | Local Addressbook | state_addressbook.xml |
gui_xml_message_file | Minibrowser Message | message.xml |
gui_xml_call_lists_details | Detail View of Call History | call_lists_details.xml |
gui_xml_edit_user | Edit User Screen | edit_user.xml |
gui_xml_templates | Template XML | templates.xml |
gui_xml_presence | Broadsoft ACD State | broadsoft_acd_state_chooser.xml |
gui_xml_broadsoft_acd_state_chooser | Broadsoft ACD State | broadsoft_acd_state_chooser.xml |
gui_xml_decision | Decision XML | decision.xml |
gui_xml_login_wizard | Login Wizard | login_wizard.xml |
gui_xml_pkeys | Function Key Configuration | pkeys.xml |
gui_xml_transfer_setup | Smarttransfer Setup | transfer_setup.xml |
gui_xml_broadsoft_anywhere_settings | Broadsoft Anywhere Settings Menu | locations_settings.xml |
gui_xml_remote_office_menu | Broadsoft Remote Office Menu | remote_office_xsi.xml |
gui_xml_voicemail_inbox_lists | Voicemail Info Menu | voicemail_inbox_lists_list.xml |
gui_xml_broadsoft_anywhere_portals | Broadsoft Anywhere Portals | anywhereportals.xml |
gui_xml_simultaneous_ring_menu | Broadsoft Simultaneous Ringing Menu | broadsoft_simul_ring.xml |
gui_xml_contact_details_menu | Contact Details Menu | contact_details_menu.xml |
gui_xml_contact_details_xsi_edit | Contact Details XSI Edit | contact_details_xsi_edit.xml |
gui_xml_demo_mode | Demo Mode XML | demo_mode.xml |
gui_xml_action_choice | Transfer or Pickup Menu | action_choice.xml |
gui_xml_ad_hoc_conference | Ad Hoc Conference Setup | ad_hoc_conference.xml |
gui_xml_smart_labels_file | SmartLabels Menu | smart_labels.xml |
gui_xml_preferences_general | General Menu | preferences_general.xml |
gui_xml_hotel_login | Hotel Login XML | hotel_login.xml |
gui_xml_call_recording | Call Recording | call_recording.xml |
gui_xml_voicemail_info | Voicemail Info Menu | voicemail_info.xml |
gui_xml_conference | Consult Conference Menu | conference.xml |
gui_xml_disposition_code | Broadsoft Disposition Code XML | disposition_code.xml |
gui_xml_call_center_status | Broadsoft Call Center Status XML | call_center_status.xml |
gui_xml_call_park | Call Park XML | call_park.xml |
gui_xml_state_idle | Idle Screen | state_idle.xml |
gui_xml_broadsoft_anywhere_menu | Broadsoft Anywhere Menu | locations.xml |
gui_xml_wizard | Wizard | wizard.xml |
gui_xml_webserver_admin | Web Server Admin | webserver_admin.xml |
gui_xml_identity_d8xx | Identity Menu for D8xx | identity_d8xx.xml |
gui_xml_ip_settings | IP Settings | ip_settings.xml |
2. inside the <settings> tag
On the Snom phone, configure Settings URL to a link to the file similar to settings.xml below:This scenario is used for simple provisioning, where different settings must be provisioned to the phone as well as the design customisation
3. directly in an xml file (where the uploads tag is used alone), which is added to the phone through a setting-files container
On the Snom phone, you can configure Settings URL to a file similar to files.xml below. The file files.xml is a Setting files container file, meaning that it can contain links to uploads.xml and as well to other setting files. The files.xml looks like this:File http://yourserver/uploads.xml is the uploads file with the syntax as explained in section 1. above
This scenario is used for advanced provisioning, where other different setting files must be provisioned to the phone as well as the new design
Using the URL and TYPE parameters
- URL = The URL of the customization tarball file (*.tar) to be uploaded onto the phone
- TYPE =
- following miscellaneous customization options:
- gui: allows replacing the default Phone User Interface background images and icons by customized ones, see Branding below
- web: allows replacing the default Web User Interface images and stylesheets by customized ones, see Branding below
- font: allows replacing the default snom821,snom760, and snom870 Phone User Interface font by customized ones, see fonts (from V8.7.2 onwards)
- defaults: allows replacing the default configuration parameter values by customized values, see Factory Defaults below
- license: allows replacing the current phone license with a new license to enable additional features. The license will be ignored if it's not valid (e.g. not matching the mac address of the phone) (from V8.7.2)
- moh: allows uploading a local music on hold file (RAW PCMU 20ms) (from V8.7.3.7)
- qml: allows replacing the default snom870 QML description. (from V8.7.4 onwards)
- following allow replacing the default behaviour of the respective PUI state which is specified via XML:
Since version 8.9.3.60 all the original mentioned files can be found inside the "Customisation archive file" released along with the firmware, so please refer to the firmware download page in our: 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.
Customizable xml files syntax
The customizable xml files are in Snom XML Minibrowser format. See XML Minibrowser for details regarding their syntax.
Examples
Branding - phone menu design (images, icons etc)
Factory-default settings
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>
Note: The changes will take effect after reset
Phone menu content
See this How To for changing the content of the phone menu
Phone menu fonts
1. See this How To for creating a new font.tar
2. Create a XML file, e.g. fonts.xml with the content as below, and load it via web user interface --> 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