unknown hangup
Posted: Mon Oct 03, 2011 12:50 pm
I'm slowly progressing through my IVR. I've now come to a point that I can't get past. For some reason the call just hangs up. It doesn't give me a reason that I can tell. Here is the code:
<form id="Sequence">
<field name="chkseq" type="digits?length=6">
<prompt>
Please enter the check sequence number located on the check.
</prompt>
<filled>
<prompt>
You entered <say-as type="acronym"> <value expr="chkseq"/> </say-as>
</prompt>
<goto nextitem="chkseq2"/>
</filled>
</field>
<field name="chkseq2">
<prompt>
Please press 1 if this is correct.
Please press 2 to try again.
</prompt>
<grammar type="application/x-jsgf" mode="dtmf">
1|2
</grammar>
<filled>
<if cond="chkseq2==1">
<goto next="#date"/>
<elseif cond="chkseq2==2"/>
<goto next="sequence"/>
</if>
</filled>
</field>
</form>
In the last field chkseq2, if 2 is pressed I want it to restart the form "sequence". I've also tried changing <goto next="sequence"/> to <goto nextitem="chkseq2"/> with no avail. I get an error when I try that. I'm thinking that you can't use the <goto> tag to go back, only forward, but I'm not sure.
<form id="Sequence">
<field name="chkseq" type="digits?length=6">
<prompt>
Please enter the check sequence number located on the check.
</prompt>
<filled>
<prompt>
You entered <say-as type="acronym"> <value expr="chkseq"/> </say-as>
</prompt>
<goto nextitem="chkseq2"/>
</filled>
</field>
<field name="chkseq2">
<prompt>
Please press 1 if this is correct.
Please press 2 to try again.
</prompt>
<grammar type="application/x-jsgf" mode="dtmf">
1|2
</grammar>
<filled>
<if cond="chkseq2==1">
<goto next="#date"/>
<elseif cond="chkseq2==2"/>
<goto next="sequence"/>
</if>
</filled>
</field>
</form>
In the last field chkseq2, if 2 is pressed I want it to restart the form "sequence". I've also tried changing <goto next="sequence"/> to <goto nextitem="chkseq2"/> with no avail. I get an error when I try that. I'm thinking that you can't use the <goto> tag to go back, only forward, but I'm not sure.