# recordcall

## recordcall <a href="#recordcall" id="recordcall"></a>

**Default Value:** false

Enables call recording for your script. Call recordings are stored in the variable session.callrecording and can be uploaded using the \<submit>, \<subdialog> or \<data> tags.

### Example

```markup
<?xml version="1.0"?>
<vxml version="2.0">
  <form id="form1">
    <block>
      <prompt bargein="false">
        You will not hear this message in your recording.
      </prompt>
      <goto next="#form2"/>
    </block>
  </form>

  <form id="form2">
    <property name="recordcall" value="true"/>
    <block>
      <prompt>
        You will hear this message in your recording.
      </prompt>
      <submit next="callrecord.php" namelist="callrecording"
        method="post"/>
    </block>
  </form>
</vxml>
```

### Explanation

From this example, “recordcall” is set to true, which enables call recording. The only part of the call that would be recorded is the prompt in form2 since the “recordcall” property is set within that scope and the bargein property of the first prompt in form1 is set to false. Also, note that the “callrecording” property must be used for the “namelist” property of \<submit> since it is predefined to work with “recordcall”. Make sure that you reference “callrecording” in your server-side script when capturing the posted call recording.

### Notes

None


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plumvoice.com/dev/voicexml/properties/recordcall.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
