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

ECMA Error

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
shanthint@paydq.com
Posts: 84
Joined: Wed Apr 04, 2007 4:58 pm

ECMA Error

Post by shanthint@paydq.com »

Hi,
we have plum IVR software upgrade today. Before all of our production applications were working fine. After the upgrade, we have one issue with TSR.
It needs to play back the number user entered.
When I entered 0282416, it throws the following error.

08 is not a legal ECMA-262 octal constant line 1

but if entered any number starting with 0, it gives the same error.

Thank you,


Please help me with this. It is urgent. Please let me know if you need any other informations.

shanthint@paydq.com
Posts: 84
Joined: Wed Apr 04, 2007 4:58 pm

Post by shanthint@paydq.com »

Hi,
I found out something else too.
If I entered the more than 8 digits for example 9 digit number with leading zero , TSR engine plays the number back. But less than 8 or 8 digits, it gives the error

08 is not a legal ECMA-262 octal constant line 1
semantic error. Terminating...

I have an ECMA array. I am parsing the number and put the each digit in the array to make the TSR to play back digit by digit.

Thank you.

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

IVR code fix for ECMA error

Post by support »

Hi,

To resolve this IVR issue:

"08 is not a legal ECMA-262 octal constant line 1"

you should either remove the leading 0 OR place the digits in single quotes (i.e. '08') since 08 is not a valid number.

Regards,
Plum Support

Post Reply