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

Variables

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
whizzbang
Posts: 1
Joined: Wed Mar 08, 2006 4:45 pm

Variables

Post by whizzbang »

is it possible to convert a vxml variable keyed in on the phone keypad into a Cint for use in ASP without passing it to another asp page

I need to do a calculation with a keyed in integer value in an ASP function on the same page.

The following code passes the VXML expression but I can't convert it to an int...

any help appreciated..

Code: Select all

dim CurrBid
						CurrBid="<value expr='KeyInBid'/>"
						CurrBid=int(CurrBid)

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

once page is generated a static file is provided to IVR sys

Post by support »

Hello,

VoiceXML has the exact same processing rules as HTML. You are generating a page via ASP. Once that page is generated you have a static file that is provided to our IVR system. The VoiceXML programming langauge does provide you with two means to accomplish what you are looking for. You can either take the collected data and submit it to a new ASP page (like an HTML form), or you can attempt to perform the calculation on the data using the built-in JavaScript interpreter.

Using VoiceXML should not be very different from HTML, you are collecting information from the user that is stored in local values on the browser. Those values are submitted as text strings your IVR application server which you use to generate a new page.

Regards,
Plum Support

Post Reply