In the Column List:
- P = Primary key
- M = Mandatory field
- F = Foreign key
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 | INTEGER | X | The sequence number of the party state change in scope for this party. | ||
CSeq | INTEGER | X |
| ||
ChangeType | INTEGER | The type of change of party state. One of the following values:
| |||
CCEvent | INTEGER | 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 | INTEGER | 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 | INTEGER | X | The current state of party. One of the following values:
| ||
Type | INTEGER | The party type. One of the following values:
| |||
PrevState | INTEGER | The previous state of party. One of the following values:
| |||
PrevSEnter | TIMESTAMP | The GMT-equivalent date and time of the previous party state change. | |||
PrevSEnter_ts | INTEGER | The UTC-equivalent value of the PREVSENTER field. | |||
PrevSEnter_tcode | INTEGER | 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 | INTEGER | The type of the association between the two parties. One of the following values:
| |||
EndpointID | INTEGER | X | Depending on the scenario, this field holds one of the following values:
| ||
Added | TIMESTAMP | X | The GMT-equivalent date and time of the record. | ||
Added_ts | INTEGER | The UTC-equivalent of the value of the ADDED field. | |||
Added_tcode | INTEGER | A reference, derived from the value of the ADDED_TS field, to a record in the G_TIMECODE table. | |||
GSYS_DOMAIN | INTEGER | 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 | INTEGER | A key that is used for partitioning. | |||
GSYS_SYS_ID | INTEGER | System ID. Reserved for future use. | |||
GSYS_SEQ | BIGINT | Insert Sequence. Not unique. | |||
GSYS_USEQ | BIGINT | Update Sequence. Not unique. | |||
GSYS_TS | TIMESTAMP | Reserved | |||
GSYS_TC | INTEGER | 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 | INTEGER |
| |||
GSYS_EXT_INT2 | INTEGER | Reserved |
This page was last edited on January 10, 2020, at 15:27.
Comments or questions about this documentation? Contact us for support!