blob: b04baca9f863f9daa9f99520dd97482214ccfb17 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<config>
<input>
<property-list>
<property name="incompletetimeout" value="1s"/>
<property name="completetimeout" value="1s"/>
</property-list>
<prompt-list>
<prompt>Please speak a zip code.</prompt>
</prompt-list>
<help-list>
<help>
<prompt> Please speak a zip code like
1 0 5 3 2.
</prompt>
</help>
</help-list>
<noinput-list>
<noinput count="1">
<prompt>I did not hear you speak a zip code.</prompt>
</noinput>
<noinput count="2">
<prompt>Could you please repeat the zip code?</prompt>
</noinput>
<noinput count="3">
<prompt>I appear to be having trouble hearing you.
Waiting for you to speak a zip code. </prompt>
</noinput>
</noinput-list>
<nomatch-list>
<nomatch>
<prompt>I am sorry. I didn't understand you.
Please repeat the zip code.</prompt>
</nomatch>
</nomatch-list>
</input>
<confirm>
<property-list>
<property name="incompletetimeout" value="1s"/>
<property name="completetimeout" value="1s"/>
</property-list>
<prompt-list>
<prompt>Did you say #{model.utterance}? </prompt>
</prompt-list>
<help-list>
<help>
<prompt>To accept the zip code, say yes.
To change your mind, say no.</prompt>
</help>
</help-list>
<noinput-list>
<noinput>
<prompt>Is #{model.utterance} acceptable to you?</prompt>
</noinput>
</noinput-list>
<nomatch-list>
<nomatch>
<prompt>Is #{model.utterance} acceptable to you?</prompt>
</nomatch>
</nomatch-list>
</confirm>
<validate>
<handler errorCode="1">
<prompt>I'm sorry, but there is no default or initial value available. </prompt>
</handler>
<handler errorCode="2">
<prompt>The zip code you specified, #{model.utterance}, is not valid. </prompt>
</handler>
<handler errorCode="3">
<prompt>The zipcode you specified is not of correct length. </prompt>
</handler>
</validate>
<echo>
<property-list>
<property name="universals" value="all"/>
</property-list>
<prompt-list>
<prompt>OK, #{model.utterance}. Got it.</prompt>
</prompt-list>
</echo>
<reject>
<prompt-list>
<prompt>OK, lets try again.</prompt>
</prompt-list>
</reject>
</config>