Hello All,
I have written a custom JTAPI application to monitor the calls coming on VDNs. Here we are getting exception in JTAPI logs when call is monitored for below case
Call is recieved on VDN A, CBA is offered to caller while on queue and caller chooses not to accept the CBA so he is routed back to VDN B so that is he can again put on queue and connected to Agent. Here we are getting below exception in JTAPI logs
18/11/2019 18:37:25:137 [ERROR] com.avaya.jtapi.tsapi.impl.core.TSEventHandler_eventDistributorException - Event Distributor Exception - shutting down provider TSProvider[#1]@6922ddc3
18:37:25:137 [INFO ] com.avaya.jtapi.tsapi.tsapiInterface.TsapiSession_handleRead - Received monitorCrossRefID 2 for TSProvider[#1]@6922ddc3
17/11/2019a.lang.NullPointerException
at com.avaya.jtapi.tsapi.impl.core.TSEventHandler.doConnEvents(TSEventHandler.java:1034)
at com.avaya.jtapi.tsapi.impl.core.TSEventHandler.cstaUnsolicited(TSEventHandler.java:302)
at com.avaya.jtapi.tsapi.tsapiInterface.TsapiEventDistributor.handleEvent(TsapiEventDistributor.java:113)
at com.avaya.jtapi.tsapi.tsapiInterface.TsapiEventQueue.run(TsapiEventQueue.java:104)
18/11/2019 18:37:25:137 [INFO ] com.avaya.jtapi.tsapi.tsapiInterface.TsapiEventQueue_put - Putting event CSTAEvent[CSTATransferredEvent]@4d9b56b. EVENT Q SIZE = 2 MAX Q SIZE = 2 for TSProvider[#1]@6922ddc3
18/11/2019 18:37:25:137 [INFO ] com.avaya.jtapi.tsapi.impl.core.TSProviderImpl_shutdown - TSProvider.shutdown - attempting shutdown
The Jtapi is working fine for below various cases, and events from AES are received properly
Call is routed to VDN (VDN A) and disconnected on queue before connecting to Agent.
Call is routed to VDN (VDN A) and while on queue answered by Agent.
Call is routed to VDN (VDN A) and while call is on queue CBA is offered to caller. Now if caller accepts the CBA its call is disconnected by CBA application.
Thanks,
Rajat Verma
|