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

why doesn't the <property> tag I defined in my applica

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
jcanter
Posts: 47
Joined: Thu Jun 19, 2003 8:54 am

why doesn't the <property> tag I defined in my applica

Post by jcanter »

Quit question about the <property> tag. I have created an application that I only want to accept dtmf tones for. I have added this to my document root:

<property name="inputmodes" value="dtmf"/>

However, this doesn't seem to be working. Can someone tell me what I am doing wrong here?

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

IVR example using a property tag document scope

Post by support »

Where are you putting the IVR tag? It's possible it may be in the wrong location, and out of scope. To give a <property> tag document scope (active for the given vxml document), it should be one level below the <vxml> tag.

Heres an IVR example:

Code: Select all

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

 <form id="FORM_2">
 <block>
   <audio src="wav/welcome.wav">Welcome!</audio> 
 </block>
 </form>

  <form id="FORM_2">
 <block>
   <audio src="wav/welcome.wav">Welcome!</audio> 
 </block>
 </form>
</vxml>


Hope this helps...

Post Reply