Page 1 of 1

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

Posted: Wed Jul 16, 2003 12:11 pm
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?

IVR example using a property tag document scope

Posted: Sun Jul 20, 2003 6:29 pm
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...