If the incoming info message contains a
_transcription property, it is emitted as a transcription event instead and won’t trigger infoReceived.Category
Info MessageCallback Parameters
| Parameter | Type | Description |
|---|---|---|
data | object | The raw SIP INFO event data, containing originator (string) and info (object with body property) |
data object has the following structure:
| Property | Type | Description |
|---|---|---|
originator | string | Who sent the info message, for example, 'remote' |
info | object | The SIP INFO message object. Use info.body to access the message body as a string. |
Example
More Information
- infoSent — fires when a message is sent
- transcription — fires when transcription data is received
- sendInfo — send info messages during a call