<Answer>
If a call is in the setup stage and has not yet been answered, the <Answer>
verb will answer the call. Only the first call to <Answer>
has an effect, any subsequent calls are no-ops.
<Answer>
Attributes
<Answer>
supports the following attributes that change its behavior:
Attribute | Allowed Values | Default Value |
---|---|---|
history | disable , compact , full | disable |
history
The history
attribute determines if the <Answer>
verb should be logged in the history
array of the CDR. The default is to not log.
For <Answer>
, both compact
and full
have the same effect of logging an empty payload to the history
array.
{
"payload": {}
}
<Answer>
Examples
Simple Usage
Answer the call and redirect to the /next
URL.
<Response>
<Answer/>
<Redirect>/next</Redirect>
</Response>