Guest hitesh Report post Posted 12/08/2003 04:27 AM 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
SupportTeam Report post Posted 12/08/2003 06:13 AM 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