01-31-2022 12:40 PM - edited 01-31-2022 12:42 PM
I am trying to solve the problem that our customer have. They have many Cisco UCM agents using Cisco Jabber.
I use JTapi to connect to Cisco UCM.
Then I call this code:
Call call = provider.createCall();
Connection[] connections = call.connect(terminal, this.address, dest);
Unfortunately in case of small number of users - they have the problem. The calls are made about 30 seconds after this code is called. I would like them to be able to make the calls instantly or at least in few seconds. How can I solve this problem?
I also see some exceptions (they appear randomly, sometimes they appear, sometimes no, but it is very visible when using so many agents) in the logs:
connect:
com.cisco.jtapi.PlatformExceptionImpl: Timeout - Could not meet post conditions of connect()
at com.cisco.jtapi.CallImpl.connect(CTQF) ~[tcc-5.2.0-fat.jar:na]
at com.cisco.jtapi.CallImpl.connect(CTQF) ~[tcc-5.2.0-fat.jar:na]
in case of hangup:
com.cisco.jtapi.InvalidStateExceptionImpl: Did not meet pre-conditions -- call must be ACTIVE and at least one TerminalConnection must be Active
at com.cisco.jtapi.CallImpl.drop(CTQF) ~[tcc-5.2.0-fat.jar:na]
Second, very connected question:
Is it possible to make asynchronous calls using Cisco UCM (non-blocking)? I do not see any method like:
call.connectasync()
Solved! Go to Solution.