W3C home > Mailing lists > Public > www-voice@w3.org > April to June 2002

Re: avoiding duplication when exit event occours

From: Crispin Reedy <Crispin.Reedy@intervoice-brite.com>
Date: Fri, 17 May 2002 11:24:38 -0500
Message-Id: <sce4e882.012@172.16.16.64>
To: <f_yanyang@hotmail.com>, <www-voice@w3.org>
Hm, if I understand what you are saying, why not have your link grammar in your root document throw an event.  Then you can catch the event locally if you wish to "overwrite" it, or, the event will be caught in the root document if there is no catch defined in the leaf.   The catch in the leaf can be your yes/no question.


>>> "yanyang fang" <f_yanyang@hotmail.com> 05/15/02 17:05 PM >>>


Hi, everybody

I am trying to avoid duplcation, but have no idea at all.
the senario is that in banking system, customer can say exit at any 
processing  point, he will be asked( you have selected exit, do you really want to do this?" if he says "no", as a designer I would like to let him back to where he was. for example, if he was in the file validation.vxml which validate his membership , then he will be back this file. If he was in 
main menu, then he should come back to main menu,

so how can I handle this circumstance? I have a root file to hand this kinds 
of events such as operator, so that I wish to handle "exit" event in this root file as well, but not
distribute exit event in each of file. the code could be

<catch event="exit>

if event=mainmenu.exit

go to mainmenu.exit

if event=validation.exit

go to validation.vxml

</catch>



Can voicexml handle this? Any idear and suggestion you could offer to me?



Thanks in advance



Kind regrards



Yanyang


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
Received on Friday, 17 May 2002 12:25:22 GMT

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