Detect Scam Dialog metadata
The initial text frame sent by the client after initiating the connection on the Detect Scam Dialog API.
sampleRateintegerrequired
The sample rate of the audio stream.
Format:
int32
Possible values: [8000
, 16000
, 24000
, 44100
, 48000
, 64000
]
Example:
8000
subjectAudioChannelinteger
The index of the audio channel that contains the audio of the non-user party. (The caller in the inbound case, the recipient in the outbound case.)
Format:
int32
Possible values: [0
, 1
]
Default value:
0
Example:
0
directionstring
Whether the user is the recipient or the caller party.
Format:
CallDirection (string)
Possible values: [Incoming
, Outgoing
]
Default value:
Incoming
Example:
Incoming
Detect Scam Dialog metadata
{
"sampleRate": 8000,
"subjectAudioChannel": 0,
"direction": "Incoming"
}