Starting VXML Doc
Code: Select all
<form id="BeforeMessageEmptyForm">
<block>
<assign name="CurrentPage" expr="VxmlPage" />
<assign name="CurrentForm" expr="'BeforeMessageEmptyForm'" />
<script>returnPush("PresentMenu.vxml#ReadMessages")</script>
<goto next="EmptyForm.vxml" />
</block>
</form>
Empty.vxml
Code: Select all
<form id="EmptyForm">
<block>
<assign name="CurrentPage" expr="VxmlPage" />
<assign name="CurrentForm" expr="'EmptyForm'" />
</block>
<field name="MenuNextAction">
<property name="timeout" value=".1s" />
<property name="termchar" value="A" />
<grammar src="menugrammar.grxml" type="application/srgs+xml"/>
<catch event="noinput">
<goto next="#Return" />
</catch>
<catch event="nomatch">
<goto next="#Return" />
</catch>
<filled>
<log expr="'Empty form picked up input of : ' + MenuNextAction" />
<assign name="NextMenuChoice" expr="cleanMenuChoice(MenuNextAction)" />
<log expr="'Got next menu choice of ' + NextMenuChoice" />
<goto next="DetermineNextAction.vxml" />
</filled>
</field>
</form>
<form id="Return">
<block>
<assign name="CurrentPage" expr="VxmlPage" />
<assign name="CurrentForm" expr="'Return'" />
<goto expr="returnPop()" />
</block>
</form>
</vxml>
Thanks