action.inject
Inject a message into the conversation to be translated and spoken to the specified party.
This action is designed for use on active calls that have an existing translation session running.
You can send this action via the Call Commands REST API,
or include it in a SWML section executed via transfer or execute during a call.
An object that contains the inject parameters.
inject Parameters
local-callerThe direction of the message.
Possible Values: "remote-caller", "local-caller"
Example
- YAML
- JSON
live_translate:
action:
inject:
message: This is an injected message.
direction: remote-caller
{
"live_translate": {
"action": {
"inject": {
"message": "This is an injected message.",
"direction": "remote-caller"
}
}
}
}