Skip to content

Instantly share code, notes, and snippets.

@tjlytle
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjlytle/2f1bc52bc09556e764fe to your computer and use it in GitHub Desktop.
Save tjlytle/2f1bc52bc09556e764fe to your computer and use it in GitHub Desktop.
<vxml version = "2.1" >
<form>
<field name="department">
<prompt>Please say sale or support. </prompt>
<grammar mode="voice" root="top">
<rule id="top">
<one-of>
<item>sales</item>
<item>support</item>
</one-of>
</rule>
</grammar>
</field>
<record name="message">
<prompt>Please leave a message for the <value expr="department" /> department.</prompt>
<filled>
<prompt>You said <value expr="message" />.</prompt>
</filled>
</record>
<filled>
<submit next="http://requestb.in/175zcps1" namelist="message department" method="post" enctype="multipart/form-data" />
<prompt>Thanks! </prompt>
</filled>
</form>
</vxml>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment