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_PARTY_HISTORY
This table contains information regarding all the states, in chronological order, of the interaction party, according to information received from the T-Server or Interaction Server application. 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
Column | Data Type | P | M | F | Description |
---|---|---|---|---|---|
PHID | numeric(16) | X | X | The party history record ID. This is the primary key. | |
PartyID | varchar(50) | X | X | The unique ID of the association between the party and the call. This is changed when the party is moved from one call to a different call. | |
PSeq | int | X | The sequence number of the party state change in scope for this party. | ||
CSeq | int | X |
| ||
ChangeType | int | The type of change of party state. One of the following values:
| |||
CCEvent | int | The call control event that is associated with the party state change. (In the G_PARTY table, this is the party termination event.) For a listing of permissible values, refer to G_Dictionary Values (for DB2, Microsoft SQL Server, Oracle, or PostgreSQL, respectively).
| |||
CCEventCause | int | The cause associated with the party state change and the call control event. (In the G_PARTY table, the cause of the Party termination event.) For a listing of permissible values, refer to G_Dictionary Values (for DB2, Microsoft SQL Server, Oracle, or PostgreSQL, respectively).
| |||
State | int | X | The current state of party. One of the following values:
| ||
Type | int | The party type. One of the following values:
| |||
PrevState | int | The previous state of party. One of the following values:
| |||
PrevSEnter | datetime | The GMT-equivalent date and time of the previous party state change. | |||
PrevSEnter_ts | int | The UTC-equivalent value of the PREVSENTER field. | |||
PrevSEnter_tcode | int | A reference, derived from the value of the PREVSENTER_TS field, to a record in the G_TIMECODE table. | |||
ParentPartyID | varchar(50) | The ID of the associated party. If the value is NULL or empty, the associated party is unknown. | |||
ParentLinkType | int | The type of the association between the two parties. One of the following values:
| |||
EndpointID | int | X | Depending on the scenario, this field holds one of the following values:
| ||
Added | datetime | X | The GMT-equivalent date and time of the record. | ||
Added_ts | int | The UTC-equivalent of the value of the ADDED field. | |||
Added_tcode | int | A reference, derived from the value of the ADDED_TS field, to a record in the G_TIMECODE table. | |||
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 DB2, Microsoft 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. For example, for a Routing Point party, this field stores the DN name of the destination, which is taken from the ThirdPartyDN field in EventDiverted. | |||
GSYS_EXT_VCH2 | varchar(255) | Reserved | |||
GSYS_EXT_INT1 | int |
| |||
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!