> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# AMD

Answering Machine Detection provides methods that allow developers to recognize voicemail prompts with the help of artificial intelligence.
Read more about the topic in the Voicemail detection article.

## Classes

* [AnsweringMachineDetector](/api-reference/voxengine/amd/answering-machine-detector) — Answering machine or voicemail detector class.

## Enums

* [Events](/api-reference/voxengine/amd/events)
* [Model](/api-reference/voxengine/amd/model) — Answering machine or voicemail detector model.
* [ResultClass](/api-reference/voxengine/amd/result-class) — Answering machine result class, such as human, voicemail, timeout or call termination.
* [ResultSubtype](/api-reference/voxengine/amd/result-subtype) — Answering machine result subtype, such as mimic, silence or none.

## Functions

### create

Creates a new [AMD.AnsweringMachineDetector](/api-reference/voxengine/amd/answering-machine-detector) instance. You can attach sources later via the [VoxMediaUnit](/api-reference/voxengine/scenario-globals#voxmediaunit) **sendMediaTo** method.

```ts
create(parameters: AMD.Parameters): AMD.AnsweringMachineDetector
```

**Parameters**

**`parameters`** `AMD.Parameters` — required

---

## Types

### Parameters

Parameters for the `AMD.create` method.

**`model`** `AMD.Model`

Recognition model - [AMD.Model](/api-reference/voxengine/amd/model).

---

**`timeout`** `number`

*optional*

Optional. Detection timeout in milliseconds. Note that the timeout is only triggered after the `CallEvents.Connected` event. The default value is **6500**. Must not be less than **0** or greater than **20000**.

---

### Thresholds

Detection threshold in the range **0.0** - **1.0**.

**`human`** `number`

*optional*

---

**`mimic`** `number`

*optional*

---

**`voicemail`** `number`

*optional*

---