System and process for developing a voice application
23 claims: 12 independent, 11 dependent
- 1A process for developing a voice application, including:generating graphical user interface components for selecting and interconnecting graphical icons representing dialog elements for voice applications, said dialog elements representing functional components of voice applications, having user configurable properties, and corresponding to respective predetermined sequences of VoiceXML elements;receiving user input generated by user interaction with said graphical user interface components, said user input representing selection, arrangement, and interconnections of one or more of said graphical icons, and configuration of dialog elements corresponding to one or more of the selected graphical icons;processing said user input to define a voice application by selecting dialog elements corresponding to the selected ones of said icons, configuring properties of one or more of the selected dialog elements, and defining execution flows of said voice application from the interconnections of the selected icons;and generating application code to provide said voice application;characterised in that : the interconnections of the selected icons define a tree structure of execution flows for the voice application, each path through said tree structure representing a corresponding one of said execution flows;and said application code represents each dialog element of said application as a linked sequence of VoiceXML elements including extended attributes that store additional dialog information related to said tree structure, wherein said linked sequence of VoiceXML elements allows the selected dialog elements and the configured properties and the tree structure of execution flows to be determined more efficiently from said application code.
- 15A system (100) for use in developing a voice application, including:a dialog element selector for defining execution flow of a voice application by selecting and interconnecting graphical icons representing dialog elements for said voice application, said dialog elements representing functional components of said voice application, having user configurable properties, and corresponding to respective predetermined sequences of VoiceXML elements;means (400) for receiving user input generated by user interaction with said dialog element selector, said user input representing selection, arrangement, and interconnections of one or more of said graphical icons, and configuration of dialog elements corresponding to one or more of the selected graphical icons;means for processing said user input to define a voice application by selecting dialog elements corresponding to the selected ones of said icons, configuring properties of one or more of the selected dialog elements, and defining execution flows of said voice application from the interconnections of said icons;and a code generator (208) for generating application code to provide said voice application;characterised in that : the interconnections of the selected icons define a tree structure of execution flows for the voice application, each path through said tree structure representing one of said execution flows;and said application code represents each dialog element of said application as a linked sequence of VoiceXML elements including one or more extended attributes that store additional dialog information related to said tree structure, wherein the linked sequence allows the selected dialog elements and the configured properties and the tree structure of execution flows to be determined more efficiently from said application code.
Independent claims12
60 paragraphs in 7 sections, as filed
FIELD OF THE INVENTION
The present invention relates to a system and process for generating a voice application.
BACKGROUND
A voice application is a software application that provides an interactive audio interface, particularly a speech interface, on a machine, such as an Interactive Voice Response (IVR) system. IVRs, such as Intel's Dialogic™ IVR, are used in communications networks to receive voice calls from parties. The IVR is able to generate and send voice prompts to a party and receive and interpret the party's responses made in reply.
Voice extensible markup language, or VoiceXML, is a markup language for voice or speech-driven applications. VoiceXML is used for developing speech-based telephony applications, and also enables web-based content to be accessed via voice using a telephone. VoiceXML is being developed by the VoiceXML Forum, and is described at <u>http://www.voicexml.org</u>. Due to the verbose nature of VoiceXML, it can be cumbersome to develop VoiceXML-based applications manually using a text or XML editor. Consequently, voice application development systems are available that allow voice applications to be developed by manipulating graphical elements via a graphical user interface rather than coding VoiceXML directly. However, these systems are limited in their ability to assist a developer.
<patcit id="pcit0001" dnum="WO9850907A"><text>WO 98/50907 (Marx, Matthew T; Carter, Jerry K; Phillips, Michael S; Holthouse, M</text></patcit>) discloses a plurality of dialogue modules in a speech processing system, wherein each dialogue module includes computer readable instructions for accomplishing a predefined interactive dialogue task in an interactive speech application. In response to user input (Figure 7, 51), a subset of the plurality of dialogue modules (Figure 7, 710, 720, 730) are selected to accomplish their respective interactive dialogue tasks and are interconnected in an order defining the call flow of the application (<figref idref="f0001">Figure 1</figref>, 110-180). A graphical user interface is disclosed, representing the stored plurality of dialogue modules as icons in a graphical display (Figure 7) in which icons are selected in the graphical display in response to user input, the icons for the subset of dialogue modules are graphically interconnected and the interactive speech application is generated based upon the graphical representation.
<patcit id="pcit0002" dnum="EP0685955A"><text>EP-A-0 685 955</text></patcit> (AT&T Corp) describes a service development system that allows selecting and arranging instantiations of predetermined "pictures", e.g., icons, into a multilevel outline which generally specifies the service logic of a desired service. Each picture represents a "service building block", e.g., a high level process part and its customizable attributes, and for each instantiation of a picture in the multilevel outline there exists a corresponding instantiation of a service building block. The operation of the instantiations of the service building blocks are customizable in response to attributes supplied by the service creator.
The document <nplcit id="ncit0001" npl-type="s" url="http:Hweb.archive.org/web/20020205091431/community.voxeo.com./vd2.isp"><text>Voxeo Designer 2.0 web page, available at http:Hweb.archive.org/web/20020205091431/community.voxeo.com./vd2.isp</text></nplcit>, discloses an application development tool for voice applications. A graphical representation of the logic in a voice application is displayed and can be manipulated in a workspace. VoiceXML or CallXML elements may be added to the workspace by clicking on an icon corresponding to that element in the toolbar. Properties for each element can be viewed and/or modified using a separate window.
Telera AppBuilder data sheet, retrieved from <u>http://www.telera.com/stageone/files/Telera/collateral/app builder 3-20 hi-pdf</u>, discloses a visual-based application development tool for VoiceXML applications. The tool provides palettes having blocks that represent predetermined call flow functionality. Blocks may be added by a drag-and-drop action to build a call flow for a voice application.
Nuance V-Builder web page, retrieved from <u>http://web.archive.org/web/20020201161856/www.nuance.com/products/vbuilder.html</u> discloses an application development tool for creating voice-enabled sites or applications based on VoiceXML. The tool provides a drag-and-drop graphical user interface. The tool uses VoiceXML components and Nuance SpeechObjects (i.e. reusable speech components). The tool also provides a single environment for creating, editing and debugging prompts, VoiceXML and grammars.
International Patent Publication <patcit id="pcit0003" dnum="WO0051016A"><text>WO 00/51016</text></patcit> (Unisys Corporation) discloses an application design tool for creating natural language dialogue applications. The system defines compartments and connects them to form a dialogue flow for that application (see <figref idref="f0005">Figure 6</figref>). Each compartment may have one or more different compartments that connect into it or connect from it (see items 92 and 93 in <figref idref="f0005">Figure 6</figref>). Design screens (see Figures 7, 8 and 9) for the compartments allow users to define or edit properties (such as sounds, variables, prompts and responses) associated with each compartment. Compartments may also be played back or used in an actual or simulated environment for testing and debugging. The dialogue flow may ultimately be converted into machine-readable code that can be used by interactive voice response systems.
<patcit id="pcit0004" dnum="WO02063460A2"><text>WO 02/063460 A2</text></patcit> discloses a system for creating voice XML files automatically, comprising: a graphic user interface for defining a plurality of icons, wherein each of said icons corresponds to one or more attributes of voice XML; voice XML tag generator for interpreting said action stream based on a library of voice XML tags, generating the corresponding voice XML tags; and, voice XML file generator for combing the contents to be played with the tags generated by the voice XML tag generator according voice XML syntax, for creating the voice XML file. This system can create the voice XML file for the TTS voice XML file or the real-time-recorded voice XML file.
<patcit id="pcit0005" dnum="WO0237268A2"><text>WO 02/37268 A2</text></patcit> describes a computer software product (200) that is used to create applications for enabling a dialogue between a human and a computer. The software product provides a programming tool (210) that insulates software developers from time-consuming, technically-challenging programming tasks by enabling the developer to specify generalized instructions to a Dialogue Flow Interpreter (232), which invokes functions to implement a speech application, automatically populating a library (540) with dialogue objects that are available to other applications. The speech applications created through the DFI may be implemented as COM (component object model) objects, and so the applications can be easily integrated into a variety of different platforms. In addition, 'translator' object classes are provided to handle specific types of data, such as currency, numeric data, dates, times, string variables, etc. These translator object classes have utility either as part of the DFI library or as a sub-library separate from dialogue implementation.
It is desired to provide a process and system for developing a voice application that improves upon the prior art, or at least provide a useful alternative to existing voice application development systems and processes.
SUMMARY OF THE INVENTION
In accordance with the present invention, there is provided a process for developing a voice application, including: <ul id="ul0001" list-style="none" compact="compact"><li>generating graphical user interface components for selecting and interconnecting graphical icons representing dialog elements for voice applications, said dialog elements representing functional components of voice applications, having user configurable properties, and corresponding to respective predetermined sequences of VoiceXML elements;</li><li>receiving user input generated by user interaction with said graphical user interface components;</li><li>processing said user input to define a voice application by selecting dialog elements corresponding to selected ones of said icons, configuring properties of the selected dialog elements, and defining execution flow of said voice application from an interconnection order of said icons; and</li><li>generating application code to provide said voice application; characterised in that: <ul id="ul0002" list-style="none" compact="compact"><li>said graphical user interface components allow a user to define a tree structure of execution flows for the voice application by arranging and interconnecting said icons in said tree structure, each path through said tree structure representing one of said execution flows; and</li><li>said application code represents each dialog element of said application as a sequence of VoiceXML elements including one or more extended attributes that allow said tree structure of said voice application to be determined from said application code.</li></ul></li></ul>
The present invention also provides a system for use in developing a voice application, including: <ul id="ul0003" list-style="none" compact="compact"><li>a dialog element selector for defining execution flow of a voice application by selecting and interconnecting graphical icons representing dialog elements for said voice application, said dialog elements representing functional components of said voice application, having user configurable properties, and corresponding to respective predetermined sequences of VoiceXML elements;</li><li>means for receiving user input generated by user interaction with said dialog element selector;</li><li>means for processing said user input to define a voice application by selecting dialog elements corresponding to selected ones of said icons, configuring properties of the selected dialog elements, and defining execution flow of said voice application from an interconnection order of said icons; and</li><li>a code generator for generating application code to provide said voice application; characterised in that: <ul id="ul0004" list-style="none"><li>said dialog element selector allows a user to define a tree structure of execution flows for the voice application by arranging and interconnecting said icons in said tree structure, each path through said tree structure representing one of said execution flows; and</li><li>said application code represents each dialog element of said application as a sequence of VoiceXML elements including one or more extended attributes that allow said tree structure of said voice application to be determined from said application code.</li></ul></li></ul>
BRIEF DESCRIPTION OF THE DRAWINGS
Preferred embodiments of the present invention are hereinafter described, by way of example only, with reference to the accompanying drawings, wherein: <ul id="ul0005" list-style="none" compact="compact"><li><figref idref="f0001">Figure 1</figref> is a block diagram showing a preferred embodiment of a voice application development system connected to an IVR via a network, and a telephone connected to the IVR via the PSTN;</li><li><figref idref="f0002">Figure 2</figref> is a schematic diagram of the voice application development system, showing how a voice application is developed;</li><li><figref idref="f0003">Figure 3</figref> is a flow diagram of a voice application development process executed by the system;</li><li><figref idref="f0004">Figure 4</figref> is a screenshot of a graphical user interface of the voice application development system;</li><li><figref idref="f0004">Figure 5</figref> is a screenshot of a dialog element selection bar of the graphical user interface; and</li><li><figref idref="f0005">Figure 6</figref> is a flow diagram of a code generation process executed by the system.</li></ul>
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
As shown in <figref idref="f0001">Figure 1</figref>, a voice application development system 100 can be connected to a VoiceXML-enabled interactive voice response system (IVR) 102 via a communications network 104. The system 100 executes a voice application development process which allows an application developer to develop a speech based application using a graphical user interface of the system 100. The application can then be transferred to the IVR 102 via the network 104. A standard telephone 106 can be used to access the IVR 102 via the public switched telephone network (PSTN) 108, allowing a user of the telephone 106 to interact with the speech based application simply by speaking into the telephone 106 to provide speech input to the application in response to voice prompts provided by the IVR 102 from the application. In the described embodiment, the voice application development system 100 is a standard computer system, such as an Intel™-based personal computer running a Microsoft Windows™ operating system, and the voice application development process is implemented by software modules stored on hard disk storage of the voice application development system 100. However, it will be apparent to those skilled in the art that at least parts of the voice application development process can be alternatively implemented by dedicated hardware components such as application-specific integrated circuits (ASICs). The voice application runs on the IVR 102, which may be an Intel Dialogic™ IVR with Nuance's Voice Web Server™ software. The network 104 may be any secure communications network that enables voice applications to be loaded onto the IVR 102, such as an Ethernet LAN or TCP/IP network.
As shown in <figref idref="f0002">Figure 2</figref>, the voice application development system 100 includes a dialog editor module 202, a dialog transformer module 204, an application builder module 206, an IVR code generator 208, other application development modules 210, VoiceXML templates 212, and EMCAscript templates 230. The voice application development system 100 constitutes an integrated development environment (IDE) for the development of speech based applications. The system 100 executes an application development process, as shown in <figref idref="f0003">Figure 3</figref>, that allows a user of the system 100 to develop a voice application for a particular IVR platform.
When the process begins, the system 100 generates a graphical user interface, as shown in <figref idref="f0004">Figure 4</figref>. The interface is in the form of a window 400 with a project pane 402, a tools pane 404, and a messages pane 406. The window 400 also includes a main menubar 408 and a main toolbar 410. The main menubar 408 includes a Tools menu that provides access to a number of modules of the system 100 that are used to develop voice applications, as described below, and the tools pane 404 provides an interface to each tool when that tool is executed.
To develop a speech based application, a user of the system 100 can create a new project or open a saved project by selecting a corresponding menu item from the "Files" menu of the main menubar 408. The dialog editor 202 is then executed, and a tabbed dialog panel 411 is added to the tools pane 404, providing an interface to the dialog editor 202, and allowing the user to define an execution flow, referred to as a dialog, for the application. The dialog panel 411 includes a dialog pane 412, a dialog element toolbar 414 referred to as the dialog palette, a dialog element properties pane 416, and a dialog element help pane 418.
An application can be built from a set of seventeen dialog elements represented by icons in the dialog palette 414, as shown in <figref idref="f0004">Figures 4 and 5</figref>. Each element represents a complete or partial component of the voice application, such as a menu, a menu choice, a form, an execution loop, a speech prompt, and so on. The full set of dialog components is given in Appendix A. A dialog element is added to the dialog by selecting the element from the dialog palette 414 using a pointing device of the system 100 such as a mouse or tablet, and placing the selected dialog element on the dialog editor pane 412 using a drag-and-drop action. Each dialog element has a number of properties that can be set by the user. Once placed in the dialog editor pane 412, an instance of the selected dialog element is added to the dialog and its properties can be set. When a dialog element instance in the dialog editor pane 412 is selected, its property names and associated values are displayed in the properties pane 416. The properties pane displays the name of each property, and includes controls such as check boxes and buttons to allow the user to modify the values of existing properties, and to add or delete new properties. The dialog element help pane 418 displays help information for the selected element, facilitating the rapid development of the application.
The execution flow of the application is defined by adding dialog elements to the dialog editor pane 412, setting the properties of the dialog elements, and defining the execution order of the dialog elements. The latter is achieved by dragging a dialog element and dropping it on top of an existing dialog element in the dialog editor pane 412. The dropped element becomes the next element to be executed after the element that it was dropped onto. The sequence and properties of dialog elements on the dialog editor pane 412 defines a dialog. Thus a dialog represents the execution flow of a voice application as a sequence of dialog elements. This sequence represents the main flow of the application and provides a higher-level logical view of the application that is not readily evident from the application's VoiceXML code. Thus the dialog provides a clear and logical view of the execution of the application. In addition to the main flow, non-sequential execution branches can be created by using a Jump dialog element. However, such non-sequential execution is not represented in a dialog. A subroutine is represented by an icon in the project pane 402 and appears as an icon in the dialog editor pane 412 when the main dialog is displayed. The execution flow of a subroutine can be displayed by selecting its icon in the project pane 402.
The sequencing of a dialog is facilitated by enforcing strict rules on dialog elements and by including explicit links in the dialog code to transition from one dialog element to the next. In contrast to arbitrary VoiceXML code whose execution can be completely non-sequential due to the presence of "GOTO" tags, a dialog generated by the system 100 has a tree structure, with each path through the tree representing a possible path of dialog execution. This allows the dialog flow to be readily determined and displayed using high level graphical dialog elements, which would be much more difficult with arbitrary VoiceXML.
An application can be saved at any time by selecting a "Save" menu item of the "File" menu of the menubar 410. When an application is saved, the application dialog is translated into an extended VoiceXML format by the dialog transformer 204. Each dialog element in the dialog flow is first translated into corresponding VoiceXML code. Each of the seventeen dialog elements corresponds to one of the seventeen VoiceXML templates 212 that performs the functionality of that element. A VoiceXML template is a sequence of VoiceXML elements that produces the behaviour that the dialog element represents. It is a template because it needs to be configured by the element properties (e.g., name, test condition) which are set by the user, as described above.
Some dialog elements correspond to similar VoiceXML elements (e.g., a Menu dialog element corresponds to a VoiceXML <menu> element), while others map onto a complex sequence of VoiceXML elements (e.g., a Loop dialog element corresponds to multiple VoiceXML <form> elements, each form specifying the next form to execute in an iterative loop). However, even dialog elements that correspond to similar VoiceXML elements represent more functionality than the equivalent VoiceXML element. For example, a Menu dialog element allows prompts to be set by the user, and the Menu dialog element actually maps onto a block of VoiceXML code that contains a <menu> element with embedded <prompt>, <audio>, and other XML elements.
Each dialog element's VoiceXML template is separate from the next and can be sequenced to produce the dialog flow. The sequencing is achieved by a reference at the bottom of each element's template to the next element's template, which causes the templates to be executed in the desired order.
The translation from high-level dialog elements into VoiceXML proceeds as follows. The dialog elements are stored in a tree structure, each branch of the tree corresponding to a path in the dialog flow. The tree is traversed in pre-order traversal to convert each element visited into VoiceXML. For each visited dialog element, VoiceXML code is generated from its corresponding VoiceXML template by filling in the missing or configurable parts of the template using the element properties set by the user, and adding a link to the next element's VoiceXML code at the bottom of the current element's generated VoiceXML code.
Although the forward transformation from dialog flow to VoiceXML is relatively straightforward, the reverse transformation from VoiceXML to dialog flow is more difficult. The sequencing of dialog elements can be recreated from the generated VoiceXML, but property settings for the elements may not be available because some information in the dialog elements is lost when they are converted to VoiceXML. This lost information may not fall within the scope of VoiceXML, and hence, cannot be naturally saved in VoiceXML code. For example, type information for a Form element is used to generate the grammar for that Form. However, the VoiceXML code simply needs to reference the generated Grammar File and is not concerned with the type information itself. Thus, the mapping of the Form element to equivalent VoiceXML code does not include the type information.
To facilitate the reverse translation from VoiceXML, code to dialog, the dialog transformer 204 modifies the VoiceXML code by inserting additional attributes into various element tags, providing dialog element information that cannot be stored using the available VoiceXML tags. The resulting file 214 is effectively in an extended VoiceXML format. The additional attributes are stored in a separate, qualified XML namespace so that they do not interfere with the standard VoiceXML elements and attributes, as described in the <nplcit id="ncit0002" npl-type="s" url="http://www.w3.org/TR/1999/REC-xml-names-19990114/"><text>World Wide Web Consortium's (W3C) Namespaces in XML recommendation, available at http://www.w3.org/TR/1999/REC-xml-names-19990114/</text></nplcit>. This facilitates the parsing of extended VoiceXML files.
Specifically, an extended VoiceXML file can include the following namespace declaration: <pre listing-type="program-listing"> <vxml version="1.0" xmlns:lq="http://www.telstra.com.au/LyreQuest"></pre> This defines a namespace prefix "lq" as bound to the universal resource indicator (URI) <u>http://www.telstra.com.au/LyreQuest</u>. Subsequently, the file may contain the following extended VoiceXML: <pre listing-type="program-listing"> <form id="SUBROUTINECALL_getMembership" lq:element="SubroutineCall" lq:name="getMembership" lq:calls="subl.vxml#etMembershipSub"> <subdialog name="subcall" src="sub1.vxml#SUBROUTINE_getMembershipSub"> <filled> <assign name="getMembership.enrich_membership" expr="subcall.enrich_membership" lq:element="Output"/> </filled> </subdialog> <block name="link"> <goto next="#REMOTE_book_flight"/> </block> </form></pre> where the indicated XML tag attributes provide the additional dialog element information, and the remaining code is standard VoiceXML. The additional or extended attributes include the lq namespace prefix. The lq:element, lq:name, and lq:calls attributes indicate, respectively, the dialog element that the VoiceXML corresponds to, the name given to that element by the user, and the package and name of the Subroutine element that is being called by the SubroutineCall element. Other elements will have different extended attributes.
The equivalent code in VoiceXML omits the extended attributes, but is otherwise identical: <pre listing-type="program-listing"> <form id="SUBROUTINECALL_getMembership"> <subdialog name="subcall" src="subl.vxml#SUBROUTINE_getMembershipSub"> <filled> <assign name="getMembership.enrich_membership" expr="subcall.enrich_membership"/> </filled> </subdialog> <block name="link"> <goto next="#REMOTE_book flight"/> </block> </form></pre>
Two extended VoiceXML files, including all the available extended attributes, are listed in Appendix B.
When the application is saved, the dialog transformer 204 also generates a number of other files, including a project file 216, package description files 218, and type description files 220. The project file is given a filename extension of ".1qx", and contains information about the packages (<i>i.e</i>., self-contained groups of files) and other data files making up a project of the voice application development system 100.
An example project file is listed below. Within the project file, the project is defined by a "project" XML element that defines the project name as "mas". Within the "project" element are four sequential "folder" elements that define subdirectories or folders of the directory containing the project file, respectively named Packages, Transcripts, Scenarios, and Generated Code. These folders contain respectively the project's packages, transcripts of text, scenarios of interaction between the corresponding application and a user, and VoiceXML code and grammar generated for one or more specific IVR platforms. Within the "Packages" folder element is a "package" element giving the location and name of any packages used by the project. The "folder" elements can contain one or more "file" elements, each defining the type and name of a file within the encapsulating folder. The "folder" elements can be nested. <pre listing-type="program-listing"> <?xml version="1.0"?> <project name="mas"> <folder name="Packages" directory="packages"> <package directory="mas" file="mas.pkg.xml"/> </folder> <folder name="Transcripts" directory="transcripts"> <file type="transcript" name="mas.in"/> <file type="negative" name="mas.negative"/> </folder> <folder name="Scenarios" directory="scenarios"^ > <file type="scenario" name="mas.scen"/> <file type="states" name="mas.states"/> </folder> <folder name="Generated Code" directory="deploy"> <folder name="JSGF Code" directory="jsgf"> </folder> <folder name="Nuance Code" directory="nuance"> </folder> </folder> </project></pre>
A package description file is given a filename extension of ".pkg.xml", and contains information about data files belonging to an individual Package of a project. An example of a package description file for the package named "mas" is given below. The file defines the project's dialog file as "mas.vxml", four grammar files, four prompt files, and three type definition files, containing definitions of user-defined variable types. These files are described in more detail below. <pre listing-type="program-listing"> <?xml version="1.0"?> <package name="mas"> <file type="dialog" name="mas.vxml"/> <file type="grammar"> <file type="rulelist" name="mas.rulelist"/> <file type="cover" name="mas.cover"/> <file type="slots" name="mas.slots"/> <file type="targets" name="mas.targets"/> </file> <file type="prompt"> <file type="rulelist" name="mas.prompts.rulelist"/> <file type="cover" name="mas.prompts.cover"/> <file type="slots" name="mas.prompts.slots"/> <file type="targets" name="mas.prompts.targets"/> </file> <file type="typedef" name="cities.type.xml"/> <file type="typedef" name="fare_class.type.xml"/> <file type="typedef" name="collection__point.type.xml"/> </package></pre>
A Type description file is given a filename extension of ".type.xml", and contains information about a user-defined Type used in a Package of a project. An example of the file is given below. The file defines an enumerated type named "fare_class" with three possible values: "first", "business", and "economy". The "fare_class" type is associated with four files, respectively defining rules for the grammar, cover (a set of example phrases), slots (the parameter=value fields that the grammar can return), and targets (more specific slot filling information). <pre listing-type="program-listing"> <?xml version="1.0" encoding="utf-8"?> <types> <enum name="fare_class"> <file type="grammar"> <file type="rulelist" name="fare_class.rulelist"/> <file type="cover" name="fare_class.cover"/> <file type="slots" name="fare_class.slots"/> <file type="targets" name="fare_class.targets"/> </file> <item name="first"/> <item name="business"/> <item name="economy"/> </enum> </types></pre>
Returning to <figref idref="f0003">Figure 3</figref>, in order to deploy the application on the IVR 102, the application dialog is translated into VoiceXML by the application builder 206 at step 604. In addition to the dialog, voice applications require grammar and prompts. The application builder 206 generates grammar files 222 and prompts files 224 automatically, using information specified by the user and stored in the dialog, such as prompt wordings and Form input types. This information is supplied by the user entering typical phrases for 'mixed initiative' recognition <i>(i.e.,</i> input containing multiple pieces of information). By applying generalisation methods to these phrases, a combinator module of the application development modules 210 generates a starting grammar set capable of handling a large number of input phrases. The application builder 206 also invokes the dialog transformer 204 to create the extended VoiceXML file 214. The grammar 222 and prompts 224 files are used by the IVR code generator 208 to generate VoiceXML 226 for the IVR 102.
A generated grammar file is given a filename extension of ".rulelist". An example of a generated grammar file for a flight booking system is: <pre listing-type="program-listing"> .Ask_flight_details_destination Cities:X 2 0 destination=$X.cities .Ask_flight_details_departure_point Cities:X 2 0 departure_point=$x.cities .Ask_flight_details_ticket_class Fare_class:X 2 0 ticket_class=$X.fare_class .Ask_flight_details_date Date:X 2 0 date.day=$X.date.day date.year=$X.date.year date.day_of_week=$X.date.day_of_week date.month=$X.date.month date.modifier=$X.date.modifier .Form_flight_details booking 2 1 .Ask_book_flight_confirmation Confirmation:X 2 0 confirmation=$X.confirmation .Ask_get_enrich_number_enrich_number Digitstring:X 2 0 enrich_number=$X.digitstring .Ask_get_collection_point_collection_point Collection_point:X 2 0 collection_point=$X.collection_jpoint .Ask_another_flight_second_flight Confirmation:X 2 0 second_flight=$X.confirmation .Ask_get_number_get number_for_balance Digitstring:X 2 0 get_number_for_balance=$X.digitstring .Menu_main_menu_booking Booking 2 0 !!Booking booking 3.0 !!Booking 1 0 .Menu_main menu_membership Membership 2 0 !!Membership membership 3 0 !!Membership 1 0 .Form_flight_details GF_IWantTo:X738 book a Fare_class:X741 class ticket to Cities:X745 from Cities:X747 on Date:X749 2 1 date.day=$X749.date.day date.year=$X749.date.year ticket_class=$X741.fare_class date.day_of_week=$X749.date.day_of_week date.month=$X749.date.month departure_point=$X747.cities destination=$X745.cities date.modifier=$X749.date.modifier .Form_flight_details GF_IWantTo:X750 book a Fare_class:X753 class ticket to Cities:X757 2 1 ticket_class=$X753.fare_class destination=$X757.cities</pre>
The first line or rule of this grammar can be used as an example: <ul id="ul0006" list-style="none" compact="compact"><li>.Ask_flight_details_destination Cities:X 2 0 destination=$X.cities</li></ul>
This grammar rule might be invoked when a flight booking application prompts a customer to provide the destination of a flight. The first field, .Ask_flight_details_destination, provides the name of the grammar rule. The second field, cities :X, indicates that the customer's response x is of type Cities. This type is defined by its own grammar that includes a list of available city names. The following two fields, 2 0, are used for grammar learning, as described in International Patent Publication No. <patcit id="pcit0006" dnum="WO0078022A"><text>WO 00/78022</text></patcit>, <i>A Method of Developing an Interactive System.</i> The first field indicates the number of training examples that use the grammar rule. The second field indicates the number of other rules that refer to the rule. The last field, destination=$x.cities, indicates that the result of the rule is that the parameter destination is assigned a value of type Cities having the value of x. A more complex example is provided by the last rule : <pre listing-type="program-listing"> .Form_flight_details GF_INantTo:X750 book a Fare_class:X753 class ticket to Cities:X757 2 1 ticket_class=$X753.fare_class destination=$X757.cities</pre>
In this case, the grammar rule invokes three other grammars: GF_IwantTo, Fare_class, and cities and assigns the results to parameters named X750, X753, and X757, respectively. This rule defines the application parameters ticket_class and destination.
A prompts file is given a filename extension of ".prompts.rulelist", and each line of the file defines the speech prompt that is to be provided to a user of the application when the corresponding element of the dialog is executed. An example of a generated prompts file is: <pre listing-type="program-listing"> .Goodbye thank you for using this application. goodbye. 1 1 .Noinput sorry, i did not hear anything. 1 1 .Nomatch sorry, i did not understand you. 1 1 .Ask_flight_details_destination where would you like to go 1 1 .Ask_flight_details_destination_2 please say the destination city name 1 1 .Help_Ask_flight_details_destination please say the destination. 1 1 .Ask_flight_details_departure_point where would you like to fly from 1 1 .Ask_flight_details_departure_point_2 please say the departure point 1 1 .Help_Ask_flight_details_departure_point please say the departure point. 1 1 .Ask_flight_details_ticket_class what class would you like to fly 1 1</pre>
The format of the prompts file is the same as the grammar file. This allows the prompts to be improved through machine learning as though they were a grammar, using a grammar learning method such as that described in International Patent Publication No. <patcit id="pcit0007" dnum="WO0078022A"><text>WO 00/78022</text></patcit>, <i>A Method of Developing</i> an <i>Interactive System.</i>
The generated prompts include dynamically prompts. An example of a dynamic prompt is: "You have selected to buy Telstra shares. How many of the Telstra shares would you like to buy?". The word, "Telstra" is dynamically inserted into the application's prompt to the user.
The voice application development system 100 generates text-to-speech (TTS) prompts within the VoiceXML code that are evaluated on the fly. Although VoiceXML syntax allows an expression to be evaluated and played as a TTS prompt, the system 100 extends this by allowing an ECMAscript or JavaScript function to be called to evaluate each variable used in a prompt. By evaluating variables in a function rather than as an inline expression, complex test conditions can be used to determine the most suitable prompt given the available information in the variables. This might result in a prompt, for example, of "six dollars" rather than "six dollars and zero cents". In addition to automatically generating and incorporate JavaScript function calls in VoiceXML, the system 100 also generates the corresponding JavaScript functions by incorporating user-supplied prompt text and variables into the JavaScript templates 230. This allows the user to develop a voice application with dynamically generated prompts without having to manually code any JavaScript.
For example, an automatically generated function call for a prompt named PromptConfirm_payment_details is: <pre listing-type="program-listing"> <field name="confirm"> <grammar src="mas.gsl#Confirm"/> <prompt> <value expr="PromptConfirm_payment details( payment_details.company, payment_details.amount, payment_details.payment_date)"/> </prompt></pre>
The corresponding JavaScript prompt function generated by the system 100 is: <pre listing-type="program-listing"> function PromptConfirm_payment_details(company,amount, payment_date) { var result; result = "the company is " + Bpay_names(company) + "the amount is " + Money(amount) + "the payment date is " + Date(payment_date) + "is this correct? "; if( valid_string(result)) { return result; } ; return result; }</pre>
The system 100 represents prompts using a language model that describes all of the prompts that can be played, along with their meanings. This model contains the same type of information as a speech recognition grammar, and therefore the prompts to be played can be represented using a grammar. Prompts to be generated by the application are first represented as a grammar to enable that grammar to be improved using techniques such as grammar learning, as described in International Patent Publication No. <patcit id="pcit0008" dnum="WO0078022A"><text>WO 00/78022</text></patcit>, <i>A Method of Developing an Interactive System.</i> The grammar is subsequently converted into JavaScript and referenced by the application's VoiceXML tags, as described above.
An example of a prompt represented as a grammar is: <pre listing-type="program-listing"> .Confirm_payment_details the company is Bpay_names:x1 the amount is Money:x2 the payment date is Date:x3 is this correct? 1 company=$x1.company amount.dollars=$x2.amount.dollars amount.cents=$x2.amount.cents payment-date=$x3.payment_date</pre>
Returning to <figref idref="f0003">Figure 3</figref>, after the application has been built at step 604, that is, the extended VoiceXML 214, the grammar 222 and the prompts 224 for the application have been generated by the application builder 206, the application can be tested and further developed at steps 606 to 610. Steps 606, 608, 610 and 612 can be executed in any order. At step 606, the application can be simulated and refined. This involves simulating the execution of the application and refining its accuracy by allowing the user to tag phrases that do not match the existing grammar. When user input during testing does not match the grammar, a dialog box is displayed, allowing the user to tag the phrase and supply the correct 'slot' or slots corresponding to that input. A slot is a parameter=value pair for the application, such as "fare_class=business". A grammar learner module of the application development modules 210 then uses a transcript of the simulation to update the application grammar 222. New phrases learnt from this grammar are then displayed to the user, who can manually tag individual phrases as being incorrect. At step 608, the grammar capabilities of the application can be further improved by a Train Grammar tool of the application development modules 210. This is similar to the simulate and refine module, but allows the user to enter a list of typical user responses for each application prompt. At step 610, a Generate Scenarios module of the application development modules 210 generates scenarios of possible interactions between the application and a human. Based on these scenarios, the user can determine whether and application prompts need improvement.
When the application has been tested and is ready for use, the IVR code generator 208 executes a code generation process at step 612 to generate pure VoiceXML suitable for a particular speech-enabled IVR such as the IVR 102 of <figref idref="f0001">Figure 1</figref>. As shown in <figref idref="f0005">Figure 6</figref>, the code generation process begins at step 702 by removing the extended attributes from the extended VoiceXML file 214 to generate pure VoiceXML. At step 704, prompts (including dynamic prompts) in the prompt file 224 are converted into JavaScript functions. At step 706, these JavaScript functions are incorporated into the pure VoiceXML by adding references to the functions in VoiceXML tags, and adding the functions themselves to the pure VoiceXML. At step 708, the IVR grammar file 228 is generated by translating the application grammar file 222 into a grammar format supported by the desired IVR platform, such as Nuance™ GSL or generic VoiceXML 1.0 JSGF grammar format, as selected by the user. Other grammar formats can be supported in the same way. At step 710, references to the IVR grammar file 228 are incorporated into the pure VoiceXML. The result is the pure VoiceXML file 226. The VoiceXML file 226 and the IVR grammar file 228 are sufficient to deploy the voice application on the IVR 102.
For the purposes of illustration, Appendix C provides a partial listing of a pure VoiceXML file corresponding to the first extended VoiceXML file listed in Appendix B. The listing in Appendix C includes the VoiceXML with the merged JavaScript for supporting Prompts. The JavaScript code is at the end of the listing.
Many modifications will be apparent to those skilled in the art without departing from the scope of the present invention as herein described with reference to the accompanying drawings.
APPENDIX A: DIALOG ELEMENTS
<tables id="tabl0001" num="0001"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="141mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Decision</b> ◆</entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>A point in the dialog where a decision is made to determine which path of execution should continue.</entry></row><row><entry><b>Notes:</b></entry><entry>Each Decision element is followed by one or more Decision-Branch elements.</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Decision</b></entry></row><row><entry /><entry><b>Name:</b> a name for this Decision element</entry></row></tbody></tgroup></table></tables><tables id="tabl0002" num="0002"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="142mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Decision branch</b><img file="EP1535453B1_D0001.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>A path that is followed if the condition is true.</entry></row><row><entry><b>Notes:</b></entry><entry>Can only be added after a Decision element.</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Branch</b></entry></row><row><entry /><entry><b>Condition:</b> an ECMAScript expression that if evaluated to true will cause execution to continue down this branch, <i>eg. x</i> == 2, <i>validity</i> == <i>true, currency</i> == <i>'AUD'.</i> Note that strings should be quoted in single quotes. An "else" condition is created by enabling the Otherwise checkbox.</entry></row></tbody></tgroup></table></tables><tables id="tabl0003" num="0003"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="29mm" /><colspec colnum="2" colname="col2" colwidth="137mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Menu</b><img file="EP1535453B1_D0002.tif" /></entry></row></thead><tbody><row><entry><b>DESCRIPTION:</b></entry><entry>Prompts the user to select from a series of menu choices</entry></row><row rowsep="0"><entry><b>Notes:</b></entry><entry>Each Menu element is followed by one or more Menu-Choice.</entry></row><row rowsep="0"><entry /><entry>Prompts for the menu can include:</entry></row><row rowsep="0"><entry /><entry>(1) Auto generated prompts (by default);</entry></row><row rowsep="0"><entry /><entry>(2) User specified prompts;</entry></row><row><entry /><entry>(3) Audio file for playing prompts. In addition, tapered prompts are supported.</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Menu</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> name for this Menu element.</entry></row><row rowsep="0"><entry /><entry><b>Prompts</b></entry></row><row rowsep="0"><entry /><entry><b>Tapered prompts:</b> the tapered prompts played to ask for a menu choice. The system can generate a default text prompt based on the menu choices and a default audio file name for recording the corresponding audio prompt, or you may enter in your own values. If an audio prompt is not required, the "Generate default audio file name" checkbox should be unchecked and the "Audio file" text box should be left empty.</entry></row><row><entry /><entry><b>Help prompt:</b> the prompt played when the user requests help. As with tapered prompts, the system can generate a default text prompt and audio file name, or you may enter in your own.</entry></row></tbody></tgroup></table></tables><tables id="tabl0004" num="0004"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="83mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Menu choice</b><img file="EP1535453B1_D0003.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Defines a specific menu choice</entry></row><row rowsep="0"><entry><b>Notes:</b></entry><entry>Can only be added after a Menu element.</entry></row><row><entry /><entry>This is the only Element whose name can have a space.</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Choice</b></entry></row><row><entry /><entry><b>Choice:</b> a word or phrase for this menu choice.</entry></row></tbody></tgroup></table></tables><tables id="tabl0005" num="0005"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="142mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Form</b><img file="EP1535453B1_D0004.tif" /></entry></row></thead><tbody><row rowsep="0"><entry><b>Description:</b></entry><entry>Collects user inputs to fill in a 'form'.</entry></row><row rowsep="0"><entry /><entry>Defines a type and prompts for each input.</entry></row><row><entry /><entry>These can be standard types such as Time and Date, or user defined such as a list of products.</entry></row><row rowsep="0"><entry><b>Notes:</b></entry><entry>User-defined-types need to be first created in the LHS Dialog/Project Files window, by right-clicking on 'package' icon.</entry></row><row rowsep="0"><entry /><entry>Selecting "Hot link" allows jumping to the Form from anywhere in the dialog.</entry></row><row rowsep="0"><entry /><entry>The Forms support mixed initiative filling of the Fields.</entry></row><row rowsep="0"><entry /><entry>Other Elements can refer to Form Fields using: "FormName.FieldName".</entry></row><row><entry /><entry>When entering Form Fields, default string values need to be in single quotes (eg. 'telstra').</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Form</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> a name for this Form element. An object with this name will be created to store the form fields. Each field can then be accessed as $fomName.$fieldName, <i>eg. BuyForm.price.</i></entry></row><row rowsep="0"><entry /><entry><b>Modal:</b> if enabled, then only that input field's grammar is enabled when collecting each field; all other grammars are temporarily disabled (including hot-linked global grammars). This means that you cannot get out of this form by saying a hotword. For example, a form that collects a login pin should be made modal.</entry></row><row rowsep="0"><entry /><entry><b>Confirm All:</b> enable confirmation of all form fields together at the end.</entry></row><row rowsep="0"><entry /><entry><b>Hot link:</b> enable jumping to the form from anywhere in the document, by creating a document grammar for the form.</entry></row><row rowsep="0"><entry /><entry><b>Input Field</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> name of slot to be filled.</entry></row><row rowsep="0"><entry /><entry><b>Type:</b> type of slot value.</entry></row><row rowsep="0"><entry /><entry><b>Default:</b> default value for slot. If a default is given, the user will not be prompted for the field. If the field type is a structured object, the slot will have multiple properties, one for each of the object's properties. You may specify a default by filling in some or all of these properties, depending on what is valid for a particular type. Note that strings should be quoted in single quotes, <i>eg. 'wednesday'.</i></entry></row><row rowsep="0"><entry /><entry><b>Confirm:</b> enable individual confirmation of this field. This is in addition to the form confirmation of all fields at the end.</entry></row><row rowsep="0"><entry /><entry><b>Input Field Prompts</b></entry></row><row><entry rowsep="0" /><entry rowsep="0"><b>Tapered prompts:</b> the tapered prompts played to collect input for this field. The system can generate a default text prompt based on the field name and a default audio file name for recording the corresponding audio prompt, or you may enter in your own values. If an audio prompt is not required, the "Generate default audio file name" checkbox should be unchecked and the "Audio file" text box should be left empty.</entry></row><row><entry /><entry><b>Help prompt:</b> the prompt played when the user requests help. As with tapered prompts, the system can generate a default text prompt and audio file name, or you may enter in your own.</entry></row></tbody></tgroup></table></tables><tables id="tabl0006" num="0006"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="29mm" /><colspec colnum="2" colname="col2" colwidth="137mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Record</b><img file="EP1535453B1_D0005.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Captures a voice recording from the user</entry></row><row><entry><b>Notes:</b></entry><entry>Note that the Record duration is in seconds. Setting it to too high will result in excesive memory usage & possible harddisk limit problems.</entry></row><row rowsep="0"><entry><b>PARAMETERS:</b></entry><entry><b>Record</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> a name for this Record element.</entry></row><row rowsep="0"><entry /><entry><b>MIME-type:</b> MIME-type storage format for the recording. This field may be left blank if the IVR does not allow a MIME-type specification. Please consult your IVR documentation for supported MIME-types.</entry></row><row rowsep="0"><entry /><entry><b>Beep:</b> enable a beep to be sounded before recording starts.</entry></row><row rowsep="0"><entry /><entry><b>DTMF Terminate:</b> enable a DTMF key press to terminate the recording.</entry></row><row rowsep="0"><entry /><entry><b>Duration:</b> maximum recording time in seconds.</entry></row><row rowsep="0"><entry /><entry><b>Confirm:</b> enable confirmation of the recorded material.</entry></row><row><entry /><entry><b>Prompt:</b> the prompt played to ask for a recording. The system can generate a default text prompt and a default audio file name for recording the corresponding audio prompt, or you may enter in your own values. If an audio prompt is not required, the "Generate default audio file name" checkbox should be unchecked and the "Audio file" text box should be left empty.</entry></row></tbody></tgroup></table></tables><tables id="tabl0007" num="0007"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="142mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Speaker</b><img file="EP1535453B1_D0006.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Plays TTS & audio to the caller.</entry></row><row rowsep="0"><entry><b>Notes:</b></entry><entry>Can say variables of predefined types, such as Date, Money, etc. The variables need to be declared as a valid object (unless it is created via a Form Field). Eg. User can use local processing to declare a variable called price, as follows: price = new Object(); price.dollars = 10; price.cents = 4; To use it in Speaker, type the following: PromptMoney(price) in a Speaker expression fragment. To play back predefined Types, such as Money:</entry></row><row rowsep="0"><entry /><entry>(1) add a Speaker fragment of the type "Expression";</entry></row><row><entry /><entry>(2) enter in the "Expression" text box: PromptType(x), where Type is the predefined type name, x is the variable of the predefined type. E.g. If "y" is type money (where y.dollars=5 y.cents=0), then entering PromptMoney(y) will result in the following being played: "five dollars".</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Speaker</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> a name for this Speaker element.</entry></row><row rowsep="0"><entry /><entry><b>Fragment</b></entry></row><row rowsep="0"><entry /><entry><b>Type:</b> type of prompt fragment.</entry></row><row rowsep="0"><entry /><entry><b>Text:</b> a fixed text fragment. The text specifies text-to-speech (TTS) that should be played. The audio file URL specifies a recording that should be played, in precedence to the text-to-speech, <i>eg. greeting.wav, http:</i>//<i>server</i>/<i>welcome.wav.</i> Either of the audio file or the text may be left empty to request that only TTS or audio with no alternate text should be played.</entry></row><row><entry /><entry><b>Expression:</b> an evaluated prompt fragment. The ECMAScript expression is evaluated and played as text-to-speech (TTS), eg. recordedMessage, counter + 1. To play back a variable of a known type, you should use the function PromptType(x), where Type is the name of that type, and x is the name of the variable, eg. PromptMoney(BuyForm.price). This is particularly important for playing back structured types. The audio expression is evaluated and retrieved as an audio file URL for playing, eg. company +'.wav'. The expressions may reference any variable defined in the package, such as in a Variables element or a Form object. Either of the audio expression or the TTS expression may be left empty to request that only TTS or audio with no alternate text should be played.</entry></row></tbody></tgroup></table></tables><tables id="tabl0008" num="0008"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="142mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Local Processing</b><img file="EP1535453B1_D0007.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Local computation.</entry></row><row><entry><b>Notes:</b></entry><entry>This can be any ECMAScript code, eg. functions, statements, function calls. Any variable declared in the dialog may be accessed, eg. declared Variables, Form fields, SubroutineCall outputs, RemoteProcessing outputs.</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Local Processing</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> a name for this Local Processing element.</entry></row><row><entry /><entry><b>ECMAScript:</b> any arbitrary ECMAScript code, such as variable declarations, if blocks, assignment statements, function declarations and function calls, <i>eg. x = x</i> + <i>l; currency = AUD';.</i> Note that strings should be quoted in single quotes.</entry></row></tbody></tgroup></table></tables><tables id="tabl0009" num="0009"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="142mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Remote Processing</b><img file="EP1535453B1_D0008.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Call a server-side script (via a HTTP URL) to perform some processing. The script should return a VoiceXML document with the results of the processing.</entry></row><row><entry><b>NOTES:</b></entry><entry>Need PHP/CGI running on remote Web server to handle this. Name of the input and output parameters needn't be declared in the Variables element. The names of the input and output parameters should match what is required at the remote server end. Other Dialog Elements can refer to the output of the Remote Processing element using: "RemoteProcName.outputName".</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Remote Processing</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> a name for this Remote Processing element. An object with this name will be created to store the returned outputs. Each output can then be accessed as $remoteProcessingName.$output, <i>eg. ValidalePin.validity</i></entry></row><row rowsep="0"><entry /><entry><b>Source URL:</b> the URL of the remote script to execute, <i>eg. http:</i>//<i>server</i>/<i>cgi-bin</i>/<i>scriptl.</i></entry></row><row rowsep="0"><entry /><entry><b>Input</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> name of the input parameter to be submitted, <i>eg. price.</i> This is the name that the server script expects.</entry></row><row rowsep="0"><entry /><entry><b>Value:</b> value of the input parameter to be submitted, <i>eg. BuyForm.price, 1. AUD', true, x</i> + <i>l</i>. This may be any valid ECMAScript expression. the expression may reference any variable defined in the package, such as in a Variables element or a Form object. If the value is an ECMAScript object with fields f1, f2, ..., then the object is serialised and submitted using the names o.f1, o.f2, ..., assuming o is the declared input name.</entry></row><row rowsep="0"><entry /><entry><b>Output</b></entry></row><row><entry /><entry><b>Name:</b> name of each parameter returned by the remote script, <i>eg. outField1.</i> The remote script should return a VoiceXML document containing a subdialog form whose return namelist includes all these output fields.</entry></row></tbody></tgroup></table></tables><tables id="tabl0010" num="0010"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="111mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Loop Call</b><img file="EP1535453B1_D0009.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Calls a Loop to execute a part of a dialog that should be iterated several times.</entry></row><row><entry><b>Notes:</b></entry><entry>A corresponding Loop element is required.</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Loop Call</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> a name for this Loop Call element.</entry></row><row><entry /><entry><b>Source:</b> the loop to call. The loop must be defined in this package.</entry></row></tbody></tgroup></table></tables><tables id="tabl0011" num="0011"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="142mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Subroutine Call</b><img file="EP1535453B1_D0010.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Start a subroutine. Used for breaking bigger programs into smaller components, for ease of readability, reuse of code, and support of pre-packaped code.</entry></row><row><entry><b>Notes:</b></entry><entry>A corresponding Subroutine element is required. Input parameter names needn't be declared. Ouput parameter names are set by the Subroutine element. Other Dialog Elements can refer to the output parameters by calling: "SubroutineCaIlName.OutputParamName".</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Subroutine Call</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> a name for this Subroutine Call element. An object with this name will be created to store the returned outputs. Each output can then be accessed as $subName.$output, <i>eg. ValidatePin.validity.</i></entry></row><row rowsep="0"><entry /><entry><b>Source:</b> the subroutine to call (qualified with the package name). If the declared subroutine inputs and outputs have changed, you may need to reselect the subroutine from the Source list box to refresh the displayed inputs and outputs.</entry></row><row><entry rowsep="0" /><entry rowsep="0"><b>Inputs</b></entry></row><row><entry rowsep="0" /><entry rowsep="0">This is a list of the inputs that the called subroutine expects. For each input, you must specify an ECMAScript expression whose value will be passed to the subroutine, eg. <i>0, BuyForm.price, pinValidity, AUD'.</i> It may reference any variable defined in the package, such as in a Variables element or a Form object. Note that strings should be quoted in single quotes. Note also that you cannot leave any input value blank.</entry></row><row><entry rowsep="0" /><entry rowsep="0"><b>Outputs</b></entry></row><row><entry /><entry>This is a list of the outputs that the called subroutine returns.</entry></row></tbody></tgroup></table></tables><tables id="tabl0012" num="0012"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="142mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Jump</b><img file="EP1535453B1_D0011.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Jump to a predefined block. Can jump to any element in the same MainDialog or Subroutine that has a name.</entry></row><row><entry><b>Notes:</b></entry><entry>Valid destinations for Jump: (1) Jumps within a MainDialog; (2) Jump from a Loop in a MainPackage to the MainDialog; (3) Within a subroutine.</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Jump</b></entry></row><row><entry /><entry><b>Destination:</b> the destination element to jump to. You can only jump within a main dialog or within a subroutine. You cannot jump to an element in a loop or in another package. The available elements to jump to are presented in the drop-down list box.</entry></row></tbody></tgroup></table></tables><tables id="tabl0013" num="0013"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="67mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>End</b><img file="EP1535453B1_D0012.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Terminate the call. End of dialog</entry></row><row><entry><b>Notes:</b></entry><entry /></row><row><entry><b>Parameters:</b></entry><entry>Causes execution to terminate immediately</entry></row></tbody></tgroup></table></tables><tables id="tabl0014" num="0014"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="142mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Transfer</b><img file="EP1535453B1_D0013.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Transfer the call to another number.</entry></row><row><entry><b>Notes:</b></entry><entry /></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Transfer</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> a name for this Transfer element.</entry></row><row rowsep="0"><entry /><entry><b>Destination:</b> a number to dial or an ECMAScript expression that evaluates to such a number. A valid number is a string of digits with optional spaces, <i>eg. 1234567, 03 1234567.</i> The number may optionally contain a protocol specifier. Please consult your IVR documentation for specific supported number formats.</entry></row><row><entry /><entry><b>Connection</b> Timeout: maximum time in seconds to wait for a connection before a failure is reported.</entry></row></tbody></tgroup></table></tables><tables id="tabl0015" num="0015"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="137mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Loop Break</b><img file="EP1535453B1_D0014.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Used within a Loop to break out of the loop.</entry></row><row><entry><b>Notes:</b></entry><entry>Only valid within a Loop</entry></row><row><entry><b>Parameters:</b></entry><entry>Causes execution to break out of the loop immediately. The loop exit message, if any, is not played</entry></row></tbody></tgroup></table></tables><tables id="tabl0016" num="0016"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="142mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Loop Next</b><img file="EP1535453B1_D0015.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Used within a Loop to indicate the end of one iteration.</entry></row><row><entry><b>Notes:</b></entry><entry>Only valid within a Loop</entry></row><row><entry><b>Parameters:</b></entry><entry>Causes execution of the next iteration of the loop, if the loop test condition evaluates to true. The loop step is executed before the condition is evaluated.</entry></row></tbody></tgroup></table></tables><tables id="tabl0017" num="0017"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="46mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Subroutine Return</b><img file="EP1535453B1_D0016.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Return from subroutine</entry></row><row><entry><b>Notes:</b></entry><entry>Only valid within a Subroutine</entry></row><row><entry><b>Parameters:</b></entry><entry>Return from a subroutine call.</entry></row></tbody></tgroup></table></tables><tables id="tabl0018" num="0018"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="142mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Variables</b><img file="EP1535453B1_D0017.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Declare "global" variables that can be accessed from anywhere within this Package, eg. inside a Loop, LocalProcessing, Speaker element.</entry></row><row><entry><b>Notes:</b></entry><entry>Form Fields, Subroutine Call outputs and Remote Processing outputs do not need to be declared. They are automatically created.</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Variables</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> a name for the variable. The name should be unique within this package.</entry></row><row><entry /><entry><b>Value:</b> an ECMAScript expression, usually a constant, that sets the initial value for the variable, eg. 0, 'cat', true. Note that strings should be quoted with single quotes. The value may be left empty to create an ECMAScript undefined value.</entry></row></tbody></tgroup></table></tables><tables id="tabl0019" num="0019"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="142mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Hotwords</b><img file="EP1535453B1_D0018.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>Create "hot words" that transition the user to a specified point in the dialog when they are uttered by the user.</entry></row><row rowsep="0"><entry><b>Notes:</b></entry><entry>Allows the user to jump from one part of the dialog to another if they want to do something else, for example.</entry></row><row><entry /><entry>Hotwords can only be created in the Main Package, not in Subroutine Packages.</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Hotwords</b></entry></row><row rowsep="0"><entry /><entry><b>Hotword:</b> a word or phrase that will trigger a jump.</entry></row><row><entry /><entry><b>Destination:</b> the destination element to jump to.</entry></row></tbody></tgroup></table></tables><tables id="tabl0020" num="0020"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="142mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Start Dialog</b><img file="EP1535453B1_D0019.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>The entry point for the application.</entry></row><row><entry><b>Notes:</b></entry><entry>This is automatically created when you create a new project. Only the first package has a Start Dialog element. Each project must have one and only one Start Dialog element. You cannot add more Start Dialogs, nor delete any.</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Start Dialog</b></entry></row><row rowsep="0"><entry /><entry>This is the entry point for the application.</entry></row><row rowsep="0"><entry /><entry><b>Name:</b> a name for this Start Dialog element.</entry></row><row rowsep="0"><entry /><entry><b>Quit Prompt:</b> the prompt played when the user has requested to quit, after which the dialog will terminate. The system can generate a default text prompt and a default audio file name for recording the corresponding audio prompt, or you may enter in your own values. If an audio prompt is not required, the "Generate default audio file name" checkbox should be unchecked and the "Audio file" text box should be left empty.</entry></row><row rowsep="0"><entry /><entry><b>No Input Prompt:</b> the prompt played when no input is detected while the user is being asked for a response. The user is then reprompted for a response. As with the Quit prompt, the system can generate a default text prompt and a default audio file name, or you may enter in your own values.</entry></row><row><entry /><entry><b>No Match Prompt:</b> the prompt played when the detected user response cannot be recognised by the system. The user is then reprompted for another response. As with the Quit prompt, the system can generate a default text prompt and a default audio file name, or you may enter in your own values.</entry></row></tbody></tgroup></table></tables><tables id="tabl0021" num="0021"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="142mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Subroutine</b><img file="EP1535453B1_D0020.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>This is the entry point for a subroutine.</entry></row><row rowsep="0"><entry><b>Notes:</b></entry><entry>Subroutine elements cannot be added to the Main Package. They can only be added to non-Main Packages. More than one Subroutine can be added to a non-Main Package. However, all Subroutine inputs and outputs must be unique within the Package, ie. no two Subroutines can declare the same input name or output name. Furthermore, no input name can be the same as an output name.</entry></row><row rowsep="0"><entry /><entry>The Subroutine element is created by (1) right-clicking on the "Project" icon on the Dialogs/Project Files window (LHS) to add a new Package; and (2) right-clicking on a Package icon on the Dialogs window (LHS) to add a new Subroutine.</entry></row><row><entry /><entry>Each path in the Subroutine should end with a Return element, otherwise the Subroutine will not return to the calling dialog.</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Subroutine</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> a name for this Subroutine element.</entry></row><row rowsep="0"><entry /><entry><b>Input</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> name of each input parameter expected, eg. pin. The input will be declared as a document variable that you can access from anywhere within the package. You do not need to (re)declare it under the Variables element.</entry></row><row rowsep="0"><entry /><entry><b>Output</b></entry></row><row><entry /><entry><b>Name:</b> name of each return parameter, eg. validity. The output will be declared as a document variable that you can access from anywhere within the package. You do not need to (re)declare it under the Variables element.</entry></row></tbody></tgroup></table></tables><tables id="tabl0022" num="0022"><table frame="all"><tgroup cols="2"><colspec colnum="1" colname="col1" colwidth="24mm" /><colspec colnum="2" colname="col2" colwidth="142mm" /><thead><row><entry namest="col1" nameend="col2" align="left" valign="top"><b>Loop</b><img file="EP1535453B1_D0021.tif" /></entry></row></thead><tbody><row><entry><b>Description:</b></entry><entry>A portion of the dialog that should be executed several times.</entry></row><row><entry><b>Notes:</b></entry><entry>The Loop element is created by right-clicking on the Package icon on the Dialogs window (LHS). Variables are freely shared between the Loop body and the main dialog (of the same Package) as they are in one VoiceXML document.</entry></row><row rowsep="0"><entry><b>Parameters:</b></entry><entry><b>Loop</b></entry></row><row rowsep="0"><entry /><entry><b>Name:</b> a name for this Loop element.</entry></row><row rowsep="0"><entry /><entry><b>Loop Test:</b> an ECMAScript expression that if evaluated to true will cause execution of the next iteration of the loop, eg. counter < 5.</entry></row><row rowsep="0"><entry /><entry><b>Test at start:</b> If enabled, the test condition is evaluated at the start of the loop and the loop is equivalent to a while / for loop. If disabled, the loop body is executed before the test condition is evaluated and the loop is equivalent to a do-while loop.</entry></row><row rowsep="0"><entry /><entry><b>Exit message:</b> a message to be played when the loop exits normally, eg. there are no more items. The system can generate a default text prompt and a default audio file name for recording the corresponding audio prompt, or you may enter in your own values. If a message is not required, the "Generate default..." checkboxes should be unchecked and the "Audio file" and "TTS" text boxes should be left empty.</entry></row><row rowsep="0"><entry /><entry><b>Loop Init</b></entry></row><row rowsep="0"><entry /><entry>Variables to be initialised at the start of the loop.</entry></row><row rowsep="0"><entry /><entry><b>Name:</b> name of a variable, eg. counter. The variable must have been created elsewhere, such as in the Variables element.</entry></row><row rowsep="0"><entry /><entry><b>Value:</b> an ECMAScript expression that sets the initial value for the variable, eg. 0.</entry></row><row rowsep="0"><entry /><entry><b>Loop Step</b></entry></row><row rowsep="0"><entry /><entry>Variables to be incremented before another iteration of the loop. The increment occurs before the test condition is reevaluated.</entry></row><row rowsep="0"><entry /><entry><b>Name:</b> name of a variable, eg. counter.</entry></row><row><entry /><entry><b>Value:</b> an ECMAScript expression to increment the variable, eg. counter + 1.</entry></row></tbody></tgroup></table></tables>
APPENDIX B: TWO EXTENDED VoiceXML files OF AN APPLICATION
FILE 1. DEMO2_8MAY.VXML
<pre listing-type="program-listing"> <?xml version="1.0" encoding="utf-8"?> <vxml version="1.0" xmlns:lq="http://www.telstra.com.au/LyreQuest"> <link event="help"> <grammar src="null#Help"/> </link> <link event="repeat"> <grammar src="null##Repeat"/> </link> <link event="quit"> <grammar src="null#Quit"/> </link> <script> function merge(obj1, obj2) { if (obj1 == undefined) return obj2; else return obj1; } </script> <var name="_dummy"/> <var name="counter" lq:element="DocumentVariables"/> <catch event="quit"> <prompt count="1" bargein="true" lq:text=""> <value expr="PromptGoodbye()"/> </prompt> <exit/> </catch> <catch event="noinput"> <prompt count="1" bargein="true" lq:text=""> <value expr="PromptNoinput()"/> </prompt> <reprompt/> </catch> <catch event="nomatch"> <prompt count="1" bargein="true" lq:text=""> <value expr="PromptNomatch()"/> </prompt> <reprompt/> </catch> <form id="DIALOG_MainDialog" lq:element="StartDialog" lq:name="MainDialog"> <block name="link"> <goto next="#SPEAKER_sayWelcome"/> </block> </form> <form id="SPEAKER_sayWelcome" lq:element="Speaker" lq:name="sayWelcome"> <block> <prompt> Welcome to the automated X Y Z bank </prompt> </block> <block name="link"> <goto next="#LOOPCALL_call_authenticate_loop"/> </block> </form> <form id="LOOPCALL_call_authenti cate_loop" lq:element="LoopCall" lq:name="call_authenticate_loop" lq:calls="authenticate"> <subdialog name="loopcall" src="#LOOP_authenticate"> <param name="counter" expr="document.counter"/> <param name="get_PIN" expr="document.get_PIN"/> <param name="validatePIN" expr="document.validatePIN"/> <param name="call_get_balance" expr="document.call_get_balance"/> <param name="payment_details" expr="document.payment_details"/> <filled> <assign name="document.counter" expr="loopcall.counter"/> <assign name="document.get_PIN" expr="loopcall.get_PIN"/> <assign name="document.validatePIN" expr="loopcall.validatePIN"/> <assign name="document.call_get_balance" expr="loopcall.call_get_balance"/> <assign name="document.payment_details" expr="loopcall.payment_details"/> </filled> </subdialog> <block name="link"> <goto next="#DECISION_checkPINvalidity"/> </block> </form> <form id="DECISION_checkPINvalidity" lq:element="Decision" lq:name="checkPINvalidity"> <block> <if cond="validatePIN.x == &apos;PASS&apos;"> <goto next="#BRANCH_checkPINvalidity_0"/> <else/> <goto next="#BRANCH_checkPINvalidity_1"/> </if> </block> </form> <form id="BRANCH_checkPINvalidity_0" lq:element="Branch" lq:condition="validatePIN.x == &apos;PASS&apos;"> <block name="link"> <goto next="#MENU_main"/> </block> </form> <menu id="MENU_main" lq:element="Menu" lq:name="main"> <prompt count="1" bargein="true" lq:text=""> <value expr="PromptMenu_main()"/> </prompt> <choice next="##MENUITEM_main_balance"> <grammar src="null#Menu_main_balance"/> </choice> <choice next="#MENUITEM_main_enquiry"> <grammar src="null#Menu_main_enquiry"/> </choice> <choice next="#MENUITEM_main_leave_message"> <grammar src="null#Menu_main_leave_message"/> </choice> <choice next="#MENUITEM_main_pay__bills"> <grammar src="null#Menu_main__pay_bills"/> </choice> <choice next="#MENUITEM_main_quit"> <grammar src="null#Menu_main_quit"/> </choice> <catch event="help"> <prompt count="1" bargein="true" lq:text=""> <value expr="PromptHelp_Menu_main()"/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> </menu> <form id="MENUITEM_main_balance" lq:element="MenuChoice" lq:name="balance"> <block name="link"> <goto next="#SUBROUTINECALL_call_get_balance"/> </block> </form> <var name="call_get_balance" expr="new Object()" lq:references="call_get_balance"/> <form id="SUBROUTINECALL_call_get_balance" lq:element="SubroutineCall" lq:name="call_get_balance" lq:calls="subroutinel.vxml#sub_present_balance"> <subdialog name="subcall" src="subroutinel.vxml#SUBROUTINE_subyresent_balance"> <param name="pin_number" expr="get_PIN.PIN" lq:element="Input"/> <filled> <assign name="call_get_balance.result_code" expr="subcall.result_code" lq:element="Output"/> </filled> </subdialog> <block name="link"> <goto next="#SPEAKER_Speaker24"/> </block> </form> <form id="SPEAKER_Speaker24" lq:element="Speaker" lq:name="Speaker24"> <block> <prompt> the result of your balance enquiry is <value expr="call_get_balance.result_code"/> </prompt> </block> <block lq:element="Goto" lq:next="main"> <goto next="#MENU_main"/> </block> </form> <form id="MENUITEM_main_enquiry" lq:element="MenuChoice" lq:name="enquiry"> <block name="link"> <goto next="#SPEAKER_Speaker21"/> </block> </form> <form id="SPEAKER_Speaker21" lq:element="Speaker" lq:name="Speaker2l"> <block> <prompt> you are being transfered to an operator </prompt> </block> <block name="link"> <goto next="#TRANSFER_Transfer22"/> </block> </form> <form id="TRANSFER_Transfer22" lq:element="Transfer" lq:name="Transfer22" lq:bridge="false" lq:destination="0392536742" lq:destinationExpression="null" lq:connectTimeout="30"> <transfer name="Transfer22" bridge="false" connecttimeout="30s" dest="0392536742"> </transfer> </form> <form id="MENUITEM_main_leave_message" lq:element="MenuChoice" lq:name="leave message"> <block name="link"> <goto next="#RECORD_Record20"/> </block> </form> <var name="Record20" lq:references="Record20"/> <form id="RECORD_Record20" lq:element="Record" lq:name="Record20" lq:beep="true" lq:duration="30" lq:dtmfTerminate="true" lq:mimeType="null" lq:confirm="true"> <record name="record_Record20" beep="true" maxtime="30s" dtmfterm="true"> <prompt count="1" bargein="true" lq:text="at the tone, please record your message. you can press hash to end."> <value expr="PromptRecord_Record20()"/> </prompt> </record> <field name="confirm" modal="true"> <grammar src="null#Confirm"/> <prompt> Your recording is <value expr="record_Record20"/> To keep it, say yes. To discard it, say no. </prompt> <filled> <if cond="confirm != 'yes'"> <clear/> </if> </filled> <catch event="help"> <prompt> Please say yes to keep your recording, or say no to record another message. </prompt> </catch> <catch event="repeat"> <prompt> Your recording is <value expr="record_Record20"/> To keep it, say yes. To discard it, say no. - </prompt> </catch> </field> <block> <assign name="Record20" expr="record_Record20"/> </block> <block lq:element="Goto" lq:next="main"> <goto next="#MENU_main"/> </block> </form> <form id="MENUITEM_main_pay_bills" lq:element="MenuChoice" lq:name="pay bills"> <block name="link"> <goto next="#FORM_payment_details"/> </block> </form> <var name="payment_details" expr="new Object()" Iq:references="payment_details"/> <form id="FORM_payment_details" lq:element="Form" lq:name="payment details" lq:modal="false" lq:confirm="true" lq:documentGrammar="true"> <grammar scope="document" src="null#Form_payment_details"/> <field name="company" cond="false"/> <field name="amount" cond="false"/> <field name="payment_date" cond="false"/> <block> <assign name="payment_details.company" expr="company"/> <assign name="payment_details.amount" expr="amount"/> <assign name="payment_details.payment_date" expr="payment_date"/> </block> <subdialog name="payment_details_company" src="#ASK_payment_details_company"> <param name="payment_details" expr="payment_details"/> <filled> <assign name="payment_details" expr= "payment_details_company.payment_details"/> </filled> </subdialog> <subdialog name="payment_details_amount" src="#ASK_payment_details__amount"> <param name="payment_details" expr="payment_details"/> <filled> <assign name="payment_details" expr="payment_details_amount.payment_details"/> </filled> </subdialog> <block> <if cond="payment_details.payment_date == undefined"> <script> < ! [CDATA [ Object(); payment_details.payment_date = new Object (); payment_details.payment_date.modifier = 'today'; ] ] > </script> </if> </block> <subdialog name="payment_details_payment_date" src="#ASK_payment_details_payment_date"> <param name="payment_details" expr="payment_details"/> <filled> <assign name="payment_details" expr="payment_details_payment_date. payment details "/> </filled> </subdialog> <field name="confirm"> <grammar src="null#Confirm"/> <prompt> <value expr="PromptConfirm_payment_details(payment_details.company, payment_details.amount, payment_details.payment_date)"/> </prompt> <filled> <if cond="confirm != 'yews"'> <assign name="payment_detalls.company" expr="undefined"/> <assign name="payment_details.amount" expr="undefined"/> <assign name="payment_details.payment_date" expr="undefined"/> <clear/> </if> </filled> <catch event="help"> <prompt> <value expr="PromptHelp_Confirm__payment_details()"/> </prompt> </<catch> <catch event="repeat"> <reprompt/> </catch> </field> <block lq:element="Goto" lq:next="main"> <goto next="#MENU_main"/> </block> </form> <form id="ASK_payment_details_company" lq:element="FormField" lq:references="payment_details" lq:name="company" lg:type="bpay_names" lq:default="" lq:confirm="false"> <grammar src= "null#Ask_payment_details_company"/> <var name="payment_details"/> <block> <if cond="payment_details.company != undefined"> <return namelist="payment_details"/> </if> </block> <field name="company" cond="false"/> <field name="amount" cond="false"/> <field name="payment_date" cond="false"/> <initial name="start"> <prompt count="1" bargein="true" lq:text="please say the company"> <value expr= "PromptAsk_payment_details_company()"/> </prompt> </initial> <filled mode="any"> <assign name="payment_details.company" expr="merge(payment_details.company, company)"/> <assign name="payment_details.amount" expr="merge(payment_details.amount, amount)"/> <assign name="payment_details.payment_date" expr="merge(payment_details.payment_date, payment_date)"/> <if cond="payment_details.company == undefined"> <clear/> </if> </filled> <block> <return namelist="payment_details"/> </block> <catch event="help"> <prompt count="1" bargein="true" lq:text="please say the company. "> <value expr="PromptHelp_Ask_payment_details_company()"/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> </form> <form id="ASK_payment_details_amount" lq:element="FormField" lq:references="payment_details" lq:name="amount" lq:type="Money" lq:default="[ ]" lq:confirm="false"> <grammar src="null#Ask_payment_details_amount"/> <var name="payment_details"/> <block> <if cond="payment_details.amount != undefined"> <return namelist="payment_details"/> </if> </block> <field name="amount" cond="false"/> <field name="payment_date" cond="false"/> <initial name="start"> <prompt count="1" bargein="true" lq:text=""> <value expr="PromptAsk_payment_detailE_amount()"/> </prompt> </initial> <filled mode="any"> <assign name="payment details.amount" expr="merge(payment_details.amount, amount)"/> <assign name="payment_details.payment_date" expr="merge(payment_details.payment_date, payment_date)"/> <if cond="payment_details.amount == undefined"> <clear/> </if> </filled> <block> <return namelist="payment_details"/> </block> <catch event="help"> <prompt count="1" bargein="true" lq:text=""> <value expr="PromptHelp_Ask_payment_details_amount()"/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> </form> <form id="ASK_jpayment_details_payment_date" lq:element="FormField" lq:references="payment_details" lq:name="payment_date" lq:type="Date" lq:default="[{modifier='today'}]" lq:confirm="true"> <grammar src="null#Ask_payment_details_payment_date"/> <var name="payment_details"/> <block> <if cond="payment_details.payment_date != undefined"> <assign name="start" expr="true"/> <goto nextitem="confirm"/> </if> </block> <field name="payment_date" cond="false"/> <initial name="start"> <prompt count="1" bargein="true" lq:text=""> <value expr=="PromptAsk__payment_details_payment_date()"/> </prompt> </initial> <filled mode="any"> <assign name="payment_details.payment_date" expr="merge(payment_details.payment_date, payment_date)"/> <if cond="payment_details.payment_date == undefined"> <clear/> </if> </filled> <field name="confirm"> <grammar src="null#Confirm"/> <prompt> <value expr="PromptConfirm_payment_details_payment_date(payment_details.payment_ date)"/> </prompt> <filled> <if cond="confirm == 'yes'"> <return namelist="payment_details"/> <else/> <assign name="payment details.payment date" expr="undefined"/> <clear/> </if> </filled> <catch event="help"> <prompt> <value expr="PromptHelp_Confirm_payment_details_payment_date()"/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> </field> <catch event="help"> <prompt count="1" bargein="true" lq:text=""> <value expr="PromptHelp_Ask_payment_details_payment_date()"/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> </form> <form id="MENUITEM_main_quit" lq:element="MenuChoice" lq:name="quit"> <block lq:element="End"> <exit/> </block> </form> <form id="BRANCH_checkPINvalidity_1" lq:element="Branch" lq:condition="otherwise"> <block name="link"> <goto next="#SPEAKER_failedPIN"/> </block> </form> <form id="SPEAKER_failedPIN" lq:element="Speaker" lq:name="failedPIN"> <block> <prompt> You have not been authenticated. Goodbye. </prompt> </block> <block lq:element="End"> <exit/> </block> </form> <form id="LOOP_authenticate" lq:element="Loop" lq:name="authenticate" lq:testatstart="true"> <var name="counter"/> <var name="get_PIN"/> <var name="validatePIN"/> <var name="call_get_balance"/> <var name="payment_details"/> <block> <assign name="document.counter" expr="counter"/> <assign name="document.get_PIN" expr="get_PIN"/> <assign name="document.validatePIN" expr="validatePIN"/> <assign name="document.call_get_balance" expr="call_get_balance"/> <assign name="document.payment_details" expr="payment_details"/> </block> <block> <goto next="#LOOPINIT_authenticate"/> </block> </form> <form id="LOOPINIT_authenticate" lq:references="authenticate"> <block> <assign name="counter" expr="0" lq:element="LoopInit"/> <goto next="#LOOPTEST_authenticate"/> </block> </form> <form id="LOOPTEST_authenticate" lq:element="LoopTest" lq:test="counter&lt;3" lq:references="authenticate"> <block> <if cond="counter&lt;3"> <goto next="#LOOPBODY_authenticate"/> <else/> <goto next="#LOOPEND_authenticate"/> </if> </block> </form> <form id="LOOPEND_authenticate" lq:element="LoopEnd" lq:references="authenticate"> <block> <prompt count="1" bargein="true" lq:text=""> <value expr="PromptLoopExit_authenticate()"/> </prompt> <return namelist="counter get_PIN validatePIN call_get_balance payment_details "/> </block> </form> <form id="LOOPSTEP_authenticate" lq:references="authenticate"> <block> <assign name="counter" expr="counter+1" lq:element="LoopStep"/> <goto next="#LOOPTEST authenticate"/> </block> </form> <form id="LOOPBODY_authenticate" lq:element="LoopBody" lq:references="authenticate"> <block name="link"> <goto next="#FORM_get_PIN"/> </block> </form> <var name="get_PIN" expr="new Object()" lq:references="get_PIN"/> <form id="FORM_get_PIN" lq:element="Form" lq:name="get_PIN" lq:modal="true" lq:confirm="false" lq:documentGrammar="false"> <field name="PIN" cond="false"/> <block> <assign name="get_PIN.PIN" expr="PIN"/> </block> <subdialog name="get_PIN_PIN" src="#ASK_get_PIN_PIN"> <param name="get_PIN" expr="get_PIN"/> <filled> <assign name="get_PIN" expr="get_PIN-PIN.get_PIN"/> </filled> </subdialog> <block name="link"> <goto next="#REMOTE_validatePIN"/> </block> </form> <form id="ASK_get_PIN_PIN" lq:element="FormField" lq:references="get_PIN" lq:name="PIN" lq:type="Digitstring" lq:default="" lq:confirm="false"> <var name="get_PIN"/> <block> <if cond="get_PIN.PIN != undefined"> <return namelist="get_PIN"/> </if> </block> <field name="PIN" modal="true"> <link event="help"> <grammar src="null#Help"/> </link> <link event="repeat"> <grammar src="null#Repeat"/> </link> <grammar src="null#Ask_get_PIN_PIN"/> <prompt count="1" bargein="true" lq:text="please say your four digit PIN number"> <value expr="PromptAsk_get_PIN_PIN()"/> </prompt> <prompt count="2" bargein="true" lq:text="second prompt. please say the pin. Example is one two three four."> <value expr="PromptAsk_get_PIN_PIN_2()"/> </prompt> <filled> <assign name="get_PIN.PIN" expr="merge(get_PIN.PIN, PIN)"/> </filled> </field> <block> <return namelist="get_PIN"/> </block> <catch event="help"> <prompt count="1" bargein="true" lq:text=""> <value expr="PromptHelp_Ask_get_PIN_PIN()"/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> . </form> <var name="validatePIN" expr="new Object()" lq:references="validatePIN"/> <form id="REMOTE_validatePIN" lq:element="RemoteProcessing" lq:name="validatePIN" lq:src="http://videre.trl.telstra.com.au/~c797808/cgi- bin/verify_pin.php"> <var name="sending_pam" expr="get_PIN.PIN" lq:element="Input"/> <subdialog name="remotecall" src="http://videre.trl.telstra.com.au/~c797808/cgi-bin/verify_pin.php" namelist="sending_pam "> <filled> <assign name="validatePIN.x" expr="remotecall.x" lq:element="Output"/> </filled> </subdialog> <block name="link"> <goto next="#DECISION_passOrFail"/> </block> </form> <form id="DECISION_passOrFail" lq:element="Decision" lq:name="passOrFail"> <block> <if cond="validatePIN.x == &apos;PASS&apos;"> <goto next="#BRANCH_passOrFail_0"/> <else/> <goto next="#BRANCH_passOrFail_1"/> </if> </block> </form> <form id="BRANCH_passOrFail_0" lq:element="Branch" lq:condition="validatePIN.x == &apos;PASS&apos;"> <block lq:element="Break"> <return namelist="counter get_PIN validatePIN call_get_balance payment_details "/> </block> </form> <form id="BRANCH_passOrFail_1" lq:element="Branch" lq:condition="otherwise"> <block name="link"> <goto next="#SPEAKER_tryAgain"/> </block> </form> <form id="SPEAKER_tryAgain" lq:element="Speaker" lq:name="tryAgain"> <block> <prompt> Your PIN is not valid. Please try again. </prompt> </block> <block lq:element="Next"> <goto next="#LOOPSTEP_authenticate"/> </block> </form> </vxml></pre>
FILE 2. SUBROUTINE1.VXML
<pre listing-type="program-listing"> <?xml version="1.0" encoding="utf-8"?> <vxml version="1.0" xmlns:lq="http://www.telstra.com.au/LyreQuest"> <link event="help"> <grammar src="null#Help"/> </link> <link event="repeat"> <grammar src="null#Repeat"/> </link> <link event="quit"> <grammar src="null#Quit"/> </link> <script> function merge(obj1, obj2) { if (obj1 == undefined) return obj2; else return obj1; } </script> <var name="_dummy"/> <var name="customer_balance" lq:element="DocumentVariables"/> <var name="pin_number" lq:references="sub_present_balance"/> <var name="result_code" lq:references="sub_present_balance"/> <form id="SUBROUTINE_sub_present_balance" lq:element="Subroutine" lq:name="sub_present_balance"> <var name="pin_number" lq:element="Input"/> <var name="result_code" lq:element="Output"/> <block> <assign name="document.pin_number" expr="pin_number"/> <assign name="document.result code" expr="result_code"/> </block> <block name="link"> <goto next="#FORM_Form4"/> </block> </form> <var name="Form4" expr="new Object()" lq:references="Form4"/> <form id="FORM_Form4" lq:element="Form" lq:name="Form4" lq:modal="false" lq:confirm="true" lq:documentGrammar="false"> <field name="account_number" cond="false"/> <block> <assign name="Form4.account_number" expr="account_number"/> </block> <subdialog name="Form4_account_number" src="#ASK_Form4_account_number"> <param name="Form4" expr="Form4"/> <filled> <assign name="Form4" expr="Form4_account_number.Form4"/> </filled> </subdialog> <field name="confirm"> <grammar src="null#Conf irm"/> <prompt> <value expr="PromptConfirm_Form4(Form4.account_number)"/> </prompt> <filled> <if cond="confirm != 'yes"'> <assign name="Form4.account_number" expr="undefined"/> <clear/> </if> </filled> <catch event="help"> <prompt> <value expr="PromptHelp_Confirm_Form4()"/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> </field> <block name="link"> <goto next="#LOCAL_LocalProcessing5"/> </block> </form> <form id="ASK_Form4_account_number" lq:element="FormField" lq:references="Form4" lq:name="account_number" lq:type="Digitstring" lq:default="" lq:confirm="false"> <grammar src="null#Ask_Form4_account_number"/> <var name="Form4"/> <block> <if cond="Form4.account_number 1= undefined"> <return namelist="Form4"/> </if> </block> <field name="account_number" cond="false"/> <initial name="start"> <prompt count="1" bargein="true" lq:text=""> <value expr="PromptAsk_Form4_account_number()"/> </prompt> </initial> <filled mode="any"> <assign name="Form4.account_number" expr="merge(Form4.account_number, account_number)"/> <if cond="Form4.account_number == undefined"> <clear/> </if> </filled> <block> <return namelist="Form4"/> </block> <catch event="help"> <prompt count="1" bargein="true" lq:text=""> <value expr="PromptHelp_Ask_Form4_account_number()"/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> </form> <form id="LOCAL_LocalProcessing5" lq:element="LocalProcessing" lq:name="LocalProcessing5"> <block> <script> <![CDATA[customer_balance = new Object(); if (Form4.account_number == '12') { customer_balance.dollars = '1000'; customer_balance.cents = '50'; } else { customer_balance.dollars = '0'; customer_balance.cents = '2'; } result_code = pin_number + 1;]]> </script> </block> <block name="link"> <goto next="#SPEAKER_Speaker6"/> </block> </form> <form id="SPEAKER_Speaker6" lq:element="Speaker" lq:name="Speaker6"> <block> <prompt> your balance is <value expr="PromptMoney(customer_balance)"/> </prompt> </block> <block lq:element="Return"> <return namelist="result_code "/> </block> </form> </vxml></pre>
APPENDIX C: PORTION OF A SYSTEM GENERATED VoiceXML FILE
FILE 1. DEMO2_8MAY.VXML (INCOMPLETE, FOR EXAMPLE ONLY)
<pre listing-type="program-listing"> <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE vxml PUBLIC "-//Nuance/DTD VoiceXML 1.2/EN" "http://voicexml.nuance.com/dtd/nuancevoicexml-1-2.dtd"> <vxml version="1.0" application="demo2_8may.vxml"> <link event="help"> <grammar src="demo2_8may.gsl#Help"/> </link> <link event="repeat"> <grammar src="demo2_8may.gsl#Repeat"/> </link> <link event="quit"> <grammar src="demo2_8may.gsl#Quit"/> </link> <script> function merge(objl, obj2) { if (obj1 == undefined) return obj2; else return objl; } </script> <var name="_dummy"/> <var name="counter"/> <catch event="quit"> <prompt count="1" bargein="true"> <value expr="PromptGoodbye()"/> </prompt> <exit/> </catch> <catch event="noinput"> <prompt count="1" bargein="true"> <value expr="PromptNoinput()"/> </prompt> <reprompt/> </catch> <catch event="nomatch"> <prompt count="1" bargein="true"> <value expr="PromptNomatch()"/> </prompt> <reprompt/> </catch> <form id="DIALOG_MainDialog"> <block name="link"> <goto next="#SPEAKER_sayWelcome"/> </block> </form> <form id="SPEAKER_sayWelcome"> <block> <prompt> Welcome to the automated X Y Z bank </prompt> </block> <block name="link"> <goto next="#LOOPCALL_call_authenticate_loop"/> </block> </form> <form id="LOOPCALL_call_authenticate_loop"> <subdialog name="loopcall" src="#LOOP_authenticate"> <param name="counter" expr="document.counter"/> <param name="get_PIN" expr="document.get_PIN"/> <param name="validatePIN" expr="document.validatePIN"/> <param name="call_get_balance" expr="document.call_get_balance"/> <param name="payment_details" expr="document.payment_details"/> <filled> <assign name="document.counter" expr="loopcall.counter"/> <assign name="document.get_PIN" expr="loopcall.get_PIN"/> <assign name="document.validatePIN" expr="loopcall.validatePIN"/> <assign name="document.call_get_balance" expr="loopcall.call_get_balance"/> <assign name="document.payment_details" expr="loopcall.payment_details"/> </filled> </subdialog> <block name="link"> <goto next="#DECISION_checkPINvalidity"/> </block> </form> <form id="DECISION_checkPINvalidity"> <block> <if cond="validatePIN.x == &apos;PASS&apos;"> <goto next="#BRANCH_checkPINvalidity_0"/> <else/> <goto next="#BRANCH_checkPINvalidity_1"/> </if> </block> </form> <form id="BRANCH_checkPINvalidity_0"> <block name="link"> <goto next="#MENU_main"/> </block> </form> <menu id="MENU_main"> <prompt count="1" bargein="true"> <value expr="PromptMenu_main()"/> </prompt> <choice next="#MENUITEM_main_balance"> <grammar src="demo2_8may.gsl#Menu_main_balance"/> </choice> <choice next="#MENUITEM_main_enquiry"> <grammar src="demo2_8may.gsl#Menu_main_enquiry"/> </choice> <choice next="#MENUITEM_main_leave_message"> <grammar src="demo2_8may.gsl#Menu_main_leave_message"/> </choice> <choice next="#MENUITEM_main_pay_bills"> <grammar src="demo2_8may.gsl#Menu_main_pay bills"/> </choice> <choice next="#MENUITEM_main_quit"> <grammar src="demo2_8may.gsl#Menu_main_quit"/> </choice> <catch event="help"> <prompt count="1" bargein="true"> <value expr="PromptHelp_Menu_main()"/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> </menu> <form id="MENUITEM_main_balance"> <block name="link"> <goto next="#$SUBROUTINECALL_call_get balance"/> </block> </form> <var name="call_get_balance" expr="new Object()"/> <form id="SUBROUTINECALL_call_get_balance"> <subdialog name="subcall" src="subroutinel.vxml#SUBROUTlNE_sub_present_balance"> <param name="pin_number" expr="get_PIN.PIN"/> <filled> <assign name="call_get_balance.result code" expr="subcall.result_code"/> </filled> </subdialog> <block name="link"> <goto next="#SPEAKER_Speaker24"/> </block> </form> <form id="SPEAKER_Speaker24"> <block> <prompt> the result of your balance enquiry is <value expr="call_get_balance.result_code"/> </prompt> </block> <block> <goto next="#MENU_main"/> </block> </form> <form id="MENUITEM_main_enquiry"> <block name="link"> <goto next="#SPEAKER_Speaker21"/> </block> </form> <form id="SPEAKER_Speaker21"> <block> <prompt> you are being transfered to an operator </prompt> </block> <block name="link"> <goto next="#TRANSFER_Transfer22"/> </block> </form> <form id="TRANSFER_Transfer22"> <transfer name="Transfer22" bridge="false" connecttimeout="30" destexpr="' tel: 0392536742'"> </transfer> </form> <form id="MENUITEM_main_leave_message"> <block name="link"> <goto next="#RECORD_Record20"/> </block> </form> <var name="Record20"/> <form id="RECORD_Record20"> <record name="record_Record20" beep="true" maxtime="30s" dtmfterm="true"> <prompt count="1" bargein="true"> <value expr="PromptRecord_Record20()"/> </prompt> </record> <field name="confirm" modal="true"> <grammar src="demo2_8may.gsl#Confirm"/> <prompt> Your recording is <value expr="record_Record20"/> To keep it, say yes. To discard it, say no. </prompt> <filled> <if cond="confirm != 'yes'"> <clear/> </if> </filled> <catch event="help"> <prompt> Please say yes to keep your recording, or say no to record another message. </prompt> </catch> <catch event="repeat"> <prompt> Your recording is <value expr="record_Record20"/> To keep it, say yes. To discard it, say no. </prompt> </catch> </field> <block> <assign name="Record20" expr="record_Record20"/> </block> <block> <goto next="#MENU_main"/> </block> </form> <form id="MENUITEM_main_pay_bills"> <block name="link"> <goto next="#FORM_payment_details"/> </block> </form> <var name="payment_details" expr="new Object()"/> <form id="FORM_payment_details"> <grammar scope="document" src="demo2_8may.gsl#Form_payment_details"/> <field name="company" cond="false"/> <field name="amount" cond="false"/> <field name="payment_date" cond="false"/> <block> <assign name="payment_details.company" expr="company"/> <assign name="payment_details.amount" expr="amount"/> <assign name="payment_details.payment_date" expr="payment_date"/> </block> <subdialog name="payment_details_company" src="#ASK_payment_details_company"> <param name="payment_details" expr="payment_details"/> <filled> <assign name="payment_details" expr="payment_details_company.payment_details"/> - </filled> </subdialog> <subdialog name="payment_details_amount" src="#ASK_payment_details-amount"> <param name="payment_details" expr="payment_details"/> <filled> <assign name="payment_details" expr="payment_details_amount.payment_details"/> - </filled> </subdialog> <block> <if cond="payment_details.payment_date == undefined"> <script> <![CDATA[ payment_details.payment_date = new Object(); payment_details.payment_date.modifier = 'today'; ]]> </script> </if> </block> <subdialog name="payment_details_payment_date" src="#ASK_payment_details_payment_date"> <param name="payment_details" expr="payment_details"/> <filled> <assign name="payment_details" expr="payment_details_payment_date.payment_details"/> </filled> </subdialog> <field name="confirm"> <grammar src="demo2_8may.gsl#Confirm"/> <prompt> <value expr="PromptConfirm_payment_details(payment_details.company, payment_details.amount, payment_details.payment_date)"/> </prompt> <filled> <if cond="confirm != 'yews'"> <assign name="payment_details.company" expr="undefined"/> <assign name="payment_details.amount" expr="undefined"/> <assign name="payment_details.payment_date" expr="undefined"/> <clear/> </if> </filled> <catch event="help"> <prompt> <value expr="PromptHelp_Confirm_payment_details()"/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> </field> <block> <goto next="#MENU_main"/> </block> </form> <form id="ASK_payment_details_company"> <grammar src="demo2_8may.gsl#Ask_payment_details_company"/> <var name="payment_details"/> <block> <if cond="payment_details.company != undefined"> <return namelist="payment_details"/> </if> </block> <field name="company" cond="false"/> <field name="amount" cond="false"/> <field name="payment_date" cond="false"/> <initial name="start"> <prompt count="1" bargein="true"> <value expr="PromptAsk_payment_details_company ()"/> </prompt> </initial> <filled mode="any"> <assign name="payment_details.company" expr="merge(payment_details.company, company)"/> <assign name="payment_details.amount" expr="merge(payment_details.amount, amount)"/> <assign name="payment_details.payment_date" expr="merge(payment_details.payment_date, payment_date)"/> <if cond="payment_details.company == undefined"> <clear/> </if> </filled> <block> <return namelist="payment_details"/> </block> <catch event="help"> <prompt count="1" bargein="true"> <value expr="PromptHelp_Ask_payment_details_company()"/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> </form> <form id="ASK_payment_details_amount"> <grammar src="demo2_8may.gsl#Ask_payment_details_amount"/> <var name="payment_details"/> <block> <if cond="payment_details.amount != undefined"> <return namelist="payment_details"/> </if> </block> <field name="amount" cond="false"/> <field name="payment_date" cond="false"/> <initial name="start"> <prompt count="1" bargein="true"> <value expr="PromptAsk_payment_details_amount () "/> </prompt> </initial> <filled mode="any"> <assign name="payment_details.amount" expr="merge(payment_details.amount, amount)"/> <assign name="payment_details.payment_date" expr="merge(payment_details.payment_date, payment_date)"/> <if cond="payment_details.amount == undefined"> <clear/> </if> </filled> <block> <return namelist="payment_details"/> </block> <catch event="help"> <prompt count="1" bargein="true"> <value expr="PromptHelp_Ask_payment_details_amount ()"/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> </form> <form id="ASK_payment_details_payment_date"> <grammar src="demo2_8may.gsl#Ask_payment_details_payment_date"/> <var name="payment_details"/> <block> <if cond="payment_details.payment_date != undefined"> <assign name="start" expr="true"/> <goto nextitem="confirm"/> </if> </block> <field name="payment_date" cond="false"/> <initial name="start"> <prompt count="1" bargein="true"> <value expr="PromptAsk_payment_details_payment_date()"/> </prompt> </initial> <filled mode="any"> <assign name="payment_details.payment_date" expr="merge(payment_details.payment_date, payment_date)"/> <if cond="payment_details.payment_date == undefined"> <clear/> </if> </filled> <field name="confirm"> <grammar src="demo2_8may.gsl#Confirm"/> <prompt> <value expr="PromptConfirm_payment_details_payment_ date(payment_details.payment_ date)"/> </prompt> <filled> <if cond="confirm == 'yes'"> <return namelist="payment_details"/> <else/> <assign name="payment_details.payment_date" expr="undefined"/> <clear/> </if> </filled> <catch event="help"> <prompt> <value expr="PromptHelp_Confirm_payment_details_payment_date()"/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> </field> <catch event="help"> <prompt count="1" bargein="true"> <value expr="PromptHelp_Ask_payment_details_payment_date () "/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> </form> <form id="MENUITEM_main_quit"> <block> <exit/> </block> </form> <form id="BRANCH_checkPINvalidity_1"> <block name="link"> <goto next="#SPEAKER_failedPIN"/> </block> </form> <form id="SPEAKER_failedPIN"> <block> <prompt> You have not been authenticated. Goodbye. </prompt> </block> <block> <exit/> </block> </form> <form id="LOOP_authenticate"> <var name="counter"/> <var name="get_PIN"/> <var name="validatePIN"/> <var name="call_get_balance"/> <var name="payment_details"/> <block> <assign name="document.counter" expr="counter"/> <assign name="document.get_PIN" expr="get_PIN"/> <assign name="document.validatePIN" expr="validatePIN"/> <assign name="document.call_get_balance" expr="call_get_balance"/> <assign name="document.payment_details" expr="payment_details"/> </block> <block> <goto next="#LOOPINIT_authenticate"/> </block> </form> <form id="LOOPINIT_authenticate"> <block> <assign name="counter" expr="0"/> <goto next="#LOOPTEST_authenticate"/> </block> </form> <form id="LOOPTEST_authenticate"> <block> <if cond="counter&lt;3"> <goto next="#LOOPBODY_authenticate"/> <else/> <goto next="#LOOPEND_authenticate"/> </if> </block> </form> <form id="LOOPEND_authenticate"> <block> <prompt count="1" bargein="true"> <value expr="PromptLoopExit_authenticate()"/> </prompt> <return namelist="counter get_PIN validatePIN call_get_balance payment_details "/> </block> </form> <form id="LOOPSTEP_authenticate"> <block> <assign name="counter" expr="counter+1"/> <goto next="#LOOPTEST_authenticate"/> </block> </form> <form id="LOOPBODY_authenticate"> <block name="link"> <goto next="#FORM_get_PIN"/> </block> </form> <var name="get_PIN" expr="new Object()"/> <form id="FORM_get_PIN"> <field name="PIN" cond="false"/> <block> <assign name="get_PIN.PIN" expr="PIN"/> </block> <subdialog name="get_PIN_PIN" src="#ASK_get_PIN_PIN"> <param name="get_PIN" expr="get_PIN"/> <filled> <assign name="get_PIN" expr="get_PIN_PIN.get_PIN"/> </filled> </subdialog> <block name="link"> <goto next="#REMOTE_validatePIN"/> </block> </form> <form id="ASK_get_PIN_PIN"> <var name="get_PIN"/> <block> <if cond="get_PIN.PIN != undefined"> <return namelist="get_PIN"/> </if> </block> <field name="PIN" modal="true"> <link event="help"> <grammar src="demo2_8may.gsl#Help"/> </link> <link event="repeat"> <grammar src="demo2_8may.gsl#Repeat"/> </link> <grammar src="demo2_8may.gsl#Ask_get_PIN_PIN"/> <prompt count="1" bargein="true"> <value expr="PromptAsk_get PIN PIN()"/> </prompt> <prompt count="2" bargein="true"> <value expr="PromptAsk_get_PIN_PIN_2()"/> </prompt> <filled> <assign name="get_PIN.PIN" expr="merge(get_PIN.PIN, PIN)"/> </filled> </field> <block> <return namelist="get_PIN"/> </block> <catch event="help"> <prompt count="1" bargein="true"> <value expr="PromptHelp_Ask_get_PIN_PIN()"/> </prompt> </catch> <catch event="repeat"> <reprompt/> </catch> </form> <var name="validatePIN" expr="new Object()"/> <form id="REMOTE_validatePIN"> <var name="sending_pam" expr="get_PIN.PIN"/> <subdialog name="remotecall" src="http://videre.trl.telstra.com.au/~c797808/cgi-bin/verify_pin.php" namelist="sending_pam "> <filled> <assign name="validatePIN.x" expr="remotecall.x"/> </filled> </subdialog> <block name="link"> <goto next="#DECISION_passOrFail"/> </block> </form> <form id="DECISION_assOrFail"> <block> <if cond="validatePIN.x == &apos;PASS&apos;"> <goto next="#BRANCH_passOrFail_0"/> <else/> <goto next="#BRANCH_passOrFail_1"/> </if> </block> </form> <form id="BRANCH_passOrFail_0"> <block> <return namelist="counter get_PIN validatePIN call_get_balance payment_details "/> </block> </form> <form id="BRANCH_passOrFail_1"> <block name="link"> <goto next="#SPEAKER_tryAgain"/> </block> </form> <form id="SPEAKER_tryAgain"> <block> <prompt> Your PIN is not valid. Please try again. </prompt> </block> <block> <goto next="#LOOPSTEP_authenticate"/> </block> </form> <script><![CDATA] function PromptHelp_Ask_get_PIN_PIN() { var result; result = "please say the pin. for example, ten eighty six "; if (valid_string(result)) { return result; } ; return result; } function PromptHelp_Confirm_payment_details_payment_date() { var result; result = "please say yes or no "; if(valid_string(result)) { return result; } ; return result; } function Confirmation(confirmation) { var result; if ( (confirmation == "yes") ) { result = "true "; if(valid_string(result)) { return result; }; if ( (confirmation == "no") ) { result = "false"; if(valid_string(result)) { return result; }; result = confirmation + " "; return result; } function PromptConfirm_payment_details(company,amount,payment_date) { var result; result = "the company is " + Bpay_names(company) + "the amount is " + Money(amount) + "the payment date is " + Date(payment_date) + "is this correct? "; if(valid_string(result)) { return result; } ; return result; } function PromptConfirm_payment_details_payment_date (payment_date) { var result; result = "the payment date is " + Date(payment_date) + "is this correct? "; if (valid_string(result)) { return result; } ; return result; } function PromptMenu_main_leave_message() { var result; result = "please say one of balance, enquiry, leave message, pay bills or quit (note: please respond with another phrase that means 'leave message') "; if (valid_string(result)) { { return result; } ; return result; } ; function Integernum(integer) { function PromptAsk_payment_details_amount() { var result; result = "please say the amount "; if (valid_string(result)) { return result; } ; return result; } function Bpay_names(bpay_names) { var result; if ( (bpay_names == "telstra") ) { result = "telstra "; if ((valid_string (result)) { return result; } }; if ( (bpay_names == "origin energy") ) { result = "origin energy "; if (valid_string(result)) { { return result; } if ( (bpay_names == "citipower") ) { result = "citipower "; if (valid_string(result)) { return result; }; result = bpay_names + " "; return result; } function PromptHelp_Ask_payment_details_amount() { var result; result = "please say the amount. for example, three dollars and fifty cents "; if (valid_string(result)) { { return result; } ; return result; } function PromptMenu_main() { var result; result = "please say one of balance, enquiry, leave message, pay bills or quit "; if (valid_string(result)) { return result; } ; return result; } function PromptConfirmation(confirmation) { var result; result = Confirmation(confirmation) ; if (valid_string(result)) { { return result; } ; return result; } function PromptHelp_Ask_payment_details_payment_date() { var result; result = "please say the payment date. for example, january the fifth nineteen ninety nine "; if (valid_string(result)) { return result; } ; return result; } function AM() { var result; result = "in the morning "; if (valid_string(result)){ return result; } ; return result; } function PM() { var result; result = "in the" + EVENING() ; if (valid_string(result)) { return result; } ; return result; } function PromptInteger(integer) { var result; result = Integer(integer) ; if (valid_string(result)) { { return result; } ; return result; } ]]></script> </vxml></pre>
Contents7
26 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8 Sheet 9 Sheet 10 Sheet 11 Sheet 12 Sheet 13 Sheet 14 Sheet 15 Sheet 16 Sheet 17 Sheet 18 Sheet 19 Sheet 20 Sheet 21 Sheet 22 Sheet 23 Sheet 24 Sheet 25 Sheet 26
Every citation, both waysCites: the store holds 5 of 6
| Document | Relation | Office |
|---|---|---|
| EP0685955A | Cites | European Patent Office (EPO) |
| WO9850907A | Cites | World Intellectual Property Organization (WIPO) |
| WO0051016A1 | Cites | World Intellectual Property Organization (WIPO) |
| WO0237268A2 | Cites | World Intellectual Property Organization (WIPO) |
| WO02063460A2 | Cites | World Intellectual Property Organization (WIPO) |
| VOXEO DESIGNER 2.0 WEB PAGE, [Online] 05 February 2002, Retrieved from the Internet: <URL:http://web.archive.org/web/20020205091 431/community.voxeo.com/vd2.jsp> | Non-patent | – |
| TELERA APPBUILDER DATA SHEET, [Online] 20 March 2002, Retrieved from the Internet: <URL:http://www.telera.com/stageone/files/T elera/collateral/app_builder_3-20_hi-pdf> | Non-patent | – |
| NUANCE V-BUILDER WEB PAGE, [Online] 01 February 2002, Retrieved from the Internet: <URL:http://web.archive.org/web/20020201161 856/www.nuance.com/products/vbuilder.html> | Non-patent | – |
12 members in 6 offices
Priority claims9
| Document | Office | Kind | Date |
|---|---|---|---|
| 2002950336 | Australia | A | |
| 2002950336 | Australia | A | |
| 2002950336 | Australia | – | |
| 0300939 | Australia | W | |
| 0300939 | Australia | W | |
| 2002950336 | – | – | – |
| 2003000939 | – | – | – |
| AU20020950336 | – | – | – |
| WO2003AU00939 | – | – | – |
Members12
| Document | Office | Kind | |
|---|---|---|---|
| AU2002950336A0 | Australia | A0 | |
| CA2493533A1 | Canada | A1 | |
| WO2004010678A1 | World Intellectual Property Organization (WIPO) | A1 | |
| AU2003245122A1 | Australia | A1 | |
| EP1535453A1 | European Patent Office (EPO) | A1 | |
| US2006025997A1 | United States of America | A1 | |
| EP1535453A4 | European Patent Office (EPO) | A4 | |
| AU2003245122B2 | Australia | B2 | |
| NZ537728A | New Zealand | A | |
| US7712031B2 | United States of America | B2 | |
| CA2493533C | Canada | C | |
| EP1535453B1This record | European Patent Office (EPO) | B1 |
57 legal events, as 9 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Notification of lapseLapsedST | ST | FR | |
| Patent lapsedLapsedMM4A | MM4A | IE | |
| Gb: european patent ceased through non-payment of renewal feeCeasedGBPC | GBPC | EP | |
| Patent ceasedCeasedPL | PL | CH | |
| Applications withdrawn, deemed to be withdrawn, or refused after publication in hong kongWithdrawnWD | WD | HK | |
| Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal feeWithdrawnR119 | R119 | DE | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| No opposition filedOpposition26N | 26N | EP | |
| No opposition filed within time limitOppositionORIGINAL CODE: 0009261PLBE | PLBE | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| No opposition filed against granted patent, or epo opposition proceedings concluded without decisionGrantedR097 | R097 | DE | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Deletion acc. to par. 5 (withdrawal of the translation of the ep patent)MK05 | MK05 | AT | |
| Patent invalid in the netherlands as no translation has been filedMP | MP | NL | |
| Dpma publication of mentioned ep patent grantGrantedR096 | R096 | DE | |
| Reference to at number (ep patent enters austrian national phase)REF | REF | AT | |
| European patents granted designating irelandGrantedFG4D | FG4D | IE | |
| European patent takes effect as a national patent in ch/liEP | EP | CH | |
| Designated contracting statesAK | AK | EP | |
| European patent grantedGrantedFG4D | FG4D | GB | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| Grant fee paidORIGINAL CODE: EPIDOSNIGR3GRAS | GRAS | EP | |
| Intention to grant announcedINTG | INTG | EP | |
| Despatch of communication of intention to grant a patentORIGINAL CODE: EPIDOSNIGR1GRAP | GRAP | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Supplementary search report drawn up and despatchedA4 | A4 | EP | |
| Requests to designate patent in hong kongDE | DE | HK | |
| Request for extension of the european patent (deleted)DAX | DAX | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for extension of the european patentAX | AX | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 1535453
- Publication, DOCDB
- 1535453
- Publication, EPODOC
- EP1535453
- Application
- 37377512
- Application, DOCDB
- 03737751
- Application, EPODOC
- EP20030737751
Titles3
- German
- SYSTEM UND PROZESS ZUM ENTWICKELN EINER SPRACHANWENDUNG
- English
- SYSTEM AND PROCESS FOR DEVELOPING A VOICE APPLICATION
- French
- SYSTEME ET PROCEDE DE DEVELOPPEMENT D'UNE APPLICATION VOCALE
Classification
- CPC, 5
- H04M3/4936
- G10L15/28
- H04M3/493
- H04M2201/42
- H04M2203/355
- IPC, 6
- H04M3 493
- H04M1 64
- G06F17 20
- G06F19 00
- G06F40 00
- G10L15 28
Designated states1
- Contracting states, 1
- Türkiye
