W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2002

single trouble?

From: Daniel A. Molina Wegener <dmolina@switch.cl>
Date: Tue, 6 Aug 2002 12:39:34 -0400
To: "W3C Voice Mailing List" <www-voice@w3.org>
Message-ID: <NGBBLCGPDHDCHODFEAJBCEAPCAAA.dmolina@switch.cl>


Hello,

  I have trouble with this VoiceXML application, and I do
not know what is real trouble is the code or the software
used (the implemented VoiceXML browser).
  In the following lines the browser ignores every input
and goes with choice 1 option (#op1) URI jump. I have tried
using the URL, but it does not work.

--- the code begins here ---
  <menu id="app.menu.main">
    <noinput>
      <if cond="session.sharedUserData.errors == 0">
        <goto next="#app.form.site-end" />
      </if>
    </noinput>
    <prompt>
      <audio src="snd/m.989" />
    </prompt>
    <catch event="noinput">
      <script><![CDATA[ session.sharedUserData.errors-; ]]></script>
      <audio src="snd/m.507" />
      <reprompt />
    </catch>
    <catch event="nomatch">
      <script><![CDATA[ session.sharedUserData.errors-; ]]></script>
      <audio src="snd/m.536" />
      <reprompt />
    </catch>
    <choice dtmf="1" next="#op1" />
    <choice dtmf="2" next="#op2" />
    <choice dtmf="3" next="#op3" />
  </menu>

  <form id="op1">
    <block>
      <goto expr="session.sharedUserData.urigoto" />
    </block>
  </form>

  <form id="op2">
    <block>
      <goto expr="session.sharedUserData.urigoto" />
    </block>
  </form>

  <form id="op3">
    <block>
      <goto expr="session.sharedUserData.urigoto" />
    </block>
  </form>
--- the code begins here ---

Reegards
-- 
Daniel A. Molina W.
Programador
SWITCH Comunicaciones
Received on Tuesday, 6 August 2002 12:33:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 October 2006 12:48:56 GMT