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

Error.symantic

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
jcooper
Posts: 45
Joined: Tue Jul 22, 2008 5:22 pm

Error.symantic

Post 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

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

IVR code references wrong variable from subdialog

Post 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
Last edited by support on Thu Feb 18, 2010 3:53 pm, edited 3 times in total.

jcooper
Posts: 45
Joined: Tue Jul 22, 2008 5:22 pm

Post 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. ;)

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

IVR developer needs call log to determine error

Post 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
Last edited by support on Thu Feb 18, 2010 3:53 pm, edited 2 times in total.

jcooper
Posts: 45
Joined: Tue Jul 22, 2008 5:22 pm

Post 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

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

IVR developer needs call log to determine error

Post 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

Post Reply