Author Message
Sushil
Joined: Sep 13, 2020
Messages: 29
Offline
Hi,
In our application using JTAPI lib (8.1.3) getting below exception while fetching DeliveringACDAddress on connectionAlerting event.

java.lang.ClassCastException: com.avaya.jtapi.tsapi.impl.LucentV11AddressImpl cannot be cast to javax.telephony.callcenter.ACDAddress


Below is the code snippet to fetch deliveringACDAddress.


public static String getDeliveringACDAddress(LucentV5Call lucentV5Call) {
ACDAddress acdAddress = lucentV5Call.getDeliveringACDAddress();
return (acdAddress != null) ? acdAddress.getName() : null;
}


It is throwing for random calls and not for every call.
Go to:   
Mobile view