|
|
Play a file and then record a message after the beep. The recording will be saved when the user hangs up or when they press the pound key (#).
<play type="tts"
voice="male1">
At the tone, please state your name clearly.
When you are finished, please press Pound.
</play>
<record varname="ClientName" />
Record an entire call in the background. The recording will stop when the call finishes on its own.
<dialplan name="RecordExample">
<record background="true" />
<play type="callfireid">12345</play>
<!-- Other nodes to be executed would go here -->
</dialplan>
Record a sound file and play it back to the user.
<dialplan name="RecordExample">
<play type="tts" voice="female2">Please record a message.</play>
<record varname="myrecording" />
<play type="tts" voice="female2">You recorded,</play>
<play type="url">${myrecording}</play>
<!-- Other nodes to be executed would go here -->
</dialplan>