| Attribute | Required | Values | Description |
| name | N | any text | a unique name for the tag |
| varname | Y | any text | The name assigned to the variable to contain the data. |
The following example shows a menu where a user presses 1 and the system stashes a 1 into the variable 'question1'.
<menu name="Menu1">
<play type="tts"
voice="female2">
Please enter "one" if you agree
</play>
<keypress pressed="1">
<stash varname="question1">1</stash>
</keypress>
</menu>
The following is a dynamic example. The menu asks for an input and the system will store whatever the user enter's into the 'question2' variable. The variable is then used in a get node to report back to their server.
<menu name="Menu2">
<play type="tts"
voice="female2">
Please enter "one" for strongly agree
or "nine" for strongly disagree.
</play>
<keypress pressed="Default">
<stash varname="question2">${call.lastinput}</stash>
<get>http://destination.com/test.php?name=${question2}&callerid=${call.callerid}</get>
</keypress>
</menu>
