Skip to main content

Definition

The contents within this tag will execute if the variable value (var) is not equal to the result of the expression (expr).

This tag supports CallFire XML JavaScript

Value

The contents within this tag are more nodes to execute.

Attributes

AttributeRequiredValuesDescription
nameNany textA unique name for the tag
varYany textThe name of any variable or a string value to match against the expression. Examples = "1 2 3" , "5", "${call.lastinput}"
exprYany textA JavaScript expression to evaluate. Examples = " '${call.lastinput}' + ' 2 3'" or "1+2" or "${call.lastinput} + 10"

Examples


    
        Hello ${call.callerid}. 
        You have 12 credits left.
    
    
        Oh wait ${call.callerid}. 
        You have 11 credits left.
    
    
        I'm sorry I was mistaken ${call.callerid}. 
        You have 10 credits left.
    

     beginningTag