Content

Page tree

Example: test this example by choosing each menu in the given order and checking the System Information page on the phone:

<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu>
    <MenuItem name="unregister id4">
        <Url>snom://mb_nop#unregister=3</Url>
    </MenuItem>
    <MenuItem name="set id4 incorrectly">
        <Url>snom://mb_nop#set:user_name4=random_one&set:user_host4=bad_IP</Url>
    </MenuItem>
    <MenuItem name="set id4 correctly without applyline">
        <Url>snom://mb_nop#set:user_name4=random_one&set:user_host4=10.110.22.37</Url>
    </MenuItem>
    <MenuItem name="set id4 incorrectly again">
        <Url>snom://mb_nop#set:user_name4=random_one&set:user_host4=bad_IP</Url>
    </MenuItem>
    <MenuItem name="set id4 correctly with applyline">
        <Url>snom://mb_nop#set:user_name4=random_one&set:user_host4=10.110.22.37&applyline</Url>
    </MenuItem>
</SnomIPPhoneMenu>


Result:

  • After the first MenuItem "unregister id4":


  • After the second MenuItem "set id4 incorrectly":


  • After the third MenuItem "set id4 correctly without applyline". The setting is now correct but the phone has not tried to re-register the identity so the old status remains:


  • After the fourth MenuItem "set id4 incorrectly again":


  • After the fifth MenuItem "set id4 correctly with applyline". The setting is now correct and the phone has re-registered the identity so the new status can be seen: