Professional Documents
Culture Documents
4. On the Call Flow Editor: a. Add a Prompt and Collect node and name it SedanType. b. Add another Prompt and Collect node and name it ExteriorOptions. c. Add another Prompt and Collect node and name it InteriorOptions. d. Add a Data node and name it DetermineOptions. e. Right-click DetermineOptions and select Create New Reference to create a reference node. f. Add an Announce node and name it ThankYou. g. Add a Return node and name it Exit.
Copyright 2010 Avaya All Rights Reserved
Page L2.2.1-2
d. e. f. g.
On the Prompt Editor, drag and drop the TTS option. Enter the text Would you like a traditional sedan or a hybrid sedan? Click the Prompt parameter in the SedanType node. Select SedanType as the Prompt from the properties view.
Page L2.2.1-4
b. Enter SedanType in the File Name field. c. Create a grammar that recognizes a callers response to the prompt. Because responses may be slightly different, use TAGS in the grammar to allow responses to be recognized as either Sedan or Hybrid. Responses of hybrid car or hybrid vehicle should be interpreted as Hybrid (use hybrid as the tag). Responses of traditional or traditional sedan should be interpreted as Sedan.
5. Save the file. 6. Click the Grammar parameter in the SedanType node. 7. Select SedanType as the Grammar from the properties view.
f. Click the Prompt parameter in the ExteriorOptions node. g. Select ExteriorOptions as the Prompt from the properties view. 3. To create the grammar: a. Select File>New>Grammar File. b. Enter YesNoGrammar in the File Name field. c. On the Grammar file editor create a grammar that will catch Yes or No as the response. To do this you need to use tags as u did for the SedanType Grammar.
d. Click the Grammar parameter in the ExteriorOptions node. e. Select YesNoGrammar from the properties view.
Page L2.2.1-6
f. Click the Prompt parameter in the InteriorOptions node. g. Select InteriorOptions as the Prompt from the properties view. 3. To create the grammar: f. Click the Grammar parameter in the InteriorOptions node. g. Select YesNoGrammar from the properties view.
4. There are two Next items in this node. Complete the following: a. Set the first Next in the If condition to next form = InteriorOptions. b. Set the second Next to the ExteriorOptions node. By doing this, the application defaults to the ExteriorOptions node, unless the caller selects the Hybrid Sedan.
Copyright 2010 Avaya All Rights Reserved
Page L2.2.1-8
f. Click the Prompt parameter in the ThankYou node. g. Select ThankYou as the Prompt from the properties view.
Page L2.2.1-10
Page L2.2.1-12