Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
developer_guide:voicexml_references:elements:field [2015/10/27 12:30] – created borja | developer_guide:voicexml_references:elements:field [2017/03/21 14:21] (current) – [DTMF Built-in types] borja | ||
---|---|---|---|
Line 39: | Line 39: | ||
The following built-in types are supported for the DTMF input mode: | The following built-in types are supported for the DTMF input mode: | ||
boolean | boolean | ||
- | The grammar for affirmative and negative phrases. | + | * The grammar for affirmative and negative phrases. |
- | digits | + | |
- | The grammar for a string of digits from spoken or DTMF input. | + | |
- | number | + | * The grammar text. It use the SpeechToText ressources to convert the users speaking into text. The text is set in the variable content. |
- | The grammar for numbers. | + | |
===== DTMF Built-in type parameters ===== | ===== DTMF Built-in type parameters ===== | ||
Line 59: | Line 58: | ||
|digits|length - exact number of digits.| | |digits|length - exact number of digits.| | ||
|number|length - exact number of numbers.| | |number|length - exact number of numbers.| | ||
+ | |text|lang - the speech language to use.| | ||
If there is a conflict among these parameters, an error.badfetch event is thrown. | If there is a conflict among these parameters, an error.badfetch event is thrown. |