<?xml version="1.0" encoding="UTF-8"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/vxml
http://www.w3.org/TR/voicexml20/vxml.xsd">
<!-- set default characteristics for page -->
<property name="audiofetchhint" value="safe"/>
<property name="confidencelevel" value="0.75"/>
<form>
<!-- override defaults for this form only -->
<property name="confidencelevel" value="0.5"/>
<property name="bargein" value="false"/>
<grammar src="address_book.grxml" type="application/srgs+xml"/>
<block>
<prompt>Welcome to the Voice Address Book</prompt>
</block>
<initial name="start">
<!-- override default timeout value -->
<property name="timeout" value="5s"/>
<prompt>Who would you like to call?</prompt>
</initial>
<field name="person">
<prompt>Say the name of the person you would like to call.</prompt>
</field>
<field name="location">
<prompt>Say the location of the person you would like to call.</prompt>
</field>
<field name="confirm">
<grammar type="application/srgs+xml" src="/grammars/boolean.grxml"/>
<!-- Use actual utterances to playback recognized words, rather than returned slot values -->
<prompt>
You said to call <value expr="person$.utterance"/>
at <value expr="location$.utterance"/>.
Is this correct?
</prompt>
<filled>
<if cond="confirm">
<submit namelist="person location"
next="http://www.messagecentral.example.com/voice/make_call" />
</if>
<clear/>
</filled>
</field>
</form>
</vxml>
|