<?xml version="1.0"?>
<!DOCTYPE vxml 
  PUBLIC "-//W3C//DTD VOICEXML 2.1//EN" "http://www.speech.kth.se/~gabriel/voicexml/vxml.dtd">
<vxml xmlns="http://www.w3.org/2001/vxml" version="2.1" xml:lang="en-US">
	<form id="trip">
		<grammar src="grammar.xml#START" type="application/grammar-xml" maxage="0"/>
		<initial name="welcome">
			<prompt bargein="false">
				Welcome to the travel booking system. You can now make your reservation.
			</prompt>
			<nomatch count="2">
				<prompt>
					Sorry, I don't understand.
					I will ask for the information one piece at a time.
				</prompt>
				<assign name="welcome" expr="true"/>
				<reprompt/>
			</nomatch>
		</initial>
		<field name="origin">
			<grammar src="grammar.xml#ORIGIN"/>
			<prompt>From where do you want to go?</prompt>
		</field>
		<field name="destination">
			<grammar src="grammar.xml#DESTINATION"/>
			<prompt>Where do you want to go to?</prompt>
		</field>
		<field name="date">
			<grammar src="grammar.xml#DATE"/>
			<prompt>Which date do you want to go?</prompt>
		</field>
		<field name="time">
			<grammar src="grammar.xml#TIME"/>
			<prompt>At what time do you want to go?</prompt>
		</field>
		<filled>
			<prompt>
				Thanks for your reservation. You have now booked a trip from <value expr="origin"/> to <value expr="destination"/>, <value expr="date"/>, <value expr="time"/>. Goodbye. 
			</prompt>
		</filled>
	</form>
</vxml>
