246
Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) First Published: August 10, 2016 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883

Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and CiscoUnified Call Studio Release 11.5(1)First Published: August 10, 2016

Americas HeadquartersCisco Systems, Inc.170 West Tasman DriveSan Jose, CA 95134-1706USAhttp://www.cisco.comTel: 408 526-4000 800 553-NETS (6387)Fax: 408 527-0883

Page 2: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

© 2016 Cisco Systems, Inc. All rights reserved.

Page 3: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C O N T E N T S

P r e f a c e Preface xvii

Change History xvii

About this Guide xvii

Audience xvii

Related Documents xviii

Obtaining Documentation and Submitting a Service Request xviii

Documentation Feedback xviii

C H A P T E R 1 Element Specifications 1

Introduction 1

C H A P T E R 2 Subflow Start 5

Events 5

Exit 5

C H A P T E R 3 Subflow Return 7

C H A P T E R 4 Subflow Call 9

Events 9

Exit 9

C H A P T E R 5 Application_Modifier 11

Settings 11

Exit States 12

Folder and Class Information 12

Events 12

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) iii

Page 4: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 6 Audio 13

Audio Groups 13

Audio Playback 13

Folder and Class Information 13

Events 14

C H A P T E R 7 Counter 15

Settings 15

Element Data 16

Exit States 16

Folder and Class Information 16

Events 16

C H A P T E R 8 Callback_Add 17

Settings 17

Element Data 18

Exit States 18

Folder and Class Information 19

Events 19

C H A P T E R 9 Callback_Disconnect_Caller 21

Settings 21

Element Data 21

Exit States 22

Folder and Class Information 22

Events 22

C H A P T E R 1 0 Callback_Enter_Queue 23

Settings 23

Element Data 23

Exit States 23

Folder and Class Information 24

Events 24

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)iv

Contents

Page 5: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 1 1 Callback_Get_Status 25

Settings 25

Element Data 25

Exit States 26

Folder and Class Information 26

Events 26

C H A P T E R 1 2 Callback_Reconnect 27

Settings 27

Element Data 28

Exit States 28

Folder and Class Information 28

Events 28

C H A P T E R 1 3 Callback_Set_Queue_Defaults 29

Settings 29

Element Data 31

Exit States 31

Folder and Class Information 32

Events 32

C H A P T E R 1 4 Callback_Update_Status 33

Settings 33

Element Data 34

Exit States 34

Folder and Class Information 34

Events 34

C H A P T E R 1 5 Callback_Validate 37

Settings 37

Element Data 37

Exit States 38

Folder and Class Information 38

Events 38

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) v

Contents

Page 6: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 1 6 Callback_Wait 39

Settings 39

Exit States 39

Folder and Class Information 40

Events 40

C H A P T E R 1 7 Currency 41

Settings 42

Element Data 43

Exit States 44

Audio Groups 44

Currency Capture 44

End 45

Folder and Class Information 45

Events 45

C H A P T E R 1 8 Currency_with_Confirm 47

Settings 48

Element Data 49

Exit States 50

Audio Groups 51

Currency Capture 51

Currency Confirm 51

End 52

Folder and Class Information 52

Events 52

C H A P T E R 1 9 Customer_Lookup 53

Settings 53

Element Data 54

Exit States 54

Folder and Class Information 54

Events 54

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)vi

Contents

Page 7: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 2 0 CVP Subdialog Return 55

Settings 55

Exit States 56

Folder and Class Information 56

C H A P T E R 2 1 CVP Subdialog Start 57

Settings 57

Exit States 58

Folder and Class Information 58

C H A P T E R 2 2 Database 59

Settings 60

Element Data 60

Session Data 61

Exit States 61

Folder and Class Information 61

Events 61

Create JNDI Database Connection in Tomcat for Use in VXML Applications 62

Summary 62

Steps 62

C H A P T E R 2 3 Date 63

Settings 63

Element Data 64

Exit States 65

Audio Groups 66

Date Capture 66

End 66

Folder and Class Information 66

Events 66

C H A P T E R 2 4 Date_with_Confirm 69

Settings 69

Element Data 71

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) vii

Contents

Page 8: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Exit States 72

Audio Groups 72

Date Capture 72

Date Confirm 73

End 73

Folder and Class Information 73

Events 73

C H A P T E R 2 5 Digits 75

Settings 75

Element Data 77

Exit States 78

Audio Groups 78

Digits Capture 78

End 78

Folder and Class Information 79

Events 79

C H A P T E R 2 6 Digits_with_Confirm 81

Settings 81

Element Data 83

Exit States 84

Audio Groups 84

Digits Capture 84

Digits Confirm 85

End 85

Folder and Class Information 86

Events 86

C H A P T E R 2 7 Alert 87

Settings 87

Events 87

Exit States 88

C H A P T E R 2 8 Email 89

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)viii

Contents

Page 9: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Settings 89

Exit States 90

Folder and Class Information 91

Events 91

Set Up Email Element 91

C H A P T E R 2 9 Form 93

Settings 94

Element Data 99

Exit States 100

Audio Groups 101

Form Data Capture 101

End 101

Folder and Class Information 101

Events 102

C H A P T E R 3 0 Form_with_Confirm 103

Settings 104

Element Data 110

Exit States 112

Audio Groups 112

Form Data Capture 112

Form Data Confirm 112

End 113

Folder and Class Information 113

Events 113

C H A P T E R 3 1 FTP_Client 115

Settings 115

Element Data 117

Exit States 118

Other 118

Events 118

C H A P T E R 3 2 Math 119

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) ix

Contents

Page 10: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Examples 119

Settings 119

Operators and Functions 120

Element Data 121

Session Data 121

Exit States 121

Folder and Class Information 122

Events 122

C H A P T E R 3 3 Local Variables 123

Set Value Element 123

Change Implementation Order of Local Variables 123

C H A P T E R 3 4 Menu Support for 2_Option_Menu Through 10_Option_Menu 125

Settings 126

Element Data 128

Exit States 128

Audio Groups 129

Menu Option Capture 129

End 129

Folder and Class Information 129

C H A P T E R 3 5 Number 131

Settings 131

Element Data 132

Exit States 133

Audio Groups 134

Number Capture 134

End 134

Folder and Class Information 134

Events 135

C H A P T E R 3 6 Number_with_Confirm 137

Events 137

Settings 137

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)x

Contents

Page 11: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Data 139

Exit States 140

Audio Groups 140

Number Capture 140

Number Confirm 141

End 141

Folder and Class Information 142

C H A P T E R 3 7 Phone 143

Settings 143

Element Data 144

Exit States 145

Audio Groups 146

Phone Capture 146

End 146

Folder and Class Information 146

Events 146

C H A P T E R 3 8 Phone_With_Confirm 147

Settings 147

Element Data 149

Exit States 150

Audio Groups 150

Phone Capture 150

Phone Confirm 151

End 151

Folder and Class Information 151

Events 151

C H A P T E R 3 9 POD_Add 153

Settings 153

Element Data 154

Session Data 154

Exit States 155

Folder and Class Information 155

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) xi

Contents

Page 12: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Events 155

C H A P T E R 4 0 POD_Read 157

Settings 157

Element Data 157

Exit States 158

Folder and Class Information 158

Events 158

C H A P T E R 4 1 POD_Update 159

Settings 159

Element Data 160

Exit States 160

Folder and Class Information 160

Events 161

C H A P T E R 4 2 Record 163

Settings 163

Element Data 167

Exit States 167

Audio Groups 168

Record Capture 168

Folder and Class Information 168

Events 168

C H A P T E R 4 3 Record_With_Confirm 169

Settings 169

Element Data 173

Exit States 174

Audio Groups 174

Record Capture 174

Record Confirm 174

Folder and Class Information 175

Events 175

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)xii

Contents

Page 13: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 4 4 Rest_Client Element 177

Rest_Client 177

Settings 177

Element Data 178

Exit States 178

Events 179

C H A P T E R 4 5 ReqICMLabel 181

Settings 181

Element Data 182

Session Data 183

Exit States 183

Folder and Class Information 183

Events 184

C H A P T E R 4 6 Subdialog Invoke 185

Settings 185

Exit States 186

Folder and Class Information 186

Events 186

C H A P T E R 4 7 Subdialog Return 187

Settings 187

Exit States 188

Folder and Class Information 188

C H A P T E R 4 8 Subdialog Start 189

Settings 189

Exit States 190

Folder and Class Information 190

C H A P T E R 4 9 Time 191

Settings 191

Element Data 192

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) xiii

Contents

Page 14: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Exit States 193

Audio Groups 194

Time Capture 194

End 194

Folder and Class Information 194

Events 194

C H A P T E R 5 0 Time_With_Confirm 195

Settings 195

Element Data 197

Exit States 198

Audio Groups 198

Time Capture 198

Time Confirm 199

End 199

Folder and Class Information 199

Events 200

C H A P T E R 5 1 Transfer 201

Settings 202

Element Data 203

Exit States 203

Audio Groups 203

Transfer Audio 203

End 204

Folder and Class Information 204

Events 204

C H A P T E R 5 2 VideoConnect 205

Settings 205

Element Data 206

Exit States 206

Events 207

Others 207

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)xiv

Contents

Page 15: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 5 3 Web Service Elements 209

Exit States 210

Element Data 210

Settings 212

Configuring Request Parameters 217

Configuring Response Parameters 218

C H A P T E R 5 4 Yes_No_Menu 221

Settings 221

Element Data 222

Exit States 222

Audio Groups 223

Yes / No Capture 223

End 223

Folder and Class Information 223

Events 224

C H A P T E R 5 5 Throw 225

General 225

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) xv

Contents

Page 16: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)xvi

Contents

Page 17: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Preface

• Change History, page xvii

• About this Guide, page xvii

• Audience, page xvii

• Related Documents, page xviii

• Obtaining Documentation and Submitting a Service Request, page xviii

• Documentation Feedback, page xviii

Change HistoryThis table lists and links to changes made to this guide and gives the dates those changes were made. Earliestchanges appear in the bottom rows.

DateSeeChange

August 10, 2016Initial Release of document forrelease 11.5(1)

About this GuideThis document provides specifications for the elements that are included with VXML Server.

AudienceThis guide is intended for network administrators who install or upgrade the Unified CVP software.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) xvii

Page 18: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Related Documents• Documentation Guide for Cisco Unified Customer Voice Portal

• Compatibility Matrix for Unified CCE

• Configuration Guide for Cisco Unified Customer Voice Portal

Obtaining Documentation and Submitting a Service RequestFor information on obtaining documentation, using the Cisco Bug Search Tool (BST), submitting a servicerequest, and gathering additional information, see What's New in Cisco Product Documentation.

To receive new and revised Cisco technical content directly to your desktop, you can subscribe to the What'sNew in Cisco Product Documentation RSS feed. RSS feeds are a free service.

Documentation FeedbackProvide your comments about this document to: mailto:[email protected]

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)xviii

PrefaceRelated Documents

Page 19: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 1Element Specifications

• Introduction, page 1

IntroductionEvery element included with Call Studio and VXML Server must be configured before it can be used. Thisreference file contains a detailed specification for each of the core Cisco Unified Customer Voice Portal(Unified CVP) elements, listing all the options available in the configuration. The specifications must befollowed, or the element may complain with an error message or behave erratically.

Each element specification in this reference file presents information on some or all of the following topics:

• Overview – Each specification starts with a brief description of the element’s behavior including whatit does, how it reacts to various settings and audio groups, and other miscellaneous behavior. Thisinformation should help the developer decide whether to use these elements in an application or to relyon custom elements.

• Settings – Settings contain information that affects how the element behaves. Each setting has thefollowing attributes:

◦Type – The type of data accepted such as a boolean, integer, or enumeration.

◦Required – This defines whether the setting is required to have a value if the setting is active(available to be configured in Builder for Studio).

The definition of required in this case is that the setting must have an appropriate valuefor Builder for Studio to validate the voice element configuration.

Note

◦Single setting value – This defines whether the setting can have multiple values. If set to true,then the setting may have only a single configuration value. Multiple value settings are created inBuilder for Studio by right clicking on the setting and choosing the add setting name option.

◦Substitution allowed – This setting attribute determines if the setting value can include substitution.

◦Default – The initial value of an element setting when a new element is dragged to the workspace.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 1

Page 20: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

• Events – Event and exceptions occurring in a Cisco Unified Call Studio application can be handled byevent handlers defined in the applications. When event handlers are configured for elements, thecorresponding exit states are created. Following events types are supported:

◦Custom Exception- User defined application specific exception.

◦Java Exception - Java Exception occurring on a VXML server when executing applications.

◦VXML Event - VXML events thrown by the Voice XML browser.

◦Hotlink - Local Hotlinks defined for voice elements.

Event handlers can be configured with the following attributes:

◦Name - The Event Handler name can be changed according to the requirement and the EventHandler name will be added as an exit state.

◦Event Type - You can select the event handler type depending on the element, the applicable eventtypes are listed in the drop-down list.

◦Event List - You can select from a pre-defined list of VXML and Java exceptions using thedrop-down list. In addition, you can also enter a comma separated list of VXML events, Javaexceptions, or user defined custom exceptions based on the Event Type selected.Example 1, for VXML event you can enter error.badfetch to catch a VXML event namederror.badfetch

Example 2, for Java Exception event you can enter "java.io.FileNotFoundException" to catch aJava exception named java.io.FileNotFoundException

Example 3, for Custom Exception event you can enter "com.cisco.CustomException" to catch auser defined exception named com.cisco.CustomException

You can enter *.* to handle all the events and exceptions. * is allowed only at the endof the event name followed by "."(dot).

Note

◦DTMF - A digit which activates the hotlink. This attribute is applicable to Hotlink event handlers.

◦Speech - A spoken keyword or keywords which activate the hotlink. This attribute is applicableto Hotlink event handlers.

◦Throw Hotevent - The Voice XML event to be thrown when Hotlink is activated. When choosingthe option to throw an event, the full name of the VoiceXML event must be entered in the providedtext box.

• Element Data – Some elements capture data or yield information that may be useful to other elements,or for logging purposes. The variables created by each element are listed here.

• Exit States – Each element may have one or more exit states that indicate the dialog status when theelement execution has completed. These are pre-defined Exit states that do not appear in an elementconfiguration and cannot be changed. However, when an Event handler is associated to the elements,the corresponding Exit state (<event handler type>-<event handler name> is added along with thepre-defined state.

• Audio Groups – Voice elements define audio groups that define the different places within the elementthat audio can be played. Application designers configure the contents of audio groups as a list of audio

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)2

Element SpecificationsIntroduction

Page 21: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

items that are played one after the other. Audio items may be pre-recorded audio files, text-to-speech(TTS) phrases, and Say It Smart types (playback of formatted data such as dates, currency amounts, andso on). Each audio group can be required or optional and can also define multiple counts. Audio groupswith multiple counts are used to define different audio to play each time a certain VoiceXML eventoccurs (often known as tapered prompts).

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 3

Element SpecificationsIntroduction

Page 22: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)4

Element SpecificationsIntroduction

Page 23: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 2Subflow Start

Subflow Start element is the first element for a subflow. This element is not created from the elementview however, it is created automatically when a new subflow is created. Subflow Start element cannot bedeleted it can just be renamed. You can have only one Subflow Start element in a subflow. Subflow Startelement provides the definition of a subflow using its configuration. This element defines the parameterssubflow can receive during the subflow execution. Subflow Start Element uses a data model to save itsconfiguration which is implemented in SubflowStartConfig class. The Subflow Argument Data availableat the Element Configuration view. Subflows accepts inputs from the calling flows as arguments. SubflowCall element allows to send multiple arguments of different types to a subflow. The set of arguments inSubflow Start should match with the set of arguments in Subflow Call.

• Events, page 5

• Exit, page 5

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Custom Exception eventhandler type for this element from the drop-down list.

Event Type

ExitNotesName

The default exit state. The events that are entered for this element as added asthe exit state in the call flow.

next

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 5

Page 24: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)6

Subflow StartExit

Page 25: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 3Subflow Return

The Subflow Return element is the exit point for the subflow execution. The Subflow Return elementexecution returns the call flow control back to the Call Subflow element. Subflow Return element has noexit state as it is the last element in a subflow execution. The Subflow Return element is used to returneddata configured to a calling application. Subflow Return Element uses a data model to save its configurationwhich is implemented in the SubflowReturnConfig class. The Element configuration view displays theconfiguration of Subflow Return element implemented in SubflowReturnDataPage class which extendsBaseConfigPage class. The Subflow Return Data is available in the Element Configuration view. SubflowCall element allows to accept multiple return values of different types from a subflow.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 7

Page 26: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)8

Subflow Return

Page 27: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 4Subflow Call

The Subflow call element is used to call the subflows from any call flows inside the application. TheSubflow Call element is available in elements view. The Subflow Call element can be deleted, renamed,or can be used multiple times. The Call Subflow Element has the following three configurable tabs:

• General - This tab provides the means to associate a subflow call with Call Subflow element. Itprovides a drop down list of all the available subflows in a project. Only one of the subflow can beselected from the list.

• Data - This tab provides the information about subflow argument data and return data.

◦Subflow Argument Data - Subflows accepts inputs from the calling flows as arguments.Subflow Call element allows to send multiple arguments of different types to a subflow.

◦SubflowReturn Data - Subflows returns data as processed output. Subflow Call element allowsto accept multiple return values of different types from a subflow.

• Events, page 9

• Exit, page 9

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Custom Exception eventhandler type for this element from the drop-down list.

Event Type

ExitNotesName

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 9

Page 28: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The default exit state. The events that are entered for this element as added asthe exit state in the call flow.

next

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)10

Subflow CallExit

Page 29: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 5Application_Modifier

The Application_Modifier action element is used to modify context variables and remove session datavalues at runtime in a voice application. It allows for a developer to change the application’s environmentanywhere in the callflow. A typical use for the Application_Modifier element would be for multi-languagesupport because it can be used to change the application level xml:lang and encoding values. Visiting anApplication_Modifier element instance will update the application for the current session only.

• Settings, page 11

• Exit States, page 12

• Folder and Class Information, page 12

• Events, page 12

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

This setting specifies the e-mailaddress of the voice application

NonetruetrueNostringmaintainer

(Maintainer)administrator. This value is set in aVoiceXML <meta> tag.

This setting specifies the languageidentifier to specify in each

NonetruetrueNostringlanguage

(Language)VoiceXML document's xml:langattribute. This value is set in the<vxml> tag.

This setting specifies the encoding touse when creating VoiceXML

NonetruetrueNostringencoding

(Encoding)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 11

Page 30: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

documents. This value is set in the<xml> tag.

This setting specifies a partial URIto a path containing the audio contentfor this voice application.

NonetruetrueNostringdefault_audio_path

(Default AudioPath)

This setting specifies the names ofsession data values to remove fromthis voice application.

NonetruefalseNostringremove_session_data

(Session Data toRemove)

Exit StatesNotesName

The application’s context variables were modified and session data values wereremoved.

done

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.action.context.ApplicationModifierContext

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)12

Application_ModifierExit States

Page 31: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 6Audio

The Audio voice element simply outputs a VoiceXML page with the contents of a single audio group. TheAudio element is used for greetings, error messages and any other time audio is to be played in a situationnot associated with an input state.

• Audio Groups, page 13

• Folder and Class Information, page 13

• Events, page 14

Audio Groups

Audio Playback

NotesReq'dMax1Name (Label)

The audio group containing the audioto play.

YesYesinitial_audio_group (Initial)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.audio.MAudioTop Level

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 13

Page 32: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

EventsNotesName (Label)

You can select either VXMLEvent or Java Exception as event handlertype from the drop-down list.

Event Handler

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)14

AudioEvents

Page 33: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 7Counter

The Counter action element is used to keep track of a count stored as element data. The initial value of thecount is defined as a configuration setting. In addition, the element may be configured to increment ordecrement with a user defined step size. A typical use for the Counter element would be in a loop in thecall flow that increments the count until a decision element decides that the loop must end. Revisiting aCounter element instance will automatically update the count.

• Settings, page 15

• Element Data, page 16

• Exit States, page 16

• Folder and Class Information, page 16

• Events, page 16

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

This setting specifies at whichinteger value this counter shouldstart.

NonetruetrueYesintinitial

(Initial Count)

This setting specifies whether thecounter should be incremented or

NonetruetrueYesstringenum

type

(Type)decremented. Possible values are:decrement | increment.

This setting specifies by how muchthis counter should be incrementedor decremented.

1truetrueYesintstep

(Step Size)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 15

Page 34: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element DataNotesTypeName

The current countstringcount

Exit StatesNotesName

The counter was updated.done

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.action.counter.CounterActionCalculation

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)16

CounterElement Data

Page 35: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 8Callback_Add

The Callback_Add element is used to add a callback object to the database after all the callback informationhas been collected from the caller. In addition, it can be optionally configured to automatically delete oldrecorded files at specified intervals. These recorded files are the files produced by the Record element whenthe user records his/her name if they want a call back in the CallbackEntry application.

• Settings, page 17

• Element Data, page 18

• Exit States, page 18

• Folder and Class Information, page 19

• Events, page 19

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

The phone number the callers specifies to callback.

NonetruetrueYesstringCallbackNumber

The URL to the recorded file for playbackwhen the caller is called back.

NonetruetrueYesstringRecordedName File

Path to the recorded file. If specified, filesstarting with audio in this folder are deleted

NonetruetrueNostringRecordedName Path

automatically based on the file retention timeand interval specified in Recorded File

Retention and Recorded File Deletion

Interval settings.

All files created by the Recordelement start with audio.

Note

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 17

Page 36: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

If this setting is left blank, recorded files arenot deleted automatically.

The value of this settingmay be either the pathto a folder or a path to a file. If a path to a fileis specified, then the folder in which the fileresides is the folder to be managed. The pathto the folder must be accessible to theVXMLServer.

Number of minutes to retain recorded filesbefore they are eligible for automatic deletion.

240truetrueNoIntRecorded FileRetention

This setting only takes effect if Recordedname Path is specified.

Number of interval minutes for checkingwhenrecorded files can be deleted. This setting only

30truetrueNoIntRecorded FileDeletionInterval takes effect if Recorded name Path is

specified

Element DataNotesTypeName

Result of request to add callback object to the database. Valid string values arevalid, no_validation and invalid_time.

stringResult

• valid – signifies that the request was successful.

• no_validation – occurs when a callback object cannot be created becauseCallback_Validate element was not executed in the script.

• invalid_time – means that the time selected for the scheduled callback isinvalid.

Exit StatesNotesName

The element execution is complete and the value was successfully retrieved.done

The element failed to retrieve the value.error

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)18

Callback_AddElement Data

Page 37: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Folder and Class InformationClass NameStudio Element Folder Name

com.cisco.cvp.vxml.custelem.callback.AddCallbackCisco > Callback

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 19

Callback_AddFolder and Class Information

Page 38: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)20

Callback_AddEvents

Page 39: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 9Callback_Disconnect_Caller

The Callback_Disconnect_Caller element is responsible for disconnecting the caller’s leg of the call.The IP leg of the call for Unified CVP is preserved to hold the caller’s place in line until the callback ismade back to the caller.

• Settings, page 21

• Element Data, page 21

• Exit States, page 22

• Folder and Class Information, page 22

• Events, page 22

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName(Label)

The probe type can be oneof: Disconnect Caller |

DisconnectCaller

NoYesYesstringenum

Probe Type

Intercept Caller Hangup

| No Intercept Caller

Hangup

Element DataNotesTypeName

The call outcome from the attempt to disconnect the caller’sleg.

stringResult

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 21

Page 40: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Exit StatesNotesName

The element execution is complete and the value was successfully retrieved.done

The element failed to retrieve the value.error

Folder and Class InformationClass NameStudio Element Folder Name

com.cisco.cvp.vxml.custelem.callback.DisconnectCallerCisco > Callback

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)22

Callback_Disconnect_CallerExit States

Page 41: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 10Callback_Enter_Queue

The Callback_Enter_Queue element is responsible for adding a new caller to queue. This element mustbe executed for all callers even if the caller may not be offered a callback.

• Settings, page 23

• Element Data, page 23

• Exit States, page 23

• Folder and Class Information, page 24

• Events, page 24

SettingsNone.

Element DataNotesTypeName

The calculated estimated wait time for caller in queue.intewt

Exit StatesNotesName

The element execution is complete and the value was successfully retrieved.done

The element failed to retrieve the value.error

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 23

Page 42: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Folder and Class InformationClass NameStudio Element Folder Name

com.cisco.cvp.vxml.custelem.callback.EnterQueueCisco > Callback

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)24

Callback_Enter_QueueFolder and Class Information

Page 43: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 11Callback_Get_Status

The Callback_Get_Status element is responsible for retrieving all information about the callback relatedto the current call (if a callback exists).

• Settings, page 25

• Element Data, page 25

• Exit States, page 26

• Folder and Class Information, page 26

• Events, page 26

SettingsNone.

Element DataNotesTypeName

Specifies whether the application should call the caller, given currentcaller position in queue and rate of de-queue.

booleanstartCallback

Current estimated remaining wait time in seconds for this caller beforethe callback should be initiated.

intewt

Current position in queue.intqpos

Recording URL that was stored in the callback table. This only needs tobe returned if startCallback is true.

stringrec

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 25

Page 44: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Average number of seconds that it takes for each caller in this queue toleave the queue. This includes both callers leaving queue by going toagents and callers in queue abandoning.

intDORateA

Average number of seconds that it takes for the #1 caller in this queue toleave the queue.

intDORateB

Average number of seconds that it takes to get the caller back after startingthe callback. The rate is the same for all queues. This includes dial time,

intRORate

ring time, and IVR time spent asking the caller if they are ready to takethe callback.

The Calling Line ID to be used for this callbackstringcli

Ring No Answer timeout for this callintrna

Destination number for this outbound callstringdn

Exit StatesNotesName

The element execution is complete and the value was successfully retrieved.done

The element failed to retrieve the value.error

Folder and Class InformationClass NameStudio Element Folder Name

com.cisco.cvp.vxml.custelem.callback.GetStatusCisco > Callback

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)26

Callback_Get_StatusExit States

Page 45: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 12Callback_Reconnect

The Callback_Reconnect element is responsible for reconnecting the caller’s leg of the call.

• Settings, page 27

• Element Data, page 28

• Exit States, page 28

• Folder and Class Information, page 28

• Events, page 28

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

Destination for the outboundcall.

NonetruetrueYesstringDialed Number

The calling line ID to be usedfor the callback.

NonetruetrueYesstringCalling Line ID

Ring No Answer timeout inseconds, The default is 30,

30truetrueYesstringRing No AnswerTimeout

minimum is 0 and maximum is300 seconds.

The user-to-user information(UUI) to include in thecallback.

NonetruetrueNostringUser-to-UserInformation

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 27

Page 46: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element DataNotesTypeName

Contains the reconnect exit state.stringresult

Exit StatesNotesName

The callback was attempted and not answered.noanswer

The callback was attempted and the calling line was busy.busy

The callback number was not a valid number.invalid_number

The callback was attempted and connected.connected

The element failed to retrieve the value.error

Folder and Class InformationClass NameStudio Element Folder Name

com.cisco.cvp.vxml.custelem.callback.ReconnectCisco > Callback

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)28

Callback_ReconnectElement Data

Page 47: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 13Callback_Set_Queue_Defaults

The Callback_Set_Queue_Defaults element is responsible for updating the DBServlet with the valuesthat should be used for each queue. There is always a default queue type. The values are used whenever aqueue type is encountered for which there are no explicitly defined values. For example, if an administratorhas defined values for a billing and default queues, but the caller is queued for mortgages. In that case, theapplication uses the values from Callback_Set_Queue_Defaults.

When the DBServlet is not reachable to check the callback status for the duration of keepaliveinterval, the callback entry in the Reporting Server gets marked as a stale cached entry andsubsequently gets cleared. As a result, a callback is not initiated.

Note

• Settings, page 29

• Element Data, page 31

• Exit States, page 31

• Folder and Class Information, page 32

• Events, page 32

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

The name of the queue.NonefalsetrueYesstringQueue Name

Maximum percentage of callbacksthat can exist in the queue.Maximum is 100, minimum is 0.

50falsetrueNointegerMaximum Percentage

Absolute number of callbacks thatcan exist in a queue.

9999999falsetrueNointegerMaximum Count

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 29

Page 48: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Number of minutes betweenDBServlet refreshes of thisreference data. Maximum is 1440minutes, minimum is 1 minute.

30falsetrueNointegerRefresh Interval

