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
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
IVR code references wrong variable from subdialog
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:
you have to refer to it as login.loginType.
So you would have to change this IVR code:
to this:
Hope this helps.
Regards,
Plum Support
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>
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/>
Code: Select all
<if cond="login.loginType=='demonstrator'">
<goto next="PNSMenu.xml"/>
<elseif cond="login.loginType=='manager'"/>
<goto next="MgrMenu.xml"/>
<else/>
Regards,
Plum Support
Last edited by support on Thu Feb 18, 2010 3:53 pm, edited 3 times in total.
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
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.
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
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
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.
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
IVR developer needs call log to determine error
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
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
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com