VoiceGuide IVR Software Main Page
Jump to content

Maintaining A Log In Vg

Recommended Posts

hi

 

is there any way by which i can maintain a log in VG for my MIS reports like no. of calls, average calls etc

 

tks - Hitesh

Share this post


Link to post

If the log files created by VG are insufficient then customized log files can be created from within the VG script itself.

 

You can create log files by:

 

- appending information to a text file using the ECHO command in the Run Program module, eg:

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

 

-appending information to a text file using VB Script in the Run VB Script module, eg:

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

 

-appending information to a database using a DB Query module...

 

-calling your own logging programs/functions from with Run Program or Run VB Script modules...

 

Related posts:

http://voiceguide.com/forums/index.php?showtopic=493

http://voiceguide.com/forums/index.php?showtopic=233

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
×