Content

Page tree

Returns the string of a setting. For valid arguments see the Settings documentation or the "Settings" web page of the phone.

Example: Show the phone's MAC address, IP address, netmask and the label of P1. It is recommended to use square brackets for the index of an argument.

<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu>
    <MenuItem name="mac:$(set:mac)"/>
    <MenuItem name="ip_adr:$(set:ip_adr)"/>
    <MenuItem name="netmask:$(set:netmask)"/>
    <!-- recommendation on square bracket as settings index -->
    <MenuItem name="fkey_label0:$(set:fkey_label[0])"/><!-- Key P1 label -->
</SnomIPPhoneMenu>


Result: