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:
int32Possible values: [8000, 16000, 24000, 44100, 48000, 64000]
Example:
8000subjectAudioChannelinteger
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:
int32Possible values: [0, 1]
Default value:
0Example:
0directionstring
Whether the user is the recipient or the caller party.
Format:
CallDirection (string)Possible values: [Incoming, Outgoing]
Default value:
IncomingExample:
IncomingDetect Scam Dialog metadata
{
"sampleRate": 8000,
"subjectAudioChannel": 0,
"direction": "Incoming"
}