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 Optional- Recognition 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:Optional- Answering 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 Optional- The id of the Call. 
- message:- string - Error message.