Data Exchange
Using the Submit Tag
Record.vxml:
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<record name="msg" beep="true" maxtime="10s" finalsilence="4000ms" dtmfterm="true" type="audio/x-wav">
<prompt timeout="5s">
Record a message after the beep.
</prompt>
<noinput>
I didn't hear anything, please try again.
</noinput>
</record>
<field name="confirm">
<grammar>
Yes|No
</grammar>
<prompt>
Your message is <audio expr="msg"/>.
</prompt>
<prompt>
To keep it, say yes. To discard it, say no.
</prompt>
<filled>
<if cond="confirm=='Yes'">
<submit next="http://mightyserver.com/Save.php" namelist="msg" method="post" enctype="multipart/form-data"/>
</if>
<clear/>
</filled>
</field>
</form>
</vxml>Using the Subdialog Tag
Using the Data Tag
Submit vs. Subdialog vs. Data
Last updated