Guest Yaron Report post Posted 01/21/2004 01:57 PM Hello I am using the ivr demo for some time now in order to get an idia on this product performance. i managed to use the scripts to call people and to guide them trough certain instructions, my question is : can i record somehow or gather information based on their actions? what numbers they have pressed ? or anything similar? {like in a text file or in other database?} and my second question is if i can printout reports based on their actions. Share this post Link to post
SupportTeam Report post Posted 01/21/2004 03:55 PM Below shows how to save data from within the script to your own text file. From VG Help file, "Run VB Script Module" section: 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 Saving data in a database can be done using a DB Query module... Share this post Link to post