<vxml>
<form id="intro_only">
  <block>
    <audio 
src="http://www.rivercityhockey.net/sounds/matteau.wav">Traditional Hockey 
Song.</audio>
        <pause>200</pause>
  </block>
</form>

<form id="getInput">
  <field name="document.InputBranch">

  <grammar>
  <![CDATA[
  [
  [dtmf-0 help] {<option "help">}
  [dtmf-1 results] {<option "results">}
  [dtmf-2 standings] {<option "standings">}
  [dtmf-3 today tonight] {<option "tonight">}
  [dtmf-4 tomorrow future] {<option "tomorrow">}
  [dtmf-5 game beef report] {<option "gamereport">}
  ]
  ]]>
  </grammar>

  <prompt>
    <audio>Welcome to the River City Hockey League info line!!!</audio>
    <audio>Keep checking back for service improvements.</audio>
    <audio>main menu</audio>
    <audio>Please say the following words to access the information you 
would like.
           HELP,,,
           RESULTS,,,
           STANDINGS,,,
           TONIGHT,,,
           TOMORROW,,,
           REPORT.
     </audio>

         <audio>
for help say help or press 0,,
for recent game results say RESULTS or press 1,,
for the latest RIVER city hockey league standings say STANDINGS or press 2,,
for a list of tonights hockey action say TONIGHT or press 3,,
For a list of upcoming games say TOMORROW or press 4 ,,
To post a voice game report say REPORT or press 5
        </audio>
  </prompt>

  <nomatch>
    <audio>Hugmpmf, I didn't understand</audio>
    <reprompt/>
  </nomatch>

  <noinput>
    <audio>Sorry, I didn't hear you, could you please speak up!</audio>
    <reprompt/>
  </noinput>

  <help>
    <audio>
      This automated attendent will respond to voice commands including, 
help, results, or standings. This is a test system that connects a voice 
response with web databases, and the content is dynamically produced by a 
web application server, and distributed using X M L. Fun ay?</audio>

     <audio>That list again is
press 0 or say HELP for help,,
press 1 or say RESULTS for recent game results,,
Press 2 or say STANDINGS for the latest RIVER city hockey league standings,,
Press 3 or say TONIGHT for a list of tonights hockey action,,
Press 4 or say TOMORROW to hear about future are sea h ell action.</audio>
    <reprompt/>
  </help>

  <default>
    <reprompt/>
  </default>

  <filled>
    <result name="results">
      <audio>Do you want to hear game results? Hang on.</audio>
      <cfinclude template="gameresults.vxml">
      <goto next="#getInput"/>
    </result>

    <result name="standings">
      <audio>Do you want to hear Standings? Hang on.</audio>
      <audio>We are still working on this feature.</audio>
      <goto next="#getInput"/>
    </result>
    <result name="tonight">
      <cfinclude template="tonightsgames.vxml">
      <goto next="#getInput"/>
    </result>
    <result name="tomorrow">
      <cfinclude template="upcominggames.vxml">
      <goto next="#getInput"/>
    </result>
    <result name="gamereport">
      <audio>So your gonna make a game report.,,</audio>
      <goto next="http://www.rivercityhockey.net/vxml/gamereport.vxml"/>
    </result>
  </filled>
  </field>
  </form>

</vxml>


From: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: CF-Talk <[EMAIL PROTECTED]>
Subject: Re: Voice XML
Date: Tue, 27 Feb 2001 23:08:08 -0800

Paul,

http://www.wirelessdevnet.com/channels/voice/training/voicexmloverview.html

Rick


----- Original Message -----
From: "Paul Campano" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, February 26, 2001 8:54 PM
Subject: Voice XML


 > Does anyone have sample code using CF and Voice XML, specfically code to
query a database and use the results?.  I
 > have been to studio.tellme.com, but they only give example code in Perl
and ASP.  Thanks.
 >
 > Paul Campano
 >
 >
 > Archives: http://www.mail-archive.com/[email protected]/
 > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to