<?xml version="1.0"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
<form id="greeting">
<block>
Welcome to Mars Colony 7.
<goto next="#maincontent"/>
</block>
</form>
<form id="maincontent">
<block>
Your first day on our colony will be full of
surprises. Please don't hesitate to contact
us if you get lost.
</block>
<field name="accesscode">
<nomatch count="1">
I'm sorry I don't speak Klingon.
Please just say "yes" or "no".
</nomatch>
<nomatch count="2">
There seems to be a problem with my translator.
Try one more time.
<reprompt/>
</nomatch>
<nomatch count="3">
Please go to the nearest manned transporter to
receive instructions on using the transporter.
<goto next="#goodbye"/>
</nomatch>
<noinput count="1">
I didn't hear anything.
<reprompt/>
</noinput>
<noinput count="2">
To access the community transporter, you must have
a transporter code.
<reprompt/>
</noinput>
<noinput count="3">
Sorry, I'm not a mind reader. Please go to the
nearest manned transporter for help.
<goto next="#goodbye"/>
</noinput>
<help count="1">
To move around the colony you will need a code
to access the transporter beam.
<reprompt/>
</help>
<help count="2">
When you were booked to arrive at the colony,
you were issued a transporter code. If you
have lost your code, speak the word "guest"
at any transporter and a new one will be issued.
<goto next="#goodbye"/>
</help>
<prompt>
Do you have a community transporter access code?
</prompt>
<grammar>
<![CDATA[
[yes no]
]]>
</grammar>
<filled>
<if cond="accesscode == 'yes'">
<goto next="#goodbye"/>
<else/>
Your access code is the word "guest".
<goto next="#goodbye"/>
</if>
</filled>
</field>
</form>
<form id="goodbye">
<block>
<prompt>
Enjoy your stay. Goodbye.
</prompt>
</block>
</form>
</vxml>