Call Object
The Call object provides developers using the CTI OS Client Interface Library with an interface to Call behavior and control. The Call object enables you to perform all call behaviors, such as answering, hanging up, or transferring a call. The Call object represents one call connection of a call. For a call between two parties there are two call connections, and thus there are two distinct CIL Call objects.
The object stores specific call information as properties, including the ICMEnterpriseUniqueID, ANI, DNIS, Call variables, and ExpandedCallContext variables. The Call object is created in response to call events received at the CIL. The Call object properties and state are updated throughout the lifetime of the call connection.
For more information about accessing Call and ECC variables via the GetValue mechanism, see CIL Coding Conventions.
Note |
CTI server updates CTI clients with events corresponding to CALL_PARTY_UPDATE_IND (CALL_DELIVERED_EVENT and CALL_ESTABLISHED_EVENT with EventCause 50 (CEC_CALL_PARTY_UPDATE_IND)). These events are sent to CTI_SERVICE_ALL_EVENTS to build the call state properly on the CTI_SERVICE_ALL_EVENTS client after one side of CTI server/PG is gracefully shut down. Any custom clients can handle extra events from the CTI OS server. |