Scheduled maintenance alert

Our website will undergo maintenance from Di, 19.11.2024, 20:00 CEST to Di, 19.11.2024, 22:00 CEST, which may cause occasional service disruptions. We apologize for any inconvenience and appreciate your understanding.

Content

Page tree

Here are some examples for the bool_eval callback. This callback can use special operators, which are the OR operator (| pipe character) and the AND operator (& ampersand character).

<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu>
<Title>cb bool_eval</Title>
<!-- 1 --><MenuItem name="true:$(bool_eval:true)" />
<!-- 0 --><MenuItem name="false:$(bool_eval:false)" />
<!-- 1 --><MenuItem name="true | true : $(bool_eval:true | true)" />
<!-- 1 --><MenuItem name="true | false :$(bool_eval:true | false)" />
<!-- 1 --><MenuItem name="false | true :$(bool_eval:false | true)" />
<!-- 0 --><MenuItem name="false | false :$(bool_eval:false | false) " />
<!-- 1 --><MenuItem name="true & true : $(bool_eval:true & true)" />
<!-- 0 --><MenuItem name="true & false :$(bool_eval:true & false)" />
<!-- 0 --><MenuItem name="false & true :$(bool_eval:false & true)" />
<!-- 0 --><MenuItem name="false & false :$(bool_eval:false & false) " />
<!-- 0 --><MenuItem name="false | true & false :$(bool_eval:false | true & false)" />
<!-- 0 --><MenuItem name="true & false | false :$(bool_eval:true & false | false)" />
<!-- 1 --><MenuItem name="true & false | true :$(bool_eval:true & false | true)" />
</SnomIPPhoneMenu>


Result: