Skip to content

Voice Gateway Events

Version badge

During the call, the following voice events are recorded in the payload:

Event Description
RECOGNIZED_SPEECH The user's answer was recognized by the virtual agent.
RECOGNIZED_DTMF The DTMF code was recognized by the virtual agent.
CALL_CREATED The user created a call.
CALL_RECONNECTED The call was reconnected due to network problems.
CALL_COMPLETED The call was terminated by the virtual agent or by the user.
CALL_FAILED The call was terminated.
USER_INPUT_TIMEOUT The virtual agent terminated the call because the user did not respond.
ANSWERING_MACHINE_DETECTION The call was initiated and the answering machine detection process started.

You can access Voice Gateway events either in the input object input.data.event or in the Output Transformer. Advanced users can use these events for special purposes like analytics.

The Output Transformer is executed after processing the flow. For example, if you receive the CALL_COMPLETED event, write some metrics in the transformer via HTTP request.