Get Agent Connection

getConnectionForAgent

To find out which call the Agent connected to, you must call this function . This is a blocking call, so when you initiate the function, it won't return until a connection has taken place. The system will return a CallType upon connection - this will have all the information about the connection you need to generate a popup on the Agents Screen.

Parameters

  • key - (String) your api key from the account page
  • campaignId - (long) the campaign id to start
  • agentId - (long) the agent id for which you need the connection information

Response

  • CallType - contains all the details about the connected call