Callbacks are only offered for thisqueue when the estimatedwait time(ewt) is greater than or equal thisnumber of seconds. If 0, thencallbacks are offered regardless ofewt. Maximum is 86400 seconds,minimum is 0.

900falsetrueNointegerMaximum EstimatedWait Time

The timezone to apply to this queue.Valid options available frompull-down menu.

NonefalsetrueNostringenum

Timezone

Maximum keepalive interval inseconds. Maximum is 300,minimum is 1. 'Ring No AnswerTimeout' setting must be less thanthis value.

180falsetrueNointegerKeepalive Interval

Dialed Number to which a callbackis directed for this queue.

NonefalsetrueNostringDialed Number

Approximate average time inseconds to reconnect caller. Takeinto account both ringtime and IVRtime when determining this value.Maximum is 300, minimum is 1.

30falsetrueNointegerReconnect Time

Average number of seconds to waitbefore connecting to an agent aftera caller is called back.

60falsetrueNointegerService LevelAgreement (SLA)

The CLI to be used on the callback.NonefalsetrueYesstringCalling Line ID

Number of minutes in the intervalused to calculate average time toleave queue. Maximum is 1440,minimum is 15.

0falsetrueNostringSample

X:Y, where X requests to methodLeaveQueue in Y seconds. This isused to detect abnormal systemfailures so that the requests do notget included in the average time toleave queue calculation.

10:1falsetrueNostringBurst

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)30

Callback_Set_Queue_DefaultsSettings

Page 49: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The RNA timeout for the callback.Maximum is 300, minimum is 0.Must be less than the KeepaliveInterval.

30falsetrueNointegerRing No AnswerTimeout

Time range per day when callbackscan occur. Value “none” means nocallbacks are allowed on that day.The default is all day if no value isspecified. 00:00:00 – 23:59:59means all day.

00:00:00–23:59:59

falsetrueNostringSunday Time Range

Monday Time Range

Tuesday Time Range

Wednesday TimeRange

Thursday Time Range

Friday Time Range

Saturday Time Range

3;300falsetrueNostringMax No ResponseCount

Max attempts to try the callbackwhen this error occurs and the nextthe interval (in seconds) in which toretry the call.

4;300falsetrueNostringMax Busy Count

4;300falsetrueNostringMaxNoAnswer Count

4;300falsetrueNostringMax Trunks BusyCount

4;300falsetrueNostringMax Error Count

Element DataNotesTypeName

Contains the reconnect exit state.stringresult

Exit StatesNotesName

The element execution is complete and the value was successfully retrieved.done

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 31

Callback_Set_Queue_DefaultsElement Data

Page 50: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The element failed to retrieve the value.error

Folder and Class InformationClass NameStudio Element Folder Name

com.cisco.cvp.vxml.custelem.callback.SetQueueDefaultsCisco > Callback

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)32

Callback_Set_Queue_DefaultsFolder and Class Information

Page 51: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 14Callback_Update_Status

The Callback_Update_Status element is responsible for updating the database after a callback disconnector reconnect.

• Settings, page 33

• Element Data, page 34

• Exit States, page 34

• Folder and Class Information, page 34

• Events, page 34

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName(Label)

Callback status can be one of thefollowing:

NonetruetrueYesenumstring

status

• PENDING

• INPROGRESS

• COMPLETED

• ADD TO QUEUE

• DROP FROM QUEUE

Required if status is COMPLETED,one of the following:

Nonetruetrue*enumstring

reason

• error

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 33

Page 52: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

• busy

• noanswer

• noresponse

• invalid_number

• connected

• trunkbusy

• caller_cancelled

Element DataNotesTypeName

Tells the application whether to cancel the existing callback or toretry, can be one of the following:

stringresult

• cancel

• retry

• done

Exit StatesNotesName

The element execution is complete and the value was successfully retrieved.done

The element failed to retrieve the value.error

Folder and Class InformationClass NameStudio Element Folder Name

com.cisco.cvp.vxml.custelem.callback.UpdateStatusCisco > Callback

EventsNotesName (Label)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)34

Callback_Update_StatusElement Data

Page 53: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 35

Callback_Update_StatusEvents

Page 54: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)36

Callback_Update_StatusEvents

Page 55: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 15Callback_Validate

The Callback_Validate element is responsible for verifying whether or not a callback can be offered tothe caller during this call. Depending on the outcome of the validation, the Validate element exits with oneof four states.

• Settings, page 37

• Element Data, page 37

• Exit States, page 38

• Folder and Class Information, page 38

• Events, page 38

SettingsNone.

Element DataNotesTypeName

Contains the exit state result.stringresult

EWT value passed from Unified ICM.intewt

Gateway identifier.stringgw

Gateway location information.stringloc

Gateway capacity.intcapacity

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 37

Page 56: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Exit StatesNotesName

This callback is valid.preemptive

The callback is not allowed.none

The validation could not be performed because the DBServlet needs a referencedata refresh. The application must call SetQueueDefaults before validation canoccur.

refresh

The element failed to retrieve the value.error

Folder and Class InformationClass NameStudio Element Folder Name

com.cisco.cvp.vxml.custelem.callback.ValidateCisco > Callback

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)38

Callback_ValidateExit States

Page 57: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 16Callback_Wait

The Callback_Wait element is responsible for sleeping the application for X seconds. The applicationhands control back to cvp_ccb_vxml.tcl with the parameter wait=X.

• Settings, page 39

• Exit States, page 39

• Folder and Class Information, page 40

• Events, page 40

SettingsNotesDefaultSubstitution

AllowedSingle SettingValue

Req'dTypeName (Label)

Amount of time inseconds to wait.

NonefalsetrueYesintegerWait Time

Maximum is 60,minimumis 0.

Exit StatesNotesName

The element execution is complete and the value was successfully retrieved.done

The element failed to retrieve the value.error

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 39

Page 58: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Folder and Class InformationClass NameStudio Element Folder Name

com.cisco.cvp.vxml.custelem.callback.WaitCisco > Callback

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)40

Callback_WaitFolder and Class Information

Page 59: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 17Currency

The Currency voice element captures from the caller a currency amount in dollars and cents. The currencyamount can be entered using the keypad or spoken. The captured value will be stored in element data as adecimal value (without the $ character).

There are several different formats for speaking a currency amount or entering it through the keypad. Voicebrowsers may use different grammars and therefore accept different utterances. However, the spokenformats listed below should result in the same behavior for all supported browsers. The tables below listeach input and the value that is stored in the element variable as a result. If some data is left out, the systemassumes a default value for the missing information.

You cannot use the * character to represent a decimal point in the Currency voice element, if youhave defined it as a termchar in the Root Doc Settings.

Note

DescriptionExampleStoredValueUtterance

Dollars are whole numbers >= 0. Centsare from 00 to 99. The word and isoptional.

"thirteen dollars and fiftycents " = 13.50

D.CC[dollar] "dollar(s)"("and") [cent] "cent(s)"

Dollars are whole numbers >= 0. Centsare from 00 to 99.

"thirteen dollars five" =13.05

D.CC[dollar] "dollar(s)"[cent]

A plain whole number is interpreted asdollars with no cents.

“three hundred fifty” =350.00

D.00[dollar] "dollar(s)"

To specify cents only, the word centsto be uttered. Cents are from 00 to 99.

"three cents" = 0.030.CC[cent] "cent(s)"

DescriptionExampleStored ValueDTMF Entry

The decimal is represented by the *button.

3*99 = 3.99D.CC[D]*[CC]

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 41

Page 60: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

There are other formats that are possible, particularly when entering via DTMF and inputting incompleteamounts. These inputs may yield differing results on various voice browsers. The returned variable willalways be a decimal value with the appropriate number of padded zeros if applicable.

• Settings, page 42

• Element Data, page 43

• Exit States, page 44

• Audio Groups, page 44

• Folder and Class Information, page 45

• Events, page 45

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

The type of entry allowed for input.Possible values are: voice | dtmf | both.

bothfalsetrueYesstringenum

Inputmode

(Input Mode)

The maximum time length allowed forsilence or no keypress before a noinput

5struetrueYesstringnoinput_timeout

(Noinput Timeout)event is thrown. Possible values arestandard time designations including botha non-negative number and a time unit,for example, 3s (for seconds) or 300ms(for milliseconds). Default = 5s

The maximum number of noinput eventsallowed during currency input capture. 0= infinite noinputs allowed.

3truetrueYesint ≥ 0max_noinput_count

(Max NoInput Count)

The maximum number of nomatch eventsallowed during currency input capture. 0= infinite nomatches allowed.

3truetrueYesint ≥ 0max_nomatch_count

(Max NoMatch Count)

The confidence level threshold to useduring currency capture.

0.40truetrueYesdecimal(0.0 to1.0)

currency_confidence_level

(Currency ConfidenceLevel)

Whether or not to temporarily disable allhotlink grammars (global or local) and

falsetruetrueYesbooleanmodal

(Disable Hotlinks)universal grammars. If set to true, only thecurrency grammars will be enabled for the

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)42

CurrencySettings

Page 61: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

duration of the element. Otherwise allactive grammars will be enabled.

Whether or not to enable logging ofpotentially sensitive data of the Currency

falsetruetrueYesbooleansecure_logging

(Secure Logging)element. If set to true, the followingpotentially sensitive data of the elementwill not log: utterance, interpretation,value, nbestUtteranceX† andnbestInterpretationX†. Instead, the abovewill be logged as the field name appendedwith the suffix _secureLogging and withthe value “*****”, for examplenbestUtterance1_secureLogging,*****.

The maximum number of speechrecognition results that can be generatedper voice input.

1truetrueYesint ≥ 1maxnbest

(Maxnbest)

Refer to the Element Data table below for information about nbestUtteranceX andnbestInterpretationX.

Note

Element DataNotesTypeName

The currency amount captured. This will always be a decimal numberwith the appropriate number of padded zeros (up to 2).

stringValue

This is the confidence value of the captured utterance. When n-bestrecognition is enabled, this stores the confidence score of the tophypothesis in the n-best list.

floatvalue_confidence

This stores the number of n-best hypotheses generated by the speechengine.

int ≥ 1nbestLength

This set of element data stores the captured n-best utterances. Whilethe maximum number of nbestUtteranceX values is equal to the

stringnbestUtterance1

nbestUtterance2maxnbest setting value, the actual number of these values available

… is determined by speech recognition at runtime, wherenbestUtterance1 holds the utterance of the top hypothesis in the n-bestlist and nbestUtteranceX holds the utterance of the last hypothesis.

nbestUtteranceX

This set of element data stores the interpretations of captured n-bestutterances. While the maximum number of nbestInterpretationX

stringnbestInterpretation1

nbestInterpretation2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestInterpretation1 holds the interpretation of the topnbestInterpretationX

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 43

CurrencyElement Data

Page 62: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

hypothesis in the n-best list and nbestInterpretationX holds theinterpretation of the last hypothesis.

This set of element data stores the confidence scores of capturedn-best utterances.While the maximum number of nbestConfidenceX

floatnbestConfidence1

nbestConfidence2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestConfidence1 holds the confidence score of the topnbestConfidenceXhypothesis in the n-best list and nbestConfidenceX holds theconfidence score of the last hypothesis.

This set of element data stores the input modes of captured n-bestutterances.

stringnbestInputmode1

nbestInputmode2

…nbestInputmodeX

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the nomatch maxcount is 0, this exit state will never occur.

max_nomatch

The maximum number of noinput events has occurred. If the noinput maxcount is 0, this exit state will never occur.

max_noinput

The currency capture was completed.done

Audio Groups

Currency Capture

NotesMax 1Req'dName (Label)

Played when the voice element first begins.YesYesinitial_audio_group

(Initial)

Played when a nomatch event occurs.NoNonomatch_audio_group

(NoMatch)

Played when a noinput event occurs.NoNonoinput_audio_group

(NoInput)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)44

CurrencyExit States

Page 63: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Played when the caller asked for help. If notspecified, by default help is treated as anomatch.

NoNohelp_audio_group

(Help)

End

NotesMax 1Req'dName (Label)

Played when the currency capture is completedand the voice element exits with the done exitstate.

YesNodone_audio_group

(Done)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.currency.MBasicCurrencyCommerce

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 45

CurrencyEnd

Page 64: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)46

CurrencyEvents

Page 65: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 18Currency_with_Confirm

The Currency_With_Confirm voice element captures from the caller a currency amount in dollars andcents, and presents a confirmation menu allowing the caller to either accept their entry or re-enter thecurrency value. The currency amount can be entered using the keypad or spoken. The captured value willbe stored in element data as a decimal value (without the $ character).

There are several different formats for speaking a currency amount or entering it through the keypad. Voicebrowsers may use different grammars and therefore accept different utterances. However, the spokenformats listed below should result in the same behavior for all supported browsers. The tables below listeach input and the value that is stored in element data as a result. If some data is left out, the system assumesa default value for the missing information.

DescriptionExampleStoredValueUtterance

Dollars are whole numbers >= 0. Centsare from 00 to 99. The word and isoptional.

"thirteen dollars and fiftycents " = 13.50

D.CC[dollar] "dollar(s)"("and") [cent] "cent(s)"

Dollars are whole numbers >= 0. Centsare from 00 to 99.

"thirteen dollars five" =13.05

D.CC[dollar] "dollar(s)"[cent]

A plain whole number is interpreted asdollars with no cents.

“three hundred fifty” =350.00

D.00[dollar] "dollar(s)"

To specify cents only, the word centsto be uttered. Cents are from 00 to 99.

"three cents" = 0.030.CC[cent] "cent(s)"

DescriptionExampleStored ValueDTMF Entry

The decimal is represented by the *button.

3*99 = 3.99D.CC[D]*[CC]

There are other formats that are possible, particularly when entering via DTMF and inputting incompleteamounts. These inputs may yield differing results on various voice browsers. The returned variable willalways be a decimal value with the appropriate number of padded zeros if applicable.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 47

Page 66: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

• Settings, page 48

• Element Data, page 49

• Exit States, page 50

• Audio Groups, page 51

• Folder and Class Information, page 52

• Events, page 52

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

The type of entry allowed for input.Possible values are: voice | dtmf | both.

bothfalsetrueYesstringenum

Inputmode

(Input Mode)

The maximum time length allowed forsilence or no keypress before a noinput

5struetrueYesstringnoinput_timeout

(Noinput Timeout)event is thrown. Possible values arestandard time designations including botha non-negative number and a time unit,for example, 3s (for seconds) or 300ms(for milliseconds). Default = 5s.

The maximum number of noinput eventsallowed during currency input capture. 0= infinite noinputs allowed.

3truetrueYesint ≥ 0currency_max_noinput_count

(Currency Max NoInputCount)

The maximum number of nomatch eventsallowed during currency input capture. 0= infinite nomatches allowed.

3truetrueYesint ≥ 0currency_max_nomatch_count

(Currency Max NoMatchCount)

The maximum number of noinput eventsallowed during currency input

3truetrueYesint ≥ 0confirm_max_noinput_count

(Confirm Max NoInputCount) confirmation. 0 = infinite noinputs

allowed.

The maximum number of nomatch eventsallowed during currency input

3truetrueYesint ≥ 0confirm_max_nomatch_count

(Confirm Max NoMatchCount) confirmation. 0 = infinite nomatches

allowed.

The maximum number of times a caller isallowed to disconfirm a captured input. 0= infinite disconfirmations allowed.

3truetrueYesint ≥ 0max_disconfirmed_count

(Max Disconfirmed Count)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)48

Currency_with_ConfirmSettings

Page 67: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The confidence level threshold to useduring currency capture.

0.40truetrueYesdecimal(0.0 to1.0)

currency_confidence_level

(Currency Confidence Level)

The confidence level threshold to useduring confirmation.

0.50truetrueYesDecimal(0.0 to1.0)

confirm_confidence_level

(Confirm Confidence Level)

Whether or not to temporarily disable allhotlink grammars (global or local) and

falsetruetrueYesbooleanmodal

(Disable Hotlinks)universal grammars. If set to true, only thegrammars of the currentCurrency_With_Confirm element (thecurrency and boolean grammars) will beenabled for the duration of the element.Otherwise all active grammars will beenabled.

Whether or not to enable logging ofpotentially sensitive data of the

falsetruetrueYesbooleansecure_logging

(Secure Logging)Currency_With_Confirm element. If setto true, the following potentially sensitivedata of the element will not log: utterance,interpretation, value, nbestUtteranceX†and nbestInterpretationX†. Instead, theabove will be logged as the field nameappended with the suffix _secureLoggingand with the value “*****”, for examplenbestUtterance1_secureLogging,*****.

The maximum number of speechrecognition results that can be generatedper voice input.

1truetrueYesint ≥ 1maxnbest

(Maxnbest)

Element DataNotesTypeName

The currency amount captured. This will always be a decimal numberwith the appropriate number of padded zeros (up to 2).

stringValue

This is the confidence value of the captured currency utterance.Whenn-best recognition is enabled, this stores the confidence score of thetop hypothesis in the n-best list.

floatvalue_confidence

This is the confidence value of the captured confirm utterance.floatconfirm_confidence

This stores the number of n-best hypotheses generated by the speechengine.

int ≥ 1nbestLength

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 49

Currency_with_ConfirmElement Data

Page 68: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

This set of element data stores the captured n-best utterances. Whilethe maximum number of nbestUtteranceX values is equal to the

stringnbestUtterance1

nbestUtterance2maxnbest setting value, the actual number of these values available

… is determined by speech recognition at runtime, wherenbestUtterance1 holds the utterance of the top hypothesis in thenbestUtteranceXn-best list and nbestUtteranceX holds the utterance of the lasthypothesis.

This set of element data stores the interpretations of captured n-bestutterances. While the maximum number of nbestInterpretationX

stringnbestInterpretation1

nbestInterpretation2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestInterpretation1 holds the interpretation of the topnbestInterpretationXhypothesis in the n-best list and nbestInterpretationX holds theinterpretation of the last hypothesis.

This set of element data stores the confidence scores of capturedn-best utterances.While the maximum number of nbestConfidenceX

floatnbestConfidence1

nbestConfidence2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestConfidence1 holds the confidence score of the topnbestConfidenceXhypothesis in the n-best list and nbestConfidenceX holds theconfidence score of the last hypothesis.

This set of element data stores the input modes of captured n-bestutterances.

stringnbestInputmode1

nbestInputmode2

…nbestInputmodeX

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the nomatch maxcount is 0, this exit state will never occur.

max_nomatch

The maximum number of noinput events has occurred. If the noinput maxcount is 0, this exit state will never occur.

max_noinput

The maximum number of disconfirmations has occurred. If the maxdisconfirmed count is set to 0, this exit state will never occur.

max_disconfirmed

The currency capture was confirmed.done

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)50

Currency_with_ConfirmExit States

Page 69: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Audio Groups

Currency Capture

NotesMax 1Req'dName (Label)

Played when the voice element first begins.YesYescurrency_initial_audio_group

(Currency Initial)

Played when a nomatch event occurs duringa currency capture.

NoNocurrency_nomatch_audio_group

(Currency NoMatch)

Played when a noinput event occurs duringa currency capture.

NoNocurrency_noinput_audio_group

(Currency NoInput)

Played when the caller asked for help duringa currency capture. If not specified, by defaulthelp is treated as a nomatch.

NoNocurrency_help_audio_group

(Currency Help)

Currency Confirm

NotesMax 1Req'dName (Label)

Played when confirmation first begins.YesYesconfirm_initial_audio_group

(Confirm Initial)

Played when a nomatch event occurs duringconfirmation. The nomatch event count correspondsto the audio group count.

NoNoconfirm_nomatch_audio_group

(Confirm NoMatch)

Played when a noinput event occurs duringconfirmation. The noinput event count correspondsto the audio group count.

NoNoconfirm_noinput_audio_group

(Confirm NoInput)

Played when a help event occurs duringconfirmation. The help event count corresponds to

NoNoconfirm_help_audio_group

(Confirm Help)the audio group count. If not specified, by defaulthelp throws a nomatch.

Played after the caller disconfirms a capturedcurrency entry. Upon reaching the

NoNodisconfirmed_audio_group

(Disconfirmed)max_disconfirmed_count, the prompt should beabout exiting with the max_disconfirmed exit state.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 51

Currency_with_ConfirmAudio Groups

Page 70: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

End

NotesMax 1Req'dName (Label)

Played after the caller chooses the yes option. Ifnot specified, no audio will be played when thisoption is chosen.

YesNoyes_audio_group

(Yes)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.currency.MBasicCurrencyWithConfirmCommerce

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)52

Currency_with_ConfirmEnd

Page 71: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 19Customer_Lookup

Use the Customer_Lookup element to search for the existing customers present in Context Service basedon the query parameters. You can combine multiple query parameters by using a logical AND or ORoperator.

• Settings, page 53

• Element Data, page 54

• Exit States, page 54

• Folder and Class Information, page 54

• Events, page 54

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName(Label)

The actual search parameters based onwhich a search is performed. For example,

NonetruetrueYesstringQueryParameters

if the customer listings in Context Servicecontain data elements such as emailaddress and phone number, you can usethe name-value pair to search for data inContext Service.

You can create up to ten queryparameters.

Note

The logical AND or OR operator used tocombine multiple query parameters.

ANDfalsetrueNostringOperator

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 53

Page 72: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element DataNotesTypeName

Contains the customer ID if the search result has only onecustomer. If the number of customers returned is zero ormore than one, customer_id is not populated.

stringcustomer_id

Contains the number of customers that match your searchcriteria.

stringcustomer_count

Contains data of all customers in the JSON format.stringsearch_result_as_ json

Exit StatesNotesName

The element execution is complete and the search operation is successful.done

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.action.contextservice.CustomerLookUpActionCisco > Context Service

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)54

Customer_LookupElement Data

Page 73: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 20CVP Subdialog Return

For a Cisco Unified CVP Voice application invoked as a subdialog, the CVP Subdialog Return elementmust be used to return data back to the calling application. The element should be used in place of HangUp elements throughout the call flow. Like a Hang Up element, the element has no exit states.

There is one exception to the above description. If the voice application will only ever be calledby a Subdialog Invoke element (that is, never by Unified ICM), then the Subdialog Start andSubdialog Return elements may be used instead. Refer to Subdialog Invoke, Subdialog Returnand Subdialog Start for details.

Note

The settings for this element are used to define what data to pass back to the calling application. The CallerInput setting must be assigned a value in order for the application to validate, since it is required to havea value. Each element setting corresponds to an ICM ECC external variable name, and therefore theconfiguration values must conform to requirements associated with ICMECC variables. Refer to the UnifiedCVP documentation for further details.

The CVP Subdialog Return element can be used to enable multiple types of transfer in call failure conditions.In case of a Hook Flash (HF) or Two B-Channel Transfer (TBCT) transfer, for example, Caller Input

should be set to the transfer destination number prefixed with HF or TBCT (as in HF800xxxxxxx orTBCT800xxxxxxx). An HF or TBCT transfer will be invoked after the Caller Input was passed backfrom the CVP Subdialog Return element.

• Settings, page 55

• Exit States, page 56

• Folder and Class Information, page 56

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

Required return argument thatholds a value to be returned tothe calling application.

NonetruetrueYesstringcaller_input

(Caller Input)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 55

Page 74: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Optional return argument thatis returned to the callingapplication.

NonetruetrueNostringFromExtVXML0

(External VXML 0)

Optional return argument thatis returned to the callingapplication.

NonetruetrueNostringFromExtVXML1

(External VXML 1)

Optional return argument thatis returned to the callingapplication.

NonetruetrueNostringFromExtVXML2

(External VXML 2)

Optional return argument thatis returned to the callingapplication.

NonetruetrueNostringFromExtVXML3

(External VXML 3)

Exit StatesNotesName

The element execution is complete.done

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.internal.CiscoSubdialogReturnElementCisco

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)56

CVP Subdialog ReturnExit States

Page 75: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 21CVP Subdialog Start

For a Cisco CVP voice application invoked as a subdialog, the CVP Subdialog Start element must beused, which receives data from a calling application and creates corresponding element data or sessiondata. The element should be placed at the entrance point of the application, immediately after the Start ofCall element.

Data can be passed to the VoiceXML application either as HTTP parameters or VoiceXML parameters(using the <param> tag). In the first case (that is, as HTTP parameters), Cisco Unified CVP VoiceXMLServer will automatically create session data using the name of the data received. In the second case (thatis, as VoiceXML parameters), the CVP Subdialog_Start element must be configured appropriately inorder for the data to be available as element or session data for the duration of the call session. For eachdata passed as a VoiceXML parameter, the Parameter setting must be configured with the same exact nameas the data. The Store As setting can be configured to store the passed data either as session or elementdata. The Enable Digits Bypass setting is used to activate a VoiceXML workaround to ensure expectedfunctionality for a particular TDM or analog phone. When this setting is set to true, a new setting namedAudio Filler URI will be enabled in VoiceXML Studio and can be configured to set a reference to asilence wave file to be played in the digits field. For IP phones the Enable Digits Bypass setting shouldbe set to false.

• Settings, page 57

• Exit States, page 58

• Folder and Class Information, page 58

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

Holds the name of a parameter passedas input to the subdialog. It must match

NonetruefalseNostringParameter

(Parameter)the exact value specified in theVoiceXML page that calls the

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 57

Page 76: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

subdialog. This is a repeatable setting,so multiple values can be specified.

Determines whether the parameterpassed to the subdialog will be stored

SessionData

falsetrueNostringWhere

(Store As)as element data or session data. Bymaking it element data, the informationwill “belong” only to this element, andso there is no chance that thesevariables will overwrite any othervariables.

Determines whether the digits field isused at the beginning of an application.By default this is disabled.

falsetruetrueYesbooleanenable_digits_bypass

(Enable DigitsBypass)

Configures a URI for a silence wavefile to be played in the above digitsfield.

NonetruetrueNostringaudio_filler_uri

(Audio Filler URI)

Exit StatesNotesName

The element execution is complete.done

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.internal.CiscoSubdialogStartElementCisco

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)58

CVP Subdialog StartExit States

Page 77: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 22Database

The database element provides the ability to execute an SQL command on external databases within avoice application call flow. The element requires JNDI to be configured in the Java application server tohandle database connections. Only a single SQL statement can be executed per element. There are fourtypes of commands that can be made:

• Single – This is used to run a SQL query that returns only a single row. Element data will be createdwith the variable names being the names of the columns returned and the value of that column as theelement data value (as a string). If no row is returned, no element data will be set.

•Multiple – This is used to run a SQL query that returns multiple rows. A Unified CVP-defined Javadata structure, the Java class ResultSetList, stores the full result and is placed in session data. If norows are returned, the ResultSetList object in session data will be empty. For detail about theResultSetList data structure, refer to the javadocs for this class.

• Inserts – This is used to run a SQL INSERT command that inserts information into the database.

• Updates – This is used to run a SQL UPDATE command that updates information in the database.

The developer can utilize substitution to create dynamic queries. TheDatabase element is ideal for performingsimple queries and updates. It may not be sufficient for performing complex database interactions such asmultiple dependent queries or stored procedure calls. One would use a custom configurable or genericaction element for these tasks. Also note that in order to avoid performance issues creating databaseconnections, you must implement database pooling on the application server. Refer tohttp://docwiki.cisco.com/wiki/Unified_CVP_VXML_Server_JNDI_Resources for additional informationon configuring Tomcat JNDI resources.

• Settings, page 60

• Element Data, page 60

• Session Data, page 61

• Exit States, page 61

• Folder and Class Information, page 61

• Events, page 61

• Create JNDI Database Connection in Tomcat for Use in VXML Applications, page 62

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 59

Page 78: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

The type of query: single,multiple, insert or update.

singletruetrueYesstringenum

type

(Type)The "xml_resultset"element data is notcreated wheninsert orupdateis selected.

Note

This JNDI name for the SQLdatasource of the database.

NonetruetrueYesstringjndiName

(JNDI Name)

For queries of type multiple, thename of the session variable

NonetruetrueYesstringkey

(Session Data Key)which the results of the query willbe stored.

The SQL query to be executed.NonetruetrueYesstringquery

(SQL Query)

If the Result-Set XML option isset to False, the "xml_resultset"

truefalsetrueYesBooleanenableXmlResultSet(Result-Set XML)

element data is not created whenthe XML Data conversionfunctionality is disabled.

