Test Results IVR |
|
The Test Results IVR was designed as a simple integrated voice response (IVR) application that allows a customer to call in, enter an ID number and receive a message based on a database entry that maps the customer ID to a particular message ID. As the name implies, it was written as a means of informing the caller of a test result, but it can certainly be used for other similar purposes.
ConfigurationConfiguration settings for the Test Results IVR are kept in a single configuration file named testresults.ini, which is stored in the C:\DuVoice\IVR\TestResults folder.
[General]This section contains all settings that control the overall operation of the IVR application. They include:
[Resultx]For each valid test result, there must be a corresponding [Resultx] section, where x is a number from 1 to NumResults. For example, if NumResults is set to 4, then there must be sections for [Result1], [Result2], [Result3] and [Result4]. Each such section contains the following settings:
Data FormatThe Test Results IVR looks for its data in the file specified by the DataFile setting in the [General] section of testresults.ini configuration file, as described above. This data file uses an ASCII-text, comma-separated value (CSV) format. Each line of the file represents the data record for a single customer's test result. The following in an example record:
132950969,1
In this example, the customer's ID number is 132950969 and the test result value is 1. Note that the two fields are separated by a comma and that there are no extra spaces.
Warning: Updating the data file while any callers are accessing the IVR is not advised and may cause the system to crash. The system reads this file every time a caller enters an ID number to get a test result. Overwriting the file while the IVR is accessing it could cause the IVR to crash.
|