nomatch not working for some reason?
Posted: Wed Oct 04, 2006 8:04 pm
I have a grammar of:
<grammar type="application/x-jsgf">1|2</grammar>
When a user presses 3 it just disconnects and does not reprompt. It should follow what <nomatch> says if I am correct
Here is my form:
<form id="confirmCallerID">
<field name="confirmNumberChoice" type="digits">
<grammar type="application/x-jsgf">1|2</grammar>
<property name="interdigittimeout" value="4s" />
<prompt timeout="6s">If this phone number is correct, press one, if not press two.</prompt>
<filled>
<if cond="confirmNumberChoice==1">
<goto next="#mainMenu"/>
<elseif cond="confirmNumberChoice==2"/>
<goto next="#getNumber"/>
</if>
</filled>
<noinput>
<reprompt/>
</noinput>
<nomatch>
Sorry, that was not one of the choices.
<reprompt/>
</nomatch>
</field>
</form>
Any help is greatly appriciated
-Brent
<grammar type="application/x-jsgf">1|2</grammar>
When a user presses 3 it just disconnects and does not reprompt. It should follow what <nomatch> says if I am correct
Here is my form:
<form id="confirmCallerID">
<field name="confirmNumberChoice" type="digits">
<grammar type="application/x-jsgf">1|2</grammar>
<property name="interdigittimeout" value="4s" />
<prompt timeout="6s">If this phone number is correct, press one, if not press two.</prompt>
<filled>
<if cond="confirmNumberChoice==1">
<goto next="#mainMenu"/>
<elseif cond="confirmNumberChoice==2"/>
<goto next="#getNumber"/>
</if>
</filled>
<noinput>
<reprompt/>
</noinput>
<nomatch>
Sorry, that was not one of the choices.
<reprompt/>
</nomatch>
</field>
</form>
Any help is greatly appriciated
-Brent