Element DataIn the substitution tag, the two element data num_rows_processed and xml_resultset are available bydefault when a database element is selected. The {Data.Element.DBElement1.num_rows_processed} and{Data.Element.Database_01.xml_resultset} are the two tags that can be added for these element datarespectively. The Database element num_rows_processed carries the number of rows fetched when queryis selected from the database and the number of rows updated when any update, delete or insert operationis made in the database. The xml_resultset carries the database result in the XML form for a single queryor multiple select query. The num_rows_processed can be used for any data type settings. The xml_resultsetcan only be used for Insert and Update type settings. However, when the type setting is set to single for anElement data, the names of the return columns are created containing the respective return values.For example, if a query returned the following information:

foo bar

123 456

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)60

DatabaseSettings

Page 79: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The following element data will be created: foo with the value 123 and bar with the value 456.

Session DataSession data is created only when the type setting is set to multiple. In all other cases, no session data iscreated.

NotesTypeName

The Java data structure that stores the returned values from amultiple type query. The name of the session data variable isspecified by the developer in the key setting.

ResultSetList[value of setting “key”]

Exit StatesNotesName

The database query was successfully completed.done

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.action.database.DatabaseActionIntegration

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 61

DatabaseSession Data

Page 80: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Create JNDI Database Connection in Tomcat for Use in VXMLApplications

Summary

Steps

This section explains how to create a new JNDI database connection in Tomcat. These instructions are usefulwhen you would like to use the built-in Studio Database element, or create some custom code that accessesdatabase functionality through JNDI.

1 In order enable database access on your application server, a compatible JDBC driver must be installed.These drivers, typically packaged as JAR files, should be placed in a directory accessible to the applicationserver classpath (on Tomcat, for example, place in%CVP_HOME%\VXMLServer\Tomcat\lib).

The database must exist for this connection to work. CVP VXML Server will not create thedatabase for you.

Note

2 Add a Tomcat Context for the database connection so that the CVP VXML Server knows how tocommunicate with your database. Follow the instructions provided here.

3 In Audium Builder for CVP Studio, edit the configuration of the Database element in question. Enterthe string you entered below in <LABEL_YOU_CHOOSE> from the Tomcat Context into the JNDIName property of the Settings tab of your Database element.

You should not include the jdbc/ portionhere.

Note

Here is an example that uses MySQL (edit context.xml from AUDIUM_HOME\Tomcat\conf folder):

•<Context><Resource name="jdbc/<LABEL_YOU_CHOOSE>"auth="Container"type="javax.sql.DataSource"username="USER_NAME"password="USER_PW"driverClassName="com.mysql.jdbc.Driver"url="jdbc:mysql://HOSTNAME_OR_IP:PORT/DB_NAME" /></Context>

The default port number for MySQL is 3306. An example url for the above Context would bejdbc:mysql://localhost:3306/DB_name

Alternately, the <Resource> can be configured in the server.xml file under<GlobalNamingResources>, and a <ResourceLink> created in context.xml under <Context>

Note

4. Under heavy load conditions, enable Database Connection Pooling.

A database connection pool creates and manages a pool of connections to a database. Recycling and reusingalready existing connections to a database is more efficient than opening a new connection. For furtherinformation on Tomcat Database Pooling please see.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)62

DatabaseCreate JNDI Database Connection in Tomcat for Use in VXML Applications

Page 81: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 23Date

The Date voice element captures a date input from the caller. The date can be entered using DTMF input(in the YYYYMMDD format). It can also be spoken in natural language including a month, day and year.The captured value will be stored in element data as a fixed-length date string in the YYYYMMDD format.If the year is not specified in the input, YYYY is stored as “????”. And if the month or the day is notspecified, MM and DD will be stored as “??”.

• Settings, page 63

• Element Data, page 64

• Exit States, page 65

• Audio Groups, page 66

• Folder and Class Information, page 66

• Events, page 66

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

The type of entry allowed for input.Possible values are: voice | dtmf |both.

bothfalsetrueYesstringenum

inputmode

(Input Mode)

Themaximum time length allowed forsilence or no keypress before a noinput

5struetrueYesstringNoinput_timeout

(Noinput Timeout)event is thrown. Possible values arestandard time designations includingboth a non-negative number and a timeunit, for example, 3s (for seconds) or

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 63

Page 82: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

300ms (for milliseconds). Default =5s.

The maximum number of noinputevents. 0 = infinite noinputs allowed.

3truetrueYesint ≥ 0collect_max_noinput_count

(Date Max NoInput Count)

The maximum number of nomatchevents allowed. 0 = infinite nomatchesallowed.

3falsetrueYesint ≥ 0collect_max_nomatch_count

(DateMaxNoMatchCount)

The confidence level threshold to useduring date capture.

0.40truetrueYesdecimal(0.0 –1.0)

collect_confidence_level(Date Confidence Level)

Whether or not to temporarily disableall hotlink grammars (global or local)

falsetruetrueYesbooleanmodal (Disable Hotlinks)

and universal grammars. If set to true,only the grammars of the current Dateelement will be enabled for theduration of the element. Otherwise allactive grammars will be enabled.

Whether or not to enable logging ofpotentially sensitive data of the Date

falsetruetrueYesbooleansecure_logging

(Secure Logging)element. If set to true, the followingpotentially sensitive data of theelement will not log: utterance,interpretation, value, nbestUtteranceX†and nbestInterpretationX†. Instead, theabove will be logged as the field nameappended with the suffix“_secureLogging” and with the value“*****”, for examplenbestUtterance1_secureLogging,*****

The maximum number of speechrecognition results that can begenerated per voice input.

1truetrueYesint ≥ 1maxnbest

(Maxnbest)

†Refer to the following Element Data table for information about nbestUtteranceX and nbestInterpretationX.

Element DataNotesTypeName

The date stored in the YYYYMMDD format.stringvalue

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)64

DateElement Data

Page 83: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

This is the confidence value of the captured date utterance. Whenn-best recognition is enabled, this stores the confidence score of thetop hypothesis in the n-best list.

floatvalue_confidence

This stores the number of n-best hypotheses generated by the speechengine.

int ≥ 1nbestLength

This set of element data stores the captured n-best utterances. Whilethe maximum number of nbestUtteranceX values is equal to the

stringnbestUtterance1

nbestUtterance2maxnbest setting value, the actual number of these values available

… is determined by speech recognition at runtime, wherenbestUtterance1 holds the utterance of the top hypothesis in thenbestUtteranceXn-best list and nbestUtteranceX holds the utterance of the lasthypothesis.

This set of element data stores the interpretations of captured n-bestutterances. While the maximum number of nbestInterpretationX

stringnbestInterpretation1

nbestInterpretation2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestInterpretation1 holds the interpretation of the topnbestInterpretationXhypothesis in the n-best list and nbestInterpretationX holds theinterpretation of the last hypothesis.

This set of element data stores the confidence scores of capturedn-best utterances.While the maximum number of nbestConfidenceX

floatnbestConfidence1

nbestConfidence2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestConfidence1 holds the confidence score of the topnbestConfidenceXhypothesis in the n-best list and nbestConfidenceX holds theconfidence score of the last hypothesis.

This set of element data stores the input modes of captured n-bestutterances.

stringnbestInputmode1

nbestInputmode2

…nbestInputmodeX

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the max nomatchcount is 0, this exit state will never occur.

max_nomatch

The maximum number of noinput events has occurred. If the max noinputcount is 0, this exit state will never occur.

max_noinput

The data capture was completed.done

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 65

DateExit States

Page 84: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Audio Groups

Date Capture

NotesMax 1Req'dName (Label)

Played when the voice element first begins.YesYescollect_initial_audio_group

(Date Initial)

Played when a noinput event occurs during dateinput. The noinput event count corresponds to theaudio group count.

NoNocollect_noinput_audio_group

(Date NoInput)

Played when a nomatch event occurs during dateinput. The nomatch event count corresponds to theaudio group count.

NoNocollect_nomatch_audio_group

(Date NoMatch)

Played when a help event occurs during date input.The help event count corresponds to the audio group

NoNocollect_help_audio_group

(Date Help)count. If not specified, a help event is treated asnomatch.

End

NotesMax1Req'dName (Label)

Played after the date capture is completed. Ifnot specified, no audio will be played.

YesNodone_audio_group (Done)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.date.MBasicDateDate & Time

EventsNotesName (Label)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)66

DateAudio Groups

Page 85: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 67

DateEvents

Page 86: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)68

DateEvents

Page 87: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 24Date_with_Confirm

The Date_With_Confirm voice element captures a date input from the caller, and presents a confirmationmenu allowing the caller to either accept their entry or re-enter the date. The date can be entered usingDTMF input (in the YYYYMMDD format). It can also be spoken in natural language including a month,day and year. The captured value will be stored in element data as a fixed-length date string in theYYYYMMDD format. If the year is not specified in the input, YYYY is stored as “????”. If the month orthe day is not specified, MM and DD will be stored as “??”.

• Settings, page 69

• Element Data, page 71

• Exit States, page 72

• Audio Groups, page 72

• Folder and Class Information, page 73

• Events, page 73

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

The type of entry allowed for input.Possible values are: voice | dtmf | both.

bothfalsetrueYesstringenum

inputmode

(Input Mode)

The maximum time length allowed forsilence or no keypress before a noinput

5struetrueYesstringnoinput_timeout

(Noinput Timeout)event is thrown. Possible values arestandard time designations includingboth a non-negative number and a timeunit, for example, 3s (for seconds) or300ms (for milliseconds). Default = 5s.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 69

Page 88: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The maximum number of noinputevents allowed during date inputcapture. 0 = infinite noinputs allowed.

3truetrueYesint ≥ 0collect_max_noinput_count

(Date Max NoInput Count)

The maximum number of nomatchevents allowed during date inputcapture. 0 = infinite nomatches allowed.

3falsetrueYesint ≥ 0collect_max_nomatch_count

(Date Max NoMatch Count)

The maximum number of noinputevents allowed during date input

3truetrueYesint ≥ 0confirm_max_noinput_count

(Confirm Max NoInputCount) confirmation. 0 = infinite noinputs

allowed.

The maximum number of nomatchevents allowed during date input

3falsetrueYesint ≥ 0confirm_max_nomatch_count

(Confirm Max NoMatchCount) confirmation. 0 = infinite nomatches

allowed.

Themaximum number of times a calleris allowed to disconfirm a captured

3falsetrueYesint ≥ 0max_disconfirmed_count

(Max Disconfirmed Count)input. 0 = infinite disconfirmationsallowed.

The confidence level threshold to useduring date capture.

0.40falsetrueYesdecimal(0.0 –1.0)

collect_confidence_level

(Date Confidence Level)

The confidence level threshold to useduring confirmation.

0.50falsetrueYesdecimal(0.0 –1.0)

confirm_confidence_level

(Confirm Confidence Level)

Whether or not to temporarily disableall hotlink grammars (global or local)

falsefalsetrueYesbooleanmodal

(Disable Hotlinks)and universal grammars. If set to true,only the grammars of the currentDate_With_Confirm element (thebuilt-in date and boolean grammars)will be enabled for the duration of theelement. Otherwise all active grammarswill be enabled.

Whether or not to enable logging ofpotentially sensitive data of the

falsefalsetrueYesbooleansecure_logging

(Secure Logging)Date_With_Confirm element. If set totrue, the following potentially sensitivedata of the element will not log:utterance, interpretation, value,nbestUtteranceX† andnbestInterpretationX†. Instead, theabove will be logged as the field nameappended with the suffix

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)70

Date_with_ConfirmSettings

Page 89: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

“_secureLogging” and with the value“*****”, for examplenbestUtterance1_secureLogging,*****.

The maximum number of speechrecognition results that can begenerated per voice input.

1falsetrueYesint ≥ 1maxnbest

(Maxnbest)

†Refer to the following Element Data table for information about nbestUtteranceX and nbestInterpretationX.

Element DataNotesTypeName

The date stored in the YYYYMMDD format.stringvalue

This is the confidence value of the captured date utterance. Whenn-best recognition is enabled, this stores the confidence score of thetop hypothesis in the n-best list.

floatvalue_confidence

This is the confidence value of the captured confirm utterance.floatconfirm_confidence

This stores the number of n-best hypotheses generated by the speechengine.

int ≥ 1nbestLength

This set of element data stores the captured n-best utterances.Whilethe maximum number of nbestUtteranceX values is equal to the

stringnbestUtterance1

nbestUtterance2maxnbest setting value, the actual number of these values available

… is determined by speech recognition at runtime, wherenbestUtterance1 holds the utterance of the top hypothesis in thenbestUtteranceXn-best list and nbestUtteranceX holds the utterance of the lasthypothesis.

This set of element data stores the interpretations of captured n-bestutterances. While the maximum number of nbestInterpretationX

stringnbestInterpretation1

nbestInterpretation2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition atruntime, where nbestInterpretation1 holds the interpretation of thenbestInterpretationXtop hypothesis in the n-best list and nbestInterpretationX holds theinterpretation of the last hypothesis.

This set of element data stores the confidence scores of capturedn-best utterances.While themaximumnumber of nbestConfidenceX

floatnbestConfidence1

nbestConfidence2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition atruntime, where nbestConfidence1 holds the confidence score of thenbestConfidenceXtop hypothesis in the n-best list and nbestConfidenceX holds theconfidence score of the last hypothesis.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 71

Date_with_ConfirmElement Data

Page 90: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

This set of element data stores the input modes of captured n-bestutterances.

stringnbestInputmode1

nbestInputmode2

…nbestInputmodeX

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the max nomatchcount is 0, this exit state will never occur.

max_nomatch

The maximum number of noinput events has occurred. If the max noinputcount is 0, this exit state will never occur.

max_noinput

The maximum number of disconfirmations occurred. If themax_disconfirmed_count is set to 0, this exit state will never occur.

max_disconfirmed

The date captured was confirmed.done

Audio Groups

Date Capture

NotesMax 1Req'dName (Label)

Played when the voice element first begins.YesYescollect_initial_audio_group

(Date Initial)

Played when a noinput event occurs during dateinput. The noinput event count corresponds to theaudio group count.

NoNocollect_noinput_audio_group

(Date NoInput)

Played when a nomatch event occurs during dateinput. The nomatch event count corresponds to theaudio group count.

NoNocollect_nomatch_audio_group

(Date NoMatch)

Played when a help event occurs during date input.The help event count corresponds to the audio group

NoNocollect_help_audio_group

(Date Help)count. If not specified, a help event is treated asnomatch.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)72

Date_with_ConfirmExit States

Page 91: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Date Confirm

NotesMax 1Req'dName (Label)

Played when the captured date is confirmed.YesYesconfirm_initial_audio_group

(Confirm Initial)

Played when a noinput event occurs during dateconfirmation. The noinput event countcorresponds to the audio group count.

NoNoconfirm_noinput_audio_group

(Confirm NoInput)

Played when a nomatch event occurs during dateconfirmation. The nomatch event countcorresponds to the audio group count.

NoNoconfirm_nomatch_audio_group

(Confirm NoMatch)

Played when a help event occurs during dateconfirmation. The help event count corresponds

NoNoconfirm_help_audio_group

(Confirm Help)to the audio group count. If not specified, bydefault help is treated as nomatch.

Played after the caller disconfirms a date entry.NoNodisconfirmed_audio_group(Disconfirmed)

End

NotesMax 1Req'dName (Label)

Played after the caller chooses the yes option. Ifnot specified, no audio will be played when thisoption is chosen.

YesNoyes_audio_group

(Yes)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.date.MBasicDateWithConfirmDate & Time

EventsNotesName (Label)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 73

Date_with_ConfirmDate Confirm

Page 92: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)74

Date_with_ConfirmEvents

Page 93: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 25Digits

The Digits voice element captures a string of numerical digits. It may be used to collect small or largestrings of digits. The digit string can be spoken or entered using the keypad. The captured value will bestored in element data as a string. The string cannot contain any non-numerical characters. Using speechinput, the number is spoken one digit at a time (that is, 49678 is spoken four nine six seven eight). DTMFinput can be terminated by a # keypress if desired (if not used, the entry is considered terminated when theinput timeout has been reached).

With the Digits voice element, the application designer has the ability to set length restrictions on the digitstring. A minimum and maximum length can be given to narrow the criteria. If a string of a specific lengthis required, the minimum and maximum lengths should be set to the same value. If fewer digits are entered,a nomatch event will be thrown. A string of digits with length greater than the maximum length cannot beentered.

• Settings, page 75

• Element Data, page 77

• Exit States, page 78

• Audio Groups, page 78

• Folder and Class Information, page 79

• Events, page 79

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

The type of entry allowed for input.Possible values are: voice | dtmf | both.

bothfalsetrueYesstringenum

inputmode

(Input Mode)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 75

Page 94: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The maximum time length allowed forsilence or no keypress before a noinput

5struetrueYesstringnoinput_timeout

(Noinput Timeout)event is thrown. Possible values arestandard time designations includingboth a non-negative number and a timeunit, for example, 3s (for seconds) or300ms (for milliseconds). Default = 5s.

The maximum number of noinputevents allowed during digits inputcapture. 0 = infinite noinputs allowed.

3truetrueYesint ≥ 0max_noinput_count

(Digits Max NoInputCount)

The maximum number of nomatchevents allowed during digits inputcapture. 0 = infinite nomatches allowed.

3truetrueYesint ≥ 0max_nomatch_count

(Digits Max NoMatchCount)

The confidence level threshold to useduring digits capture.

0.40truetrueYesdecimal(0.0 to1.0)

digits_confidence_level

(Digits ConfidenceLevel)

Minimum number of digits allowed.NonetruetrueYesint > 0min_digit

(Min Digits)

Maximum number of digits allowed.NonetruetrueYesint ≥ 0max_digit

(Max Digits)

Whether or not to temporarily disableall hotlink grammars (global or local)

falsetruetrueYesbooleanmodal

(Disable Hotlinks)and universal grammars. If set to true,only the grammars of the current Digitselement will be enabled for the durationof the element. Otherwise all activegrammars will be enabled.

Whether or not to enable logging ofpotentially sensitive data of the Digits

falsetruetrueYesbooleansecure_logging

(Secure Logging)element. If set to true, the followingpotentially sensitive data of the elementwill not log: utterance, interpretation,value, nbestUtteranceX† andnbestInterpretationX†. Instead, theabove will be logged as the field nameappended with the suffix“_secureLogging” and with the value“*****”, for examplenbestUtterance1_secureLogging,*****.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)76

DigitsSettings

Page 95: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The maximum number of speechrecognition results that can begenerated per voice input.

1truetrueYesint ≥ 1maxnbest

(Maxnbest)

†Refer to the following Element Data table for information about nbestUtteranceX and nbestInterpretationX

Element DataNotesTypeName

The digit string value captured.stringValue

This is the confidence value of the captured utterance. When n-bestrecognition is enabled, this stores the confidence score of the tophypothesis in the n-best list.

floatvalue_confidence

This stores the number of n-best hypotheses generated by the speechengine.

int ≥ 1nbestLength

This set of element data stores the captured n-best utterances. Whilethe maximum number of nbestUtteranceX values is equal to the

stringnbestUtterance1

nbestUtterance2maxnbest setting value, the actual number of these values available

… is determined by speech recognition at runtime, wherenbestUtterance1 holds the utterance of the top hypothesis in thenbestUtteranceXn-best list and nbestUtteranceX holds the utterance of the lasthypothesis.

This set of element data stores the interpretations of captured n-bestutterances. While the maximum number of nbestInterpretationX

stringnbestInterpretation1

nbestInterpretation2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestInterpretation1 holds the interpretation of the topnbestInterpretationXhypothesis in the n-best list and nbestInterpretationX holds theinterpretation of the last hypothesis.

This set of element data stores the confidence scores of capturedn-best utterances.While themaximum number of nbestConfidenceX

floatnbestConfidence1

nbestConfidence2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestConfidence1 holds the confidence score of the topnbestConfidenceXhypothesis in the n-best list and nbestConfidenceX holds theconfidence score of the last hypothesis.

This set of element data stores the input modes of captured n-bestutterances.

stringnbestInputmode1nbestInputmode2

…nbestInputmodeX

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 77

DigitsElement Data

Page 96: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the nomatch maxcount is 0, this exit state will never occur.

max_nomatch

Themaximum number of noinput events has occurred. If the noinput max countis 0, this exit state will never occur.

max_noinput

The digit string capture was completed.done

Audio Groups

Digits Capture

NotesMax1Req'dName (Label)

Played when the voice element firstbegins.

YesYesdigits_initial_audio_group

(Digits Initial)

Played when a nomatch event occurs.NoNodigits_nomatch_audio_group

(Digits NoMatch)

Played when a noinput event occurs.NoNodigits_noinput_audio_group

(Digits NoInput)

Played when the caller asked for help. Ifnot specified, help is treated as a nomatchby default.

NoNodigits_help_audio_group

(Digits Help)

End

NotesMax1Req'dName (Label)

Played when the digits capture is completed andthe voice element exits with the done exit state.

YesNodone_audio_group

(Done)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)78

DigitsExit States

Page 97: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.digit.MBasicDigitNumber Capture

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 79

DigitsFolder and Class Information

Page 98: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)80

DigitsEvents

Page 99: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 26Digits_with_Confirm

The Digits_With_Confirm voice element captures a string of numerical digits, and presents a confirmationmenu allowing the caller to either accept their entry or re-enter the digits. It may be used to collect smallor large strings of digits. The digit string can be spoken or entered using the keypad. The captured valuewill be stored in element data as a string. The string cannot contain non-numerical characters. Using speechinput, the number is spoken one digit at a time (i.e. 49678 is spoken "four nine six seven eight"). DTMFinput can be terminated by a # keypress if desired (otherwise, the entry is considered terminated when theinput timeout is reached).

With the Digits_With_Confirm voice element, the application designer has the ability to set lengthrestrictions on the digit string. A minimum and maximum length can be given to narrow the criteria. If astring of a specific length is required, the minimum and maximum lengths should be set to the same value.If fewer digits are entered, a nomatch event will be thrown. A string of digits with length greater than themaximum length cannot be entered.

• Settings, page 81

• Element Data, page 83

• Exit States, page 84

• Audio Groups, page 84

• Folder and Class Information, page 86

• Events, page 86

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

The type of entry allowed for input(during digits capture and

bothfalsetrueYesstringenum

inputmode

(Input Mode)confirmation). Possible values are:voice | dtmf | both.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 81

Page 100: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The maximum time length allowed forsilence or no keypress before a noinput

5struetrueYesstringnoinput_timeout

(Noinput Timeout)event is thrown. Possible values arestandard time designations includingboth a non-negative number and a timeunit, for example, 3s (for seconds) or300ms (for milliseconds). Default = 5s.

The maximum number of noinputevents allowed during digits inputcapture. 0 = infinite noinputs allowed.

3truetrueYesint ≥ 0digits_max_noinput_count

(Digits Max NoInput Count)

The maximum number of nomatchevents allowed during digits inputcapture. 0 = infinite nomatches allowed.

3truetrueYesint ≥ 0digits_max_nomatch_count

(DigitsMaxNoMatchCount)

The maximum number of noinputevents allowed during digits input

3truetrueYesint ≥ 0confirm_max_noinput_count

(ConfirmMaxNoIput Count)confirmation. 0 = infinite noinputsallowed.

The maximum number of nomatchevents allowed during digits input

3truetrueYesint ≥ 0confirm_max_nomatch_count

(Confirm Max NoMatchCount) confirmation. 0 = infinite nomatches

allowed.

Themaximum number of times a calleris allowed to disconfirm a captured

3truetrueYesint ≥ 0max_disconfirmed_count

(Max Disconfirmed Count)digits input. 0 = infinitedisconfirmations allowed.

The confidence level threshold to useduring digits capture.

0.40truetrueYesdecimal(0.0 to1.0)

digits_confidence_level

(Digits Confidence Level)

The confidence level threshold to useduring confirmation.

0.50truetrueYesdecimal(0.0 to1.0)

confirm_confidence_level

(Confirm Confidence Level)

Minimum number of digits allowed.NonetruetrueYesint > 0min_digit

(Min Digits)

Maximum number of digits allowed.NonetruetrueYesint > 0max_digit

(Max Digits)

Whether or not to temporarily disableall hotlink grammars (global or local)

falsetruetrueYesbooleanmodal

(Disable Hotlinks)and universal grammars. If set to true,only the grammars of the currentDigits_With_Confirm element (thebuiltin digits and boolean grammars)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)82

Digits_with_ConfirmSettings

Page 101: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

will be enabled for the duration of theelement. Otherwise all active grammarswill be enabled.

Whether or not to enable logging ofpotentially sensitive data of the

falsetruetrueYesbooleansecure_logging

(Secure Logging)Digits_With_Confirm element. If setto true, the following potentiallysensitive data of the element will notlog: utterance, interpretation, value,nbestUtteranceX† andnbestInterpretationX†. Instead, theabove will be logged as the field nameappended with the suffix“_secureLogging” and with the value“*****”, for examplenbestUtterance1_secureLogging,*****.

The maximum number of speechrecognition results that can begenerated per voice input.

1truetrueYesint ≥ 1maxnbest

(Maxnbest)

†Refer to the following Element Data table for information about nbestUtteranceX and nbestInterpretationX

Element DataNotesTypeName

The digit string captured.stringValue

This is the confidence value of the captured digit string utterance.When n-best recognition is enabled, this stores the confidence scoreof the top hypothesis in the n-best list.

floatvalue_confidence

This is the confidence value of the captured confirm utterance.floatconfirm_confidence

This stores the number of n-best hypotheses generated by the speechengine.

int ≥ 1nbestLength

This set of element data stores the captured n-best utterances.Whilethe maximum number of nbestUtteranceX values is equal to the

stringnbestUtterance1

nbestUtterance2maxnbest setting value, the actual number of these values available

… is determined by speech recognition at runtime, wherenbestUtterance1 holds the utterance of the top hypothesis in thenbestUtteranceXn-best list and nbestUtteranceX holds the utterance of the lasthypothesis.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 83

Digits_with_ConfirmElement Data

Page 102: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

This set of element data stores the interpretations of captured n-bestutterances. While the maximum number of nbestInterpretationX

stringnbestInterpretation1

nbestInterpretation2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition atruntime, where nbestInterpretation1 holds the interpretation of thenbestInterpretationXtop hypothesis in the n-best list and nbestInterpretationX holds theinterpretation of the last hypothesis.

This set of element data stores the confidence scores of capturedn-best utterances.While themaximumnumber of nbestConfidenceX

floatnbestConfidence1

nbestConfidence2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition atruntime, where nbestConfidence1 holds the confidence score of thenbestConfidenceXtop hypothesis in the n-best list and nbestConfidenceX holds theconfidence score of the last hypothesis.

This set of element data stores the input modes of captured n-bestutterances.

stringnbestInputmode1

nbestInputmode2

…nbestInputmodeX

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the nomatch maxcount is 0, this exit state will never occur.

max_nomatch

The maximum number of noinput events has occurred. If the noinput maxcount is 0, this exit state will never occur.

max_noinput

The maximum number of disconfirmations has occurred. If the maxdisconfirmed count is set to 0, this exit state will never occur.

max_disconfirmed

The digit string captured was confirmed.done

Audio Groups

Digits Capture

NotesMax1Req'dName (Label)

Played when the voice element first begins.YesYesdigits_initial_audio_group

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)84

Digits_with_ConfirmExit States

Page 103: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

(Digits Initial)

Played when a nomatch event occurs duringdigits capture.

NoNodigits_nomatch_audio_group

(Digits NoMatch)

Played when a noinput event occurs duringdigits capture.

NoNodigits_noinput_audio_group

(Digits NoInput)

Played when the caller asks for help duringdigits capture. If not specified, by default helpis treated as a nomatch.

NoNodigits_help_audio_group

(Digits Help)

Digits Confirm

NotesMax1Req'dName (Label)

Played when confirmation first begins.YesYesconfirm_initial_audio_group

(Confirm Initial)

Played when a nomatch event occurs duringconfirmation. The nomatch event count correspondsto the audio group count.

NoNoconfirm_nomatch_audio_group

(Confirm NoMatch)

Played when a noinput event occurs duringconfirmation. The noinput event count correspondsto the audio group count.

NoNoconfirm_noinput_audio_group

(Confirm NoInput)

Played when a help event occurs duringconfirmation. The help event count corresponds to

NoNoconfirm_help_audio_group

(Confirm Help)the audio group count. If not specified, by defaulthelp throws a nomatch.

Played after the caller disconfirms a captured digitsentry. Upon reaching the max_disconfirmed_count,

NoNodisconfirmed_audio_group

(Disconfirmed)the prompt should be about exiting with themax_disconfirmed exit state.

End

NotesMax 1Req'dName (Label)

