Questions and answers about IVR programming for Plum DEV
Moderators: admin, support
-
tloring
- Posts: 22
- Joined: Sun Sep 07, 2003 3:51 pm
Post
by tloring »
Is there a builtin grammar which would include all digits, and also include the * key?
Or is there a way to specify * in a JSGF grammar?
I currently have something like...
Code: Select all
<field name='pressed' type="digits?length=1">
...
</field>
but, I need to include *
Thanks,
Thom
-
tloring
- Posts: 22
- Joined: Sun Sep 07, 2003 3:51 pm
Post
by tloring »
Ok, answered my own question..
Code: Select all
<field name='pressed'>
<grammar>1|2|3|4|5|6|7|8|9|0|"*"</grammar>
</field>
I had tried with single quotes, Programmer's Reference noted the double quote requirement.
Thom