# maxspeechtimeout

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

**Default Value:** 60 seconds

The maximum duration of user speech input. Maximum recording time (as opposed to recognition time) is set with maxtime attribute of the tag. The maxspeechtimeout value can not be less than 2 seconds.

### Example

```markup
<?xml version="1.0"?>
<vxml version="2.0">
  <property name="maxspeechtimeout" value="120s"/>
  <form>
    <record name="myrecording" beep="true">
      <prompt>
        Please record a message after the beep.
      </prompt>

      <filled>
        You just recorded the following message:
        <value expr="myrecording"/>
      </filled>
    </record>
  </form>
</vxml>
```

### Explanation

From this example, “maxspeechtimeout” is set to 120 seconds, which gives the user a maximum duration of 120 seconds for speech input.

### 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/maxspeechtimeout.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.
