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

VXML Error

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
walkerline
Posts: 7
Joined: Fri Aug 26, 2011 3:46 pm

VXML Error

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

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

Re: VXML Error

Post 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

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

Re: VXML Error

Post 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

Post Reply