Played after the caller chooses the yes option. Ifnot specified, no audio will be played when thisoption is chosen.

YesNoyes_audio_group

(Yes)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 85

Digits_with_ConfirmDigits Confirm

Page 104: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.digit.MBasicDigitWithConfirmNumber Capture

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)86

Digits_with_ConfirmFolder and Class Information

Page 105: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 27Alert

The Alert element is used to generate syslog alerts and SNMP alerts based on the values set in the ElementConfiguration view.

• Settings, page 87

• Events, page 87

• Exit States, page 88

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName(Label)

This settings specifieswhether SNMP alert to begenerated.

truefalsetrueYesBooleanSNMP

This settings specifieswhether Syslog alert to begenerated.

falsefalsefalseYesBooleanSyslog

The alert message to belogged in SNMP ans Syslog.

BlanktrueNot

Applicable

YesBooleanMessage

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 87

Page 106: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Exit StatesNotesName

The element execution is complete.done

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)88

AlertExit States

Page 107: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 28Email

The Email action element sends messages to the provided email address. Additionally the message caninclude attachments. The application server must be configured to set a JNDI datasource for mail sessions.The to and tolist fields are not individually required; however, at least one must be defined. Emailaddresses are not verified for syntax or validity. Attachments that do not exist will be skipped but themessage will still be sent. Repeated email addresses are sent the message multiple times. The toList,ccList and bccList settings must refer to session data variables that holds a ResultSetList Java classholding a list of email addresses (retrieved from a Database element).

• Settings, page 89

• Exit States, page 90

• Folder and Class Information, page 91

• Events, page 91

• Set Up Email Element, page 91

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

The configured JNDI datasource for mailsessions under the java application server.

NonetruetrueYesstringjndiName

(JNDI Name)

The email address this message will besent to. This setting is repeatable so that

NonetruefalseNostringto

(To)each setting value contains a separateemail address.

The name of a session data variablecontaining a ResultSetList object holding

NonetruetrueNostringtoList

(To List)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 89

Page 108: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

a list of email addresses as retrieved fromaDatabase element. The email will be sentto every address in this list.

The email address this message will besent from.

NonetruetrueYesstringfrom

(From)

The email address this message will becarbon copied to. This setting is repeatable

NonetruefalseNostringcc

(Cc)so that each setting value contains aseparate email address.

The name of a session data variablecontaining a ResultSetList object holding

NonetruetrueNostringccList

(Cc List)a list of email addresses as retrieved froma Database element. The email will becarbon copied to each address in this list.

The email address this message will beblind carbon copied to. This setting is

NonetruefalseNostringbcc

(Bcc)repeatable so that each setting valuecontains a separate email address.

The name of a session data variablecontaining a ResultSetList object holding

NonetruetrueNostringbccList

(Bcc List)a list of email addresses as retrieved froma Database element. The email will beblind carbon copied to each address in thislist.

Subject field of the email.NonetruetrueNostringsubject

(Subject)

Full local path of the file to be attached.This setting is repeatable so that each

NonetruefalseNostringattachment

(Attachment)setting value contains a reference toseparate attachments.

The message body of the email.NonetruetrueYesstringmessageBody

(MessageBody)

Exit StatesNotesName

The database query successfully completed.done

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)90

EmailExit States

Page 109: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.action.email.EmailActionNotification

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Set Up Email ElementFor the Email element to work, add a mail session under Tomcat manually.

Procedure

Step 1 Edit the \Tomcat\conf\context.xml file.Step 2 Within the <Context> </Context> tags, add the following:

<Resource name="mail/ChrisMail"type="javax.mail.Session"mail.smtp.host="xmb-sjc-22d.amer.cisco.com"/>

Here, the namemust be mail/ANY_NAME_YOU_CHOOSE, typemust be javax.mail.Session, and mail.smtp.hostmust be a working SMTP server.

In Studio, edit the configuration of the Email element in question. Set the JNDI name to theANY_NAME_YOU_CHOOSE portion of what you entered in the Tomcat settings. In the preceding example,you can enter ChrisMail but ensure that you do not include the mail/ portion here.

Note

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 91

EmailFolder and Class Information

Page 110: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)92

EmailSet Up Email Element

Page 111: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 29Form

The Form voice element is used to capture any input from the caller, based on application designer-specifiedgrammars. The valid caller inputs can be specified either directly in the voice element settings (which willcreate an inline grammar) or with external grammar files. Information returned by the grammar are savedin element data that then can be analyzed by developer-defined components. A Form voice element canbe configured to listen for voice input only, DTMF input only, or both voice and DTMF input. In short,the Form element is the most flexible of included Unified CVP elements as it allows almost any custominformation to be captured without requiring a separate voice element. If a Unified CVP or third-partyvoice element does not capture the information desired, one can always use a Form element before embarkingon constructing a custom voice element.

The Form element provides support for custom control over the VoiceXML code generation. For example,the developer can decide what name to use for the VoiceXML field, whether or not to include a field-levelslot attribute and how to name the slot attribute. The element also supports separate options for activatinghelp prompts and the ability to set modality for Form.

Multiple DTMF and speech external grammars can be referenced within a single Form element, and theapplication designer has the ability to specify grammar weights for speech grammars and set MIME typesfor both speech and DTMF grammars. Additionally, the Form element can be used to capture multipleslots, and the developer can specify for which slot(s) they want the recognition values stored as elementdata. N-best processing can be enabled, and standard n-best results are stored in element data and the activitylog.

• Settings, page 94

• Element Data, page 99

• Exit States, page 100

• Audio Groups, page 101

• Folder and Class Information, page 101

• Events, page 102

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 93

Page 112: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

SettingsNotesDefaultSub.

AllowSingleSettingValue

Req'dTypeName (Label)

The type of entry allowed for input. Possiblevalues are: voice | dtmf | both.

bothfalsetrueYesstringenum

inputmode

(Input Mode)

The maximum time length allowed for silence orno keypress before a noinput event is thrown.

5struetrueYesstringnoinput_timeout

(Noinput Timeout)Possible values are standard time designationsincluding both a non-negative number and a timeunit, for example, 3s (for seconds) or 300ms (formilliseconds). Default = 5s.

0 = infinite noinputs allowed.3truetrueYesint ≥ 0form_max_noinput_count

(Form Max NoInput)

0 = infinite nomatches allowed.3truetrueYesint ≥ 0form_max_nomatch_count

(Form Max NoMatch)

The confidence level threshold to use for datacapture.

0.40truetrueYesdecimal(0.0 –1.0)

confidence_level

(Form Confidence Level)

Defines an external voice grammar for Form, ina string format delimited with semi-colonsspecifying five values in the following order:

Nonetruefalse*Nostringvoice_grammar

(Voice Grammar)

1 The language context in which the currentgrammar should be used (optional). If omittedthe language will be the same as thepage-scoped language.

2 The language code to assign to the xml:langattribute of the parent <grammar> tag(optional). If omitted the attribute will nothave an xml:lang attribute and the standardscoping rules apply.

3 The grammar weight (optional)

4 The grammar type (optional)

5 URL of the grammar file (required)

The type can be left blank to use the adapterdefault or set to null to not include a type at all.If one of the optional parameters is defined, four

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)94

FormSettings

Page 113: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

semi-colons must be used, even if the otherparameters are not used. For example:

• en-US;en-US;0.6;application/srgs+xml;http://IP:PORT/ mygrammar.grxml

• fr-FR;en-US;;application/srgs+xml;http://IP:PORT/ mygrammar.grxml

• ;;0.6;;http://IP:PORT/mygrammar.grxml

• ;fr-FR;0.6;null;http://IP:PORT/mygrammar.grxml

• http://IP:PORT/mygrammar.grxml

This setting is repeatable so multiple externalgrammar sources may be specified. None of thefour settings - voice_grammar, dtmf_grammar,voice_keyword and dtmf_keypress - is required,but at least one must be specified since a formcannot be completed without a grammar.

Defines an external DTMF grammar for Form, ina string format delimited with a semi-colonspecifying four values in the following order:

Nonetruefalse*NoURIdtmf_grammar

(DTMF Grammar)

1 The language context in which the currentgrammar should be used (optional). If omittedthe language will be the same as thepage-scoped language.

2 The language code to assign to the xml:langattribute of the parent <grammar> tag (optional). If omitted the attribute will not have anxml:lang attribute and the standard scopingrules apply.

3 The grammar type (optional)

4 URL of the grammar file (required)

The type can be left blank to use the adapterdefault or set to null to not include a type at all.If one of the optional parameters is defined, threesemi-colons must be used, even if the otherparameters are not used. For example:

• en-US;en-US;application/srgs+xml;http://IP:PORT/ mygrammar.grxml

• ;fr-FR;null;http://IP:PORT/mygrammar.grxml

• en-US;;;http://IP:PORT/mygrammar.grxml

• http://IP:PORT/mygrammar.grxml

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 95

FormSettings

Page 114: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

This setting is repeatable so multiple externalgrammar sources may be specified. None of thefour settings - voice_grammar, dtmf_grammar,voice_keyword and dtmf_keypress - is required,but at least one must be specified since a formcannot be completed without a grammar.

Defines the inline voice grammar for Form, witheach configuration of this repeatable setting

Nonetruefalse*Nostringvoice_keyword

(Voice Keyword)specifying one option for the grammar. The validformat is a string separated with a semi-colonspecifying four values in the following order:

1 The language context in which the currentinput should be included in the inline grammar(optional). If omitted the language will be thesame as the page-scoped language.

2 The language code to assign to the xml:langattribute of the <item> tag inside the inlinegrammar (optional) . If omitted the attributewill not have an xml:lang attribute and thestandard scoping rules apply.

3 The weight of the grammar item (optional)

4 The grammar item (required)

The grammar item may either containthe input itself followed by an optionalreturn value, or just the input. If one ofthe optional parameters is defined, threesemi-colons must be used, even if theother parameters are not used.

Note

Sample configurations values are:

• en-US;en-US;0.6;news report [news]

• ;fr-FR;0.6;news report

• news report [news]

• news report

None of the four settings - voice_grammar,dtmf_grammar, voice_keyword anddtmf_keypress - is required, but at least one mustbe specified since a form cannot be completedwithout at least one grammar.

Defines the inline DTMF grammar for Form, witheach configuration of this repeatable setting

Nonetruefalse*Nocharacter(0-9, #,*)

dtmf_keypress

(DTMF Keypress)specifying one option for the grammar. The valid

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)96

FormSettings

Page 115: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

format is a string separated with a semi-colonspecifying three values in the following order:

1 The language context in which the currentinput should be included in the inline grammar(optional). If omitted the language will be thesame as the page-scoped language.

2 The language code to assign to the xml:langattribute of the <item> tag inside the inlinegrammar (optional) . If omitted the attributewill not have an xml:lang attribute and thestandard scoping rules apply.

3 A character (0-9, #, *) representing thekeypress, followed by an optional return value.

The grammar item may either containthe input itself followed by an optionalreturn value, or just the input. If one ofthe optional parameters is defined, twosemi-colons must be used, even if theother parameters are not used.

Note

Sample configurations values are:

• en-US;en-US;1 [news]

• ;fr-FR;1

• 1 [news]

• 1

None of the four settings - voice_grammar,dtmf_grammar, voice_keyword anddtmf_keypress - is required, but at least one mustbe specified since a form cannot be completedwithout at least one grammar.

Specifies a custom inline voice grammar toactivate the help audio group. Each value of this

NonetruefalseNostringhelp_voice_keyword

(Help Voice Keyword)repeatable setting adds another valid utterance.The format is a string specifying just the utterance(for example, news report).

If this setting is configured, a custom inline voicegrammar will be generated, replacing the defaulthelp grammar used by a browser, and the customgrammar will be active only within the currentForm element.

Specifies a custom inline DTMF grammar toactivate the help audio group. Each value of this

NonetruefalseNocharacter(0-9, #,*)

help_dtmf_keypress

(Help DTMF Keypress)repeatable setting adds another valid DTMF

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 97

FormSettings

Page 116: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

keypress. The format is a character (0-9, #, *)representing just the keypress.

If this setting is configured, a custom inline DTMFgrammar will be generated, and it will be activeonly within the current Form element.

Whether or not to temporarily disable all hotlinkgrammars (global or local) and universal

falsetruetrueYesbooleanmodal

(Disable Hotlinks)grammars. If set to true, only the current Formelement grammars will be enabled for the durationof the element. Otherwise all active grammarswill be enabled.

foundation_fld - The value to assign to the VXMLfield name attribute.

foundation_fld

truetrueYesstringfield_name

(Field Name)

The name to assign to the VXML field slotattribute. If left unspecified, the field will notinclude a slot attribute.

NonetruetrueNostringslot_name

(Field Slot)

Specifies for which grammar slot the return valueshould be stored as element data. This is a

NonetruefalseNostringslot_element_data

(Slot Element Data)repeatable setting so multiple slot names can bespecified. See notes below for further details.

The maximum number of speech recognitionresults that can be generated per voice input.

1truetrueYesint ≥ 1maxnbest

(Maxnbest)

Whether or not to enable logging of potentiallysensitive data of the Form element. If set to true,

falsetruetrueYesbooleansecure_logging

(Secure Logging)the following potentially sensitive data of theelement will not log: utterance, interpretation,value, <SLOT_ELEMENT_DATAX>,nbestUtteranceX, and nbestInterpretationX.Instead, the above will be logged as the field nameappended with the suffix “_secureLogging” andwith the value “*****”, for examplenbestUtterance1_secureLogging,*****.

• VXML 2.0-compliant browsers typically require top-level slot names in the grammar (inline or external)to match the field-level slot attribute (if it exists) or the field name attribute, in order for the field namevariable (and hence the value element data) to be defined. For inline grammars, the Form elementautomatically generates the grammar slot name to match the slot attribute (if available) or the fieldname. For custom grammars that are referenced from an external source, the application designer needsto set Field Name and Field Slot properly based on the slot name returned by the grammar.

• If a grammar returns different slots for different inputs or multiple slots per utterance, there are twoways to configure the Form element to store this data:

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)98

FormSettings

Page 117: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

◦Leave the slot_element_data setting empty. The Form element will create element data named“nbestInterpretationX” (where X is from 1 to the length of the n-best list) that contains a stringthat uses delimiters “+” and “:” to separate the multiple slot names from their values. For example:“+Slot1:value1+Slot2:value2...”. A developer would then need to parse this string in a subsequentelement to obtain the different slot name and value pairs.

◦Configure the slot_element_data setting with the names for all the slots that can be returned.The Form element will create a new set of n-best element data to store the recognition results foreach slot listed in that setting. The element data will be named as <SLOT_ELEMENT_DATAX> (whereSLOT_ELEMENT_DATA is a string identical to the setting value and X is from 1 to the lengthof the n-best list). For example, if slot_element_data had two values city and state and thereare three n-best results triggered, then six element data in the names of city1, city2, city3, state1,state2, and state3 will be created to store each of the n-best values for the city and state slots.Note that if n-best processing is disabled by setting the maxnbest setting to 1, then only oneinterpretation result will be returned per recognition and thereby only one element data per slot(city1 and state1) will be created.

Element DataNotesTypeName

This stores the value of the VXML field name variable.stringvalue

This stores the confidence score of the captured Form utterance.When n-best recognition is enabled, this stores the confidencescore of the top hypothesis in the n-best list.

floatvalue_confidence

A separate set of element data stores the interpretation valuesfor each filled slot of captured n-best utterances. While the

string<SLOT_ELEMENT_DATA1>

<SLOT_ELEMENT_DATA2>maximum number of <SLOT_ELEMENT_DATAX> values is equal

… to the maxnbest setting value, the actual number of these valuesavailable is dependent on speech recognition at runtime, where<SLOT_ELEMENT_DATAX*><SLOT_ELEMENT_DATA1> holds the slot value of the tophypothesis in the n-best list and <SLOT_ELEMENT_DATAX> holdsthe slot value of the last hypothesis.

If the slot_element_data setting is blank, these setsof element data will not be created.

Note

This stores the number of n-best hypotheses generated by thespeech engine.

int ≥ 1nbestLength

This set of element data stores the captured n-best utterances.While the maximum number of nbestUtteranceX values is

stringnbestUtterance1

nbestUtterance2equal to the maxnbest setting value, the actual number of these

… values available is determined by speech recognition at runtime,where nbestUtterance1 holds the utterance of the topnbestUtteranceX

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 99

FormElement Data

Page 118: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

hypothesis in the n-best list and nbestUtteranceX holds theutterance of the last hypothesis.

This set of element data stores the interpretations of capturedn-best utterances. While the maximum number of

stringnbestInterpretation1

nbestInterpretation2nbestInterpretationX values is equal to the maxnbest setting

… value, the actual number of these values available is determinedby speech recognition at runtime, where nbestInterpretation1nbestInterpretationXholds the interpretation of the top hypothesis in the n-best listand nbestInterpretationX holds the interpretation of the lasthypothesis.

This set of element data stores the confidence scores of capturedn-best utterances. While the maximum number of

floatnbestConfidence1

nbestConfidence2nbestConfidenceXvalues is equal to the maxnbest setting value,

… the actual number of these values available is determined byspeech recognition at runtime, where nbestConfidence1 holdsnbestConfidenceXthe confidence score of the top hypothesis in the n-best list andnbestConfidenceX holds the confidence score of the lasthypothesis.

This set of element data stores the input modes of capturedn-best utterances. This stores the number of no input events that

stringnbestInputmode1

nbestInputmode2the browser returned during the collection phase of the VXMLfield name variable.…

nbestInputmodeX

This stores the number of no input events that the browserreturned during the collection phase of the VXML field namevariable.

int ≥ 0collect_noinput_count

This stores the number of no match events that the browserreturned during the collection phase of the VXML field namevariable.

int ≥ 0collect_nomatch_count

* SLOT_ELEMENT_DATA is a string identical to the configuration value of the slot_element_data setting, andX is from 1 to the length of the n-best list. If more than one such value is configured, then multiple sets ofelement data using the same naming convention will be created.

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the nomatch maxcount is 0, this exit state will never occur.

max_nomatch

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)100

FormExit States

Page 119: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Themaximum number of noinput events has occurred. If the noinput max countis 0, this exit state will never occur.

max_noinput

The caller input matched the grammar correctly.done

Audio Groups

Form Data Capture

NotesMax1Req'dName (Label)

Played when the voice element first begins.YesYesinitial_audio_group

(Initial)

Played when a nomatch event occurs.NoNonomatch_audio_group

(NoMatch)

Played when a noinput event occurs.NoNonoinput_audio_group

(NoInput)

Played when the caller asks for help. If notspecified, help is treated as a nomatch eventby default.

NoNohelp_audio_group

(Help)

End

NotesMax 1Req'dName (Label)

Played when the form data capture is completed,and the voice element exits with the done exitstate.

YesNodone_audio_group (Done)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.form.MFoundationFormForm

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 101

FormAudio Groups

Page 120: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)102

FormEvents

Page 121: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 30Form_with_Confirm

The Form_With_Confirm voice element is used to capture and confirm input from the caller, based onapplication designer-specified grammars. The valid caller inputs can be specified either directly in the voiceelement settings (which will create an inline grammar) or with external grammar files. Information returnedby the grammar are saved in element data that then can be analyzed by developer-defined components. AForm_With_Confirm voice element can be configured to listen for voice input only, DTMF input only, orboth voice and DTMF input. In short, the Form_With_Confirm element is the most flexible of includedelements that have confirmation menus as it allows almost any custom information to be captured andconfirmed without requiring a separate voice element. If a Unified CVP or third-party voice element doesnot capture and confirm the information desired, one can always use a Form_With_Confirm element beforeembarking on constructing a custom voice element.

The Form_With_Confirm element provides support for custom control over the VoiceXML code generation.For example, the developer can decide what name to use for the VoiceXML field, whether or not to includea field-level slot attribute and how to name the slot attribute. The element also supports separate optionsfor activating help prompts and the ability to set modality for Form.

Multiple DTMF and speech external grammars can be referenced within a single Form_With_Confirmelement, and the application designer has the ability to specify grammar weights for speech grammars andset MIME types for both speech and DTMF grammars. Additionally, the Form_With_Confirm elementcan be used to capturemultiple slots, and the developer can specify for which slot(s) they want the recognitionvalues stored as element data. N-best processing can be enabled, and standard n-best results are stored inelement data and the activity log.

• Settings, page 104

• Element Data, page 110

• Exit States, page 112

• Audio Groups, page 112

• Folder and Class Information, page 113

• Events, page 113

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 103

Page 122: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

SettingsNotesDefaultSub.

AllowSingleSettingValue

Req'dTypeName (Label)

The type of entry allowed for input.Possible values are: voice | dtmf | both.

bothfalsetrueYesstringenum

inputmode

(Input Mode)

The maximum time length allowed forsilence or no keypress before a noinput

5struetrueYesstringnoinput_timeout

(Noinput Timeout)event is thrown. Possible values arestandard time designations including botha non-negative number and a time unit, forexample, 3s (for seconds) or 300ms (formilliseconds). Default = 5s.

The maximum number of noinput eventsallowed during form input capture. 0 =infinite noinputs allowed.

3truetrueYesint ≥ 0form_max_noinput_count

(Form Max NoInput)

The maximum number of nomatch eventsallowed during form input capture. 0 =infinite nomatches allowed.

3truetrueYesint ≥ 0form_max_nomatch_count

(Form Max NoMatch)

The maximum number of noinput eventsallowed during form input confirmation. 0= infinite noinputs allowed.

3truetrueYesint ≥ 0confirm_max_noinput_count

(Confirm Max NoInput)

The maximum number of nomatch eventsallowed during form input confirmation. 0= infinite nomatches allowed.

3truetrueYesint ≥ 0confirm_max_nomatch_count

(Confirm Max NoMatch)

The maximum number of times a caller isallowed to disconfirm a captured input. 0= infinite disconfirmations allowed.

3truetrueYesint ≥ 0max_disconfirmed_count

(Max Disconfirmed Count)

The confidence level threshold to use forcapture of the form data.

0.40truetrueYesdecimal(0.0 –1.0)

form_confidence_level

(Form Confidence Level)

The confidence level threshold to use forconfirmation of the form data.

0.50truetrueYesdecimal(0.0 –1.0)

confirm_confidence_level

(Confirm Confidence Level)

Defines an external voice grammar forForm_With_Confirm, in a string format

Nonetruefalse*Nostringvoice_grammar

(Voice Grammar)delimited with semi-colons specifying fivevalues in the following order:

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)104

Form_with_ConfirmSettings

Page 123: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

1 The language context in which thecurrent grammar should be used(optional). If omitted the language willbe the same as the page-scopedlanguage.

2 The language code to assign to thexml:lang attribute of the parent<grammar> tag (optional). If omittedthe attribute will not have an xml:langattribute and the standard scoping rulesapply.

3 The grammar weight (optional)

4 The grammar type (optional)

5 URL of the grammar file (required)

The type can be left blank to use theadapter default or set to ‘null’ to not includea type at all. If one of the optionalparameters is defined, four semi-colonsmust be used, even if the other parametersare not used. For example:

• en-US;en-US;0.6;application/srgs+xml;http://IP:PORT/mygrammar.grxml

• fr-FR;en-US;;application/srgs+xml;http://IP:PORT/mygrammar.grxml

• ;;0.6;;http://IP:PORT/mygrammar.grxml

• ;fr-FR;0.6;null;http://IP:PORT/mygrammar.grxml

• http://IP:PORT/mygrammar.grxml

This setting is repeatable so multipleexternal grammar sources may bespecified. None of the four settings -voice_grammar, dtmf_grammar,voice_keyword and dtmf_keypress - isrequired, but at least one must be specifiedsince a form cannot be completed withouta grammar.

Defines an external DTMF grammar forForm_With_Confirm, in a string format

Nonetruefalse*NoURIdtmf_grammar

(DTMF Grammar)delimitedwith a semi-colon specifying fourvalues in the following order:

1 The language context in which thecurrent grammar should be used

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 105

Form_with_ConfirmSettings

Page 124: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

(optional). If omitted the language willbe the same as the page-scopedlanguage.

2 The language code to assign to thexml:lang attribute of the parent<grammar> tag (optional) . If omittedthe attribute will not have an xml:langattribute and the standard scoping rulesapply.

3 The grammar type (optional)

4 URL of the grammar file (required)

The type can be left blank to use theadapter default or set to ‘null’ to not includea type at all. If one of the optionalparameters is defined, three semi-colonsmust be used, even if the other parametersare not used. For example:

• en-US;en-US;application/srgs+xml;http://IP:PORT/mygrammar.grxml

• ;fr-FR;null;http://IP:PORT/mygrammar.grxml

• en-US;;;http://IP:PORT/mygrammar.grxml

• http://IP:PORT/mygrammar.grxml

This setting is repeatable so multipleexternal grammar sources may bespecified. None of the four settings -voice_grammar, dtmf_grammar,voice_keyword and dtmf_keypress - isrequired, but at least one must be specifiedsince a form cannot be completed withouta grammar.

Defines the inline voice grammar forForm_With_Confirm, with each

Nonetruefalse*Nostringvoice_keyword

(Voice Keyword)configuration of this repeatable settingspecifying one option for the grammar. Thevalid format is a string separated with asemi-colon specifying four values in thefollowing order:

1 The language context in which thecurrent input should be included in theinline grammar (optional). If omittedthe language will be the same as thepage-scoped language.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)106

Form_with_ConfirmSettings

Page 125: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

2 The language code to assign to thexml:lang attribute of the <item> taginside the inline grammar (optional) .If omitted the attribute will not have anxml:lang attribute and the standardscoping rules apply.

3 The weight of the grammar item(optional)

4 The grammar item (required)

The grammar item may eithercontain the input itself followedby an optional return value, or justthe input. If one of the optionalparameters is defined, threesemi-colons must be used, evenif the other parameters are notused.

Note

Sample configurations values are:

• en-US;en-US;0.6;news report [news]

• ;fr-FR;0.6;news report

• news report [news]

• news report

None of the four settings - voice_grammar,dtmf_grammar, voice_keyword anddtmf_keypress - is required, but at leastone must be specified since a form cannotbe completed without a grammar.

Defines the inline DTMF grammar forForm_With_Confirm, with each

