Call Handler is the sequence of instruction that tell Smartswitch how to handle the incoming call.
Call Handlers are configured via Call Handler GUI with mouse drag-and-drop.
The sequence of the call handling is a set of trees, each of which begins with an Extension node.
Available Extension elements are listed in Extensions chapter.
Extensions define the conditions that are necessary for activation of the corresponding tree of the call handling.
After entering a specific call handling tree, the system consecutively executes applications from this tree.
The control path can contain conditional branches.
In the simplest case the tree has only one branch.
In the more advanced case a complex branching is possible.
Each branch of a call handling tree has to end with Stub node.
The following elements from Channel tab can act as Stub nodes: Hangup or Busy.
The control path of call handling can traverse between different branches of the call handling tree, but in the end it should be terminated with any of Stub nodes.
On completion of any of the Applications from the call handling branch, system internally checks the return code of the application.
Setting the return code is described in the chapter Applications.
In case if the return code: