Configure the display of a message on the CSR desktop when an error occurs in a desktop request from the Call Control Panel to the Computer Telephony Integration (CTI) server.
Every error object has the following properties:
- A CTI server-specific error code for the received error.
- A brief description of the error.
When the CTI server returns an error message, you can map the error code to the message rule that you create in the Pega Platform layer so that you can the efficiently locate the error.
Pega Call maps the error code with the translated error message, and then sends the message to the desktop.
If the translation does not exist, Pega Call displays the text that you passed in the errMessage property in the error object.
The following table describes the default Pega Call error messages.
Pega Call default error messages
|Error code||Error message|
|An agent is logged in from another device.|
|An agent is not logged in from any device.|
|A call request is rejected.|
|An operation error occurred.|
|The request specified an invalid destination.|
|The object is not in the correct state to serve the request.|
|The party in the request is already in conference.|
|The call attempted is to a busy destination.|
|Authentication failed or not provided or server refused to respond.|
|The requested resource not found.|
|The method not supported.|
|The server timed out. Waiting for request.|
|Internal server error.|
|Bad gateway. Gateway received invalid response from the server.|
|The server is out of service.|
|The gateway timed out.|
|The agent is already in the requested state.|
|The call is no longer in an active state.|
|AgentID is invalid.|
|The agent is in invalid state for the requested operation.|
|The request specified has an invalid AgentID or an invalid agent password or both.|
|The device number (DN) in the request is invalid.|
|The party in the request call state is invalid.|
|The destination device number (DN) in the request is invalid.|
|The DN type is invalid.|
|Agent cannot log in at this time.|
|The login device that is specified in the request is invalid.|
|The agent cannot log out at this time.|
|The agent cannot change to the NotReady state.|
|The requested number is invalid.|
|The agent cannot change to the Ready state.|
|The reason code that is specified in the request does not exist.|
|The link is in the Unavailable state.|
|A similar request still in progress.|
|The party is not currently on call.|
|The state change requires a valid reason code.|
|Unspecified error in client's request.|
- Forward the error object to the failure callback function of the request function.