VoiceGuide IVR Software Main Page
Jump to content

i want to have a new call log

Recommended Posts

Hello i want to have a new call log everday at 4 PM into a csv file.

 

just like this

 

command.com /c echo $RV_DD, $RV_MM, $RV_CIDNAME, $RV_CIDNUMBER, $RV[GetNumbersCode], $RV_CALLLENGTH >> c:\Log$RV_YY$RV_MM.csv

 

and can i run this script like the creditpayment.

 

thanks joost

Share this post


Link to post

You should be adding to the log file from the script which is handling the call - then at whatever time you chose you can process your log file of calls which arrived so far...

 

You may want to look into using a VBScript module to save the data - this is the preferred way on multi-line systems...

 

Example from VG Help file:

 

Example 1:

The VB Script below will append a line of text to the file C:\LogCall.txt - the line of text will contain information about start of the call, caller's telephone number and information entered by caller in module "EnterClientNumber". Result Variables are used in this script to allow information from VoiceGuide to be visible to the VB Script.

 

Const ForReading = 1

Const ForWriting = 2

Const ForAppending = 8

set fso = CreateObject("Scripting.FileSystemObject")

set tsFile = fso.OpenTextFile("C:\LogCalls.txt", ForAppending, True)

tsFile.WriteLine "$RV_STARTTIME, $RV_CIDNUMBER, $RV[EnterClientNumber]"

tsFile.Close

set tsFile = Nothing

set fso = Nothing

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
×