Nonetruefalse*Nocharacter(0-9, #,*)

dtmf_keypress

(DTMF Keypress)configuration of this repeatable settingspecifying one option for the grammar. Thevalid format is a string separated with asemi-colon specifying three values in thefollowing order:

1 The language context in which thecurrent input should be included in theinline grammar (optional). If omittedthe language will be the same as thepage-scoped language.

2 The language code to assign to thexml:lang attribute of the <item> taginside the inline grammar. If omittedthe attribute will not have an xml:lang

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 107

Form_with_ConfirmSettings

Page 126: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

attribute and the standard scoping rulesapply.

3 A character (0-9, #, *) representing thekeypress, followed by an optionalreturn value.

The grammar item may eithercontain the input itself followedby an optional return value, or justthe input. If one of the optionalparameters is defined, twosemi-colons must be used, evenif the other parameters are notused.

Note

Sample configurations values are:

• en-US;en-US;1 [news]

• ;fr-FR;1

• 1 [news]

• 1

None of the four settings - voice_grammar,dtmf_grammar, voice_keyword anddtmf_keypress - is required, but at leastone must be specified since a form cannotbe completed without a grammar.

Specifies a custom inline voice grammarto activate the help audio group. Each

NonetruefalseNostringhelp_voice_keyword

(Help Voice Keyword)value of this repeatable setting addsanother valid utterance. The format is astring specifying just the utterance (forexample, news report).

If this setting is configured, a custom inlinevoice grammarwill be generated, replacingthe default help grammar used by abrowser, and the custom grammar will beactive only within the currentForm_With_Confirm element.

Specifies a custom inline DTMF grammarto activate the help audio group. Each

NonetruefalseNocharacter(0-9, #,*)

help_dtmf_keypress (HelpDTMF Keypress)

value of this repeatable setting addsanother valid DTMF keypress. The formatis a character (0-9, #, *) representing justthe keypress.

If this setting is configured, a custom inlineDTMF grammar will be generated, and it

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)108

Form_with_ConfirmSettings

Page 127: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

will be active only within the currentForm_With_Confirm element.

Whether or not to temporarily disable allhotlink grammars (global or local) and

falsetruetrueYesbooleanmodal

(Disable Hotlinks)universal grammars. If set to true, only thecurrent Form_With_Confirm elementgrammars (including the builtin booleangrammar for confirmation) will be enabledfor the duration of the element. Otherwiseall active grammars will be enabled.

foundation_fld - The value to assign to theVXML field-level name attribute.

foundation_fld

truetrueYesstringfield_name

(Field Name)

The name to assign to the VXMLfield-level slot attribute. If left unspecified

NonetruetrueNostringslot_name

(Field Slot)(i.e. the default value), the field will nothave a slot attribute.

Specifies for which grammar slot the returnvalue should be stored as element data.

NonetruefalseNostringslot_element_data

(Slot Element Data)This is a repeatable setting so multiple slotnames can be specified. See notes belowfor further details.

The maximum number of speechrecognition results that can be generatedper voice input.

1truetrueYesint ≥ 1maxnbest

(Maxnbest)

Whether or not to enable logging ofpotentially sensitive data of the

falsetruetrueYesbooleansecure_logging

(Secure Logging)Form_With_Confirm element. If set totrue, the following potentially sensitivedata of the element will not log: utterance,interpretation, value,<SLOT_ELEMENT_DATAX>,nbestUtteranceX, and nbestInterpretationX.Instead, the above will be logged as thefield name appended with the suffix“_secureLogging” and with the value“*****”, for examplenbestUtterance1_secureLogging,*****.

• VXML 2.0-compliant browsers typically require top-level slot names in the grammar (inline or external)to match the field-level slot attribute (if it exists) or the field name attribute, in order for the field namevariable (and hence the value element data) to be defined. For inline grammars, the Form_With_Confirmelement automatically generates the grammar slot name to match the slot attribute (if available) or the

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 109

Form_with_ConfirmSettings

Page 128: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

field name. For custom grammars that are referenced from an external source, the application designerneeds to set Field Name and Field Slot properly based on the slot name returned by the grammar.

• If a grammar returns different slots for different inputs or multiple slots per utterance, there are twoways to configure the Form_With_Confirm element to store this data:

◦Leave the slot_element_data setting empty. The Form_With_Confirm element will create elementdata named nbestInterpretationX (where X is from 1 to the length of the n-best list) that containsa string that uses delimiters “+” and “:” to separate the multiple slot names from their values. Forexample: “+Slot1:value1+Slot2:value2...”. A developer would then need to parse this string in asubsequent element to obtain the different slot name and value pairs.

◦Configure the slot_element_data setting with the names for all the slots that can be returned.The Form_With_Confirm element will create a new set of n-best element data to store therecognition results for each slot listed in that setting. The element data will be named as<SLOT_ELEMENT_DATAX> (where SLOT_ELEMENT_DATA is a string identical to the setting value andX is from 1 to the length of the n-best list). For example, if slot_element_data had two valuescity and state and there are three n-best results triggered, then six element data in the names ofcity1, city2, city3, state1, state2, and state3 will be created to store each of the n-best values forthe city and state slots.

If n-best processing is disabled by setting the maxnbest setting to 1, then only oneinterpretation result will be returned per recognition and thereby only one element dataper slot (city1 and state1) will be created.

Note

Element DataNotesTypeName

This stores the value of the VXML field name variable.stringvalue

This stores the confidence score of the capturedForm_With_Confirm utterance. When n-best recognition is

floatvalue_confidence

enabled, this stores the confidence score of the top hypothesisin the n-best list.

A separate set of element data stores the interpretation valuesfor each filled slot of captured n-best utterances. While the

string<SLOT_ELEMENT_DATA1>

<SLOT_ELEMENT_DATA2>maximum number of <SLOT_ELEMENT_DATAX> values is equal

… to the maxnbest setting value, the actual number of these valuesavailable is dependent on speech recognition at runtime, where<SLOT_ELEMENT_DATAX*><SLOT_ELEMENT_DATA1> holds the slot value of the tophypothesis in the n-best list and <SLOT_ELEMENT_DATAX> holdsthe slot value of the last hypothesis.

If the slot_element_data setting is blank, these setsof element data will not be created.

Note

This stores the number of n-best hypotheses generated by thespeech engine.

int ≥ 1nbestLength

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)110

Form_with_ConfirmElement Data

Page 129: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

This set of element data stores the captured n-best utterances.While the maximum number of nbestUtteranceX values is

stringnbestUtterance1

nbestUtterance2equal to the maxnbest setting value, the actual number of these

… values available is determined by speech recognition at runtime,where nbestUtterance1 holds the utterance of the topnbestUtteranceXhypothesis in the n-best list and nbestUtteranceX holds theutterance of the last hypothesis.

This set of element data stores the interpretations of capturedn-best utterances. While the maximum number of

stringnbestInterpretation1

nbestInterpretation2nbestInterpretationX values is equal to the maxnbest setting

… value, the actual number of these values available is determinedby speech recognition at runtime, wherenbestInterpretationXnbestInterpretation1 holds the interpretation of the tophypothesis in the n-best list and nbestInterpretationX holdsthe interpretation of the last hypothesis.

This set of element data stores the confidence scores of capturedn-best utterances. While the maximum number of

floatnbestConfidence1

nbestConfidence2nbestConfidenceX values is equal to the maxnbest setting

… value, the actual number of these values available is determinedby speech recognition at runtime, where nbestConfidence1nbestConfidenceXholds the confidence score of the top hypothesis in the n-bestlist and nbestConfidenceX holds the confidence score of thelast hypothesis.

This set of element data stores the input modes of capturedn-best utterances.

stringnbestInputmode1

nbestInputmode2

…nbestInputmodeX

This stores the number of no input events that the browserreturned during the collection phase of the VXML field namevariable.

int ≥ 0collect_noinput_count

This stores the number of no match events that the browserreturned during the collection phase of the VXML field namevariable.

int ≥ 0collect_nomatch_count

This stores the number of no input events that the browserreturned during the confirmation phase of the VXML fieldname variable.

int ≥ 0confirm_noinput_count

This stores the number of no match events that the browserreturned during the confirmation phase of the VXML fieldname variable.

int ≥ 0confirm_nomatch_count

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 111

Form_with_ConfirmElement Data

Page 130: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

* “SLOT_ELEMENT_DATA” is a string identical to the configuration value of the “slot_element_data”setting, and X is from 1 to the length of the n-best list. If more than one such value is configured, thenmultiple sets of element data using the same naming convention will be created.

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the nomatch maxcount is 0, this exit state will never occur.

max_nomatch

The maximum number of noinput events has occurred. If the noinput maxcount is 0, this exit state will never occur.

max_noinput

The maximum number of disconfirm events has occurred. If the disconfirmmax count is 0, this exit state will never occur.

max_disconfirmed

The caller input matched the grammar correctly.done

Audio Groups

Form Data Capture

NotesMax1Req'dName (Label)

Played when the voice element first begins.YesYesform_initial_audio_group

(Form Initial)

Played when a nomatch event occurs duringform data capture.

NoNoform_nomatch_audio_group

(Form NoMatch)

Played when a noinput event occurs duringform data capture.

NoNoform_noinput_audio_group

(Form NoInput)

Played when the caller asks for help duringform data capture. If not specified, help istreated as a nomatch event by default.

NoNoform_help_audio_group

(Form Help)

Form Data Confirm

NotesMax1Req'dName (Label)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)112

Form_with_ConfirmExit States

Page 131: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Played after the caller enters a value,requesting the caller's confirmation of thatvalue.

YesYesconfirm_initial_audio_group

(Confirm Initial)

Played when a nomatch event occurs duringconfirmation.

NoNoconfirm_nomatch_audio_group

(Confirm NoMatch)

Played when a noinput event occurs duringconfirmation.

NoNoconfirm_noinput_audio_group

(Confirm NoInput)

Played when the caller asks for help duringconfirmation.

NoNoconfirm_help_audio_group

(Confirm Help)

Played when the caller disconfirms thevalue.

NoNodisconfirmed_audio_group

(Disconfirmed)

End

NotesMax 1Req'dName (Label)

Played after the caller chooses the yes option. Ifnot specified, no audio will be played when thisoption is chosen.

YesNoyes_audio_group

(Yes)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.form.MFoundationFormWithConfirmForm

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 113

Form_with_ConfirmEnd

Page 132: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)114

Form_with_ConfirmEvents

Page 133: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 31FTP_Client

The FTP_Client element is used to upload a local file to one or more FTP servers. If there are multiple FTPservers specified, the file is uploaded concurrently to the FTP servers.

• Settings, page 115

• Element Data, page 117

• Exit States, page 118

• Other, page 118

• Events, page 118

SettingsNotesValidation

EnforcedDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

by CallStudio

This setting specifies the fullpathname of the file to transfer.

Must be avalid

NonetruetrueYesstringfilename

(Name of file to betransferred) Alternatively, a path relative to

the application directory can beused.

Windowsfilename.

This is the FTP server targetfilename. If a remote filename

Ifspecified,

NonetruetrueNostringremote_filename

(Remote Filename)is not specified, the remotefilename will be the same as theinput filename.

must be avalidWindowsfilename.

This is the list of FTP serverhost names or IP addresses to

Mustconform

NonetruetrueYesstringftp_hosts

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 115

Page 134: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

(FTP Server or FTPServers)

transfer the file to. Each FTPserver entry may optionallyspecify a port number (default

to theformatlisted in"Notes". port:21), username and

password in the formatValidationwill fail if host|port|username|password.

Server entries are delimited bythea space character. You can enterpasswordmultiple hosts on one line oris set, butseparate lines or both. If anythefield requires spaces, verticalusername

is not. bars (|) or equals symbols (=),they may be escaped with \s, \por \e, respectively.

User name to use whentransferring the file. This value

Validationwill fail if

NonetruetrueYesstringftp_user

(Default Username)may be overridden on aper-server basis. If left blank,"anonymous" will be assumed.

thepasswordfield isset whilethis fieldis not set.

This is the password to use whentransferring the file. This value

n/aNonetruetrueNostringftp_password

(Default Password)can be overridden on aper-server basis.

This is the directory on the FTPserver where to transfer the file.

Must be avalid

NonetruetrueNostringftp_path

(FTP Path)Use the forward slash as thedirectory delimiter dir/subdir.

Windowspathname.

The directory will be created ifit does not already exist.

This setting deletes the file afterit has been successfullytransferred to all FTP Server(s).

n/atruetruetrueNobooleandelete_file_on_success

(Delete file if filetransferredsuccessfully)

Default ftp_user/ftp_password will be used if ftp_hosts setting does not include a username/password inits definition.

Note

It is important to ensure that the FTP Server(s) are open for write access.Note

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)116

FTP_ClientSettings

Page 135: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The file to be uploaded is assumed to be a binary file.Note

If a large file is to be transferred and the network connection to the FTP servers is slow and there aremultiple FTP servers, consider implementing VXML 'fetchaudio' functionality in the element before theFTP element so that the caller does not hear silence while the FTP operation is in progress.

Note

The http client response timeout setting on the gateway must be set to accommodate the time it takes tocomplete the largest anticipated FTP file transfer. If an FTP file transfer takes longer than the configuredduration in seconds for http client response timeout, the FTP transfer will complete correctly, but the callwill drop as soon as the configured timeout duration is met.

Note

Element DataElement data is created only when the exit state setting is not done. If the exit state is done, no elementdata is created.

NotesTypeName

One or more space delimited host names or IP addresses of Server(s) wherethe input file was not successfully transferred. This data is created only ifthe exit state is not done.

stringfailed_servers

One or more space delimited reason codes indicating why a file was notsuccessfully transferred:

stringfailed_server_reasons

• connection_error: There was an error connecting to the FTP server.This may be caused by an invalid or blocked port.

• extraneous_data: There were extra fields for a given server in theftp_hosts setting.

• invalid_filename: The name of the file to transfer is invalid or thefile doesn't exist.

• invalid_port: The port for an FTP server is invalid.

• missing_username: The password for an FTP server was specified,but the username was left blank. They must either both be specified orboth left blank.

• unknown: An unknown error has occurred.

• unknown_host: An FTP server could not be reached. Possible reasonsinclude an incorrect hostname or network connectivity problems. Athree-digit number: An FTP server sent back an unexpected reply code.Additional information will appear in the error log.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 117

FTP_ClientElement Data

Page 136: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

• A three-digit number:An FTP server sent back an unexpected replycode. Additional information will appear in the error log.

• A Java exception:An unexpected exception was handled. Additionalinformation will appear in the error log.

Number of failed FTP transfers. This data is created only if the exit state isnot done.

stringfailed_servers_count

Exit StatesNotesName

This exit state is used if an error occurred and the file was not transferred to anyFTP Server(s).

error

This exit state is used when not all FTP transfers were successful.partial_success

This exit state means the file was successfully transferred to all FTP Server(s).done

OtherStudio Element Folder: Integration

Class Name: com.cisco.cvp.vxml.custelem.FTP

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)118

FTP_ClientExit States

Page 137: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 32Math

The Math action element is used to evaluate basic mathematical expressions. The mathematical expressionis composed of operators and functions in the form of a string which is passed as a setting to the element,parsed and evaluated at runtime. The result is a double value stored as a string in either element data orsession data. All common arithmetic operators are supported. Boolean operators are also fully supported.Boolean expressions are evaluated to be either 1.0 or 0.0 (true or false respectively).

• Examples, page 119

• Settings, page 119

• Operators and Functions, page 120

• Element Data, page 121

• Session Data, page 121

• Exit States, page 121

• Folder and Class Information, page 122

• Events, page 122

ExamplesExpression: {Data.Session.myNumber} ==4

Expression: sqrt(16)

Result: 4.0

Expression: 2 * 4

Result: 8.0Result: 1.0

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 119

Page 138: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

This setting specifies the type of datathat will store the result of the

ElementfalsetrueYesstringenum

Type

(Type)mathematical expression. Possiblevalues are: Element | Session. Default= Element.

This setting specifies the name toassign to the data that will store theresult of the mathematical expression.

NonetruetrueYesstringName

(Name)

This setting specifies themathematicalexpression to parse and evaluate. For

NonetruetrueYesstringExpression

(Expression)supported operators and functions seetables below.

Operators and FunctionsSyntaxFunction NameOperatorOperator Name

sin(x)Sine^Power

cos(x)Cosine!Boolean Not

tan(x)Tangent+x, -xUnary Plus, Unary Minus

asin(x)Arc Sine%Modulus

acos(x)Arc Cosine/Division

atan(x)Arc Tangent*Multiplication

atan2(y, x)Arc Tangent (with 2 parameters)+, -Addition, Subtraction

sinh(x)Hyperbolic Sine<=, >=Less or Equal, More or Equal

cosh(x)Hyperbolic Cosine<, >Less Than, Greater Than

tanh(x)Hyperbolic Tangent!=, ==Not Equal, Equal

asinh(x)Inverse Hyperbolic Sine&&Boolean And

acosh(x)Inverse Hyperbolic Cosine||Boolean Or

atanh(x)Inverse Hyperbolic Tangent

ln(x)Natural Logarithm

log(x)Logarithm base 10

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)120

MathOperators and Functions

Page 139: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

exp(x)Exponential

abs()Absolute Value / Magnitude

mod()Modulus

sqrt()Square Root

sum()Sum

if()If

Element DataElement data is created only when the type setting is set to Element. In all other cases, no element data iscreated.

NotesTypeName

The result of the mathematical expression.string[value of setting “name”]

Session DataSession data is created only when the type setting is set to Session. In all other cases, no session data iscreated.

NotesTypeName

The result of the mathematical expression.string[value of setting “name”]

Exit StatesNotesName

The mathematical expression was evaluated and the result was stored as eitherelement data or session data.

done

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 121

MathElement Data

Page 140: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.action.math.MathActionMath

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)122

MathFolder and Class Information

Page 141: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 33Local Variables

• Set Value Element, page 123

• Change Implementation Order of Local Variables, page 123

Set Value ElementThe Set Value element allows you to define and assign values to local variables. It supports basic mathematicaloperation, string operation, and Java script. The Set Value element allows you to specify a Java script whichdoes the required programming in the application. The Java script allows substitution of other element data.The evaluation result of Java script is stored in the variable specified in the Settings tab. The scope of thelocal variable is restricted to a particular subflow or main flow in which it is defined and is not available inanother subflow or main flow.

You can perform the following operations on local variables:

• Add Variable

• Delete Variable

• Update Variable

• Move Variable

The Settings tab does not display the Delete Variable and Update Variable options when you add avariable for the first time.

Note

Change Implementation Order of Local VariablesCisco Unified Call Studio allows you to select and move the local variables up and down on the Settings tabto change the order in which they are implemented. The implementation order of local variables will be sameas the order as defined in the Settings tab.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 123

Page 142: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Follow these steps to change the implementation order of local variables in the Settings tab.

Procedure

Step 1 On the Settings tab, right-click the local variable you want to move up or down and chooseMark Variable.Step 2 Choose the location where you want to move the marked local variable, right-click and chooseMoveVariable.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)124

Local VariablesChange Implementation Order of Local Variables

Page 143: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 34Menu Support for 2_Option_Menu Through10_Option_Menu

These voice elements define menus that support from 2 to 10 options. TheMenu voice elements are similarto the Form voice element, however the number of choices is fixed and all grammars are defined in thevoice element itself. Additionally, there is an exit state for each option, therefore the captured value doesnot have to be analyzed afterwards to determine the next dialog in the call flow. Use Menu elements whenthe situation defines a fixed number of choices where each choice does something different in the call flow.

Because the number of exit states is fixed for a voice element, there are separate voice elements for Menuvoice elements with 2 to10 options. For each additional option, three additional settings are added to handlethe spoken keyword, DTMF entry, and interpretation value for each option. The audio groups and elementdata saved are the same for all Menu voice elements.

Each option must be assigned an interpretation value that the element will return as element data namedvalue when any of the keywords or DTMF key presses assigned to that option are captured. The elementvariable (value) will contain the same value regardless of the input mode (speech or DTMF).

The audio groups are identical to those of the Form voice element. The done_audio_group group may beused for a message that is to be played regardless of what option is chosen. If you require an option specificmessage, use an Audio voice element after the particular choice is made and do not configure adone_audio_group

• Settings, page 126

• Element Data, page 128

• Exit States, page 128

• Audio Groups, page 129

• Folder and Class Information, page 129

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 125

Page 144: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

The maximum time length allowed forsilence or no keypress before a noinput

5struetrueYesstringnoinput_timeout

(Noinput Timeout)event is thrown. Possible values arestandard time designations including botha non-negative number and a time unit,for example, 3s (for seconds) or 300ms(for milliseconds). Default = 5s.

The maximum number of noinput eventsallowed during input capture. 0 = infinitenoinputs allowed.

3truetrueYesint ≥ 0max_noinput_count

(Max NoInputCount)

Themaximum number of nomatch eventsallowed during input capture. 0 = infinitenomatches allowed.

3truetrueYesint ≥ 0max_nomatch_count

(Max NoMatchCount)

The confidence level threshold to use.0.40truetrueYesdecimal(0.0 to1.0)

confidence_level

(Confidence Level)

Whether or not to temporarily disable allhotlink grammars (global or local) and

falsetruetrueYesbooleanmodal

(Disable Hotlinks)universal grammars. If set to true, onlythe grammars of the currentX_Option_Menu element will be enabledfor the duration of the element. Otherwiseall active grammars will be enabled.

This setting defines the DTMF grammarthat can be used to select the menu

NonetruetrueNoCharacter(0-9, #,*)†

optionX_dtmf

(Option X DTMF)optionX. The valid format is a stringseparated with a semi-colon specifyingtwo values in this order:

1 The language context in which thecurrent input should be included in themenu grammar (optional). If omittedthe language used will be the same asthe page-scoped language.

2 The dtmf keypress or keypresses thatis included in the menu DTMFgrammar (required)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)126

Menu Support for 2_Option_Menu Through 10_Option_MenuSettings

Page 145: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Sample configurations values are:

• en-US;1

• 1

Additional optionX_dtmf settings may beused to define multiple dtmf keypressescorresponding to the same return value.

At minimum, one of the twosettings: optionX_dtmf oroptionX_voice must bespecified.

Note

Keypresses are currently limitedto single digits.

Note

This setting defines the voice grammarthat can be used to select the menu

NonetruetrueNostringoptionX_voice

(Option X Voice)optionX. Each configuration of thissetting specifies an option for thegrammar. The valid format is a stringseparated with semi-colons specifyingthree values in this order:

1 The language context in which thecurrent input should be included in themenu grammar (optional). If omittedthe language used will be the same asthe page-scoped language.

2 exact or approximate (optional) forthe accept attribute value, where ifexact, the spoken utterance mustmatch the expected value exactly; andwhere if approximate, the spokenutterance may match one of severalwords

3 The voice keyword or keywords(required) that is included in the menuvoice grammar.

If one of the optional parameters isdefined, two semi-colons must be used,even if the other parameter is not used.Sample configuration values are:

• en-US;exact;news report

• ;approximate;news report

• fr-FR;;news report

• news report

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 127

Menu Support for 2_Option_Menu Through 10_Option_MenuSettings

Page 146: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Additional optionX_voice settings maybe used to define multiple matching voicekeywords corresponding to the samereturn value.

At the minimum, one of the twosettings: optionX_dtmf oroptionX_voicemust be specified.

Note

The value to be stored in the element datavalue for this voice element when thecaller selects optionX.

NonetruefalseYesstringoptionX_value

(Option X Value)

Only a single value is allowedfor each option.

Note

Where X is 2 – 10 as applicable.† Some voice browsers may not support menu options using * or #.

Element DataNotesTypeName

The value associated with the keyword or DTMF keypressinputted by the caller is stored in this variable.

stringvalue

This is the confidence value of the matched utterance.floatvalue_confidence

Exit StatesNotesName

The maximum number of nomatch events has occurred. If themax_nomatch_count is 0, this exit state will never occur.

max_nomatch

The maximum number of noinput events has occurred. If themax_noinput_count is 0, this exit state will never occur.

max_noinput

The utterance or DTMF entry matched optionX.optionX

Where X is 2 – 10 as applicable.

Each option can react on just a spoken keyword, just DTMF keypresses, or both, but at least onemethod must be specified or an error will be reported.

Note

All options in the menu must have a consistent input mode. For example, a menu cannot beconfigured so that option 1 is chosen through both voice and DTMF but option 2 is chosen onlythrough voice.

Note

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)128

Menu Support for 2_Option_Menu Through 10_Option_MenuElement Data

Page 147: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

There are no menus with more than 10 options. In cases where more are needed, use a Form voiceelement.

Note

Audio Groups

Menu Option Capture

NotesMax1Req'dName (Label)

Played when the voice element first begins.YesYesinitial_audio_group

(Initial)

Played when a nomatch event occurs.NoNonomatch_audio_group

(NoMatch)

Played when a noinput event occurs.NoNonoinput_audio_group

(NoInput)

Played when the caller asked for help. If notspecified, by default help is treated as anomatch.

NoNohelp_audio_group

(Help)

End

NotesMax 1Req'dName (Label)

Played when the voice element completesany of the option exit states.

YesNodone_audio_group (Done)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.menu.MFoundationXOptionMenuMenu

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 129

Menu Support for 2_Option_Menu Through 10_Option_MenuAudio Groups

Page 148: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)130

Menu Support for 2_Option_Menu Through 10_Option_MenuFolder and Class Information

Page 149: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 35Number

The Number voice element captures a number input from the caller. The number can be spoken or enteredusing the keypad. The resulting value will be stored in element data as a decimal value. The number canbe negative or positive and can contain a decimal point. Using DTMF entry the number is restricted tobeing positive and the decimal point is entered by pressing the * key. Using speech input, the number maybe spoken naturally.

You cannot use the * character to represent a decimal point in the Number voice element, if youhave defined it as a termchar in the Root Doc Settings.

Note

• Settings, page 131

• Element Data, page 132

• Exit States, page 133

• Audio Groups, page 134

• Folder and Class Information, page 134

• Events, page 135

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

The type of entry allowed for input.Possible values are: voice | dtmf | both.

bothfalsetrueYesstringenum

inputmode

(Input Mode)

The maximum time length allowed forsilence or no keypress before a noinput

5etruetrueYesstringnoinput_timeout

(Noinput Timeout)event is thrown. Possible values arestandard time designations includingboth a non-negative number and a time

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 131

Page 150: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

unit, for example, 3s (for seconds) or300ms (for milliseconds). Default = 5s.

The maximum number of noinputevents allowed during number inputcapture. 0 = infinite noinputs allowed.

3truetrueYesint ≥ 0max_noinput_count

(Number Max NoInputCount)

The maximum number of nomatchevents allowed during number inputcapture. 0 = infinite nomatches allowed.

3truetrueYesint ≥ 0max_nomatch_count

(Number Max NoMatchCount)

The confidence level threshold to useduring number capture.

0.40truetrueYesdecimal(0.0 –1.0)

number_confidence_level

(Number ConfidenceLevel)

Whether or not to temporarily disableall hotlink grammars (global or local)

falsetruetrueYesbooleanmodal

(Disable Hotlinks)and universal grammars. If set to true,only the grammars of the currentNumber element will be enabled for theduration of the element. Otherwise allactive grammars will be enabled.

Whether or not to enable logging ofpotentially sensitive data of the Number

falsetruetrueYesbooleansecure_logging

(Secure Logging)element. If set to true, the followingpotentially sensitive data of the elementwill not log: utterance, interpretation,value, nbestUtteranceX† andnbestInterpretationX†. Instead, theabove will be logged as the field nameappended with the suffix“_secureLogging” and with the value“*****”, for examplenbestUtterance1_secureLogging,*****.

The maximum number of speechrecognition results that can begenerated per voice input.

1truetrueYesint ≥ 1maxnbest

(Maxnbest)

†Refer to the Element Data table for information about nbestUtteranceX and nbestInterpretationX

Element DataNotesTypeName

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)132

NumberElement Data

Page 151: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The number captured and stored as a whole or decimal number withan optional minus sign.

stringValue

This is the confidence value of the captured utterance. When n-bestrecognition is enabled, this stores the confidence score of the tophypothesis in the n-best list.

floatvalue_confidence

This stores the number of n-best hypotheses generated by the speechengine.

int ≥ 1nbestLength

This set of element data stores the captured n-best utterances. Whilethe maximum number of nbestUtteranceX values is equal to the

stringnbestUtterance1

nbestUtterance2maxnbest setting value, the actual number of these values available

… is determined by speech recognition at runtime, wherenbestUtterance1 holds the utterance of the top hypothesis in thenbestUtteranceXn-best list and nbestUtteranceX holds the utterance of the lasthypothesis.

This set of element data stores the interpretations of captured n-bestutterances. While the maximum number of nbestInterpretationX

stringnbestInterpretation1

nbestInterpretation2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestInterpretation1 holds the interpretation of the topnbestInterpretationXhypothesis in the n-best list and nbestInterpretationX holds theinterpretation of the last hypothesis.

This set of element data stores the confidence scores of capturedn-best utterances.While themaximumnumber of nbestConfidenceX

floatnbestConfidence1

nbestConfidence2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestConfidence1 holds the confidence score of the topnbestConfidenceXhypothesis in the n-best list and nbestConfidenceX holds theconfidence score of the last hypothesis.

This set of element data stores the input modes of captured n-bestutterances.

stringnbestInputmode1

nbestInputmode2

…nbestInputmodeX

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the nomatch maxcount is 0, this exit state will never occur.

max_nomatch

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 133

NumberExit States

Page 152: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The maximum number of noinput events has occurred. If the noinput maxcount is 0, this exit state will never occur.

max_noinput

The number capture was completed.done

If the number to be captured is a positive whole number and the input is via DTMF, the number can beentered using this voice element or the Digits voice element.

Note

Audio Groups

Number Capture

NotesMax1Req'dName (Label)

Played when the voice element firstbegins.

YesYesnumber_initial_audio_group

(Number Initial)

Played when a nomatch event occurs.NoNonumber_nomatch_audio_group

(Number NoMatch)

Played when a noinput event occurs.NoNonumber_noinput_audio_group

(Number NoInput)

Played when the caller asked for help. Ifnot specified, by default help is treated asa nomatch.

NoNonumber_help_audio_group

(Number Help)

End

NotesMax 1Req'dName (Label)

Played when the number capture is completedand the voice element exits with the done exitstate.

YesNodone_audio_group

(Done)

Folder and Class InformationClass NameStudio Element Folder Name

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)134

NumberAudio Groups

Page 153: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

com.audium.server.voiceElement.number.MBasicNumberNumber Capture

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 135

NumberEvents

Page 154: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)136

NumberEvents

Page 155: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 36Number_with_Confirm

