# voicegender

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

**Default Value:** depends on system

This property globally sets the default gender for a VoiceXML script.

### Example

```markup
<?xml version="1.0"?>
<vxml version="2.0">
  <property name="voicegender" value="female"/>
  <form>
    <field name="myfield">
      <grammar type="application/x-jsgf" mode="voice">
        ( one | two )+
      </grammar>
      <prompt>
        Say any number of the digits one or two.
      </prompt>
      <filled>
        You said <value expr="myfield"/>.
      </filled>
    </field>
  </form>
</vxml>
```

### Explanation

None

### Notes

This property will only work if you have stand alone TTS-only prompts. It will not work if there is a mix of TTS and audio prompts within your script.


---

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