Skip to main content

answer

Answer incoming call and set an optional maximum duration.

Parameters

The answer method expects the following parameters.

NameTypeDefaultDescription
answerOptionalstring | object-Parameters to set for the answer method.
Alternatively, just a string of answer can be passed
answer.max_durationOptionalinteger14400 seconds (4 hours)Maximum duration in seconds. Can not be less than 15 seconds.

Examples

No parameters

version: 1.0.0
sections:
main:
- answer: {}

Named parameter

version: 1.0.0
sections:
main:
- answer:
max_duration: 60