The Number_With_Confirm voice element captures a standard number, and presents a confirmation menuallowing the caller to either accept their entry or re-enter the number. The number can be spoken or enteredusing the keypad. The resulting value will be stored in element data as a decimal value. The number canbe negative or positive and can contain a decimal point. Using DTMF entry, however, the number isrestricted to being positive and the decimal point is entered by pressing the * key. Using speech input, thenumber may be spoken naturally.

• Events, page 137

• Settings, page 137

• Element Data, page 139

• Exit States, page 140

• Audio Groups, page 140

• Folder and Class Information, page 142

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 137

Page 156: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The type of entry allowed for input.Possible values are: voice | dtmf | both.

bothfalsetrueYesstringenum

inputmode

(Input Mode)

The maximum time length allowed forsilence or no keypress before a noinput

5struetrueYesstringnoinput_timeout

(Noinput Timeout)event is thrown. Possible values arestandard time designations includingboth a non-negative number and a timeunit, for example, 3s (for seconds) or300ms (for milliseconds). Default = 5s.

The maximum number of noinputevents allowed during number inputcapture. 0 = infinite noinputs allowed.

3truetrueYesint ≥ 0number_max_noinput_count

(Number Max NoInputCount)

The maximum number of nomatchevents allowed during number inputcapture. 0 = infinite nomatches allowed.

3truetrueYesint ≥ 0number_max_nomatch_count

(Number Max NoMatchCount)

The maximum number of noinputevents allowed during number input

3truetrueYesint ≥ 0confirm_max_noinput_count

(Confirm Max NoInputCount) confirmation. 0 = infinite noinputs

allowed.

The maximum number of nomatchevents allowed during number input

3truetrueYesint ≥ 0confirm_max_nomatch_count

(Confirm Max NoMatchCount) confirmation. 0 = infinite nomatches

allowed.

Themaximum number of times a calleris allowed to disconfirm a captured

3truetrueYesint ≥ 0max_disconfirmed_count

(Max Disconfirmed Count)input. 0 = infinite disconfirmationsallowed.

The confidence level threshold to useduring number capture.

0.40truetrueYesdecimal(0.0 –1.0)

number_confidence_level

(Number Confidence Level)

The confidence level threshold to useduring confirmation.

0.50truetrueYesdecimal(0.0 –1.0)

confirm_confidence_level

(Confirm Confidence Level)

Whether or not to temporarily disableall hotlink grammars (global or local)

falsetruetrueYesbooleanmodal

(Disable Hotlinks)and universal grammars. If set to true,only the grammars of the currentNumber_With_Confirm element (thebuiltin number and boolean grammars)will be enabled for the duration of the

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)138

Number_with_ConfirmSettings

Page 157: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

element. Otherwise all active grammarswill be enabled.

Whether or not to enable logging ofpotentially sensitive data of the

falsetruetrueYesbooleansecure_logging

(Secure Logging)Number_With_Confirm element. If setto true, the following potentiallysensitive data of the element will notlog: utterance, interpretation, value,nbestUtteranceX† andnbestInterpretationX†. Instead, theabove will be logged as the field nameappended with the suffix“_secureLogging” and with the value“*****”, for examplenbestUtterance1_secureLogging,*****.

The maximum number of speechrecognition results that can begenerated per voice input.

1truetrueYesint ≥ 1maxnbest

(Maxnbest)

†Refer to the Element Data table for information about nbestUtteraceX and nbestInterpretationX.

Element DataNotesTypeName

The number captured and stored as a whole or decimal number withan optional minus sign.

stringValue

This is the confidence value of the captured number utterance.Whenn-best recognition is enabled, this stores the confidence score of thetop hypothesis in the n-best list.

floatvalue_confidence

This is the confidence value of the captured confirm utterance.floatconfirm_confidence

This stores the number of n-best hypotheses generated by the speechengine.

int ≥ 1nbestLength

This set of element data stores the captured n-best utterances. Whilethe maximum number of nbestUtteranceX values is equal to the

stringnbestUtterance1

nbestUtterance2maxnbest setting value, the actual number of these values available

… is determined by speech recognition at runtime, wherenbestUtterance1 holds the utterance of the top hypothesis in thenbestUtteranceXn-best list and nbestUtteranceX holds the utterance of the lasthypothesis.

This set of element data stores the interpretations of captured n-bestutterances. While the maximum number of nbestInterpretationX

stringnbestInterpretation1

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 139

Number_with_ConfirmElement Data

Page 158: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

nbestInterpretation2 values is equal to the maxnbest setting value, the actual number ofthese values available is determined by speech recognition at runtime,…where nbestInterpretation1 holds the interpretation of the top

nbestInterpretationX hypothesis in the n-best list and nbestInterpretationX holds theinterpretation of the last hypothesis.

This set of element data stores the confidence scores of capturedn-best utterances.While themaximum number of nbestConfidenceX

floatnbestConfidence1

nbestConfidence2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestConfidence1 holds the confidence score of the topnbestConfidenceXhypothesis in the n-best list and nbestConfidenceX holds theconfidence score of the last hypothesis.

This set of element data stores the input modes of captured n-bestutterances.

stringnbestInputmode1

nbestInputmode2

…nbestInputmodeX

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the nomatch maxcount is 0, this exit state will never occur.

max_nomatch

The maximum number of noinput events has occurred. If the noinput maxcount is 0, this exit state will never occur.

max_noinput

The maximum number of disconfirmations has occurred. If the maxdisconfirmed count is set to 0, this exit state will never occur.

max_disconfirmed

The number captured was confirmed.done

If the number to be captured is a positive whole number and the input is via DTMF, the numbercan be entered using this voice element or the Digits_With_Confirm voice element.

Note

Audio Groups

Number Capture

NotesMax1Req'dName (Label)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)140

Number_with_ConfirmExit States

Page 159: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Played when the voice element first begins.YesYesnumber_initial_audio_group

(Number Initial)

Played when a nomatch event occurs duringnumber capture.

NoNonumber_nomatch_audio_group

(Number NoMatch)

Played when a noinput event occurs duringnumber capture.

NoNonumber_noinput_audio_group

(Number NoInput)

Played when the caller asks for help duringnumber capture. If not specified, by defaulthelp is treated as a nomatch.

NoNonumber_help_audio_group

(Number Help)

Number Confirm

NotesMax1Req'dName (Label)

Played when confirmation first begins.YesYesconfirm_initial_audio_group

(Confirm Initial)

Played when a nomatch event occurs duringconfirmation. The nomatch event countcorresponds to the audio group count.

NoNoconfirm_nomatch_audio_group

(Confirm NoMatch)

Played when a noinput event occurs duringconfirmation. The noinput event countcorresponds to the audio group count.

NoNoconfirm_noinput_audio_group

(Confirm NoInput)

Played when a help event occurs duringconfirmation. The help event count corresponds

NoNoconfirm_help_audio_group

(Confirm Help)to the audio group count. If not specified, helpthrows a nomatch by default.

Played after the caller disconfirms a capturednumber entry.

NoNodisconfirmed_audio_group

(Disconfirmed)

End

NotesMax 1Req'dName (Label)

Played after the caller chooses the yes option. Ifnot specified, no audio will be played when thisoption is chosen.

YesNoyes_audio_group

(Yes)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 141

Number_with_ConfirmNumber Confirm

Page 160: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.number.MBasicNumberWithConfirmNumber Capture

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)142

Number_with_ConfirmFolder and Class Information

Page 161: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 37Phone

The Phone voice element captures a phone number input from the caller. The phone number can be spokenor entered using the keypad. The captured value will be stored in element data as a string. The string maycontain a number of digits and an optional character “x” to indicate a phone number with an extension.Using speech input, the entire phone number (including the extension) may be spoken in natural language.Using DTMF entry, the caller can enter an extension by pressing the * keypress followed by the extension.

• Settings, page 143

• Element Data, page 144

• Exit States, page 145

• Audio Groups, page 146

• Folder and Class Information, page 146

• Events, page 146

SettingsNotesDefaultSub.

AllowedSingleSettingValue

Req'dTypeName (Label)

The type of entry allowed for input.Possible values are: voice | dtmf | both.

bothfalsetrueYesstringenum

inputmode

(Input Mode)

The maximum time length allowed forsilence or no keypress before a noinput

5struetrueYesstringnoinput_timeout

(Noinput Timeout)event is thrown. Possible values arestandard time designations includingboth a non-negative number and a timeunit, for example, 3s (for seconds) or300ms (for milliseconds). Default = 5s.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 143

Page 162: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The maximum number of noinputevents allowed during phone inputcapture. 0 = infinite noinputs allowed.

3truetrueYesint ≥ 0collect_max_noinput_count

(Phone Max NoInputCount)

The maximum number of nomatchevents allowed during phone inputcapture. 0 = infinite nomatches allowed.

3falsetrueYesint ≥ 0collect_max_nomatch_count

(Phone Max NoMatchCount)

The confidence level threshold to useduring phone capture.

0.40truetrueYesdecimal(0.0 –1.0)

collect_confidence_level

(Phone Confidence Level)

Whether or not to temporarily disableall hotlink grammars (global or local)

falsetruetrueYesbooleanmodal

(Disable Hotlinks)and universal grammars. If set to true,only the grammars of the current Phoneelement will be enabled for the durationof the element. Otherwise all activegrammars will be enabled.

Whether or not to enable logging ofpotentially sensitive data of the Phone

falsetruetrueYesbooleansecure_logging

(Secure Logging)element. If set to true, the followingpotentially sensitive data of the elementwill not log: utterance, interpretation,value, nbestUtteranceX† andnbestInterpretationX†. Instead, theabove will be logged as the field nameappended with the suffix“_secureLogging” and with the value“*****”, for examplenbestUtterance1_secureLogging,*****.

The maximum number of speechrecognition results that can begenerated per voice input.

1truetrueYesint ≥ 1maxnbest

(Maxnbest)

†Refer to the following Element Data table for information about nbestUtteranceX and nbestInterpretationX.

Element DataNotesTypeName

The number captured and stored as a whole or decimal number withan optional minus sign.

stringValue

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)144

PhoneElement Data

Page 163: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

This is the confidence value of the captured utterance. When n-bestrecognition is enabled, this stores the confidence score of the tophypothesis in the n-best list.

floatvalue_confidence

This stores the number of n-best hypotheses generated by the speechengine.

int ≥ 1nbestLength

This set of element data stores the captured n-best utterances. Whilethe maximum number of nbestUtteranceX values is equal to the

stringnbestUtterance1

nbestUtterance2maxnbest setting value, the actual number of these values available

… is determined by speech recognition at runtime, wherenbestUtterance1 holds the utterance of the top hypothesis in thenbestUtteranceXn-best list and nbestUtteranceX holds the utterance of the lasthypothesis.

This set of element data stores the interpretations of captured n-bestutterances. While the maximum number of nbestInterpretationX

stringnbestInterpretation1

nbestInterpretation2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestInterpretation1 holds the interpretation of the topnbestInterpretationXhypothesis in the n-best list and nbestInterpretationX holds theinterpretation of the last hypothesis.

This set of element data stores the confidence scores of capturedn-best utterances.While themaximumnumber of nbestConfidenceX

floatnbestConfidence1

nbestConfidence2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestConfidence1 holds the confidence score of the topnbestConfidenceXhypothesis in the n-best list and nbestConfidenceX holds theconfidence score of the last hypothesis.

This set of element data stores the input modes of captured n-bestutterances.

stringnbestInputmode1

nbestInputmode2

…nbestInputmodeX

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the nomatch maxcount is 0, this exit state will never occur.

max_nomatch

Themaximum number of noinput events has occurred. If the noinput max countis 0, this exit state will never occur.

max_noinput

The phone number capture was completed.done

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 145

PhoneExit States

Page 164: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Audio Groups

Phone Capture

NotesMax1Req'dName (Label)

Played when the voice element firstbegins.

YesYescollect_initial_audio_group

(Phone Initial)

Played when a noinput event occurs.NoNocollect_noinput_audio_group

(Phone NoInput)

Played when a nomatch event occurs.NoNocollect_nomatch_audio_group

(Phone NoMatch)

Played when the caller asked for help. Ifnot specified, help is treated as a nomatchby default.

NoNocollect_help_audio_group

(Phone Help)

End

NotesMax 1Req'dName (Label)

Played after phone capture iscompleted.

YesNodone_audio_group

(Done)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.phone.MBasicPhoneNumber Capture

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)146

PhoneAudio Groups

Page 165: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 38Phone_With_Confirm

The Phone_With_Confirm voice element captures a phone number input from the caller, and presents aconfirmation menu allowing the caller to either accept their entry or re-enter the phone number. The phonenumber can be spoken or entered using the keypad. The captured value will be stored in element data as astring. The string may contain a number of digits and an optional character “x” to indicate a phone numberwith an extension. Using speech input, the entire phone number (including the extension) may be spokenin natural language. Using DTMF entry, the caller can enter an extension by pressing the * keypress followedby the extension.

• Settings, page 147

• Element Data, page 149

• Exit States, page 150

• Audio Groups, page 150

• Folder and Class Information, page 151

• Events, page 151

SettingsNotesDefaultSub.

AllowedSingleSettingValue

Req'dTypeName (Label)

The type of entry allowed for input.Possible values are: voice | dtmf | both.

bothfalsetrueYesstringenum

inputmode

(Input Mode)

The maximum time length allowed forsilence or no keypress before a noinput

5struetrueYesstringnoinput_timeout

(Noinput Timeout)event is thrown. Possible values arestandard time designations includingboth a non-negative number and a time

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 147

Page 166: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

unit, for example, 3s (for seconds) or300ms (for milliseconds). Default = 5s.

The maximum number of noinputevents allowed during phone inputcapture. 0 = infinite noinputs allowed.

3truetrueYesint ≥ 0collect_max_noinput_count

(Phone Max NoInput Count)

The maximum number of nomatchevents allowed during phone inputcapture. 0 = infinite nomatches allowed.

3falsetrueYesint ≥ 0collect_max_nomatch_count

(PhoneMaxNoMatchCount)

The maximum number of noinputevents allowed during phone input

3truetrueYesint ≥ 0confirm_max_noinput_count

(Confirm Max NoInputCount) confirmation. 0 = infinite noinputs

allowed.

The maximum number of nomatchevents allowed during phone input

3falsetrueYesint ≥ 0confirm_max_nomatch_count

(Confirm Max NoMatchCount) confirmation. 0 = infinite nomatches

allowed.

Themaximum number of times a calleris allowed to disconfirm a captured

3falsetrueYesint ≥ 0max_disconfirmed_count

(Max Disconfirmed Count)input. 0 = infinite disconfirmationsallowed.

The confidence level threshold to useduring phone capture.

0.40truetrueYesdecimal(0.0 –1.0)

collect_confidence_level

(Phone Confidence Level)

The confidence level threshold to useduring confirmation.

0.50truetrueYesdecimal(0.0 –1.0)

confirm_confidence_level

(Confirm Confidence Level)

Whether or not to temporarily disableall hotlink grammars (global or local)

falsetruetrueYesbooleanModal

(Disable Hotlinks)and universal grammars. If set to true,only the grammars of the currentPhone_With_Confirm element (thebuiltin phone and boolean grammars)will be enabled for the duration of theelement. Otherwise all active grammarswill be enabled.

Whether or not to enable logging ofpotentially sensitive data of the

falsetruetrueYesbooleansecure_logging

(Secure Logging)Phone_With_Confirm element. If setto true, the following potentiallysensitive data of the element will notlog: utterance, interpretation, value,nbestUtteranceX† and

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)148

Phone_With_ConfirmSettings

Page 167: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

nbestInterpretationX†. Instead, theabove will be logged as the field nameappended with the suffix“_secureLogging” and with the value“*****”, for examplenbestUtterance1_secureLogging,*****.

The maximum number of speechrecognition results that can begenerated per voice input.

1truetrueYesint ≥ 1Maxnbest

(Maxnbest)

Refer to the Element Data table that follows for information about nbestUtteranceX and nbestInterpretationX.

Element DataNotesTypeName

The number captured and stored as a whole or decimal number withan optional minus sign.

stringValue

This is the confidence value of the captured utterance. When n-bestrecognition is enabled, this stores the confidence score of the tophypothesis in the n-best list.

floatvalue_confidence

This stores the number of n-best hypotheses generated by the speechengine.

int ≥ 1nbestLength

This set of element data stores the captured n-best utterances. Whilethe maximum number of nbestUtteranceX values is equal to the

stringnbestUtterance1

nbestUtterance2maxnbest setting value, the actual number of these values available

… is determined by speech recognition at runtime, wherenbestUtterance1 holds the utterance of the top hypothesis in thenbestUtteranceXn-best list and nbestUtteranceX holds the utterance of the lasthypothesis.

This set of element data stores the interpretations of captured n-bestutterances. While the maximum number of nbestInterpretationX

stringnbestInterpretation1

nbestInterpretation2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestInterpretation1 holds the interpretation of the topnbestInterpretationXhypothesis in the n-best list and nbestInterpretationX holds theinterpretation of the last hypothesis.

This set of element data stores the confidence scores of capturedn-best utterances.While themaximumnumber of nbestConfidenceX

floatnbestConfidence1

nbestConfidence2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 149

Phone_With_ConfirmElement Data

Page 168: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

where nbestConfidence1 holds the confidence score of the tophypothesis in the n-best list and nbestConfidenceX holds theconfidence score of the last hypothesis.

nbestConfidenceX

This set of element data stores the input modes of captured n-bestutterances.

stringnbestInputmode1

nbestInputmode2

…nbestInputmodeX

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the nomatch maxcount is 0, this exit state will never occur.

max_nomatch

The maximum number of noinput events has occurred. If the noinput maxcount is 0, this exit state will never occur.

max_noinput

The maximum number of disconfirmations has occurred. If the maxdisconfirmed count is set to 0, this exit state will never occur.

max_disconfirmed

The phone number captured was confirmed.done

Audio Groups

Phone Capture

NotesMax1Req'dName (Label)

Played when the voice element firstbegins.

YesYescollect_initial_audio_group

(Phone Initial)

Played when a noinput event occurs.NoNocollect_noinput_audio_group

(Phone NoInput)

Played when a nomatch event occurs.NoNocollect_nomatch_audio_group

(Phone NoMatch)

Played when the caller asked for help. Ifnot specified, help is treated as a nomatchby default.

NoNocollect_help_audio_group

(Phone Help)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)150

Phone_With_ConfirmExit States

Page 169: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Phone Confirm

NotesMax1Req'dName (Label)

Played when confirmation first begins.YesYesconfirm_initial_audio_group

(Confirm Initial)

Played when a noinput event occurs duringconfirmation. The noinput event count correspondsto the audio group count.

NoNoconfirm_noinput_audio_group

(Confirm NoInput)

Played when a nomatch event occurs duringconfirmation. The nomatch event countcorresponds to the audio group count.

NoNoconfirm_nomatch_audio_group

(Confirm NoMatch)

Played when a help event occurs duringconfirmation. The help event count corresponds tothe audio group count.

NoNoconfirm_help_audio_group

(Confirm Help)

Played after the caller disconfirms a captured phoneentry. Upon reaching the

NoNodisconfirmed_audio_group

(Disconfirmed)max_disconfirmed_count, the prompt contentshould be about exitingwith the max_disconfirmedexit state.

End

NotesMax 1Req'dName (Label)

Played after the caller chooses the yes option. Ifnot specified, no audio will be played when thisoption is chosen.

YesNoyes_audio_group

(Yes)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.phone.MBasicPhoneWithConfirmNumber Capture

EventsNotesName (Label)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 151

Phone_With_ConfirmPhone Confirm

Page 170: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)152

Phone_With_ConfirmEvents

Page 171: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 39POD_Add

Use the POD_Add custom action element to create Piece of Data (POD). You can associate the POD with acustomer by using the Customer ID field. The contributor of the POD is the VXML Server hostname.

If the POD_Add element execution is successful, the customer's phone number is automaticallypopulated in the Context_POD_Source_Phone data element.

Note

• Settings, page 153

• Element Data, page 154

• Session Data, page 154

• Exit States, page 155

• Folder and Class Information, page 155

• Events, page 155

SettingsNotesDefaultSubstitution

AllowedSingle SettingValue

Req'dTypeName (Label)

The customeridentification number.

NonetruetrueNostringCustomer ID

A comma-separatedlist of tags to beassociated with thePOD.

NonetruetrueNostringTags

A comma-separatedlist of fieldsets. Afieldset is a groupingof related dataelements.

NonetruetrueYesstringField Sets

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 153

Page 172: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

NotesDefaultSubstitutionAllowed

Single SettingValue

Req'dTypeName (Label)

User-defined dataelement that containsdata about a POD.

To add additionaldata elements.perform the followingsteps:

1 Right-click

Field Sets settingname or the areabelow.

2 ChooseAddDataElement.

You can add, delete,or update the dataelements by usingthese options:

• Add DataElement

• Delete DataElement

• Update Name

NonetruefalseNostring<DATA_ELEMENT>

Element DataNotesTypeName

Contains the unique ID for the POD that was created.stringpod_id

Session DataNotesTypeName

Contains the unique ID for the POD if the POD creation is successful.stringPodId

When a subdialog returns, IVR subsystem populates the POD.ID ECCvariable with PodId. The Call Server sends the POD.ID ECC variable toUnified ICM.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)154

POD_AddElement Data

Page 173: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Exit StatesNotesName

The custom action element is added.done

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.action.contextservice.AddPodActionCisco > Context Service

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 155

POD_AddExit States

Page 174: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)156

POD_AddEvents

Page 175: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 40POD_Read

Use the POD_Read element to read PODs that were created for a customer.

• Settings, page 157

• Element Data, page 157

• Exit States, page 158

• Folder and Class Information, page 158

• Events, page 158

SettingsNotesDefaultSubstitution

AllowedSingleSetting Value

Req'dTypeName (Label)

The customeridentificationnumber.

NonetruetrueYesstringCustomer ID

Element DataNotesTypeName

Contains the unique ID for thePOD that was created. This isalways the ID of the last POD thatwas created for the customer(identified using customer_id).

stringpod_id

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 157

Page 176: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

NotesTypeName

Contains details about all the PODsthat were created for the customer(identified using customer_id) inthe JSON format.

stringsearch_result_as_json

Exit StatesNotesName

The element execution is complete and the read POD operation is successful.done

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.action.contextservice.ReadPodActionCisco > Context Service

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)158

POD_ReadExit States

Page 177: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 41POD_Update

Use the POD_Update custom action element to update a POD. You can update a POD by providing thepod_id. The update contributor of the POD is the VXML Server hostname.

If you update the tags, fieldsets, or user-defined data elements with new values, the new values are appended.

• Settings, page 159

• Element Data, page 160

• Exit States, page 160

• Folder and Class Information, page 160

• Events, page 161

SettingsNotesDefaultSubstitution

AllowedSingle SettingValue

Req'dTypeName (Label)

The unique ID for thePOD.

NoneTrueTrueYesStringPOD ID

An optional setting, toupdate the Customer IDin the POD_Updateelement.

NoneTrueTrueNoStringCustomer ID

A comma-separated listof tags to be associatedwith the POD.

NoneTrueTrueNoStringTags

A comma-separated listof fieldsets. A fieldset isa grouping of related dataelements.

NoneTrueTrueNoStringField Sets

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 159

Page 178: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

NotesDefaultSubstitutionAllowed

Single SettingValue

Req'dTypeName (Label)

User-defined dataelement that contains dataabout a POD.

To add more dataelements, perform thefollowing steps:

1 Right-click

Field Sets settingname or thesurrounding area.

2 Choose Add DataElement.

You can add, delete, orupdate the data elementsby using these options:

• AddData Element

• Delete DataElement

• Update Name

NoneTrueFalseNoString<DATA_ELEMENT>

Element DataNotesTypeName

Contains the unique ID for the POD that was updated.stringpod_id

Exit StatesNotesName

The custom action element is updated.done

Folder and Class InformationClass NameStudio Element Folder Name

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)160

POD_UpdateElement Data

Page 179: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

com.audium.server.action.contextservice.UpdatePodActionCisco > Context Service

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 161

POD_UpdateEvents

Page 180: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)162

POD_UpdateEvents

Page 181: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 42Record

The Record voice element makes a recording of the caller's voice. A prompt is played to the caller then thevoice element records the caller’s voice until a termination key is inputted, the recording time limit hasbeen reached, or (if the configuration specifies so) the caller hung up. An audio cue (beep) may be activatedto signal to the caller that the system is ready to record the caller’s voice. Different voice browsers mayhave varying default maximum lengths for voice recording.

The recording is sent to the Record element by the voice browser and is stored in an audio file in the locationspecified by the developer. Any pre-existing file with the same name will be overwritten. The element canbe configured to produce a non-repeating filename so all recordings can be retained. The format for thisfilename is audioNR.wav where N is the number of milliseconds since midnight January 1, 1970 (GMT)and R is a random number between 1 to 1000. All recordings are saved in the WAV format.

• Settings, page 163

• Element Data, page 167

• Exit States, page 167

• Audio Groups, page 168

• Folder and Class Information, page 168

• Events, page 168

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

The maximum time length allowedfor silence or no keypress before a

5struetrueYesstringnoinput_timeout

(Noinput Timeout)noinput event is thrown. Possiblevalues are standard time designationsincluding both a non-negativenumber and a time unit, for example,

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 163

Page 182: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

3s (for seconds) or 300ms (formilliseconds). Default = 5s.

The maximum number of noinputevents allowed during input capture.0 = infinite noinputs allowed.

3truetrueYesint ≥ 0max_noinput_count

(Max NoInput Count)

Whether or not to play a beep beforerecording begins.

truetruetrueYesbooleanstart_with_beep

(Start With Beep)

Whether or not the caller can end therecording by pressing a touchtonekey.

truetruetrueYesbooleanterminate_on_dtmf

(Terminate On DTMF)

Whether or not the recording isstored if the caller hung up while

falsetruetrueYesbooleankeep_recording_on_hangup

(Keep Recording OnHangup) making the recording. Default =

false

The maximum time (in seconds) therecording is allowed to last. Possible

180struetrueYesstringmax_record_time

(Max Record Time)values are standard time designationsincluding a positive integer followedby s (for seconds), for example, 30s.Default = 180s.

Special consideration mustbe taken for the "ivr recordmemory session" setting onthe gateway and theconfigured values for the"MaxRecord Time" settingsin the Record element.Depending on thecombination of thesesettings, a caller mayexhaust all availablememory on the gateway fortheir session. At which pointthe gateway will drop thecall.

Note

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)164

RecordSettings

Page 183: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

To prevent calls from beingdropped while using theRecord element, thefollowing formula should beadhered to: "Max RecordTime" in seconds * audiocodec bitrate inkilobytes/second < "ivrrecord memory session"setting, in kilobytes. Testingshould be done byincreasing values for thegateway's "ivr recordmemory session" settinguntil an acceptable amountof recorded audio isacceptedwithout exhaustingthe gateway’s sessionmemory (dropped calls).

Note

The interval of silence (in secondsor milliseconds) that indicates the

4struetrueYesstringfinal_silence

(Final Silence)end of speech. Possible values arestandard time designations includingboth a positive integer and a timeunit identifier, for example, 3s (for3 seconds) or 300ms (for 300milliseconds). Default = 4s.

For silence detection towork, you must enableVoice Activity Detection(VAD) in the gatewaydial-peers. Manuallyremove NO VAD from theconfiguration script andreplace it with VAD.

Note

The filename of the recording(without extension). If left blank, an

NonetruetrueNostringfilename

(Filename)auto-generated filename will beused.

This specifies the audio type of thefile that will hold the recording.

wavtruetrueYesstringenum

file_type

(File Type)Possible values are: wav | vox | au |other.

This specifies the MIME type of thefile that will hold the recording, iffile_type is set to other.

NonetruetrueYesstringmime_type

(Mime Type)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 165

RecordSettings

Page 184: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

This specifies the file extension touse for the recorded file. A file

NonetruetrueNostringfile_extension

(File Extension)extension different from the file typecan be used. For example, with amime type of vox, the file extensioncould be set to ulaw.

The path to the file that will hold therecording. Either the path, ftp host,or both must be specified.

NonetruetrueNostringpath

(Path)

The domain name of the host to ftpthe recording. Either the path, ftphost, or both must be specified.

NonetruetrueNostringftp_host

(FTP Host)

The user name to use while FTPingthe recording, if ftp_host is set.

NonetruetrueYesstringftp_user

(FTP User)

The password to use while FTPingthe recording, if ftp_host is set.

NonetruetrueYesstringftp_password

(FTP Password)

