Sinch Voice API: Choosing between v1 and v2
For all new projects, please use Voice API v2. This is especially important for projects involving:

- AI capabilities like Streams and Voice Relay
- Voice campaigns like Batch calling


You should only use the older Voice API v1 if one of the following is a strict requirement:

- The project must be in General Availability (GA).
- The project requires In-App voice or Conferencing (until these features are available in v2).


# Answering Machine Detection - AMD

## How does it work

The AMD SETUP must happen before the call is answered by the CALLEE, allowing Sinch's AMD Algorithm to analyze the call initial interaction. This can take from 0 up to 5 seconds.

Once the AMD check is completed our platform will inform the result via an ACE Requests to our customer's backend, as described on the Sequence diagram below.

Customers can USE the AMD feature in 2 different scenarios:

1st - When Triggering calls using our Callout feature

2nd - When Receiving calls via an Inbound number

![amd_sd](/assets/amd_sd.8ebf71593a1308dcfd5a369735d49a409afce16cc0ed341ef281e2e1b4b53dc4.eeb6343f.png)

### Use cases

#### I. Triggering custom callout calls via Sinch platform:

In a callout scenario, by default the ICE event won't be issued by our platform, as customers are actively *initiating* the call. In this case, customers must use our Custom Callout feature to force an ICE event [Custom Callouts](/docs/voice/api-reference/voice/callouts/callouts#callouts/callouts/t=request&path=&d=2/customcallout).

#### Example:

![amd_curl](/assets/amd_curl.a001060ac604e33327c0d16f2b9f750c9d86526a46dce9a5d8dcffe54c4109c1.eeb6343f.png)

#### II. Receiving calls via an Inbound number:

To enable the AMD feature, you need to configure the SVAML ICE Response with the following parameter:

"amd": {"enabled": true},

This second scenario may not be so common, but it might be useful in cases when our customers receive calls and redirect/forward the incoming calls to an user that might not be available, with this feature in place, Sinch’s customers can decide to redirect the call to another number, or play a message back to the CALLER.

Note:
The accuracy of the Answering Machine Detection feature may vary due to the variety of voicemail messages lengths, audio quality and beep types.