State Checks

A state check occurs when a TP issues a CPI-C call and the conversation is not in the appropriate state. For example, a state check occurs if a TP issues Send_Data while the conversation is in RECEIVE state. When a state check occurs, CPI-C does not execute the call; it returns state check information through the return_code parameter.