Historical database (VHT_RPT) schema

The contents of the QDump and HistoricalOut tables in the VHT_RPT database contains information on the data the On-Premise Callback system collects. This information can be used to create custom reports, or to maintain On-Premise Callback data.

The VHT_RPT database contains the following tables:

  • ThirdPartyInteractionData - captures unique call IDs (External Tracking IDs)
  • HistoricalOut - stores dial attempt records that represent each time a call was attempted for out-dial
  • QDump - stores individual call records that represent the entire course of a call
  • SecondChanceOffer - stores the call records for a call in queue when offered a Second Chance callback

For example, assume that a caller requests a callback, but when On-Premise Callback attempts to call them back, the caller does not answer. When On-Premise Callback makes a second attempt, the line is busy. On the third attempt, the caller answers. In this case, On-Premise Callback records three separate records in the HistoricalOut table - one for each callback attempt - and records a single entry for the entire call sequence in the QDump table.

ThirdPartyInteractionData table

The ThirdPartyInteractionData table captures unique call IDs (External Tracking ID) when using the VXML Interaction Server (VIS). The recording of this unique call lD to the database helps troubleshoot issues and extends the reporting capabilities. It is also used for matching On-Premise Callback data to external reporting data. Values stored are Genesys UUID, Avaya UCID, and Cisco router call key. The following table shows the fields in the third party interaction Data table and examples of the type of data that is recorded to the table:

CALLIDNameValue
V000000000000000007021309524559ExternalTrackingID00001000138136025411259
V000000000000000007146532328552ExternalTrackingID00012000852014801485277
V000000000000000007441125528665ExternalTrackingID00012100008655202152008

HistoricalOut table

The HistoricalOut table stores dial attempt records that represent each time a call was attempted for out-dial. The following table describes the fields in the HistoricalOut table:

KeyField nameData typeLengthAllows nullsDefinition
SiteNamenvarchar50YThis is the name of the site associated the installation of Callback. Each Queue Manager can support one site.
QueueGroupnvarchar50YA logical grouping of queues at a single site or at an enterprise level.
QueueNamenvarchar255YThe name of a business queue.
YCALLIDchar32Unique call identifier assigned by On-Premise Callback Queue Manager.
YOutTimeStartdatetime8The time when an outbound dial attempt is initiated.
ConnectTimedatetime8YThe time when an outbound dial attempt is connected with a person.
OutTimeFinishdatetime8YThe time when an outbound dial attempt is disconnected.
CallProgressResultchar3YN/A See OutFate which replaced this.
PhoneNumberchar27YThe phone number collected by On-Premise Callback from the caller to be used for the callback.
OutFatechar3YThe result of an outbound dial attempt.
VHTLineNumbersmallint2YThe number of the On-Premise CallbackIVR port that the call was treated on.
PilotNumberchar45YA unique number passed to On-Premise Callback by the ACD/PBX that is assigned to a queue or application to be given treatment.
OutCallTypetinyint1YThe type of callback requested. 1 = ASAP, 2 = Scheduled, 3 = Rapport.
QueueIDchar255YA unique number assigned to each queue or application to be given On-Premise Callback treatment.
ScriptNumbersmallint2YRepresents the directory of prompts used when interacting with the caller (e.g. English or Spanish) in systems using multiple IVR profiles. In systems using one VXML IVR profile, this field represents the directory of prompts that would have been used in multiple IVR profile systems.
QueueModenvarchar255YIndicates the Queue Mode that was active for the call.
AgentResultnvarchar255YShows success or failure to indicate the result of an Agent Priority call.

QDump table

The QDump table stores individual call records that represent the entire course of a call. The following table describes the fields in the QDump table:

