VoiceGuide IVR Software Main Page
Jump to content

Create A Csv File

Recommended Posts

August wrote:

 

I'm very interested in your IVR product. I believe it will do what we need

it to do, except I have one question. We are creating a script for

Do-Not-Calls. We ask the caller to put in their phone number with area code

and confirm that it is correct. Is there a simple way to create a CSV file

with just the correct number?

Share this post


Link to post

Here is a sample VBScript code for saving contents of a Result Variable to a file.

This VBScript will save the number entered in module titled "Get Phone Number" to file c:\output.csv

Const ForReading = 1
Const ForWriting = 2
Const ForAppending = 8
set fso = CreateObject("Scripting.FileSystemObject")
set tsFile = fso.OpenTextFile("c:\output.csv", ForAppending, True)
tsFile.WriteLine "$RV[Get Phone Number]"
tsFile.Close
set tsFile = Nothing
set fso = Nothing

You can add more (comma delimited) information to be saved as required.

Share this post


Link to post

The script you sent me works for an hour our two but then it locks up and the phone line stays busy. It also does not complete sucessfully to move to the next step. I have to set it to fail to move to the next step. I removed this script and the system does not lock up.

Share this post


Link to post

Are you using an evaluation version of the software or a registered version?

 

Are you using a Dialogic card or a Voice modem?

Share this post


Link to post

A significant amount of Voice modem based system will crash due to problems in voice modem drivers. This is a known problem with voice modem based systems and one of the reasons why we do not recommend using them.

 

For a reliable system get a Dialogic card.

Share this post


Link to post

This card can be used.

You will need to switch to using "VoiceGuide for Dialogic" though - see our WWW Downloads page.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×