Skip to content

Instantly share code, notes, and snippets.

@tjlytle
Last active August 29, 2015 13:58
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/10342776 to your computer and use it in GitHub Desktop.
Save tjlytle/10342776 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.1" >
<catch event="connection.disconnect.hangup" >
<assign name="duration" expr="recording$.duration" />
<submit next="http://requestb.in/vynl0avy" method="post" namelist="recording duration" enctype="multipart/form-data"/>
<exit />
</catch>
<form>
<record name="recording" dtmfterm="true" maxtime="100s">
<filled>
<assign name="duration" expr="recording$.duration" />
<submit next="http://requestb.in/vynl0avy" method="post" namelist="recording duration" enctype="multipart/form-data"/>
</filled>
</record>
</form>
</vxml>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment