Tools

interface Tools

Functions

Link copied to clipboard
abstract fun dtmfTool(block: DtmfTool.() -> Unit)
Link copied to clipboard
abstract fun endCallTool(block: EndCallTool.() -> Unit)
Link copied to clipboard
abstract fun externalTool(block: ExternalTool.() -> Unit)

Defines a tool implemented on a remote server.

Link copied to clipboard
abstract fun ghlTool(block: GhlTool.() -> Unit)
Link copied to clipboard
abstract fun makeTool(block: MakeTool.() -> Unit)
Link copied to clipboard
abstract fun manualTool(block: ManualTool.() -> Unit)

The tool action is defined in the block with the onInvoke{} function.

Link copied to clipboard
abstract fun serviceTool(obj: Any, vararg functions: KFunction<*>, block: BaseTool.() -> Unit = {})

Uses kotlin methods for implementing tool actions.

Link copied to clipboard
abstract fun transferTool(block: TransferTool.() -> Unit = {})

Transfers the call to another destination.

Link copied to clipboard
abstract fun voiceMailTool(block: VoiceMailTool.() -> Unit)