Record complete session
This example shows how to record an entire call session. The recording will continue until the call is hung up.
Example
In this example, the caller is notified that the call is being recorded. The recording begins when the dialed number answers (startOnDialAnswer="true") and continues for the entire session (recordSession="true") until the call is hung up.
XML Response
XML Response
<Response>
<Speak>Your call is being recorded.</Speak>
<Record action="https://vobiz.ai/record/" startOnDialAnswer="true" recordSession="true"/>
<Dial>
<Number>15551234567</Number>
</Dial>
</Response>