Author Message
dkalinasch
Joined: May 16, 2019
Messages: 35
Offline
Hello,

i have developed a callable snapin which receives calls and starts a audio playback.
The snapin contains a rest controller which receives request to forward or drop the received calls.

The snapin is installed on a breeze setup which is a cluster with two servers.

Now i tried a kind of HA-Testing:
In case the incoming call is handled by server 1, the call is answered and the audio is played.
I shutdown the VM of the server 1 and send a drop call request to the rest controller within the snapin.
The server 2 is handling the call and tries to execute the "call.drop()" method.

This action causes the following exception:


....
java.lang.IllegalStateException: Request timed out after 5000 ms
at com.avaya.collaboration.call.gs.interact.RemoteCommandManagerImpl.invoke(RemoteCommandManagerImpl.java:103)
at com.avaya.collaboration.call.util.FeatureCallHelperImpl.invoke(FeatureCallHelperImpl.java:90)
at com.avaya.collaboration.call.ProxyCall.drop(ProxyCall.java:123)
at com.mycode.call.CallService.dropCall(CallService.java:92)
at com.mycode.call.CallController.dropCall(CallController.java:27)
....


I was expecting, that the snapin is able to drop the call, regardless which server is handling the request.

Kind regards,
Domenic
Go to:   
Mobile view