Definition: This tag creates a recording, either as input to a prompt, or as a recording of the entire phone call.
Value: This is an empty self-closing tag.
Attributes | Required | Values | Description |
---|---|---|---|
name | N | any text | A unique name for the tag |
varname | Y | any text | Stores full path to the recording into a variable |
background | N | true | Disables the beep and records the entire call |
timeout | N | the number of milliseconds | Limits the recording |
Examples
This records the client's name. The caller has 10 seconds to do so. After 10 seconds, the recording ends and moves to the next <play> tag.
<play type="tts">please record your message after the beep</play>
<record varname="recording" timeout="10000"/>
This records the entire call. The record tag activates without any audible sound, and then the call is transferred.
<record varname="entireCall" background="true"/>
<transfer>5551234567</transfer>
Comments
0 comments
Please sign in to leave a comment.