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

Retrive value object other pages

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
soso
Posts: 62
Joined: Tue Apr 22, 2008 8:11 am

Retrive value object other pages

Post by soso »

Hi,

To log a call duration, I've create this object:

Code: Select all

    <var name="startDate" expr="new Date()" />
My project has many pages, and I would like to use the startDate variable at the last page.

How can I use the submit value to transfert the variable other pages?

I want to use :

Code: Select all

<submit next="next.vxml" namelist="startDate" />
How can I retrieve the value in the next page?

Thanks by advance.

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

IVR code to fetch a variable

Post by support »

Hi,

I would recommend that you read this IVR documentation first to understand how the data exchange works in general and to give you a better sense of how to use the IVR tag, <submit>:
http://www.plumvoice.com/docs/dev/devel ... taexchange


So, if the page you were submitting to were written in php and you had POSTed the variable, you would fetch the variable by doing the following in your next.php page:

$startdate = $_POST[startDate];

Hope this helps.

If you need additional assistance, you could post your IVR code here and we can make some suggestions on how to improve your IVR code.

Regards,
Plum Support

Post Reply