ICallRunWithMedia Method
Checks availability of the media channel and optionaly run specified action if media (becomes) ready
script should use this method only when executed in
Active mode.
Namespace: CallFlowAssembly: 3CX.CallFlow (in 3CX.CallFlow.dll) Version: 20.0.1
bool RunWithMedia(
Action MediaReadyHandler
)
- MediaReadyHandler Action
- Called if (when) media is (becomes) ready.
Booleantrue -
MediaReadyHandler completed. false -
MediaReadyHandler will be executed asynchronously.
MediaReadyHandler should not rely on the execution context. This method allows to make conditional answer when script requires media interactions.media related part of the script launch media channel and launch Answer if it is