Page 1 of 1

VXML Error

Posted: Fri Aug 26, 2011 3:52 pm
by walkerline
I always get following errors for my VXML files:

useless expression line 25
TypeError: useless expression line 25
useless expression line 25
TypeError: useless expression line 25


and the URL of my VXML file is:

http://app.cellpodium.com/public/vxml/S ... Voice.vxml

thank you guys, for I can't find what's wrong with my VXML file. I used to use this vxml file in another service, and it worked well. But when I moved the file to PlumVoice. The thing happened like the case above...

Re: VXML Error

Posted: Mon Aug 29, 2011 10:53 am
by support
Hi,

We are currently reviewing your application code to attempt to find this error. We have found two issues, but they are unrelated with the current issue.

Code: Select all

<property name="com.visibridge.logoptions" value="11"/>
The property "com.visibridge.logoptions" is not a valid property. Here is a list of the valid properties.

Code: Select all

<script>phone = getSimplePhoneNumber(session.connection.remote.uri)</script>
To fetch the ANI of the caller, you should reference the session.telephone.ani instead of "session.connection.remote.uri".

Regards,
Plum Support

Re: VXML Error

Posted: Tue Aug 30, 2011 5:11 pm
by support
Hi,

We've found that the lines:

Code: Select all

this.hasProfile;
this.type;
this.data;
this.status;

this.user; // array roles and firstname and lastname
within the Profile function were causing the ecmascript errors to be thrown. We found that by initializing each of these variables to "null" would allow the application to correctly run through.

Regards,
Plum Support