ScriptBaseT Class

Base class for routing script

Definition

Namespace: CallFlow
Assembly: 3CX.CallFlow.ScriptingHost (in 3CX.CallFlow.ScriptingHost.dll) Version: 20.0.1
C#
public abstract class ScriptBase<T> : ICallHandler, 
	ICallHandlerEx
Inheritance
Object    ScriptBaseT
Implements
ICallHandler, ICallHandlerEx

Type Parameters

T
script class name

Properties

ExecutionModeExecutionMode
MyCall The Call handled by this script

Methods

createNew For scripting host
OnExecutionModeChanged Called by call flow scripting engine when ExecutionMode has been changed. Can be overriden by the script implementation to track changes.
Start Start of the script. Script can be called or executed as a part of call flow. Script is ended when:
1. Call is terminated.
2. SwitchTo(String) - continues call without return to this script
3. Call to Return(Boolean) return will calls the action last registered in the stack by Call(String, ActionBoolean, DictionaryString, String)
Pay attention that when RouteTo(String, String, Int32, ActionBoolean) is answered then flow will be terminated.

Explicit Interface Implementations

ICallHandlerExExecutionMode sets Execution mode property

See Also