Skip to main content

answer

Answer incoming call and set an optional maximum duration.

NameTypeDefaultDescription
answerOptionalobject-An object that contains the answer parameters.

answer Parameters

The answer method expects the following parameters.

NameTypeDefaultDescription
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