W3C home > Mailing lists > Public > www-voice@w3.org > October to December 2007

VXML: Regarding prompt selection after catch

From: Rajesh N <rajeshn@huawei.com>
Date: Fri, 16 Nov 2007 01:17:25 +0530
To: www-voice@w3.org
Message-id: <000001c827c0$59193f10$4518120a@china.huawei.com>
I have a doubt regarding the selection and queueing of prompts by FIA after
the exectution of a catch element, as mentioned in section 5.3.6 of VoiceXML
2.0 specification.
Please refer to the script below:
<?xml version="1.0" encoding="UTF-8"?>
<vxml version="2.1" xmlns=" <http://www.w3.org/2001/vxml>
http://www.w3.org/2001/vxml" >
    <property name="bargein" value="true"/>
    <field name="field1">
        <grammar mode="dtmf" type="application/srgs">
            <rule id="id1">
        <prompt>For field1, Dial 1, 2 or 3</prompt>   
        <filled>You pressed a valid digit for field1 </filled>
    <field name="field2">
        <grammar mode="dtmf" type="application/srgs">
          <rule id="id">
       <prompt>For field2, Dial 5, 6 or 7</prompt>
       <filled>You pressed a valid digit for field2 </filled>
       Sorry, input digit does not match

Suppose, while collecting input for the <field> field1, a nomatch occurs,
and hence nomatch event is generated. The prompt in the catch handler
(Sorry, input digit does not match) is queued, and the next iteration of FIA
is started, where field1 is again selected. Since <reprompt> was not
specified in the catch handler, the prompt "For field1, Dial 1, 2 or 3" is
not selected and queued. So the user just hears "Sorry, input digit does not
Say, this time, a proper input (digit 3) is provided. FIA proceeds to
execute the <filled>, and queues the prompt "You pressed a valid digit for
field1", and procceds to the next iteration of FIA, where field2 is
selected. Here for field2, should the prompt "For field2, Dial 5, 6 or 7" be
selected and queued for output by FIA?
Since the catch does not have a <reprompt>, is the selection of the prompt
disabled only for the FIA iteration only after catch. Or is it applicable to
the FIA iterations within the current form?
Received on Thursday, 15 November 2007 19:47:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:40 UTC