Author Message
amfat
Joined: Dec 11, 2018
Messages: 2
Offline
Hello experts
When i try to cast myACDAddress = (ACDAddress) provider.getAddress(acd); Im getting below exception and hence is not able to add agent to terminal. Note that Address,AgentTerminal are created sucessfully

start() caught java.lang.ClassCastException: com.avaya.jtapi.tsapi.impl.LucentAddressImpl cannot be cast to javax.telephony.callcenter.ACDAddress
com.avaya.jtapi.tsapi.impl.LucentAddressImpl cannot be cast to javax.telephony.callcenter.ACDAddress
MartinFlynn
Joined: Nov 30, 2009
Messages: 1921
Offline
ACDAddress represents a Hunt Group. It does not have any methods that allow you to login an agent.

In order to login an agent, use LucentTerminal.addAgent(). In this case, the LucentTerminal represents the agent's phone.

For an example of logging an agent in at a phone, have a look at the AgentView sample application on the Devconnect website.

Martin
Go to:   
Mobile view