The answerCall activity is called to initiate the call answer state to an incoming call while in ringing state. This activity uses the CallID and the device number (DN) properties to place an answer call request to the CTI server.
Before initiating this activity, ensure that you set the CallID and DN properties on the adapter page. If the CallID is not set prior to initiating this activity, then the CTI server will be queried to find a call in the ringing or alerting state. If no calls are found in the ringing state, then an error is returned to the CTI toolbar.
- Map the CallID and DN properties of the OpenCTI adapter page to the corresponding request parameters of the Pega Platform 8.6 integration connectors.
- Build a request appropriate for your connector.
- Invoke the appropriate request to the CTI server using Pega Platform 8.6 integration connector.
- Identify errors and handle it as discussed in Handling Errors.