Page 1 of 1

Error.symantic

Posted: Mon Aug 11, 2008 10:10 am
by jcooper
Hi,
I'm getting an error.symatic on my subdialog and am not sure what I'm doing wrong.

My application is https://sales.npddc.com/ivr/vxml/mainmenu.xml and the subdialog is https://sales.npddc.com/ivr/Process.aspx?p=Login
You can also access it by https://sales.npddc.com/ivr/Process.asp ... assword=12 which is passing the correct items.

My main issue is that I'm not seeing anything on the error log so i can't track the item down.
JC

IVR code references wrong variable from subdialog

Posted: Mon Aug 11, 2008 10:41 am
by support
Hi JC,

Looking through your IVR code, we noticed that you are referencing the variable instead of the member variable from your subdialog.

To reference loginType from your subdialog:

Code: Select all

<vxml version="2.0">
<form>
<block>
<var name="loginType"/>
<assign name="loginType" expr="'demonstrator'"/>
<return namelist="loginType"/>
</block>
</form>
</vxml>
you have to refer to it as login.loginType.

So you would have to change this IVR code:

Code: Select all

<if cond="login=='demonstrator'">
<goto next="PNSMenu.xml"/>
<elseif cond="login=='manager'"/>
<goto next="MgrMenu.xml"/>
<else/>
to this:

Code: Select all

<if cond="login.loginType=='demonstrator'">
<goto next="PNSMenu.xml"/>
<elseif cond="login.loginType=='manager'"/>
<goto next="MgrMenu.xml"/>
<else/>
Hope this helps.

Regards,
Plum Support

Posted: Mon Aug 11, 2008 11:22 am
by jcooper
Thanks that worked. Two questions:
1. Any idea why the errors don't show up on the error log?

2. Is it possible to assign to the default expr value of a subdialog? (so that one could use the syntax of login=='demonstrator'). The idea being that the calling function should necessarily need to know the member name being returned. If not, thats ok, I'm just trying to reach a higher level of abstraction. ;)

IVR developer needs call log to determine error

Posted: Mon Aug 11, 2008 1:21 pm
by support
Hi JC,

1) Can you paste a copy of the full IVR error log here? In the IVR error logs, there's usually some indication of the IVR error that's occurring.

2) Sorry, but it isn't possible to implement it in this way using the IVR system.

Regards,
Plum Support

Posted: Mon Aug 11, 2008 2:03 pm
by jcooper
There were no error logs generated at all for this. There have been errors since then as I work on the application but nothing was posted there for the semantic error.
Thanks,
JC

IVR developer needs call log to determine error

Posted: Mon Aug 11, 2008 2:10 pm
by support
Hi JC,

I'm sorry, but what I meant to say was to paste the full IVR call log (different from the the IVR error log) from when you were experiencing that IVR issue. That would've indicated the IVR error that you were experiencing.

You should be able to find the old IVR call log under "Recent Calls".

Regards,
Plum Support