Problem with VXML
Posted: Tue Jun 09, 2009 3:58 pm
Hello,
This VXML is supposedly valid however the test barfs.... Any idea as to why?
1 <?xml version="1.0"?>
2 <!DOCTYPE vxml PUBLIC "-//The Plum Group//DTD VOICEXML 2.1//EN" "/usr/local/plumvp/vxml.dtd">
3 <vxml version="2.0">
4 <menu id="locations">
5 <prompt>
6 Your Nearest Locations are:
7 <enumerate/>
8 </prompt>
9 <choice dtmf="1" next="#location1">
10 Press 1 to be transfered to One State Farm Plaza Bloomington, IL, (309) 763-2398
11 </choice>
12 <choice dtmf="2" next="#location2">
13 Press 2 to be transfered to One State Farm Plaza Bloomington, IL, (309) 766-3909
14 </choice>
15 <choice dtmf="3" next="#sa">Press 3 to try your search again.</choice>
16 </menu>
17 <form id="location1">
18 <block>
19 Please hold while we transfer you.
20 </block>
21 <transfer dest="(309) 763-2398" connecttimeout="20s" bridge="true"/>
22 </form>
23 <form id="location2">
24 <block>
25 Please hold while we transfer you.
26 </block>
27 <transfer dest="(309) 766-3909" connecttimeout="20s" bridge="true"/>
28 </form>
29 <form id="sa">
30 <field name="address" type="digits">
31 <prompt>
32 Please enter or say you zip code to find the nearest location.
33 </prompt>
34 </field>
35 <block>
36 <prompt>Please wait while we search for a location.</prompt>
37 <submit namelist="address" next="http://ivr.where2getit.com/lite?action= ... vider=plum"/>
38 </block>
39 </form>
40 </vxml>
This VXML is supposedly valid however the test barfs.... Any idea as to why?
1 <?xml version="1.0"?>
2 <!DOCTYPE vxml PUBLIC "-//The Plum Group//DTD VOICEXML 2.1//EN" "/usr/local/plumvp/vxml.dtd">
3 <vxml version="2.0">
4 <menu id="locations">
5 <prompt>
6 Your Nearest Locations are:
7 <enumerate/>
8 </prompt>
9 <choice dtmf="1" next="#location1">
10 Press 1 to be transfered to One State Farm Plaza Bloomington, IL, (309) 763-2398
11 </choice>
12 <choice dtmf="2" next="#location2">
13 Press 2 to be transfered to One State Farm Plaza Bloomington, IL, (309) 766-3909
14 </choice>
15 <choice dtmf="3" next="#sa">Press 3 to try your search again.</choice>
16 </menu>
17 <form id="location1">
18 <block>
19 Please hold while we transfer you.
20 </block>
21 <transfer dest="(309) 763-2398" connecttimeout="20s" bridge="true"/>
22 </form>
23 <form id="location2">
24 <block>
25 Please hold while we transfer you.
26 </block>
27 <transfer dest="(309) 766-3909" connecttimeout="20s" bridge="true"/>
28 </form>
29 <form id="sa">
30 <field name="address" type="digits">
31 <prompt>
32 Please enter or say you zip code to find the nearest location.
33 </prompt>
34 </field>
35 <block>
36 <prompt>Please wait while we search for a location.</prompt>
37 <submit namelist="address" next="http://ivr.where2getit.com/lite?action= ... vider=plum"/>
38 </block>
39 </form>
40 </vxml>