The XML schema conditions-1.6.xsd defines the testable conditions offered by the SIS. The following tables list the basic conditions, what they compare, and when they evaluate to true
or false
.
present
Description |
Determines if a variable is present in the current request. This condition expects a variable as its parameter, including any surrounding curly braces |
---|---|
Returns |
|
Examples |
|
equal
Description |
Compares two numeric values. Values may be specified either as element attributes or as nested elements. Nested elements may also be string manipulation functions. If the first value refers to a variable with named values, the second value may be specified in terms of those named values. |
---|---|
Returns |
|
Examples |
|
not-equal
Description |
Equivalent to |
||
---|---|---|---|
Returns |
the inverse of the equivalent
|
||
Example |
|
less-than
Description |
Compares two numerical values for relative difference. Values may be specified either as element attributes or as nested elements. Nested elements may also be string manipulation functions. If the first value refers to a variable with named values, the second value may be specified in terms of those named values. |
---|---|
Returns |
|
Examples |
|
greater-than
Description |
Compares two numerical values for relative difference. Values may be specified either as element attributes or as nested elements. Nested elements may also be string manipulation functions. If the first value refers to a variable with named values, the second value may be specified in terms of those named values. |
---|---|
Returns |
|
Example |
|
macro-satisfied
Description |
Evaluates the specified macro and returns the result. |
---|---|
Returns |
the result of evaluating the given macro, |
Example |
|
assign
Description |
Assigns a value to a variable.
Can be used to create new user-defined variables.
This condition expects a variable name as its parameter, including any surrounding curly braces |
---|---|
Returns |
|
Examples |
|
delete
Description |
Deletes a variable. Can be use to remove headers from a SIP message or to delete previously created user-defined variables. This condition expects a variable name as its parameter, including any surrounding curly braces |
---|---|
Returns |
|
Example |
|