The directory in which to FTP therecording, if ftp_host is set.

NonetruetrueNostringftp_path

(FTP Path)

Whether or not the FTP is to beperformed in the background, ifftp_host is set.

truetruetrueYesbooleanftp_in_background

(FTP In Background)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)166

RecordSettings

Page 185: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

For recording, use these procedures:Note

• Nomatch events cannot be thstrown in this voice element. Since all audio is recorded (exceptDTMF key presses), there is no reaction on spoken commands (including hotlinks).

• A noinput event is possible if the voice browser detects no audio once recording has started.If the input timeout has been reached, the noinput event is thstrown.

• The path setting does not require a trailing slash. The voice element will determine theappropriate destination. The path may be specified in operating system specific format (forexample, on Windows it might be specified as C:\directory\subdirectory\ and on UNIX itmight be /usr/local/directory/).

• For a recording to be stored, you can choose either to store it locally or remotely. For locallyon the VXML server itself, configure only the filename (myfile) and the path(c:/recordings/). For remotely on a ftp server, configure the filename (myfile) and the FTPdetails such as: host, user, path, and password. Once your record element is configured,determine the url to access the recording from an external system. Run a simple test by playingthe recording from your web browser. Make use of the url:http://<ftpserver>/<ftppath>/filename . Find the correct path to play the audio file and use thesame url in the audio element settings.

• If terminate_on_DTMF is false or off, recording will stop only after the voice browser reachesthe input timeout.

• Not all voice browsers support the ability to retain a recording if the caller hung up whilemaking the recording.

• Some voice browsers may not accept all options provided for the file_type and mime_type

settings. Check your voice browser documentation for information on supported audio types.

• It is important to ensure that VXML Server has permission to save audio files to the specifiedpath.

Element DataNotesTypeName

This stores the filename of the recording (without the path).stringfilename

This stores the path to the file holding the recording(including the filename).

stringfilepath

This stores a true if the caller hung up while making therecording, false if not.

booleanhungUpWhileRecording

Exit StatesNotesName

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 167

RecordElement Data

Page 186: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The maximum number of noinput events has occurred. If the max_noinputcount is 0, this exit state will never occur.

max_noinput

The message was recorded.done

Audio Groups

Record Capture

NotesMax1Req'dName (Label)

Played when the voice element firstbegins.

YesYesinitial_audio_group

(Initial)

Played when a noinput event occurs.NoNonoinput_audio_group

(No Input)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.record.MRecordRecord

EventsNotesName (Label)

You can select either VXMLEvent or Java Exception as event handlertype from the drop-down list.

Event Handler

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)168

RecordAudio Groups

Page 187: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 43Record_With_Confirm

The Record_With_Confirm voice element combines the functionality of the Record voice element withthat of the MenuYesNo voice element. The voice element records the caller’s voice, then prompts the callerto confirm that the recording is acceptable. The caller can then accept or reject the confirmation or ask tohave the message replayed. If the caller accepts the recording, the voice element saves the file just as theRecord voice element does. This voice element contains all settings and audio groups from both the Recordand MenuYesNo voice elements, however audio groups that are found in both voice elements (nomatch,noinput, and help) are now named differently for them to be distinguished.

• Settings, page 169

• Element Data, page 173

• Exit States, page 174

• Audio Groups, page 174

• Folder and Class Information, page 175

• Events, page 175

SettingsNotesDefaultSub.

AllowedSingleSettingValue

Req'dTypeName (Label)

The type of entry allowed for inputduring confirmation. Possible valuesare: voice | dtmf | both.

bothtruetrueYesstringenum

inputmode

(Input Mode)

The maximum time length allowedfor silence or no keypress before a

5struetrueYesstringnoinput_timeout

(Noinput Timeout)noinput event is thrown. Possiblevalues are standard time designationsincluding both a non-negative number

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 169

Page 188: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

and a time unit, for example, 3s (forseconds) or 300ms (for milliseconds).Default = 5s.

The maximum number of noinputevents allowed during input capture.0 = infinite noinputs allowed.

3truetrueYesint ≥ 0record_max_noinput_count

(RecordMaxNoInput Count)

The maximum number of noinputevents allowed during confirmation.0 = infinite noinputs allowed.

3truetrueYesint ≥ 0confirm_max_noinput_count

(Confirm Max NoInputCount)

The maximum number of nomatchevents allowed during confirmation.0 = infinite nomatches allowed.

3truetrueYesint ≥ 0confirm_max_nomatch_count

(Confirm Max NoMatchCount)

The maximum number of times acaller is allowed to reject a recording.0 = infinite disconfirmations allowed.

3truetrueYesint ≥ 0max_disconfirmed_count

(Max Disconfirmed Count)

Special consideration mustbe taken for the "ivr recordmemory session" setting onthe gateway: Each time acaller "disconfirms" arecording made while usingthe Record_With_Confirmelement, the disaffirmedrecording(s) remain inmemory on the gateway.Depending on the "ivr recordmemory session" setting onthe gateway and theconfigured values for the"Max Disconfirmed Count"and "Max Record Time"settings in theRecord_With_Confirmelement, a caller may exhaustall available memory on thegateway for their session. Atwhich point the gateway willdrop the call.

Note

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)170

Record_With_ConfirmSettings

Page 189: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

In general, to prevent callsfrom being dropped whileusing theRecord_With_Confirmelement, the followingformula should be adheredto: ("Max Record Time" inseconds * audio codec bitratein kilobytes/second) * "MaxDisconfirmed Count" < "ivrrecord memory session"setting, in kilobytes. Testingshould be done by increasingvalues for the gateway's "ivrrecord memory session"setting until an acceptableamount of audio/retries areaccepted without exhaustingthe gateway’s sessionmemory (dropped calls).

Note

The confidence level threshold to usefor the confirmation.

0.50truetrueYesdecimal(0.0 –1.0)

confirm_confidence_level

(Confirm Confidence Level)

Whether or not to play a beep beforerecording begins.

truetruetrueYesbooleanstart_with_beep

(Start With Beep)

Whether or not the caller can end therecording by pressing a touchtonekey.

truetruetrueYesbooleanterminate_on_dtmf

(Terminate On DTMF)

Whether or not the recording is storedif the caller hung up while making the

falsetruetrueYesbooleankeep_recording_on_hangup

(Keep Recording OnHangup) recording or during the confirmation

menu. Default = false.

The maximum time (in seconds) therecording is allowed to last. Possible

180struetrueYesstringmax_record_time

(Max Record Time)values are standard time designationsincluding a positive integer followedby s (for seconds), for example, 30s.Default = 180s.

The interval of silence (in seconds ormilliseconds) that indicates the end

4struetrueYesstringfinal_silence

(Final Silence)of speech. Possible values arestandard time designations includingboth a positive integer and a time unitidentifier, for example, 3s (for 3

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 171

Record_With_ConfirmSettings

Page 190: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

seconds) or 300ms (for 300milliseconds). Default = 4s.

For silence detection towork, youmust enable VoiceActivity Detection (VAD) inthe gateway dial-peers.Manually remove NO VADfrom the configuration scriptand replace it with VAD.

Note

Adds an option to replay the confirminitial audio groups.

falsetruetrueYesbooleanreplay

(Replay)

The filename of the recording(without extension). If left blank, anauto-generated filenamewill be used.

NonetruetrueNostringfilename

(Filename)

This specifies the audio type of thefile that will hold the recording.

wavtruetrueYesstringenum

file_type

(File Type)Possible values are: wav | vox | au |other.

This specifies the MIME type of thefile that will hold the recording, iffile_type is set to other.

NonetruetrueYesstringmime_type

(Mime Type)

This specifies the file extension to usefor the recorded file. A file extension

NonetruetrueNostringfile_extension

(File Extension)different from the file type can beused. For example, with a mime typeof vox, the file extension could be setto ulaw.

The path to the file that will hold therecording. Either the path, ftp host, orboth must be specified.

NonetruetrueNostringpath

(Path)

The domain name of the host to ftpthe recording. Either the path, ftphost, or both must be specified.

NonetruetrueNostringftp_host

(FTP Host)

The user name to use while FTPingthe recording, if ftp_host is set.

NonetruetrueYesstringftp_user

(FTP User)

The password to use while FTPingthe recording, if ftp_host is set.

NonetruetrueYesstringftp_password

(FTP Password)

The directory in which to FTP therecording, if ftp_host is set.

NonetruetrueNostringftp_path

(FTP Path)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)172

Record_With_ConfirmSettings

Page 191: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Whether or not the FTP is to beperformed in the background, ifftp_host is set.

truetruetrueYesbooleanftp_in_background

(FTP In Background)

For settings, for Record_With_Confirm, follow theseprocedures:

Note

• The path setting does not require a trailing slash. The voice element will determine the appropriatedestination. The path may be specified in operating system specific format (for example, on Windowsit might be specified asC:\directory\subdirectory\ and on UNIX it might be /usr/local/directory/).

• For a recording to be stored, you can choose either to store it locally or remotely. For locally on theVXML server itself, configure only the filename (myfile) and the path (c:/recordings/). For remotelyon a ftp server, configure the filename (myfile) and the FTP details such as: host, user, path, andpassword. Once your record element is configured, determine the url to access the recording from anexternal system. Run a simple test by playing the recording from your web browser. Make use of theurl: http://<ftpserver>/<ftppath>/filename . Find the correct path to play the audio file and use the sameurl in the audio element settings.

• Ifterminate_on_DTMF is false or off, recording will stop only after the voice browser reaches the inputtimeout.

• Not all voice browsers support the ability to retain a recording if the caller hung up while making therecording.

• Some voice browsers may not accept all options provided for the file_type and mime_type settings.Check your voice browser documentation for information on supported audio types.

• It is important to ensure that VXML Server has permission to save audio files to the specified path.

Element DataNotesTypeName

This stores the filename of the recording (without the path).stringfilename

This stores the path to the file holding the recording (includingthe filename).

stringfilepath

This is the confidence value of the utterance for theconfirmation menu.

floatconfirm_confidence

This stores a true if the caller hung up while making therecording or the confirmation menu, false if not.

booleanhungUpWhileRecording

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 173

Record_With_ConfirmElement Data

Page 192: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the nomatch maxcount is 0, this exit state will never occur.

max_nomatch

The maximum number of noinput events has occurred. If the noinput maxcount is 0, this exit state will never occur.

max_noinput

The maximum number of disconfirmations has occurred. If the maxdisconfirmed count is set to 0, this exit state will never occur.

max_disconfirmed

The recorded message was confirmed.done

Audio Groups

Record Capture

NotesMax1Req'dName (Label)

Played when the voice element firstbegins.

YesYesrecord_initial_audio_group

(Record Initial)

Played when a noinput event occursduring recording.

NoNorecord_noinput_audio_group

(Record NoInput)

Record Confirm

NotesMax1Req'dName (Label)

Played before the recording is played back. Therecording will be played back after this audio groupis done playing.

YesNobefore_confirm_audio_group

(Before Confirm)

Played after the recording is played back. At leastone of the two confirm prompts must be specified.

YesNoafter_confirm_audio_group

(After Confirm)

Played when a nomatch event occurs duringconfirmation.

NoNoconfirm_nomatch_audio_group

(Confirm NoMatch)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)174

Record_With_ConfirmExit States

Page 193: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Played when a noinput event occurs duringconfirmation.

NoNoconfirm_noinput_audio_group

(Confirm NoInput)

Played when the caller asks for help during theconfirmation menu. If not specified, help is treatedas a nomatch by default.

NoNoconfirm_help_audio_group

(Confirm Help)

Played after the caller disconfirms the recordedentry, upon reaching the max_disconfirmed_count.

YesNomax_disconfirmed_audio_group

(Max Disconfirmed)The prompt should be about exiting with themax_disconfirmed exit state.

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.record.MRecordWithConfirmRecord

EventsNotesName (Label)

You can select either VXMLEvent or Java Exception as event handlertype from the drop-down list.

Event Handler

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 175

Record_With_ConfirmFolder and Class Information

Page 194: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)176

Record_With_ConfirmEvents

Page 195: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 44Rest_Client Element

• Rest_Client, page 177

Rest_ClientThe Rest_Client element provides a flexible interface in order to interact with REST endpoints. Thecommunication between the REST client and server is made completely secure using two-way Secure SocketsLayer (SSL). The Rest_Client element permits users to send GET, POST, PUT, or DELETE requests toapplication servers.

For more information about Secure Socket Layer Authentication, see the User Guide for Cisco Unified CVPVXML Server and Cisco Unified Call Studio at http://www.cisco.com/c/en/us/support/customer-collaboration/unified-customer-voice-portal/products-user-guide-list.html.

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName(Label)

This settingsspecifies whetherSNMP alert to begenerated.

BlankfalsetrueYesBooleanEndpointURL

HTTP supportsGET,PUT, POST,DELETE

GETHTTPmethod

Any additionalparameters will bepassed along withURL.

BlankParameters

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 177

Page 196: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

NotesDefaultSubstitutionAllowed

SingleSettingValue

Req'dTypeName(Label)

The SSL securitysetting gets enabledwhen flag is set tofalse.

falseIgnoreCertificateValidation

Username andpassword of RESTend point to beaccessed.

trueRequireHTTPauthentication

Specify the contenttype to be retrieved.For example: XMLof

BlankHeaders

BlankXPath/JSONPath

3000 msecConnectTimeout

5000 msecReadTimeout

Element Data

NotesTypeName

This element data carries the REST response that is receivedfrom the REST end point.

stringresponse_body

This element data carries the REST response code receivedfor the REST operation performed.

stringstatus_code

Exit States

NotesName

The element execution is complete.done

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)178

Rest_Client ElementElement Data

Page 197: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Events

NotesName (Label)

Java Exception event handler type can be selected.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 179

Rest_Client ElementEvents

Page 198: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)180

Rest_Client ElementEvents

Page 199: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 45ReqICMLabel

The ReqICMLabel element allows a Call Studio script to pass caller input, Call Peripheral Variables, andExternal Call Context (ECC) variables to an ICM script. The ReqICMLabel must be inserted into a CallStudio script as a decision element. In Call Studio, the returned ICM label contains a result, which can beused by other elements in the same application, such as the Transfer or Audio element.

After the ReqICMLabel exits its done path, you can retrieve the values set by the ICM script by selectingthe Element Data tab for the ReqICMLabel element. The element data value is{Data.Element.ReqICMLabelElement.result}. ReqICMLabelElement is the name of the ReqICMLabelelement in the Studio script. The default name for this element is ReqICMLabel_<n>, where <n> is anumber. The first ReqICMLabel you add to the script is named ReqICMLabel_01, the second is namedReqICMLabel_02, etc. For example, if you changed ReqICMLabel to GetICMLabel, the value returnedfrom ICMwould be {Data.Element.GetICMLabel.result}, where result is the variable of the ReqICMLabelelement that contains the ICM label.

For more information on using the ReqICMLabel, refer to the Configuration Guide for Cisco UnifiedCustomer Voice Portal.

• Settings, page 181

• Element Data, page 182

• Session Data, page 183

• Exit States, page 183

• Folder and Class Information, page 183

• Events, page 184

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 181

Page 200: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Call Peripheral Variables passed by theStudio script to the ICM Server. Each of

NonetruetrueNostringCall PeripheralVariables 1 – 10

these settings can be a maximum length of(callvar1 –callvar10) 210 characters. The ICM Server returns a

name-value pair for up to 10 Call PeripheralVariables in a result. Any value that is placedin callvar<n> from a Call Studio script isreturned unchanged, if the ICM Script doesnot change it.

Call Peripheral Variables created upon thereturn of the ICM Label request, regardless

NonetruetrueNostringCall PeripheralVariables Return 1– 10 of whether or not these variables are filled

by the ICM Script. The reason we need two(callvarReturn1 –callvarReturn10) sets of these variables is to keep reporting

the To ICM Call Peripheral Variablesseparate fromwhat is returned from the ICM.

External Call Context (ECC) variablespassed by the Studio script to the ICM

NonetruetrueNostringarray

FromExtVXML0- 3

(External VXML0 – ExternalVXML 3)

Server. Each variable is a string ofname-value pairs, separated by semicolons,for up to 4 external VXML variables. Eachof these settings can be a maximum lengthof 210 characters.

External Call Context (ECC) variablesreceived from the ICM script. The ICM

NonetruetrueNostringarray

ToExtVXML0 - 4

(External VXML0 – ExternalVXML 4)

Server returns a string of name-value pairs,separated by semicolons, for up to 5 externalVXML variables.

The number of milliseconds the transferrequest waits for a response from the ICM

3000(ms)

truetrueYesintegerTimeout

Server before timing out. Note: This valuecan only be increased or decreased byincrements of 500 ms.

This setting can be amaximum length of 210characters. The value of this setting will be

NonetruetrueNostringcaller_input

(Caller Input)sent from VXML Server to ICM at runtime.Should a response from ICM be needed, theCall Peripheral Variables or ToExtVXMLsettings should be used.

Element DataNotesTypeName

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)182

ReqICMLabelElement Data

Page 201: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

ICM Label returned from an ICM server.stringresult

Call Peripheral Variables that the Studio scripts passes to the ICM Server.Valid Call Peripheral Variables are callvar1 – callvar10.

stringcallvar<n>

Call Peripheral Variables that the ICM script returns to the VXML Server.Valid Call Peripheral Variables are callvarReturn1 – callvarReturn10.

stringcallvarReturn<n>

For example, if an ICM script contains call peripheral variable 3 with thestring value “CompanyName=Cisco Systems, Inc”, you can access thevalue of CompanyName that is returned by the ICM script by using:

Data.Element.ReqICMLabelElement.callvarReturn3.

The returned value is Cisco Systems, Inc.

Session DataNotesTypeName

Value for a name-value pair contained in a ToExtVXML variable returned in the ICMlabel. You must know which name-value pairs are set in the ICM script to retrievethe correct value from the Call Studio script.

stringname

For example, if an ICM script contains a user.microapp.ToExtVXML0 variable withthe string value CustomerName=Mantle, specify Data.Session.CustomerName. Ifthe same ICM script contains a user.microapp.ToExtVXML0 variable with the stringvalue BusinessType=Manufacturing, you can access the customer business typereturned by the ICM script by using Data.Session.BusinessType.

Exit StatesNotesName

The element execution is complete and the value was successfully retrieved.done

The element failed to retrieve the value.error

Folder and Class InformationClass NameStudio Element Folder Name

com.cisco.cvp.vxml.custelem.ReqICMLabelCisco

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 183

ReqICMLabelSession Data

Page 202: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

EventsNotesName (Label)

You can select Java Exception as event handler type.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)184

ReqICMLabelEvents

Page 203: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 46Subdialog Invoke

The Subdialog Invoke element initiates a subdialog invocation to another VoiceXML application, andhandles passing data to and from the application. For the entire duration while a subdialog application ishandling a call, the calling application waits in a dormant state for the subdialog to return. The goal of theSubdialog Invoke element is to allow voice applications to be invoked across multiple servers, as well asgiving temporary control of the call to a voice application (such as flat VoiceXML and JSPs) created outsideCall Studio.

• Settings, page 185

• Exit States, page 186

• Folder and Class Information, page 186

• Events, page 186

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

Specifies the URI of the subdialog toinvoke. This may either be a relative or

NonetruetrueYesstringsubdialog_uri

(SubdialogURI) absolute URI, but must be accessible to the

voice browser at runtime.

Specifies whether or not the subdialogapplication is running on the same

NonetruetrueYesbooleanlocal_application

(LocalApplication) application server as the application in

which the current element appears.

Holds the name and value of a parameterto pass to the subdialog. The format is the

NonetruefalseNostringparameter

(Parameter)name of the parameter followed by an

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 185

Page 204: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

equal sign (=) followed by the value of theparameter. For example: name=JohnDoe.The element will use the text up to the firstequal sign as the name of the parameterand the remaining text as the value .

Holds the name of a return value from thesubdialog. For example: result. The names

NonetruefalseNostringreturn_value

(Return Value)specified here must match the variablenames returned by the subdialog. Returnvalues will be stored as element data, in avariable of the name specified here.

Exit StatesNotesName

The element execution is complete.done

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.internal.SubdialogInvokeGeneral

EventsNotesName (Label)

The VXML Event handler type is available for this element.Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)186

Subdialog InvokeExit States

Page 205: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 47Subdialog Return

In most situations, the CVP Subdialog Return element (see CVP Subdialog Return) should be used insteadof this one, to offer full compatibility with ICM. However, there is one exception to this. If the voiceapplication will only be called by a Subdialog Invoke element (that is, never by ICM), then the SubdialogStart and Subdialog Return elements may be used instead. In this scenario, using this element allows anarbitrary number of return values to be retrieved from the subdialog, whereas the CVP Subdialog Return

element allows only four.

• Settings, page 187

• Exit States, page 188

• Folder and Class Information, page 188

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName(Label)

Optional return argument that holds aname/value pair to be returned to the calling

NonetruefalseNostringreturn_value

(ReturnValue) application. The format should be: the name

of the argument followed by an equal signand the value of the argument. For example;name=John Doe. The element will take thetext up to the first equal sign to be the nameof the argument and the text following theequal sign to the value.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 187

Page 206: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Exit StatesNotesName

The element execution is complete.done

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.internal.DefaultSubdialogReturnElementGeneral

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)188

Subdialog ReturnExit States

Page 207: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 48Subdialog Start

In most situations, the CVP Subdialog Start element (see CVP Subdialog Start) should be used insteadof this one, to offer full compatibility with ICM. However, there is one exception to this. If the voiceapplication will only be called by a Subdialog Invoke element (that is, never by ICM), then the SubdialogStart and Subdialog Return elements may be used instead.

Data can be passed to the VoiceXML application either as HTTP parameters or VoiceXML parameters(using the <param> tag). In the first case (that is, as HTTP parameters), Call Services will automaticallycreate session data using the name of the data received. In the second case (that is, as VoiceXML parameters),the Subdialog Start element must be configured appropriately in order for the data to be available as elementor session data for the duration of the call session. For each data passed as a VoiceXML parameter, therepeatable Parameter setting must be configured with the same exact name as the data.

• Settings, page 189

• Exit States, page 190

• Folder and Class Information, page 190

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

Req'dTypeName (Label)

Holds the name of a parameter passedas input to the subdialog. It must

NonetruefalseNostringParameter

(Parameter)match the exact value specified in thecalling dialog. This is a repeatablesetting, so multiple values can bespecified.

Set to Session Data to store the listedparameters in Session data, or to

SessionData

falsefalseNostringStore As

(Store As)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 189

Page 208: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Data to store them inElement data.

Exit StatesNotesName

The element execution is complete.done

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.internal.DefaultSubdialogStartElementGeneral

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)190

Subdialog StartExit States

Page 209: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 49Time

The Time voice element captures a time input from the caller. The time input can be entered using spokeninputs (including hours and minutes) or DTMF inputs (in the HHMM format). The captured value will bestored in element data as a five character string in the format HHMMX, where X is one of four possiblevalues: “a” for AM, “p” for PM, “h” for a military time, or “?” for an ambiguous time. Using speech input,the time input may be spoken in natural language.

• Settings, page 191

• Element Data, page 192

• Exit States, page 193

• Audio Groups, page 194

• Folder and Class Information, page 194

• Events, page 194

SettingsNotesDefaultSub.

AllowedSingleSettingValue

Req'dTypeName (Label)

The type of entry allowed for input.Possible values are: voice | dtmf | both.

bothfalsetrueYesstringenum

inputmode

(Input Mode)

The maximum time length allowed forsilence or no keypress before a noinput

5struetrueYesstringnoinput_timeout

(Noinput Timeout)event is thrown. Possible values arestandard time designations includingboth a non-negative number and a timeunit, for example, 3s (for seconds) or300ms (for milliseconds). Default = 5s.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 191

Page 210: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The maximum number of noinputevents allowed during time inputcapture. 0 = infinite noinputs allowed.

3truetrueYesint ≥ 0collect_max_noinput_count

(TimeMax NoInput Count)

The maximum number of nomatchevents allowed during time inputcapture. 0 = infinite nomatches allowed.

3falsetrueYesint ≥ 0collect_max_nomatch_count

(Time Max NoMatchCount)

The confidence level threshold to useduring time capture.

0.40truetrueYesdecimal(0.0 –1.0)

collect_confidence_level

(Time Confidence Level)

Whether or not to temporarily disableall hotlink grammars (global or local)

falsetruetrueYesbooleanmodal

(Disable Hotlinks)and universal grammars. If set to true,only the grammars of the current Timeelement will be enabled for the durationof the element. Otherwise all activegrammars will be enabled.

Whether or not to enable logging ofpotentially sensitive data of the Time

falsetruetrueYesbooleansecure_logging

(Secure Logging)element. If set to true, the followingpotentially sensitive data of the elementwill not log: utterance, interpretation,value, nbestUtteranceX† andnbestInterpretationX†. Instead, theabove will be logged as the field nameappended with the suffix“_secureLogging” and with the value“*****”, for examplenbestUtterance1_secureLogging,*****.

The maximum number of speechrecognition results that can begenerated per voice input.

1truetrueYesint ≥ 1maxnbest

(Maxnbest)

†Refer to the Element Data table for information about nbestUtteranceX and nbestIInterpretationX. ElementData

Element DataNotesTypeName

The number captured and stored as a whole or decimal number withan optional minus sign.

stringValue

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)192

TimeElement Data

Page 211: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

This is the confidence value of the captured utterance. When n-bestrecognition is enabled, this stores the confidence score of the tophypothesis in the n-best list.

floatvalue_confidence

This stores the number of n-best hypotheses generated by the speechengine.

int ≥ 1nbestLength

This set of element data stores the captured n-best utterances. Whilethe maximum number of nbestUtteranceX values is equal to the

stringnbestUtterance1

nbestUtterance2maxnbest setting value, the actual number of these values available

… is determined by speech recognition at runtime, wherenbestUtterance1 holds the utterance of the top hypothesis in thenbestUtteranceXn-best list and nbestUtteranceX holds the utterance of the lasthypothesis.

This set of element data stores the interpretations of captured n-bestutterances. While the maximum number of nbestInterpretationX

stringnbestInterpretation1

nbestInterpretation2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestInterpretation1 holds the interpretation of the topnbestInterpretationXhypothesis in the n-best list and nbestInterpretationX holds theinterpretation of the last hypothesis.

This set of element data stores the confidence scores of capturedn-best utterances.While themaximumnumber of nbestConfidenceX

floatnbestConfidence1

nbestConfidence2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestConfidence1 holds the confidence score of the topnbestConfidenceXhypothesis in the n-best list and nbestConfidenceX holds theconfidence score of the last hypothesis.

This set of element data stores the input modes of captured n-bestutterances.

stringnbestInputmode1

nbestInputmode2

…nbestInputmodeX

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the nomatch maxcount is 0, this exit state will never occur.

max_nomatch

The maximum number of noinput events has occurred. If the noinput maxcount is 0, this exit state will never occur.

max_noinput

The time capture was completed.done

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 193

TimeExit States

Page 212: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Audio Groups

Time Capture

NotesMax1Req'dName (Label)

Played when the voice element first begins.YesYescollect_initial_audio_group

(Time Initial)

Played when a noinput event occurs. The noinputevent count corresponds to the audio group count.

NoNocollect_noinput_audio_group

(Time NoInput)

Playedwhen a nomatch event occurs. The nomatchevent count corresponds to the audio group count.

NoNocollect_nomatch_audio_group

(Time NoMatch)

Played when a help event occurs. The help eventcount corresponds to the audio group count. If notspecified, a help event is treated as nomatch.

NoNocollect_help_audio_group

(Time Help)

End

NotesMax 1Req'dName (Label)

Played after the time capture is completed. Ifnot specified, no audio will be played.

YesNodone_audio_group

(Done)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.time.MBasicTimeDate & Time

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)194

TimeAudio Groups

Page 213: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 50Time_With_Confirm

The Time_With_Confirm voice element captures a time input from the caller, and presents a confirmationmenu allowing the caller to either accept their entry or re-enter the time. The time input can be enteredusing spoken inputs (including hours and minutes) or DTMF inputs (in the HHMM format). The capturedvalue will be stored in element data as a five character string in the format HHMMX, where X is one offour possible values: “a” for AM, “p” for PM, “h” for a military time, or “?” for an ambiguous time. Usingspeech input, the time input may be spoken in natural language.

• Settings, page 195

• Element Data, page 197

• Exit States, page 198

• Audio Groups, page 198

• Folder and Class Information, page 199

• Events, page 200

SettingsNotesDefaultSub.

