Author Message
GariRaj
Joined: Nov 7, 2017
Messages: 28
Offline
hi, am receiving the below error when am trying to monitor the ACD Address or hunt group. even if the error is there am able to receive the events for the below two methods on login and logout. any idea why we have this error. and also found that this method is not given any event when agent goes to different AUX .


working fine: acdAddressLoggedOff and acdAddressLoggedOff,

not working: acdAddressBusy, acdAddressWorkNotReady,

2019-03-19 10:41:08,204 | [Thread-64] | ERROR | CSTA Error: 12
com.avaya.jtapi.tsapi.TsapiPlatformException: CSTA Error: 12
at com.avaya.jtapi.tsapi.tsapiInterface.TSErrorMap.throwCSTAException(TSErrorMap.java:100)
at com.avaya.jtapi.tsapi.tsapiInterface.TsapiSession.send(TsapiSession.java:539)
at com.avaya.jtapi.tsapi.tsapiInterface.TsapiSession.send(TsapiSession.java:448)
at com.avaya.jtapi.tsapi.tsapiInterface.Tsapi.snapshotDevice(Tsapi.java:1421)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.doCallSnapshot(TSDevice.java:2891)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.setMonitor(TSDevice.java:2688)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.setMonitor(TSDevice.java:2561)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.addAddressMonitor(TSDevice.java:446)
at com.avaya.jtapi.tsapi.impl.TsapiAddress.addAddressListener(TsapiAddress.java:1105)


2019-03-19 10:41:07,865 | [Thread-64] | ERROR | CSTA Error: 41
com.avaya.jtapi.tsapi.TsapiResourceUnavailableException: CSTA Error: 41
at com.avaya.jtapi.tsapi.tsapiInterface.TSErrorMap.throwCSTAException(TSErrorMap.java:95)
at com.avaya.jtapi.tsapi.tsapiInterface.TsapiSession.send(TsapiSession.java:539)
at com.avaya.jtapi.tsapi.tsapiInterface.TsapiSession.send(TsapiSession.java:448)
at com.avaya.jtapi.tsapi.tsapiInterface.Tsapi.queryDoNotDisturb(Tsapi.java:1238)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.doAddressSnapshot(TSDevice.java:2821)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.setMonitor(TSDevice.java:2687)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.setMonitor(TSDevice.java:2561)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.addAddressMonitor(TSDevice.java:446)
at com.avaya.jtapi.tsapi.impl.TsapiAddress.addAddressListener(TsapiAddress.java:1105)


MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
Communication Manager only sends Agent Login/Logout events to third party applications. It does not send events for other agent state changes (busy, idle, aux etc.).

If you need to know the current state of an agent, you will need to periodically poll for this information. You can see an example of this in the AgentView JTAPI sample application on the Devconnect website.

Martin
GariRaj
Joined: Nov 7, 2017
Messages: 28
Offline
Hi Martin,

can you please also clarify why am receiving this errors frequently and how to avoid the same.

2019-03-19 10:41:08,204 | [Thread-64] | ERROR | CSTA Error: 12
com.avaya.jtapi.tsapi.TsapiPlatformException: CSTA Error: 12
at com.avaya.jtapi.tsapi.tsapiInterface.TSErrorMap.throwCSTAException(TSErrorMap.java:100)
at com.avaya.jtapi.tsapi.tsapiInterface.TsapiSession.send(TsapiSession.java:539)
at com.avaya.jtapi.tsapi.tsapiInterface.TsapiSession.send(TsapiSession.java:448)
at com.avaya.jtapi.tsapi.tsapiInterface.Tsapi.snapshotDevice(Tsapi.java:1421)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.doCallSnapshot(TSDevice.java:2891)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.setMonitor(TSDevice.java:2688)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.setMonitor(TSDevice.java:2561)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.addAddressMonitor(TSDevice.java:446)
at com.avaya.jtapi.tsapi.impl.TsapiAddress.addAddressListener(TsapiAddress.java:1105)


2019-03-19 10:41:07,865 | [Thread-64] | ERROR | CSTA Error: 41
com.avaya.jtapi.tsapi.TsapiResourceUnavailableException: CSTA Error: 41
at com.avaya.jtapi.tsapi.tsapiInterface.TSErrorMap.throwCSTAException(TSErrorMap.java:95)
at com.avaya.jtapi.tsapi.tsapiInterface.TsapiSession.send(TsapiSession.java:539)
at com.avaya.jtapi.tsapi.tsapiInterface.TsapiSession.send(TsapiSession.java:448)
at com.avaya.jtapi.tsapi.tsapiInterface.Tsapi.queryDoNotDisturb(Tsapi.java:1238)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.doAddressSnapshot(TSDevice.java:2821)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.setMonitor(TSDevice.java:2687)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.setMonitor(TSDevice.java:2561)
at com.avaya.jtapi.tsapi.impl.core.TSDevice.addAddressMonitor(TSDevice.java:446)
at com.avaya.jtapi.tsapi.impl.TsapiAddress.addAddressListener(TsapiAddress.java:1105)
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
Sorry, I cannot help you with this. If you open a technical support ticket, one of my colleagues may be able to help.

Martin
GariRaj
Joined: Nov 7, 2017
Messages: 28
Offline
Hi Martin,

you mean these errors are related to the environment nothing to do with the API?
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
I mean that, off-hand, I do not know what is causing these errors. If you need help to investigate the cause, you should open a technical support ticket.

Martin
Go to:   
Mobile view