Events
Constants
DetectionComplete
Triggered when answering machine or voicemail detection is complete.
Parameters
AMD istance that generated the event
call:
Call that triggers the event.
callId:
string
The id of the Call.
confidence:
number
OptionalRecognition confidence. Values range from 0 (completely uncertain) to 100 (completely certain). The value is not guaranteed to be accurate, consider it while handling the event.
resultClass:
Answering machine result class, such as human, voicemail, timeout or call termination.
resultSubtype:
OptionalAnswering machine result subtype, such as MIMIC or NONE.
DetectionError
Triggered when answering machine detector throw an error.
Parameters
AMD istance that generated the event
callId:
string
OptionalThe id of the Call.
message:
string
Error message.