Start answering machine detection on a connected leg
post/legs/{id}/amd
Request body
initial_silence_timeoutinteger
Max milliseconds of silence before declaring no_speech
greeting_durationinteger
Speech duration threshold (ms) above which answerer is classified as machine
after_greeting_silenceinteger
Silence duration (ms) after initial speech to declare human
total_analysis_timeinteger
Max analysis window in milliseconds. A threshold longer than this window suppresses that verdict; a window shorter than all of initial_silence_timeout, greeting_duration and after_greeting_silence is rejected, since the call could only end not_sure.
minimum_word_lengthinteger
Minimum speech burst duration (ms) to count as a word
beep_timeoutinteger
Max time (ms) to wait for the voicemail beep after machine detection. 0 or omitted = disabled.