Jump to: navigation, search

In the Column List:

  • P = Primary key
  • M = Mandatory field
  • F = Foreign key
  • In the Data Type column, varchar/nvarchar means that the data type is varchar except in multi-language databases that use Unicode, in which case the data type is nvarchar.

Table G_LOGIN_SESSION


This table contains information about agent login sessions. ICON inserts a record upon the creation of an agent login session. ICON updates records, by marking them as deleted, at the time that the agent's login session finishes. Whether ICON writes to this table is determined by the setting of one or more configuration options in the [filter-data] section.

Tip
To assist you in preparing supplementary documentation, click the following link to download a comma-separated text file containing information such as the data types and descriptions for all columns in this table: Download a CSV file.

Hint: For easiest viewing, open the downloaded CSV file in Excel and adjust settings for column widths, text wrapping, and so on as desired. Depending on your browser and other system settings, you might need to save the file to your desktop first.

Column List

Legend

Column Data Type P M F Description
ID numeric(16) X X The unique, autonumbered ID of the record. This is the primary key.
LoginSessionID varchar(50) X The agent's login session ID (GUID).
AgentID int X The DBID of the agent (person) configuration object in Configuration Server that logged in during this login session. This value is NULL for situations where a person is not configured.
LoginID int X The DBID of the login configuration object in Configuration Server (under switch) that the agent used to log in. This value is NULL for interactions originating from Interaction Server.


In a SIP Cluster environment, the value for this field is NULL.

PlaceID int X The DBID of the Place configuration object in Configuration Server. This is used if the configuration contains information regarding the place(s) where the agent is working.


In a SIP Cluster environment, the value for this field is NULL.

State int X State of the agent's login session. One of the following values:
  • 0—terminated–Login session is terminated.
  • 1—active–Login session is active.


#DICTIONARY TYPE 81

PrimaryDeviceID int The DBID of the endpoint (DN) configuration object that the agent uses to first login within this login session. This value is 0 for interactions originating from Interaction Server. In a SIP Cluster environment, the value for this field is 0.
SwitchID int The DBID of the Switch configuration object in Configuration Server where the agent's login session was detected.
Created datetime X The GMT-equivalent date and time when the agent's login session started.
Created_ts int The UTC-equivalent value of the CREATED field.
Created_tcode int A reference, derived from the value of the CREATED_TS field, to a record in the G_TIMECODE table.
Terminated datetime The GMT-equivalent date and time when the agent's login session finished (terminated).
Terminated_ts int The UTC-equivalent value of the TERMINATED field.
Terminated_tcode int A reference, derived from the value of the TERMINATED_TS field, to a record in the G_TIMECODE table.
Reason varchar(50) This is the reason that the login session terminated.
InternalReason int This is the internal (system) reason of termination of the login session. One of the following values:
  • -1—unknown–No special system reason specified (Reserved).
  • 0 (or null)—normal–No special system reason specified. Login session terminated normally.
  • 1—stuck–Stuck login session detected.
  • 2—device–Device storage conflict in gcti login session manager.
  • 3—agent–Agent storage conflict in gcti login session manager.
  • 4—cleanup–Cleanup command received by gcti login session manager.
  • 5—register–Session restored as a result of information received in EventRegistered.
  • 6—disconnect–Session terminated as result of disconnect from server.


#DICTIONARY TYPE 84

GSYS_DOMAIN int Contains the data source session ID (DSS_ID) for the session that was active when the data was processed by ICON. For more information, see the description in System Fields (for DB2Microsoft SQL Server, Oracle, or PostgreSQL, respectively).
GSYS_PARTITION int A key that is used for partitioning.
GSYS_SYS_ID int System ID. Reserved for future use.
GSYS_SEQ bigint Insert Sequence. Not unique.
GSYS_USEQ bigint Update Sequence. Not unique.
GSYS_TS datetime Reserved
GSYS_TC int Reserved
GSYS_EXT_VCH1 varchar(255) Reserved

In a SIP Cluster environment, records the DN name.

GSYS_EXT_VCH2 varchar(255) Contains agent location data as reported by SIP Server/T-Server or Interaction Server. This information is reported in one of the following ways, depending on your environment:
  • In Interaction Server environments, the location key of EventAgentLogin.
  • In T-Server environments, the location key of EventAgentLogin/EventRegistered/EventPrivateInfo.
  • In SIP Cluster environments, the geo-location-agent key of EventAgentLogin/EventPrivateInfo.
GSYS_EXT_INT1 int Reserved
GSYS_EXT_INT2 int Reserved
This page was last edited on January 10, 2020, at 15:27.
Comments or questions about this documentation? Contact us for support!