- From: Ferrans James-JFERRAN1 <James.Ferrans@motorola.com>
- Date: Wed, 12 Nov 2003 10:36:20 -0600
- To: www-voice@w3.org
Chris, This is good input and exactly the place for it. The timeout attribute and property are constants currently, so they can't be set from ECMAScript. But you could achieve a similar result within a page by preceding each prompt/collect with something like: <block name="timeout_check"> <if cond="...time check..."> <goto next="#disconnect_form"/> </if> </block> And of course as Dean points out the app server could get involved and generate pages for each listen, each with the appropriate timeout value. Another approach would be to make this a feature of the implementation platform. It could generate a platform-specific event that terminates the current listen, and then the application could say goodbye and tidy up its state. If there is no need to get the VoiceXML script involved or you need to guarantee a precise ending time, the platform could play an audio warning say 60s prior to termination (either by whispering over a prompt, inserting a sound in the current audio output stream, or whatever), and then forcefully bring the session to an end by playing a goodbye prompt to the caller and disconnecting the call. Jim Ferrans -----Original Message----- From: Sturtevant Dean [mailto:Dean.Sturtevant@comverse.com] Sent: Wednesday, November 12, 2003 9:51 AM To: 'Royles, Chris'; www-voice@w3.org Subject: RE: VoiceXML Can't you do this by querying the time (via ECMA script or on the app server) after every response and setting up the timeouts for the next request appropriately? - Dean -----Original Message----- From: Royles, Chris [mailto:Chris.Royles@vicorp.com] Sent: Wednesday, November 12, 2003 5:40 AM To: www-voice@w3.org Subject: VoiceXML Apologies if this has been posted on the wrong forum, I wish to provide feedback on the VoiceXML standard, and a possible limitation in designing voice dialogs. We have a particular application where the call must last for no longer than a specific period of time. The problem is that we cannot limit the maximum time a user is within a dialog or interactive block. The VoiceXML standard does define a 'timeout' attribute on dialogs which allows begin and end of input timeout durations, but we need an overall 'overriding' limit for the total time within the dialog. The 'maxtime' attribute on 'record', is similar to what we have in mind. It should be possible to constrain each and every dialog to a total interaction duration. regards, Chris Royles / development team. Vicorp Dr Christopher Royles Wexham Springs Senior Software Engineer Framewood Road +44 (0)1753 660 583 Wexham +44 (0)1753 660 501 SL3 6PJ chris.royles@vicorp.com Great Britain http://www.vicorp.com
Received on Wednesday, 12 November 2003 11:43:37 UTC