vxi-discuss |
I'm trying to use the recognition interface to receive DTMF digits sequences.
It works fine when I need to recognize single digits as the grammar
is relatively simple:
for instance if I'm only expected 1,2 or 3 in a field, the following
works fine:
<field name="main_choice">
<dtmf> 1| 2 | 3 </dtmf>
</field>
But if I need to obtain a certain number of digits from the user (e.g.
a phone number
with 10 digits), I run into problems as the following is not supported:
<field name ="extension" type="digits?length=10" >
<prompt> Enter the 10 digits extension of the
user you want to reach
</prompt>
</field>
It seems I need a more elaborate support for grammars but does anyone
know
a way of writing a grammar that supports the above (with the existing
recognition
code) ?
As it seems unlikely, does anyone know of an open-source implementation
of a
grammar (e.g. JSGF) that would allow to do this ?
Thanks in advance,
-- Vincent Ribiere senior Engineer, Cisco Systems (408) 527 6613
|
This page is maintained by
Alan W Black (awb@cs.cmu.edu) speechinfo.org is hosted on a machine donated by VA Linux Systems |
|