Page 1 of 1

Clearing out a variable

Posted: Wed Oct 24, 2007 7:03 pm
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.

IVR script for clearing out a variable

Posted: Thu Oct 25, 2007 9:20 am
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

Posted: Thu Oct 25, 2007 9:38 am
by metroscript
Thanks! I've give it a try.

Posted: Thu Oct 25, 2007 9:38 am
by metroscript
metroscript wrote:Thanks! I'll give it a try.