It is possible to customize the phone menu by editing and provisioning specific xml files. For instructions what files can be customized and how to upload the edited files, see Uploading new designs and menu structures
In version 8.x, by editing "state_settings.xml" it was possible to change the entire menu. For details on how to do this in version 8.x, see our old documentation.
As of version 10.x, the "state_settings.xml" file was split in different other files which can be customized separately:
For more information how to customize the xml files, see Uploading new designs and menu structures
Example: add custom entry in the identity menu
Goal: add a custom menu entry to the Settings → Identity phone menu
- First, we will need the default xml file identity.xml. We find this file in the customizing tar for the proper version. In this example, we used version 10.1.37.10 on D765, so we downloaded "snomD765-10.1.37.10-customizing.tar.gz"
In the identity.xml, we add the needed menu entry which directs the user to our custom minibrowser page:
In my provisioning file, under <settings> we add the link to the new identity.xml file:
I restart the phone and I can then see the customized menu entry:
Edit LDAP contact list
Goal: the Dial button in the LDAP contact list always calls one of the contact number/s directly. In this example we want to change the behavior of this button to do the same as the Details button: force the user to look at the list of available contact numbers first and decide which number to dial, instead of automatically dialing one of the numbers.
Here is how we can customize the phone GUI to achieve this:
- First, we will need the default xml file used for showing the contacts list, the file is contact_list.xml. We find this file in the customizing tar for the proper version. In this example, I used version 10.1.30.0 on D785, so I used "snomD785-10.1.30.0-customizing.tar.gz"
- Extract snomD785-10.1.30.0-customizing.tar.gz and find contact_list.xml in it (usually under xml/gui).
Open contact_list.xml . Find the part you are looking to change, in this example it is the Dial button:
Replace the URL for F_DIAL with the URL for F_DETAILS. The lines above will change to:
Save contact_list.xml , copy it on an HTTP server and note down its URL, for example
Create placeholder xml which will be used to instruct the phone to get the customized xml:
Set the Settings URL on the phone to the placeholder xml file (or if you are already using provisioning, add the content of the file to your existing provisioning file). Then reboot the phone or re-trigger the provisioning.
Customize the disconnected screen (this works only on phones that don't have a color menu)
Goal: sometimes it is required to translate, customize or remove the message that appears on the Snom phone display when a call gets disconnected, for example because it has been answered on another device. Most PBXs would send in such cases a SIP CANCEL request with the Reason header including text "Call completed elsewhere", and the phone would then display this message on the screen.
It is possible to customize what is being displayed in this case by editing message.xml. Here is how you can customize the phone GUI to achieve this:
- First, you will need the default xml file used for showing the disconnected message, the file is message.xml on the phones that don't have the new color pui (see list here). You can find this file in the customizing tar for the proper version. In this example, we used version 188.8.131.52 on D375, so the customizing archive was "snomD375-184.108.40.206-customizing.tar.gz"
- Extract snomD375-220.127.116.11-customizing.tar.gz and find text file message.xml in it (usually under xml/gui)
Open message.xml . Replace the existing text inside the IPPhoneText or SnomIPPhoneText (depending on what already exists) in order to have a resulted file similar to the following:
This checks the first word of the message that the phone was going to display ("$(msg_text)"). Instead of simply displaying this, we customize the xml code to check if the first word in this message is "Call". We could also check the second and third words, but to keep this simple we assume that if the text starts with "Call", then we would like to replace the text with something else (in the above example with "My own text"). We could also leave the text out and not display it at all by simply removing the words "My own text".
Save message.xml , copy it on an HTTP server and note down its URL, for example
Create file placeholder.xml which will be used to instruct the phone to get the customized xml:
- Copy placeholder.xml on an HTTP server and note down its URL, for example http://10.110.16.52/xml/customize/edit_message_menu_disconnected/placeholder.xml
Set the Settings URL on the phone to the placeholder xml file (or if you are already using provisioning, add the content of the file to your existing provisioning file). Then reboot or re-trigger the provisioning. The result will look something like this:
See here the placeholder xml and xml file that were used for this example )