We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

nomatch not working

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
brent.russell
Posts: 50
Joined: Wed Oct 04, 2006 1:34 pm
Location: SOCAL
Contact:

nomatch not working

Post by brent.russell »

For some reason the following code does not catch the nomatch when entering 3. It does do a reprompt on noinput but if I press 3 it hangs up. It should reprompt instead. I can't figure out why. Any help please.

Code: Select all

<?xml version="1.0"?>
<vxml version="2.0">
<property name="inputmodes" value="dtmf"/> 

<!-- Confirm that thier entered number is correct -->
<form id="confirmMobileNumber">
	<field name="confirmNumberChoice" type="digits?length=1">
	  <grammar type="application/x-jsgf">1|2</grammar>
	  <property name="interdigittimeout" value="4s"/>
	  <prompt timeout="6s">You entered <say-as type="acronym"><value expr="document.tempPhoneNumber"/></say-as>. 
			     If this phone number is correct, press one, if not press two.</prompt>
	<filled>
	
	  <if cond="confirmNumberChoice==1">
		<assign name="document.phone_number" expr="document.tempPhoneNumber"/>
		<assign name="application.GVphone" expr="document.tempPhoneNumber"/>
		<goto next="main_menu.vxml" maxage="0"/>
 	  <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>

</vxml>

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR post for built-in digits type

Post by support »

This problem is similar to the one explained in this IVR post: http://support.plumvoice.com/viewtopic.php?t=566

You should not specify the built-in digits type in the "type" attribute of your "field" block.

Post Reply