To open a interceptor diagram, double-click on the interceptor’s icon in the SISView interceptor list.
Below is an example of a freshly created interceptor diagram, plus details on the variable manipulators, condition (branching), and halt elements.
The control flow:
-
starts at the interceptor start element. From here you connect to other elements (Condition, Assign, Delete and so on) using the connect link from the palette. The connect link defines a next statement relation. You use it to specify the sequence of script statements in the interceptor.
-
ends at the interceptor end element.
Interceptor diagram
Below is an example of a freshly created interceptor. It includes a start node (top) and an end node (bottom).
Variable manipulator elements (assign, delete)
Through the assign element, a variable can be set to:
-
a specific value
-
the value of any other existing variable
-
a complex variable type (such as a
CalledPartyNumber
) -
the result of a string-manipulation function (such as a substring or string-length).
Through the the delete element, an existing variable can be "unset".
Condition (branching) element
The Condition element represents a conditional selection within the composition’s flow chart logic. It has two outgoing connections:
-
<true>
— followed if the condition evaluates totrue
(created using the if-true link from the palette) -
<false>
— followed if the condition evaluates tofalse
(created using the if-false link from the palette).
A Condition statement must always have both, a <true> and <false> connection.
|
To edit a Condition , double-click anywhere on the icon (which contains the condition’s textual representation at its centre). The Condition Editor opens in a new Editor tab.
|
Halt element
Halt elements allow you to stop the interceptor at any point during the script run. After encountering a halt, the SIS will evaluate no more interceptors instructions, and proceed to the interceptor end.
For SIP, a halt element can be configured with a failure response, indicating what shall be sent to the network.
Halt elements cannot have an outgoing connection to another diagram element, as they represent terminals of the invocation chain. |