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 | bigserial | 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!