VoiceXML 1.0 only. Specifies a touch-tone key grammar.
<dtmf
scope="document"|"dialog"
src="URI"
expr="js_expression"
type="MIME_type"
caching="safe"|"fast"
fetchhint="prefetch"|"safe"
fetchtimeout="time_interval"
universal="string"
>
Optional Inline DTMF Grammar
</dtmf>
Defines a grammar for telephone key press sequences.
Note: In VoiceXML 2.0, this tag is replaced by the <grammar> tag with the mode attribute set to dtmf.
| Attribute | Description | ||||||||||
scope |
Sets the scope of the DTMF grammar. Note: A The scope of any other
|
||||||||||
src |
URI of the DTMF grammar specification, when it is contained in an external file. Optional (as an alternative to an inline DTMF grammar). |
||||||||||
expr |
Extension. JavaScript expression that evaluates to grammar file URI. Optional (as alternative to |
||||||||||
type |
MIME type of the DTMF grammar. Optional. For external grammars, the default type is taken from the
For internal grammars, if the grammar definition specifies the grammar type (either directly with a declaration or indirectly by containing XML elements), the interpreter uses that type. If the grammar definition doesn't indicate the type, the interpreter uses the value of the If you specify an unsupported type, an error is thrown. This value is used only if the web server returns an unsupported grammar type. |
||||||||||
caching |
Specifies the caching policy for the resource being fetched. See Caching. Optional. |
||||||||||
fetchhint |
Specifies whether the interpreter can attempt to optimize dialog interpretation by prefetching the resource. See Prefetching Resources. Optional. |
||||||||||
fetchtimeout |
Specifies the interval to wait for the resource to be returned before throwing a |
||||||||||
universal |
Extension. Makes this grammar a "universal" grammar with the specified name so that it can be activated and deactivated using the |
|
|||
|
| Parents | Children |
|
| | VoiceXML 1.0 Specification: <dtmf> |
| | Related tag: <grammar> |
| Café Home |
Developer Agreement |
Privacy Policy |
Site Map |
Terms & Conditions Part No. 520-0001-02 | © 1999-2007, BeVocal, Inc. All rights reserved | 1.877.33.VOCAL |