infoReceived events.
Category
TranscriptionCallback Parameters
| Parameter | Type | Description |
|---|---|---|
transcription | object | The transcription data extracted from the _transcription property of the incoming SIP INFO message |
| Property | Type | Description |
|---|---|---|
originator | string | Indicates the source of the transcription, for example, 'user' or 'bot' |
messages | { text: string }[] | Array of message objects, each containing a text field |
Example
If an incoming info message contains a
_transcription property, it is emitted only as a transcription event — not as an infoReceived event.Transcription Filtering
The SDK automatically separates transcription data from regular info messages. No additional configuration is needed — the filtering is handled automatically:transcriptionevent: Receives only messages that contain a_transcriptionproperty.infoReceivedevent: Receives all other info messages.
More Information
- infoReceived — fires for non-transcription info messages
- Types — transcription data reference