Content

Page tree

Example (check if an expansion module is connected):

<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneText>
  <If condition="$(mod_ifc:UsbExpansionModule)">
    <If condition="$(bool_eval:$(condition:$(var_ifc:UsbExpansionModule::NumberOfExpansionModules)>0))">
        <Text>Expansion module is connected</Text>
    </If>
    <Else>
        <Text>Expansion module is not connected</Text>
    </Else>
  </If>
</SnomIPPhoneText>


Result on D735 with an expansion module: