We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

VXI::DoOuterJump - non-existent dialog

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
abhay
Posts: 24
Joined: Tue Jul 15, 2008 1:51 am

VXI::DoOuterJump - non-existent dialog

Post by abhay »

Hi
In our application for some times we are getting following Error.

000004;065;1299318196 VXI::DoOuterJump - non-existent dialog, "#Form"

Can anyone let me know why I am getting this error. This is not a coming for every transactions.

Thanks
Abhay

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: VXI::DoOuterJump - non-existent dialog

Post by support »

Hi,

Can you please provide us with a sample of code that demonstrates this behavior? This would allow us to better troubleshoot your issue.

Regards,
Plum Support

abhay
Posts: 24
Joined: Tue Jul 15, 2008 1:51 am

Re: VXI::DoOuterJump - non-existent dialog

Post by abhay »

HI
Below is a code snippet.

<%
out.println("<?xml version=\"1.0\" ?>");
out.println("<vxml version=\"2.0\" xmlns=\"http://www.w3.org/2001/vxml\">");
out.println("<property name=\"voicename\" value=\"Samantha\"/>");
out.println("<property name=\"inputmodes\" value=\"dtmf\"/>");
out.println("<form id=\"SaleForm\">");

String userID = request.getParameter("userID");
String error_message = "Failed to proceed.";
String transaction_amount = " Please enter, your code";
String strGodbye = "Good Bye! <break time=\"100\"/> Thank you for using IVR service";

if(userID !=null && userID.length()>0 )
{
out.println("<field name=\"codeID\" type=\"digits?minlength=3\">");
out.println("<prompt>");
out.println(transaction_amount);
out.println("</prompt>");
out.println("<filled>");
out.println("<var name=\"userID\" expr=\"'" + userID + "'\" />");
out.println("<submit next=\"SelectedCode.jsp\" fetchtimeout=\"180s\" method=\"get\" namelist=\"userID codeID\"/>");
out.println("</filled>");

out.println("<nomatch count=\"5\">");
out.println("<reprompt/>");
out.println("</nomatch>");

out.println("<noinput count=\"5\">");
out.println("<prompt>");
out.println(strGodbye);
out.println("</prompt>");
out.println("<disconnect/>");
out.println("</noinput>");

out.println("</field>");


}

else
{
out.println("<prompt>");
out.println(error_message);
out.println("</prompt>");
out.println("<filled>");
out.println("<var name=\"userID\" expr=\"'" + userID + "'\" />");
out.println("<submit next=\"previous.jsp\" fetchtimeout=\"180s\" method=\"post\" namelist=\"userID\"/>");
out.println("</filled>");

}


out.println("</form>");
out.println("</vxml>");


Thanks
Abhay

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: VXI::DoOuterJump - non-existent dialog

Post by support »

Hi,

Could you provide us with strictly just the VXML code that you are using to reproduce this issue? Also, could you provide us with the steps you are taking to produce this issue (e.g. test data entered)?

Regards,
Plum Support

abhay
Posts: 24
Joined: Tue Jul 15, 2008 1:51 am

Re: VXI::DoOuterJump - non-existent dialog

Post by abhay »

Hello,
Thanks for your reply. Below is the vxml. and test data is 343.

<?xml version= "1.0" encoding = "utf-8" ?>
<vxml version= "2.0" xmlns= "http://www.w3.org/2001/vxml">
<property name= "voicename" value= "Samantha"/>
<property name= "inputmodes" value= "dtmf"/>
<form id="SaleForm">

<field name="codeID" type="digits?minlength=3">
<prompt>
Please enter, your code
</prompt>
<filled>
<var name= "userID" expr='userID' />
<submit next= "SelectedCode.vxml" fetchtimeout= "180s" method= "get" namelist= "userID codeID"/>
</filled>

<nomatch count = "5">
<reprompt/>
</nomatch>
<noinput count = "5">
<prompt>
Good Bye! <break time="100"/> Thank you for using IVR service
</prompt>
<disconnect/>
</noinput>
</field>
</form>
</vxml>

May I know why this error comes?


Thanks
Abhay

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: VXI::DoOuterJump - non-existent dialog

Post by support »

Hi abhay,

Regarding this snippet of code, there was an error with this line:

Code: Select all

<var name= "userID" expr='userID' />
since userID cannot be assigned with an undefined variable, userID.

We have changed your code to the following:

abhay.vxml

Code: Select all

<?xml version= "1.0" encoding = "utf-8" ?>
<vxml version= "2.0" xmlns= "http://www.w3.org/2001/vxml">
<property name= "voicename" value= "Samantha"/>
<property name= "inputmodes" value= "dtmf"/>
<form id="SaleForm">

<field name="codeID" type="digits?minlength=3">
<prompt>
Please enter, your code
</prompt>
<filled>
<var name= "userID" expr="codeID" />
<submit next= "SelectedCode.vxml" fetchtimeout= "180s" method= "get" namelist= "userID codeID"/>
</filled>

<nomatch count = "5">
<reprompt/>
</nomatch>
<noinput count = "5">
<prompt>
Good Bye! <break time="100"/> Thank you for using IVR service
</prompt>
<disconnect/>
</noinput>
</field>
</form>
</vxml>
SelectedCode.vxml

Code: Select all

<?xml version= "1.0" encoding = "utf-8" ?>
<vxml version= "2.0" xmlns= "http://www.w3.org/2001/vxml">
<property name= "voicename" value= "Samantha"/>
<property name= "inputmodes" value= "dtmf"/>
<form id="SaleForm">

<block>
<prompt>
This is a prompt.
</prompt>
</block>

</form>
</vxml>
From testing this code, we have encountered no issues.

Please let us know if you continue to experience issues.

Regards,
Plum Support

abhay
Posts: 24
Joined: Tue Jul 15, 2008 1:51 am

Re: VXI::DoOuterJump - non-existent dialog

Post by abhay »

Hello,

Thanks for your reply. I just want to know the reason behind this error. means when when we get such a type of error (VXI::DoOuterJump - non-existent dialog )? give me small example so that I can understand. and the suggestion u have given it was already there but i have edited that code and drooped it on forum.

Thanks
Abhay

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: VXI::DoOuterJump - non-existent dialog

Post by support »

Hi,

The reason why you may have seen that error is because you were attempting to <goto> a <form> that didn't exist.

So, for example, if you had three forms in your VXML code:

<form id="one">
...
<goto next="#two"/>
...
</form>

<form id="two">
...
<goto next="#four"/>
...
</form>

<form id="three">
...
</form>

You would encounter an error in the second <form> since you are attempting to <goto> a <form> that doesn't exist (there is no form id of "four").

Hope this explanation helps.

Regards,
Plum Support

Post Reply