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

RE: Field without a prompt

From: Petrova Anastasia <Anastasia.Petrova@bercut.com>
Date: Thu, 19 Oct 2006 10:24:47 +0400
Message-ID: <CD481F25862BDF4EB3014619BACB38D803626E76@master.office.bercut.ru>
To: <Teemu.Tingander@tecnomen.com>, <www-voice@w3.org>, "Pandey, Arvind \(Arvind\)** CTR **" <pandeya@lucent.com>, "Shane Smith" <safarishane@gmail.com>
Actually, I guess I need to provide better explanation of the situation.
It's not about writing a script where field doesn't have a prompt. It's
about translating such a script for the platform that performs it. I
actually don't know why someone may need field without a prompt, but as
you confirmed, it is possible. And it's also possible that no <catch>
elements are specified within the field. So, in accordance with table in
section 5.2.5, if nomatch or noinput event occures I need to reprompt.
And the most interesting question is what should I do in this situation,
when I have a script with field that has no prompt and no event
handlers, and I need to reprompt?

 

________________________________

From: Teemu.Tingander@tecnomen.com [mailto:Teemu.Tingander@tecnomen.com]

Sent: Wednesday, October 18, 2006 12:00
To: Petrova Anastasia; www-voice@w3.org
Subject: RE: Field without a prompt

 

Hi !

 

Without not going into the reasons reasons to do field item without
prompt;, Yes. Field item can exist without any prompt. In fact the
prompts before the collection to that fields starts can be queued from
other elements processed during FIA collect phase. But if you indeed
have a field item without any prompts and reprompt request occurs
nothing is putted to prompt queue and thus nothing is prompted. In this
case you should use event counts to define amount of events
like"nomatch" can occur in that field. In  my example this count is 3.

 

<nomatch count="3">

    <-- executed when event nomatch is thrown 3rd time while the
collecting this field -->

    <prompt> Sorry I could not really under stand you, bye </prompt>

    <-- lets disconnect the phone call-->

    <disconnect/>

</nomatch> 

 

You should probably do something more clever in here. Studying FIA helps
a lot to understand the VoiceXML process / collect loop that plays a big
role in this question too. If form has more field items that you want to
collect you may use cond or filling this particulars field item to make
FIA to skip its collect.

 

The interesting part in here is the "timeout", but that's another story
then.

 

- Teemu

 

(oh I see that you got some answer already but..)

 

________________________________

From: www-voice-request@w3.org [mailto:www-voice-request@w3.org] On
Behalf Of Petrova Anastasia
Sent: 17. lokakuuta 2006 11:22
To: www-voice@w3.org
Subject: Field without a prompt

Hello. My name is Anastasia and I have a question about the
specification.

In 2.4.1 there's a sentense: Each field can have one or more prompts.

Can you clear to me, whether it is possible that field have no prompts
at all?

If this is really possible, what should I do when nomatch or noinput
event occures and I have to reprompt?

Is it an infinite loop till user says something matching a grammar, or I
should throw an error?

Thank you in advance.

 

Best regards,

Anasatsia Petrova

Software Analyst


  <http://www.bercut.com/> 

 

liter '3', 22 Moiseenko street, 
St. Petersburg, Russia, 191144 
Phone/fax: +7 812 327 32 33,
E-mail: Anastasia.Petrova@bercut.com
Web-site: http://www.bercut.com <http://www.bercut.com> 

 

 





image001.jpg
(image/jpeg attachment: image001.jpg)

Received on Thursday, 19 October 2006 06:25:09 GMT

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