ICallReturn Method
returns control to the calling script. See
Call(String, ActionBoolean, DictionaryString, String)
if there is no handlers in the stack, Caller will be redirected to the destination which was specified by the last call to
SetDefaultRoute(String, String)
Script can wrapup the work action after calling to
Return(Boolean). The code which is executed as wrapup action MUST NOT:
1. Access
MyCall object. If some data is required for wrapup, the
ICallHandler should copy it in own state.
2. Wait for
ICall events - Call is detached from the handler.
Script should use this method only when executed in
Active mode.
Namespace: CallFlowAssembly: 3CX.CallFlow (in 3CX.CallFlow.dll) Version: 20.0.1
void Return(
bool success
)
Parameters
- success Boolean
- Detaches script instance from the call and return ownership to the caller