ICallHandler Interface

Script instance interface. Script instance may work in three modes:

Definition

Namespace: CallFlow
Assembly: 3CX.CallFlow (in 3CX.CallFlow.dll) Version: 20.0.1
C#
public interface ICallHandler

Properties

ExecutionMode Current execution mode. Undefined and must not be used in constructor.
MyCall Subject of the script. This object is effectively the wrapper over ActiveConnection owned by RoutePoint
Scripting host extends functionality with:
-prompt playback
-DTMF delivery
-local media recording

Methods

OnExecutionModeChanged when script instance execution mode is changed. Implementation must update ExecutionMode before the call to OnExecutionModeChanged
Start Script entry point. Executes call handling this method is called by scripting core when:
1. Call is arriving on the CallFlow routing point
2. When other script switches processing to the script SwitchTo(String)
3. When other script used Call(String, ActionBoolean, DictionaryString, String) to the script
4. Can be called before the media channel is ready in case if RoutePoint is configured with DNProperty 'AUTOANSWER' set to '1'

See Also