AllowedSingleSettingValue

Req'dTypeName (Label)

The type of entry allowed for input.Possible values are: voice | dtmf | both.

bothfalsetrueYesstringenum

inputmode

(Input Mode)

The maximum time length allowed forsilence or no keypress before a noinput

5struetrueYesstringnoinput_timeout

(Noinput Timeout)event is thrown. Possible values arestandard time designations includingboth a non-negative number and a timeunit, for example, 3s (for seconds) or300ms (for milliseconds). Default = 5s.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 195

Page 214: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The maximum number of noinputevents allowed during time inputcapture. 0 = infinite noinputs allowed.

3truetrueYesint ≥ 0collect_max_noinput_count

(Time Max NoInput Count)

The maximum number of nomatchevents allowed during time inputcapture. 0 = infinite nomatches allowed.

3falsetrueYesint ≥ 0collect_max_nomatch_count

(Time Max NoMatch Count)

The maximum number of noinputevents allowed during time input

3truetrueYesint ≥ 0confirm_max_noinput_count

(Confirm Max NoInputCount) confirmation. 0 = infinite noinputs

allowed.

The maximum number of nomatchevents allowed during time input

3falsetrueYesint ≥ 0confirm_max_nomatch_count

(Confirm Max NoMatchCount) confirmation. 0 = infinite nomatches

allowed.

Themaximum number of times a calleris allowed to disconfirm a captured

3falsetrueYesint ≥ 0max_disconfirmed_count

(Max Disconfirmed Count)input. 0 = infinite disconfirmationsallowed.

The confidence level threshold to useduring time capture.

0.40truetrueYesdecimal(0.0 –1.0)

collect_confidence_level

(Time Confidence Level)

The confidence level threshold to useduring confirmation.

0.50truetrueYesdecimal(0.0 –1.0)

confirm_confidence_level

(Confirm Confidence Level)

Whether or not to temporarily disableall hotlink grammars (global or local)

falsetruetrueYesbooleanmodal

(Disable Hotlinks)and universal grammars. If set to true,only the grammars of the currentTime_With_Confirm element (thebuiltin time and boolean grammars)will be enabled for the duration of theelement. Otherwise all active grammarswill be enabled.

Whether or not to enable logging ofpotentially sensitive data of the

falsetruetrueYesbooleansecure_logging

(Secure Logging)Time_With_Confirm element. If set totrue, the following potentially sensitivedata of the element will not log:utterance, interpretation, value,nbestUtteranceX† andnbestInterpretationX†. Instead, theabove will be logged as the field nameappended with the suffix

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)196

Time_With_ConfirmSettings

Page 215: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

“_secureLogging” and with the value“*****”, for examplenbestUtterance1_secureLogging,*****.

The maximum number of speechrecognition results that can begenerated per voice input.

1truetrueYesint ≥ 1maxnbest

(Maxnbest)

†Refer to the Element Data table for information about nbestUtteranceX and nbestInterpretationX.

Element DataNotesTypeName

The number captured and stored as a whole or decimal number withan optional minus sign.

stringValue

This is the confidence value of the captured number utterance.Whenn-best recognition is enabled, this stores the confidence score of thetop hypothesis in the n-best list.

floatvalue_confidence

This is the confidence value of the captured confirm utterance.floatconfirm_confidence

This stores the number of n-best hypotheses generated by the speechengine.

int ≥ 1nbestLength

This set of element data stores the captured n-best utterances. Whilethe maximum number of nbestUtteranceX values is equal to the

stringnbestUtterance1

nbestUtterance2maxnbest setting value, the actual number of these values available

… is determined by speech recognition at runtime, wherenbestUtterance1 holds the utterance of the top hypothesis in thenbestUtteranceXn-best list and nbestUtteranceX holds the utterance of the lasthypothesis.

This set of element data stores the interpretations of captured n-bestutterances. While the maximum number of nbestInterpretationX

stringnbestInterpretation1

nbestInterpretation2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestInterpretation1 holds the interpretation of the topnbestInterpretationXhypothesis in the n-best list and nbestInterpretationX holds theinterpretation of the last hypothesis.

This set of element data stores the confidence scores of capturedn-best utterances.While themaximum number of nbestConfidenceX

floatnbestConfidence1

nbestConfidence2values is equal to the maxnbest setting value, the actual number of

… these values available is determined by speech recognition at runtime,where nbestConfidence1 holds the confidence score of the topnbestConfidenceX

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 197

Time_With_ConfirmElement Data

Page 216: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

hypothesis in the n-best list and nbestConfidenceX holds theconfidence score of the last hypothesis.

This set of element data stores the input modes of captured n-bestutterances.

stringnbestInputmode1

nbestInputmode2

…nbestInputmodeX

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the nomatch maxcount is 0, this exit state will never occur.

max_nomatch

The maximum number of noinput events has occurred. If the noinput maxcount is 0, this exit state will never occur.

max_noinput

The maximum number of disconfirmations has occurred. If themax_disconfirmed_count is set to 0, this exit state will never occur.

max_disconfirmed

The time captured is confirmed.done

Audio Groups

Time Capture

NotesMax1Req'dName (Label)

Played when the voice element first begins.YesYescollect_initial_audio_group

(Time Initial)

Played when a noinput event occurs during timeinput. The noinput event count corresponds to theaudio group count.

NoNocollect_noinput_audio_group

(Time NoInput)

Played when a nomatch event occurs during timeinput. The nomatch event count corresponds to theaudio group count.

NoNocollect_nomatch_audio_group

(Time NoMatch)

Played when a help event occurs during time input.The help event count corresponds to the audio

NoNocollect_help_audio_group

(Time Help)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)198

Time_With_ConfirmExit States

Page 217: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

group count. If not specified, a help event throwsa nomatch event.

Time Confirm

NotesMax1Req'dName (Label)

Played when confirmation of the captured timefirst begins.

YesYesconfirm_initial_audio_group

(Confirm Initial)

Played when a nomatch event occurs during timeconfirmation. The nomatch event countcorresponds to the audio group count.

NoNoconfirm_nomatch_audio_group

(Confirm NoMatch)

Played when a noinput event occurs during timeconfirmation. The noinput event countcorresponds to the audio group count.

NoNoconfirm_noinput_audio_group

(Confirm NoInput)

Played when a help event occurs during timeconfirmation. The help event count corresponds

NoNoconfirm_help_audio_group

(Confirm Help)to the audio group count. If not specified, bydefault help throws a nomatch.

Played after the caller disconfirms a time entrycaptured.

NoNodisconfirmed_audio_group

(Disconfirmed)

End

NotesMax 1Req'dName (Label)

Played after the caller chooses the yes option. Ifnot specified, no audio will be played when thisoption is chosen.

YesNoyes_audio_group

(Yes)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.time.MBasicTimeWithConfirmDate & Time

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 199

Time_With_ConfirmTime Confirm

Page 218: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)200

Time_With_ConfirmEvents

Page 219: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 51Transfer

The Transfer voice element performs a call transfer to a phone number specified by a configuration setting.Depending on how the voice browser is configured, the call transfer can be a bridge transfer or a blindtransfer. For a bridge transfer, the voice browser makes an outbound call while maintaining the originalcall and acts as a bridge between the two calls. The advantage of this is that once the secondary call ends,the original call can still continue with the IVR. The disadvantage is that two separate phone lines are used.For a blind transfer, the voice browser makes an outbound call and when connected, links the original callto the new caller through the use of a telephony switch. At this point, the voice browser (and as a resultVXML Server) is no longer in control of the call. Blind transfers involve only one line.

The Transfer element defines exit states for the different ways bridge transfers can end such as the personbeing called hung up, there was no answer, there was a busy signal, or some other phone-related erroroccurred. Since blind transfers take the call away from the voice browser and VXML Server, a Transferelement performing a blind transfer would never return an exit state. Instead, an special event would bethrown by the voice browser, caught in the root document for the call, and VXML Server would terminatethe session by interrupting the Transfer element.

The number to transfer to can be any phone number allowed by the voice browser telephony provider (somemay place restrictions on outbound dialing). Please note that different voice browsers may or may notaccept certain kinds of phone numbers. Check your voice browser documentation for specific requirementsand restrictions for call transfer.

• Settings, page 202

• Element Data, page 203

• Exit States, page 203

• Audio Groups, page 203

• Folder and Class Information, page 204

• Events, page 204

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 201

Page 220: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

SettingsNotesDefaultSub.

AllowedSingleSettingValue

Req'dTypeName (Label)

The phone number to transfer to. It maycontain non-numerical characters to allowsupport for phone extensions.

NonetruetrueYesstringtransfer_destination

(Transfer Destination)

If the destination_type is sip, make surethat the value for transfer_destination isin the SIP URI (number@domain)format.

The type of transfer destination to whichthe voice element is to connect. Possiblevalues are: tel | sip.

teltruetrueNostringdestination_type

(Destination Type)

The maximum time (in seconds) thatvoice element is allowed to wait for an

60struetrueYesstringconnect_timeout

(Connect Timeout)answer, before exiting with a noanswerexit state. Possible values are standardtime designations including both apositive integer and a time unit s, forexample, 10s (for 10 seconds). Default =60s.

The maximum duration (in seconds) thatthe transfer is allowed to last. Possible

0struetrueYesstringmax_transfer_time

(Max Transfer Time)values are standard time designationsincluding both a non-negative integer anda time unit s, for example, 30s (for 30seconds). Default = 0s (means no limit).This setting only applies when bridge isset to true.

Determines whether the applicationremains connected to the caller after the

falsetruetrueYesbinarybridge

(Bridge)transfer is initiated. Possible values are:true | false. Default = false. When setto false (that is, a blind transfer), theapplication redirects the caller to thecallee without remaining in theconnection; the transfer outcome iscompletely unsupervised. When set totrue (that is, a bridge transfer), theapplication stays connected to the callerand adds the callee to the connection forthe duration of the transferred call.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)202

TransferSettings

Page 221: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The URI location of the audio file to beplayed while connecting the call.

NonetruetrueNostringtransfer_audio

(Transfer Audio)

A string containingApplication-to-Application Information

NonetruetrueNostringaai

(Application-to-applicationInformation) data to be sent to an application on the

far-end.

Element DataNotesTypeName

The value returned by the transfer field. This is dependenton the voice browser.

stringresult

Exit StatesNotesName

The number was busy.busy

There was no answer.noanswer

There was some sort of phone-related error.phone_error

The call transfer completed successfully.done

Hosting voice browsers may disable call transfers for developer accounts. You should verify withyour provider that transfer is enabled for your application.

Note

Some voice browsers use a code to indicate which call transfers will be allowed. This code appearsbefore the phone number.

Note

Some voice browsers support the inclusion of an extension in the phone number so that the systemcan transfer to a particular extension. It is up to the developer to pass this voice element a stringcontaining the appropriate format. Check the platform specific documentation for support of extensiondialing in transfer.

Note

Audio Groups

Transfer Audio

NotesMax1Req'dName (Label)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 203

TransferElement Data

Page 222: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Played to introduce the transfer. If there is none, thetransfer occurs immediately.

YesNoinitial_audio_group

(Initial)

Played when there is a busy signal, right before thevoice element exits with the "busy" exit state.

YesNobusy_audio_group

(Busy)

Played when there is no answer, right before thevoice element exits with the noanswer exit state.

YesNonoanswer_audio_group

(No Answer)

Played when there is some kind of phone-relatederror, right before the voice element exits with thephone_error exit state.

YesNophone_error_audio_group

(Phone Error)

End

NotesMax 1Req'dName (Label)

Played when the call transfer completes with theparty called hanging up and the caller staying onthe line.

YesNodone_audio_group

(Done)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.transfer.MTransferCall Control

EventsNotesName (Label)

You can select either VXMLEvent or Java Exception as event handlertype from the drop-down list.

Event Handler

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)204

TransferEnd

Page 223: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 52VideoConnect

The VideoConnect element plays a specific video file (identified using the dialed number) from the videomedia server and collect digits during the video file playback.

This chapter contains the following topics:

• Settings, page 205

• Element Data, page 206

• Exit States, page 206

• Events, page 207

• Others, page 207

SettingsNotesDefaultSubstitution

AllowedSingleSettingValue

RequiredTypeName(Label)

Video Media ServerDestinationNumber. Example:5000. Must be a valid dialednumber on Cisco UBE and theVideo Media Server.

NoneTrueTrueYesStringVideoMediaServer DN

Pattern to use for matchingincoming digit collection.Leave blank for no digitcollection. Example: 600.Must be a valid pattern forCisco IOS gateway. ThePattern format is same as thedestination-pattern format usedin IOS gateway dial-peers.

NoneTrueTrueNoStringDigit MatchPattern

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 205

Page 224: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

NotesDefaultSubstitutionAllowed

SingleSettingValue

RequiredTypeName(Label)

Maximum time (seconds) towait for caller input. Example:15.

Notimeout

TrueTrueNoStringNo-inputTimeout

Note • If you enter the DTMF that do not match the configured pattern. It results in an automatic retry fordigit collection, so unmatched patterns does not cause the video element to exit.

• If the intent is to explicitly trap no-matches, then you can collect any single digit and return to theapplication.

Element DataElement data is created only when the exit state is not set to done.

NotesTypeName

The digit string value captured.Stringcallerdtmf

Video call outcome.Stringresult

Exit StatesDescriptionState

The Video played to completion and the video servergets disconnected.

End_of_media

The Caller entered a DTMF string that matched thespecified digit collection pattern.

Caller_input

A digit collection pattern was specified, but no inputwas received before the input timeout occured.

No_input

This exit state is used when an error occurs and forall other unexpected termination reasons.

Error

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)206

VideoConnectElement Data

Page 225: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

OthersVideoStudio Element Folder

com.cisco.cvp.vxml.custelem.VideoConnectClass Name

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 207

VideoConnectEvents

Page 226: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)208

VideoConnectOthers

Page 227: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 53Web Service Elements

Along with Action and Decision elements, another way to perform backend interactions and obtain real-timedata is via the Web Service element. This element leverages industry standards, such as the Web ServiceDefinition Language (WSDL) for service definitions and SOAP for message encapsulation to providesimple, seamless interaction with remote web services.

Unlike one-off web service implementations using custom code, this element provides an intuitive graphicalinterface that dynamically adjusts to match each of your web services. It uses WSDL to discover requiredand optional settings, setting dependencies, and even valid enumerated values. Like other elements [email protected]@, it ensures that the values you enter are of the right type, while still allowing theuse of Substitution throughout.

Web Service elements provides a dynamic graphical interface for embedding web service interactions intothe call flow.

This element is designed to work with the following technologies:

•WSDL 1.1 (using namespace http://schemas.xmlsoap.org/wsdl/)

◦Binding Styles- RPC/encoded

- RPC/literal

- Document/literal

- Document/literal (wrapped)

• SOAP 1.1 encoding (using namespace http://schemas.xmlsoap.org/soap/encoding/)

◦Includes built-in support for 1-dimensional SOAP-encoded arrays that do not use href referencesfor array items.

◦To parse n-dimensional SOAP-encoded arrays (where n is greater than 1) or href references inweb service response messages, use the "Store Full Response XML" option and process theresponse with custom code.

• XML schemas (using namespace http://www.w3.org/2001/XMLSchema)

◦Includes built-in support for 1-dimensional arrays (that is, sequences).

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 209

Page 228: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

◦To parse n-dimensional arrays (where n is greater than 1) in web service response messages,use the "Store Full Response XML" option and process the response with custom code.

The earlier application that contains Web Service element has to imported again to Call Studiolatest version before deploying in new VXML server.

Note

• Exit States, page 210

• Element Data, page 210

• Settings, page 212

• Configuring Request Parameters, page 217

• Configuring Response Parameters, page 218

Exit StatesDescriptionName

This exit state is followed when the web service wassuccessfully invoked at runtime, and respondedwithinthe time specified in the "Connection Timeout"setting.

done

This exit state is followed when the elementencounters any error at runtime. Some examplesinclude a web service that cannot be reached, the webservice taking too long (more than the value specifiedin the "Connection Timeout" setting) to respond, orreceiving unexpected data from the service. If thisexit state is followed, refer to [email protected]@ logs for additionalinformation about the cause.

Java Exception-error

This exit state is only present when the loadedWSDLspecifies a possible fault message for the selectedoperation. This exit state is followed when the webservice is successfully contacted at runtime, but itresponds with its fault message.

fault

Element DataOnly created if the "Store Full Response XML" checkbox has been checked. Holdsthe full XML response from the web service at runtime, for later processing by customcode or for debugging purposes.

response_xml

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)210

Web Service ElementsExit States

Page 229: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

This element may also create numerous other element or session data variables (with user-specified names),depending on the settings specified in the "Configure Response Parameters" dialog.

Note

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 211

Web Service ElementsElement Data

Page 230: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

SettingsTheWeb Service element has just one Element Configuration tab, named "General". Refer to the image belowand description of each setting for more information.

Figure 1: Element Configuration Tab

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)212

Web Service ElementsSettings

Page 231: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

DescriptionNameGroup

In order for the Web Serviceelement to be configurable, aWSDL file defining the desiredweb service must first be loaded.First, choose either "URI" or "File"from the drop-down, then eitherbrowse for a local file or enter aremote URI where the WSDL canbe retrieved. Then, click the "Load"button to [email protected]@'sdownload, caching, and parsing oftheWSDL. OnceWSDL is loaded,the other configuration optionsbecome available.

WSDL LocationLoad WSDL

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 213

Web Service ElementsSettings

Page 232: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

DescriptionNameGroup

This drop-down allows you toselect which service youwould likethis element to invoke at runtime.Generally,WSDL files only definea single service so this list mayhave just one item. Each service'snamespace is listed alongside it inparenthesis.

ServiceConfigure Web Service Call

This drop-down allows you tospecify which port you would liketo use to connect to the web serviceat runtime. Each port has a name,and may define completelydifferent connection properties thanother ports. Please refer to yourweb service's documentation, orthe WSDL file, for informationabout what each port represents.Note that this port list is dependenton which service is selected, andso it will update as the service ischanged.

Port

This drop-down allows you tospecify which operation you wouldlike to execute against thepreviously-selected service. Notethat this operation list is dependenton which port is selected, and so itwill update as the port is changed.

Operation

Click the "Configure" button nextto the "Request" label to bring upthe "Configure RequestParameters" dialog. Using thatdialog, you can specify whichvalues to send to the web serviceas inputs at runtime.

Request

Click the "Configure" button nextto the "Response" label to bring upthe "Configure ResponseParameters" dialog. Using thatdialog, you can specify in whichelement or session data variableeach potential return value fromthe web service should be stored atruntime.

Response

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)214

Web Service ElementsSettings

Page 233: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

DescriptionNameGroup

Check this box if you would likethe full XML response from theweb service to be stored in elementdata at runtime, for later processingby your own custom code, or fordebug purposes. Note that checkingthis box may be memory intensiveif the response XML documentsare large. Even if this checkbox hasbeen selected, response parameterstorage settings from the"Configure Response Parameter"dialog will still be used.

Store Full Response XML

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 215

Web Service ElementsSettings

Page 234: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

DescriptionNameGroup

This setting allows you to specifyhow many [email protected]@should wait for the web servicesocket connection to getestablished at runtime, beforetiming-out and following the"error" exit state.

Connect TimeoutRuntime Settings

Check this box if you would likeHTTP authentication to be usedwhen accessing the web service atruntime.

Requires HTTP Authentication

Only available if the "RequiresHTTP Authentication" checkboxhas been selected. This field allowsyou to specify the username to usefor HTTP authentication whenaccessing the web service atruntime.

Username

Only available if the "RequiresHTTP Authentication" checkboxhas been selected. This field allowsyou to specify the password to usefor HTTP authentication whenaccessing the web service atruntime.

Password

Check this box if you would like aproxy to be used when accessingthe web service at runtime.

Use Proxy

Only available if the "Use Proxy"checkbox has been selected. Thisfield allows you to specify theproxy host to use to access the webservice at runtime.

Proxy Host

Only available if the "Use Proxy"checkbox has been selected. Thisfield allows you to specify theproxy port to use to access the webservice at runtime.

Proxy Port

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)216

Web Service ElementsSettings

Page 235: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Configuring Request Parameters

Unified CVPCall Studio does not support SOAP Encode Schema. For all request and response parametersuse the XMLSchema namespace format as listed in the XML Schema document.

Note

When the "Configure" button for Request Parameters is clicked, the following dialog is displayed:

Figure 2: Configure Request Parameters

Its contents are pre-populated with parameters that the loadedWSDL specifies. These parameters are displayedin a tree format, and use the same symbols for required and repeatable that the settings of other elements use.If a setting is optional it is greyed-out by default (like "value" in the image above), and can be added byright-clicking on it and choosing "Add PARAM_NAME":

Figure 3: Add Parameter

Each parameter has a type, such as string, integer, or float. Some parameters cannot hold a value (they willshow "N/A" as their type), because they are intended to either only contain child parameters, or to act asmarkers. An example of a marker parameter might be "disable_logging"; if it is defined, then no logging willbe performed on the service end. Only variables with a type can hold a value. The value you enter will be

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 217

Web Service ElementsConfiguring Request Parameters

Page 236: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

validated as you type it (a warning message may be displayed below the value field), and also when youvalidate the entire project before deploying.

If a setting is repeatable it will have its index in the list in brackets, such as the "item" parameter in the followingexample:

Figure 4: Repeatable Parameters

You can add additional parameters to the list by right-clicking on any list item and choosing "AddPARAM_NAME". To remove a parameter from the list, right-click on it and choose "Delete PARAM_NAME".This same functionality can be used to disable (gray-out) an optional parameter, regardless of whether it isrepeatable or not.

Similar to element settings, all required parameters must be configured with a value in order for the voiceapplication project to pass validation.

Configuring Response ParametersResponse parameters (data sent back by a web service) are handled inmuch the sameway as request parameters.The "Configure Request Parameters" dialog is also tree-based, and it allows for parameters to be added ordeleted as desired.

Figure 5: Configure Response Parameters

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)218

Web Service ElementsConfiguring Response Parameters

Page 237: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

However, there are a few differences. First, you must specify whether each parameter should be stored inElement or Session data. Additionally, the text input field is used to specify the variable name to create, ratherthan a value to pass to the service.

No type-checking is performed in this dialog; the response parameter type is listed only for convenience.

The most significant difference between this dialog and the "Configure Request Parameters" dialog is thatparameters marked as required do not need to be configured. Any parameter not configured in this dialog willsimply not be stored in element or session data at runtime; if it is present in the web service's response, it willbe ignored.

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 219

Web Service ElementsConfiguring Response Parameters

Page 238: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)220

Web Service ElementsConfiguring Response Parameters

Page 239: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 54Yes_No_Menu

The Yes_No_Menu voice element presents a yes/no menu. It can be configured to accept DTMF entry (1 foryes and 2 for no) or spoken input (yes or no and other synonymous utterances, however this is dependenton the voice browser). There is an optional feature that allows the word replay to be spoken (or DTMFbutton 3) that replays the initial_audio_group. The voice element uses the browser specific VoiceXMLbuiltin grammar for the boolean field type. A separate exit state exists for the yes and no choices (there isno exit state for replay since dialog execution is still contained within the confines of the voice element).

• Settings, page 221

• Element Data, page 222

• Exit States, page 222

• Audio Groups, page 223

• Folder and Class Information, page 223

• Events, page 224

SettingsNotesDefaultSub.

AllowedSingleSettingValue

Req'dTypeName (Label)

0 = infinite noinputs allowed.3truetrueYesint ≥ 0max_noinput_count

(Max NoInputCount)

0 = infinite nomatches allowed.3truetrueYesint ≥ 0max_nomatch_count

(Max NoMatchCount)

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 221

Page 240: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The type of entry allowed for input(using speech recognition, DTMF

bothfalsetrueYesstringenum

inputmode

(Input Mode)entry, or both). Possible values are:voice | dtmf | both.

True adds a replay option whichreplays the initial prompt.

falsetruetrueYesbooleanreplay

(Replay)

The maximum time length allowedfor silence or no keypress before a

5struetrueYesstringnoinput_timeout

(Noinput Timeout)noinput event is thrown. Possiblevalues are standard time designationsincluding both a non-negative numberand a time unit, for example, 3s (forseconds) or 300ms (for milliseconds).Default = 5s.

The confidence level threshold to use.0.50truetrueYesdecimal(0.0 – 1.0)

confidence_level

(Confidence Level)

Whether or not to temporarily disableall hotlink grammars (global or local)

falsetruetrueYesbooleanmodal

(Disable Hotlinks)and universal grammars. If set to true,only the boolean builtin grammar willbe enabled for the duration of theelement. Otherwise all activegrammars will be enabled.

Element DataNotesTypeName

This is the value chosen by the caller. Can be: yes or no.stringvalue

This is the confidence value of the utterance.floatvalue_confidence

Exit StatesNotesName

The maximum number of nomatch events has occurred. If the nomatch maxcount is 0, this exit state will never occur.

max_nomatch

Themaximum number of noinput events has occurred. If the noinput max countis 0, this exit state will never occur.

max_noinput

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)222

Yes_No_MenuElement Data

Page 241: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

The utterance was recognized as yes.yes

The utterance was recognized as no.no

The replay option, when activated, resets all the event counts (noinput and nomatch).Note

Audio Groups

Yes / No Capture

NotesMax1Req'dName (Label)

Played when the voice element first begins.YesYesinitial_audio_group

(Initial)

Played when a nomatch event occurs.NoNonomatch_audio_group

(NoMatch)

Played when a noinput event occurs.NoNonoinput_audio_group

(NoInput)

Played when the caller asks for help. If notspecified, help is treated as a nomatch eventby default.

NoNohelp_audio_group

(Help)

End

NotesMax 1Req'dName (Label)

Played when the caller chose the yes option. Ifnot present, no audio will play when this optionis chosen.

YesNoyes_audio_group

(Yes)

Folder and Class InformationClass NameStudio Element Folder Name

com.audium.server.voiceElement.menu.MYesNoMenuMenu

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 223

Yes_No_MenuAudio Groups

Page 242: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

EventsNotesName (Label)

You can select Java Exception, VXML Event, or Hotlink as eventhandler for this element.

Event Type

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)224

Yes_No_MenuEvents

Page 243: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

C H A P T E R 55Throw

The Throw functionality is part of event handler feature. The Throw element is used to raise a customexception during a call flow execution. It can be used in a main flow or in a subflow. The Throw elementis used to throw recently caught Java Exceptions, VXML Exception or user defined custom exceptions.Example, com.audium.MyException

• General, page 225

GeneralNotesDefaultReq'dTypeName (Label)

This is a mandatory field to be filled if you are usingthe Throw element in the call flow. You can define

YesStringEvent Code*

the name of the custom event or exception in thisfield.

You can enter custom exception message and createa substitution tag in this field. For example,{Data.Session.lastException.message}.

YesStringMessage

You can enter the value in this field from thesubstitutions tag, the last exception session variable

YesStringCustom Field1

Custom Field 2will be used for the same. The last exception sessionvariable will hold the last thrown exception.Custom Field 3

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) 225

Page 244: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)226

ThrowGeneral

Page 245: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

I N D E X

A

Application_Modifier 11defined 11

C

Counter 15action element defined 15

courtesy callback 29set up defaults 29

Currency element 41defined with use of different grammars 41

CVP Subdialog Return 55when to use and exception 55

CVP Subdialog Start 57when it must be used 57

D

Database element 59four types of commands 59

Digits element 75capture a string of numbers 75

F

Form element 93purpose and multiple grammars possible 93

J

JNDI Database connections 62how to create in Tomcat 62

M

Math element 120list of operators and functions 120

Menu Support element 125described 125

N

Numbers element 131different from digits 131

P

Phone element 143capture a phone number 143

R

Record element 163record a caller's voice input 163

ReqICMLabel 181purpose 181

S

Subdialog Invoke 185purpose 185

Subdialog Return 187only time it should be used 187

Subdialog Start 189only time it should be used 189

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1) IN-1

Page 246: Element Specifications for Cisco Unified CVP VXML Server ... · Events 5 Exit 5 CHAPTER 3 SubflowReturn7 CHAPTER 4 SubflowCall9 Events 9 Exit 9 CHAPTER 5 Application_Modifier11 Settings

T

Time element 191capture time input from a caller 191

Tomcat 62JNDI database connection 62

creating 62Transfer element 201

call transfer to a specific number 201

V

VideoConnect 205Voice input 163

use Record element 163

Y

Yes_No_Menu 221how it is used 221

Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 11.5(1)IN-2

Index