Cisco VVB VoiceXML Elements: Reference Table

This appendix contains the VoiceXML elements used by Cisco VVB, and summarizes the elements and their attributes, and their corresponding parent and children elements in the VoiceXML 2.0/2.1.

Note

If an unsupported element is used in a VoiceXML document, an error event is generated.

<assign> element

Attributes

name, expr

Parents

block, catch, error, filled, help, if, noinput, nomatch

Children

-

<audio> element

Attributes

src, fetchtimeout, fetchhint, maxage, maxstale, expr

Parents

block, catch, choice, emphasis, error, field, filled, help, if, initial, menu, noinput, nomatch, object, p, paragraph, prosody, record, s, sentence, subdialog, transfer, voice

Children

audio, break, emphasis, enumerate, mark, p, paragraph, phoneme, prosody, s, say-as, sentence, value, voice, #pcdata

Notes

Audio file formats supported are audio/basic and audio/wav.

A uniform resource identifier (URI) in the <audio src> element can point to a block of speech markup data, but such support is dependent on, and conditional to the vendor's decision of where the <audio src> element can point.

The following codecs are supported for each file format:
  • G711A

  • G711U

  • G729

The default codec is G711U.

<block> element

Attributes

name, expr, cond

Parents

form

Children

pcdata, assign, audio, cisco-typeaheadflush, clear, disconnect, enumerate, exit, goto, if, log, prompt, reprompt, return, script, submit, throw, var, value, #pcdata

<catch> element

Attributes

event, count, cond

Parents

field, form, initial, menu, object, record, subdialog, transfer, vxml

Children

assign, audio, cisco-typeaheadflush, clear, disconnect, enumerate, exit, goto, if, log, prompt, reprompt, return, script, submit, throw, var, value, #pcdata

<choice> element

Attributes

dtmf, accept, next, expr, fetchaudio, fetchhint, fetchtimeout, maxage, maxstale

Parents

menu

Children

audio, break, emphasis, enumerate, grammar, mark, p, paragraph, phoneme, prosody, s, say-as, sentence, value, voice, #pcdata

<clear> element

Attributes

namelist

Parents

block, catch, error, filled, help, if, noinput, nomatch

Children

-

<data> element

Attributes

name, src, srcexpr, fetchaudio method, namelist, enctype, fetchhint, fetchtimeout, maxage, maxstale

Parents

-

Children

-

<disconnect> element

Attributes

cisco-disc_cause, cisco-gtd

Parents

block, catch, error, filled, help, if, noinput, nomatch

Children

-

<else> element

Attributes

No attributes

Parents

if

Children

-

<elseif> element

Attributes

cond

Parents

if

Children

-

<enumerate> element

Attributes

No attributes

Parents

block, catch, choice, emphasis, error, field, filled, help, if, initial, menu, noinput, nomatch, object, p, paragraph, prosody, record, s, sentence, subdialog, transfer, voice

Children

audio, break, emphasis, enumerate, mark, p, paragraph, phoneme, prosody, s, say-as, sentence, value, voice, #pcdata

<error> element

Attributes

count, cond

Parents

field, form, initial, menu, object, record, subdialog, transfer, vxml

Children

exit, goto, if, log, prompt, reprompt, return, script, submit, throw, var, value, #pcdata

<exit> element

Attributes

expr, namelist

Parents

block, catch, error, filled, help, if, noinput, nomatch

Children

-

<field> element

Attributes

name, expr, cond, type, slot, modal

Parents

form

Children

audio, catch, enumerate, error, filled, grammar, help, link, noinput, nomatch, option, prompt, property, value, #pcdata

<filled> element

Attributes

mode, namelist

Parents

field, form

Children

assign, cisco-typeaheadflush, clear, disconnect, enumerate, exit, goto, if, log, object, prompt, record, reprompt, return, script, subdialog, submit, throw, transfer, var, value, #pcdata

<foreach> element

Attributes

item, array

Parents

-

Children

audio, break

<form> element

Attributes

id, scope

Parents

vxml

Children

block, catch, error, field, filled, grammar, help, initial, link, noinput, nomatch, object, property, record, script, subdialog, transfer, var

<goto> element

Attributes

next, expr, nextitem, expritem, fetchaudio, fetchhint, fetchtimeout, maxage, maxstale

Parents

block, catch, error, filled, help, if, noinput, nomatch

Children

-

<grammar> element

Attributes

xml: lang, src, scope, type, mode, root, version, weight, fetchhint, maxage, maxstale, ruleref, xml: base

Parents

choice, field, form, link, record, transfer

Children

import, metadata, rule, #pcdata

Notes

The attribute weight is ignored.

Cisco supports XML and regular expression (regex) grammars:
  • Cisco supports Nuance extensions for XML grammar.

  • Cisco supports regex grammar for DTMF input.

The attribute xml: base declares the base URI from which relative URIs in the <grammar> element are resolved. This base declaration has precedence over the <vxml> base URI declaration. If a local declaration is omitted, the value is inherited down the document hierarchy.

<help> element

Attributes

count, cond

Parents

field, form, initial, menu, object, record, subdialog, transfer, vxml

Children

audio, asign, cisco-typeaheadflush, clear, disconnect, enumerate, exit, goto, if, log, prompt, reprompt, return, script, submit, throw, var, value, #pcdata

<if> element

Attributes

cond

Parents

block, catch, error, filled, help, noinput, nomatch

Children

assign, audio, cisco-typeaheadflush, clear, disconnect, else, elseif, enumerate, exit, goto, if, prompt, reprompt, return, script, submit, throw, value, var, #pcdata

