Callout Reset Implementation
This topic explains how the Enlighten callout is reset when a new call starts.
Event Handlers Used
The table below describes the event handler used for resetting the Enlighten callout when a new call starts.
Event Handler |
Description |
---|---|
OnRTIGCallStarted | Triggered when an RTIG Call Started event is received. Calls the fxEnlighten_Reset function to reset the callout. |
Functions Used
The table below describes the user-defined function used for resetting the Enlighten callout when a new call starts.
Function |
Description |
---|---|
fxEnlighten_Reset | Resets the Enlighten callout. |
Process Details
A detailed explanation of how the solution is implemented is provided below. The process is presented according to the order of the flow and is divided by solution component.
A: Event Handler: OnRTIGCallStarted
-
The event handler is triggered when the RTIG Call Started event is received.
-
The function fxCallout_Reset is called.
B: User-Defined Function: fxEnlighten_Reset
- Clears all relevant variable properties and executes Javascript functions in the Enlighten callout to reset the callout.