Author Message
PaulShepherd
Joined: Jan 26, 2006
Messages: 0
Offline
we are trying to use custom built voice and dtmf grammars in our prompts. this is for yes/no 1,2 and also a custom grammar for 1-5 digits. Is this possible? we can only get the voice to work, TTs are ignored. 
GregFoulks
Joined: Jan 6, 2006
Messages: 0
Offline
are you trying to use all of these in the same prompt? If so... it won''t work.

To make a yes/no 1/2 grammar you would select a static/built-in and choose "boolean" and set the DTMF digit for yes and no.

To make a simple digit grammar select static/digits/built-in and define the min/max length.
ErikJohnson2
Joined: Jan 18, 2006
Messages: 0
Offline
You should be able to do this by "overloading" grammars on the input item.
For example, you could have something like:
<input name="manyInputs">
 + <grammar name="yesno">
 + <grammar name="dtmf1and2">
 + <grammar name="dtmfcustom">

Then whatever is recognized in the grammar can be used in the next node to determine if the caller entered "yes"/"no", 
or if there was custom input.


Note: you may need to use tags for your yes/no and 1/2 
dtmf grammars so that you can look at interpretation for 
yes/no.  You also may need to tweak with the dtmf 
collection properties (using properties item) to change the
digit and interdigit timeouts so that entering 1/2 does not 
collide with entering custom 1-5 digits.

Question, if a caller enters a number for the custom 1-5 
digit, but they enter "1" or "2", how are you going to 
distinguish that from meaning "yes"/"no" ?
Go to:   
Mobile view