<initial> element

Attributes

name, expr, cond

Parents

form

Children

audio, catch, enumerate, error, help, link, noinput, nomatch, prompt, property, value, #pcdata

Attributes

next, expr, event, dtmf, fetchaudio, fetchhint, fetchtimeout, maxage, maxstale

Parents

field, form, initial, vxml

Children

grammar

<log> element

Attributes

label, expr

Parents

block, catch, error, filled, help, if, noinput, nomatch

Children

value, #pcdata

Attributes

name, content, http-equiv

Parents

vxml

Children

-

<meta> element

Attributes

name, content, http-equiv

Parents

vxml

Children

-

<metadata> element

Attributes

No attributes

Parents

grammar, prompt, vxml

Children

Any element

<noinput> element

Attributes

count, cond

Parents

field, form, initial, menu, object, record, subdialog, transfer, vxml

Children

audio, assign, cisco-typeaheadflush, clear, disconnect, enumerate, exit, goto, if, log, prompt, reprompt, return, script, submit, throw, var, value, #pcdata

<nomatch> element

Attributes

count, cond

Parents

field, form, initial, menu, object, record, subdialog, transfer, vxml

Children

audio, assign, clear, disconnect, enumerate, exit, goto, if, log, prompt, reprompt, return, script, submit, throw, var, value, #pcdata

<object> element

Attributes

name, expr, cond, classid, codebase, codetype, data, type, archive, fetchhint, fetchtimeout, maxage, maxstale

Parents

form

Children

audio, catch, enumerate, error, filled, help, noinput, nomatch, param, prompt, property, value, #pcdata

<option> element

Attributes

dtmf, value, accept

Parents

field

Children

#pcdata

<param> element

Attributes

name, expr, value, vlauetype, type

Parents

object, subdialog

Children

-

<prompt> element

Attributes

bargein, bargeintype, cond, cont, timeout, xml: lang, xml: base, cisco-typeaheadflush

Parents

block, catch, error, field, filled, help, if, initial, menu, noinput, nomatch, object, record, subdialog, transfer

Children

audio, break, emphasis, enumerate, metadata, p, paragraph, phoneme, prosody, s, say-as, sentence, value, voice, #pcdata

Notes

SSML elements are supported by the ASR and TTS servers.

<property> element

Attributes

name, value

Parents

field, form, initial, menu, object, record, subdialog, transfer, vxml

Children

-

Notes

The following properties are not supported (VVB does not support these properties; however, ASR-TTS server may support depending on its capability):
  • maxspeechtimeout

  • bargeintype

  • audiofetchhint

  • documentfetchhint

  • grammarfetchhint

  • objectfetchhint

  • objectmaxage

  • objectmaxstale

  • scriptfetchhint

The following specific Cisco properties are supported:
  • com.cisco.tts-server

  • com.cisco.asr-server

  • com.cisco.media-logging-id

  • com.cisco.sessionxml.location

    Note

    To support session xml on MRCPv2, session xml path must be specified using the property.

  • com.cisco.secureLogging

The following VoiceXML 2.1 properties are also supported:

  • recordutterance

  • recordutterancetype

<record> element

Attributes

name, expr, cond, modal, beep, maxtime, finalsilence, dtmfterm, type, dest

Parents

form

Children

audio, catch, enumerate, error, filled, grammar, help, noinput, nomatch, prompt, property, value, #pcdata

Notes

Voice recording supports the following codecs:
  • G711A

  • G711U

  • G729

Note

The default codec is G711U.

<reprompt> element

Attributes

No attributes

Parents

-

Children

-

<return> element

Attributes

event, namelist

Parents

block, catch, error, filled, help, if, noinput, nomatch

Children

-

<script> element

Attributes

src, charset, fetchhint, fetchtimeout, maxage, maxstale

Parents

block, catch, error, filled, form, help, if, noinput, nomatch, vxml

Children

#pcdata

<subdialog> element

Attributes

name, expr, cond, namelist, src, method, enctype, fetchaudio, fetchtimeout, fetchhint, maxage, maxstale

Parents

form

Children

audio, catch, enumerate, error, filled, help, noinput, nomatch, param, prompt, property, value, #pcdata

<submit> element

Attributes

next, express, namelist, method, enctype, fetchaudio, fetchhint, fetchtimeout, maxage, maxstale

Parents

block, catch, error, filled, help, if, noinput, nomatch

Children

-

<throw> element

Attributes

event, eventexpr, message, messageexpr

Parents

block, catch, error, filed, help, if, noinput, nomatch

Children

-

<transfer> element

Attributes

name, expr, cond, dest, destexpr, bridge, connecttimeout, maxtime, cisco-gtd, transferaudio, aai, aaiexpr

Parents

form

Children

audio, catch, enumerate, error, filled, grammar, help, noinput, nomatch, prompt, property, value, #pcdata

<value> element

Attributes

expr

Parents

-

Children

audio, block, catch, choice, emphasis, enumerate, error, field, filled, help, if, initial, log, menu, noinput, nomatch, object, p, paragraph, prompt, prosody, record, s, say-as, sentence, subdialog, transfer, voice

<var> element

Attributes

name, expr

Parents

block, catch, error, filled, form, help, if, noinput, nomatch, vxml

Children

-

<vxml> element

Attributes

version, base, xml: lang, application, xml: base, xmlns

Parents

-

Children

catch, data, error, form, help, link, menu, meta, metadata, noinput, nomatch, property, script, var