Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8" ?>
- <vxml version="2.1">
- <meta name="maintainer" content="YOUREMAILADDRESS@HERE.com"/>
- <form id="DeadCelebrities">
- <!-- to use SRGS Grammars, modify the grammar reference below to: -->
- <grammar src="Celeb.xml#CELEBRITY" type="application/grammar-xml"/>
- <initial name="myInit">
- <prompt>
- Welcome in insurance center. Please tell me your first name and surname.
- </prompt>
- <nomatch count="1">
- I don't understand. Let`s try again. Please tell me your first name and surname.
- <assign name="myInit" expr="true"/>
- <reprompt/>
- </nomatch>
- </initial>
- <field name="celebrity">
- <prompt>tell me your first name </prompt>
- <!-- to use SRGS Grammars, modify the grammar reference below to: -->
- <grammar src="Celeb.xml#CELEB" type="application/grammar-xml"/>
- </field>
- <field name="location">
- <prompt>tell me your surname.</prompt>
- <!-- to use SRGS Grammars, modify the grammar reference below to: -->
- <grammar src="Celeb.xml#CELEBRITY" type="application/grammar-xml"/>
- </field>
- <filled mode="all">
- <prompt>
- Thank you for your report. your first name is <value expr="celebrity"/>
- your surname is <value expr="location"/>
- </prompt>
- <block>
- <goto nexxtitem="#Form_1">
- </block>
- </filled>
- <field name="location">
- <subdialog name="SubD_1" src="Subdialog_File.xml">
- <param name="question" expr="' For car crash, press one. someone die, press two.
- another accident, press three.'"/>
- </subdialog>
- </field>
- </form>
- <form id="Form_1">
- <subdialog name="SubD_1" src="Subdialog_File.xml">
- <param name="question" expr="' For car crash, press one. someone die, press two.
- another accident, press three.'"/>
- </subdialog>
- </form>
- </vxml>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement