error.semantic When calling a Subdialog
Posted: Thu Sep 08, 2011 11:21 am
I am having issues with my vxml application. I am trying to pass subdialog parameters but receive an error event:
This is my form where I call the <subdialog>
this is my subdialog being called:
Any suggestions...
Code: Select all
received event: error.semantic:
received event: error.semantic.ecmascript:
Code: Select all
<var name="sessionId" />
<var name="ani" />
<var name="dnis" />
<var name="applicationCode" />
<form id="StartCall">
<block>
<assign name="CurrentPage" expr="VxmlPage" />
<assign name="CurrentForm" expr="'StartCall'" />
</block>
<subdialog name="StartCallSub" src="../Shared/StartCall_Main.vxml">
<param name="sessionId" expr="SessionId" />
<param name="ani" expr="Ani" />
<param name="dnis" expr="Dnis" />
<param name="applicationCode" expr="ApplicationCode" />
<filled>
<assign name="Company" expr="StartCallSub.Company" />
<goto next="#Welcome" />
</filled>
</subdialog>
</form>
Code: Select all
<form id="Start">
<block>
<assign name="CurrentPage" expr="VxmlPage" />
<assign name="CurrentForm" expr="'Start'" />
<!-- Declare variables that will be passed in from the calling point as parameters -->
<var name="sessionId" />
<var name="ani" />
<var name="dnis" />
<var name="applicationCode" />
<log expr="'SessionId: ' + sessionId" />
<log expr="'ANI: ' + ani" />
<log expr="'DNIS: ' + dnis" />
<log expr="'Application Code: ' + applicationCode" />
<log expr="'+++++++++++++++++++++++++' + VxmlPage" />
<goto next="#StartCall" />
</block>
</form>