KeyField nameData typeLengthAllows nullsDefinition
SiteNamenvarchar50YThis is the name of the site associated with the installation of Callback. Each Queue Manager can support one site.
QueueGroupnvarchar50YA logical grouping of queues at a single site or at an enterprise level.
QueueNamenvarchar255YThe name of a business queue.
YCALLIDchar32Unique call identifier.
FinalFatechar3YA code that represents the ultimate outcome of the call.
FinalFateTimedatetime8YThe time that a call completes.
Historynvarchar100YA listing of all the fate codes associated with the call.
InTimeStartdatetime8YThe time when On-Premise Callbackis first introduced to a call, usually through a CTI route request.
InTimeFinishdatetime8YThe time when On-Premise Callback is finished processing a call on its inbound IVR port or completes routing the call to queue.
IVRTimeStartdatetime8YThe time when a call lands on a On-Premise Callback IVR port and is given treatment.
PhoneNumberchar27YThe number collected by On-Premise Callback from the caller.
ANIchar255YAutomatic Number Identification, provided by the network carrier.
NumBusyAttemptstinyint1YThe number of times that a callback attempt resulted in a busy signal.
NumNoAnsAttemptstinyint1YThe number of times that a callback attempt resulted in a no answer.
NumTryAgainAttemptstinyint1YThe number of times that a callback attempt resulted in something other than a busy signal or a no answer.
MaxRetriestinyint1YThe total number of callback attempts.
InitialCBTimedatetime8YThe time of the first callback attempt.
InitialCBModetinyint1YThe type of callback that was dialed out initially. 1 = ASAP,2 = Scheduled, 3 = Rapport.
AnnouncedEWTint4YThe estimated wait time that was announced to the caller, rounded up to the nearest 60 seconds. Also represents the lower EWT when speaking a range.
AgentsStaffedsmallint2YThe number of agents staffed in the queue or application at the time when the call was introduced to Callback.
OpModetinyint1YThe Operation Mode the queue is in at the time of new call arrival.
PilotNumberchar45YA unique number passed to On-Premise Callbackby the ACD/PBX that is assigned to a queue or application to be given treatment.
InCallTypetinyint1YN/A.
OutCallTypetinyint1YThe type of callback requested. 1 = ASAP, 2 = Scheduled, 3 = Rapport. This matches the OutCallType in HistoricalOut.
LastNamechar25YN/A.
FirstNamechar25YN/A.
VHTLineNumbersmallint2YThe number of the On-Premise CallbackIVR port that the call was treated on.
InResultchar3YA code that represents the result of the initial On-Premise Callback route request or the choice of the customer if the call was given On-Premise Callback treatment.
InFatechar3Y

A code that represents the fate of the inbound call.

This is legacy information. InResult should be used instead.

QueueIDchar255YA unique number assigned to each queue or application to be given On-Premise Callback treatment.
ScriptNumbersmallint2YRepresents the directory of prompts used when interacting with the caller (such as English or Spanish) in systems using multiple IVR profiles. In systems using one VXML IVR profile, this field represents the directory of prompts that would have been used in multiple IVR profile systems.
InTimeStartMonthtinyint1YRepresents the month when a call is introduced to the On-Premise Callback system, usually through a CTI route request.
InTimeStartDaytinyint1YRepresents the day of the week that a call is introduced to the On-Premise Callback system, usually through a CTI route request.
InTimeStartSlottinyint1YRepresents the 30-minute interval when a call is introduced to the On-Premise Callback system, usually through a CTI route request.
FinalDisconnectTimedatetime8YThe time when an agent is finished speaking with a caller and disconnects if On-Premise Callback is monitoring agents. Otherwise this is the time that a call is sent to an agent.
AgentAnswerTimedatetime8YThe time when an agent answers a call.
CallbackPunctualityint4YThe difference between the spoken EWT and actual callback time.
RouteToQTimedatetime8YThe time when On-Premise Callbackroutes the call to the ACD Holding Queue.
ApplicationIDchar30YA unique number passed to On-Premise Callbackthrough the Aspect subtype that is assigned to a queue or application to be given treatment.
UpperEWTint4YThe upper estimated wait time that was announced to the caller, when speaking a range, rounded up to the nearest 60 seconds.
TransferVDNchar30YN/A.
InternalEWTint4YThe estimated wait time that was calculated by Callback.
ExternalEWTint4YThe estimated wait time that was calculated by the ACD, rounded up to the nearest minute. Also represents the lower EWT when speaking a range.
NumAnsMachAttemptsint4YThe number of times that a callback attempt resulted in reaching an answering machine.
SourceApplicationnvarchar200Y

Contains name of the interface used to register the callback request. Examples include the following:

  • Platform Toolkit API
  • Legacy GVP
  • VXML Interaction Server
  • GlobalCall IVR
  • ACD Interaction

Platform Toolkit application developers can use custom application names. Refer to the Platform ToolKit Developers Guide.

SecondChanceOffer table

The SecondChanceOffer table stores call records for a queued call when offered a second chance callback. For each Second Chance Callback offered, a new record is written to the table.

When the Second Chance Callback is registered, a new interaction is created with a new CallID; the ExternalTrackingID is the same as the original call.

The following table describes the fields in the table:

KeyField nameData typeLengthAllows nullsDefinition
YIdbigint8NThe identifier of the record.
CallIdchar32NThe call ID associated with the call when offered a Second Chance callback.
ExternalTrackingIDnvarchar255YThe tracking ID associated with the call. The tracking ID is the same for both the original call, and the callback registered with Second Chance.
SiteNamenvarchar50YThis is the name of the site associated with the installation of Callback. Each Queue Manager can support one site.
QueueIDnvarchar100YA unique number assigned to each queue or application to be given On-Premise Callbacktreatment.
SegmentNamenvarchar255YName of the segment for the call being offered Second Chance callback.
RemainingWaitTimeint4YAmount of remaining EWT when the call was offered the Second Chance callback.
CurrentQueuePositionint4YCurrent position of the call in queue when the call was offered the Second Chance callback.
Timestampdatetime8YTimestamp in the format hh:mm:ss when the call was offered Second Chance callback.