I want to create vxml file for that process.
1). Press 1 for confirm.
2). Press 2 for next.
3). Press 3 for back.
but this function isn't working, what can do for it?
<?xml version="1.0" encoding="UTF-8"?>
<vxml version="2.1">
<form id="1">
<field name="F_1">
<prompt>
Your choices are
<break strength="medium" />
press one or say shatner, press two or
say Nimoy, press three or say terminal Thilina.
</prompt>
<option value="1" dtmf="1"></option>
<option value="2" dtmf="2"></option>
<option value="0" dtmf="3"></option>
<filled>
<prompt>
You said <value expr="F_1"/>
</prompt>
</filled>
</field>
<filled>
<if cond="F_1 == '1'">
<prompt>
Thank
</prompt>
<elseif cond="F_1 == '2'" />
<goto next="#2"/>
<elseif cond="F_1 == '3'" />
<goto next="#0"/>
<else />
<goto next="#1"/>
</if>
</filled>
</form>
<form id="2">
<field name="F_2">
<prompt>
Your choices are not
<break strength="medium" />
press one or say shatner, press two or
say Nimoy, press three or say terminal Sampath.
</prompt>
<option value="2" dtmf="1"></option>
<option value="3" dtmf="2"></option>
<option value="1" dtmf="3"></option>
<filled>
<prompt>
You said <value expr="F_2"/>
</prompt>
</filled>
</field>
<filled>
<if cond="F_2 == '1'">
<prompt>
Are you get value
</prompt>
<elseif cond="F_2 == '2'" />
<goto next="#3"/>
<elseif cond="F_2 == '3'" />
<goto next="#1"/>
<else />
<goto next="#1"/>
</if>
</filled>
</form>
</vxml>
1). how I solve this? any error in if loop? How can I find my code has error?
2). How to check vxml correct format?
3). What kind error it have? There are I looking main propose is Press 3 for back not working. then there second form in can't go to first form. How I solve this?