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

Clearing out a variable

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
metroscript
Posts: 78
Joined: Mon Sep 25, 2006 6:52 am
Contact:

Clearing out a variable

Post by metroscript »

Good evening to all,

I have the following record tag:

Code: Select all

	<record name="phone_file_1vox" beep="true" dtmfterm="true" maxtime="720s" finalsilence="300s" type="audio/basic">
This recording (phone_file_1vox) is passed to another page and saved. After this, I want to clear out the value of phone_file_1vox. How do I do this? I tried the following which didn't work:

Code: Select all

<var name="phone_file_1vox" expr=""/>
Thanks!

Mike C.

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

IVR script for clearing out a variable

Post by support »

Hi,

You could use the <clear> tag in your IVR code for clearing out variables.

To do this, you would type:

Code: Select all

<clear namelist="phone_file_1vox"/>
Hope this helps.

Regards,
Plum Support
Last edited by support on Tue Jan 12, 2010 4:27 pm, edited 2 times in total.

metroscript
Posts: 78
Joined: Mon Sep 25, 2006 6:52 am
Contact:

Post by metroscript »

Thanks! I've give it a try.

metroscript
Posts: 78
Joined: Mon Sep 25, 2006 6:52 am
Contact:

Post by metroscript »

metroscript wrote:Thanks! I'll give it a try.

Post Reply