Good morning!!
I got the code for determine the hunt group extension from the sample agentView application.
public static String getCallACDAddressName(Call call) {
if (call instanceof LucentCallInfo) {
LucentCallInfo lucentCall = (LucentCallInfo) call;
ACDAddress address = lucentCall.getDeliveringACDAddress();
return (address != null) ? address.getName() : null;
}
return null;
}
We ask for that method when a call is answered to perform some executions according to the returned value.
The method normally works fine. But recently we did some availability tests and the method returns NULL under the next scenario:
Meanwhile the incoming call is ringing, the application is intentionally rebooted in order to simulate a suddenly fail.
When the application is completely up again, the incoming call is answered by using JTAPI instructions in other words the application executes the answer method to the Terminal connection object.
termConn.answer();
Then in the intercepted event terminalConnectionTalking the getCallACDAddressName returns null.
We'e replicated the fail scenario by answering the incoming call using the avaya one x softphone and the getCallACDAddressName return the correct value.
Currently we are using the AES versión 7.1 and I've tested the fail scenario using JTAPI library versions 5.2 and 7.0 and the fail persist.
Any idea ?