Hi,
I can make call from one-x to avaya communicator & vice-versa but when I try to make call from confxfer sample to one-x/avaya communicator, unfortunately I always get CSTA error:21.
So can someone please guide me on this? I am new to JTAPI/TSAPI and unable to find information on internet.
Below is the log details
2017-06-16 20:16:42,443 [main] TRACE LucentV7ProviderImpl - --> createCall[]: com.avaya.jtapi.tsapi.impl.LucentV7ProviderImpl@15be6bb
2017-06-16 20:16:42,443 [main] TRACE LucentV7ProviderImpl - --> getTSProviderImpl[]: com.avaya.jtapi.tsapi.impl.LucentV7ProviderImpl@15be6bb
2017-06-16 20:16:42,443 [main] TRACE LucentV7ProviderImpl - <-- getTSProviderImpl[]: com.avaya.jtapi.tsapi.impl.LucentV7ProviderImpl@15be6bb
2017-06-16 20:16:42,443 [main] INFO TSCall - Constructing call TSCall[0(nonCallID=4)]@13a3d88 with ID 0 for TSProvider[#1]@15be6bb
2017-06-16 20:16:42,444 [main] TRACE LucentV7CallImpl - com.avaya.jtapi.tsapi.impl.LucentV7CallImpl@15be6bb constructed.
2017-06-16 20:16:42,444 [main] TRACE LucentV7ProviderImpl - <-- createCall[]: com.avaya.jtapi.tsapi.impl.LucentV7ProviderImpl@15be6bb
2017-06-16 20:16:42,444 [main] TRACE LucentV7CallImpl - --> connect[Terminal origterm, Address origaddr, String dialedDigits]: com.avaya.jtapi.tsapi.impl.LucentV7CallImpl@15be6bb
2017-06-16 20:16:42,444 [main] TRACE LucentAddressImpl - --> getTSDevice[]: com.avaya.jtapi.tsapi.impl.LucentAddressImpl@1921e20
2017-06-16 20:16:42,444 [main] TRACE LucentAddressImpl - <-- getTSDevice[]: com.avaya.jtapi.tsapi.impl.LucentAddressImpl@1921e20
2017-06-16 20:16:42,444 [main] TRACE LucentV5TerminalExImpl - --> getTSDevice[]: com.avaya.jtapi.tsapi.impl.LucentV5TerminalExImpl@1921e20
2017-06-16 20:16:42,444 [main] TRACE LucentV5TerminalExImpl - <-- getTSDevice[]: com.avaya.jtapi.tsapi.impl.LucentV5TerminalExImpl@1921e20
2017-06-16 20:16:42,444 [main] INFO TsapiSession - Sent InvokeID 27 for TSProvider[#1]@15be6bb
2017-06-16 20:16:42,444 [main] DEBUG TsapiSession - CSTAQueryDeviceInfo ::=
2017-06-16 20:16:42,444 [main] DEBUG TsapiSession - {
2017-06-16 20:16:42,444 [main] DEBUG TsapiSession - device "3707"
2017-06-16 20:16:42,444 [main] DEBUG TsapiSession - }
2017-06-16 20:16:42,614 [GetEventThread] INFO TsapiSession - Received invokeID 27 for TSProvider[#1]@15be6bb
2017-06-16 20:16:42,614 [GetEventThread] DEBUG TsapiSession - CSTAQueryDeviceInfoConfEvent ::=
2017-06-16 20:16:42,614 [GetEventThread] DEBUG TsapiSession - {
2017-06-16 20:16:42,614 [GetEventThread] DEBUG TsapiSession - device "3707"
2017-06-16 20:16:42,614 [GetEventThread] DEBUG TsapiSession - deviceType 0 < DT_STATION >
2017-06-16 20:16:42,614 [GetEventThread] DEBUG TsapiSession - deviceClass 0x80000000 < DC_VOICE >
2017-06-16 20:16:42,614 [GetEventThread] DEBUG TsapiSession - }
2017-06-16 20:16:42,614 [GetEventThread] DEBUG TsapiSession - TsapiPrivate ::=
2017-06-16 20:16:42,615 [GetEventThread] DEBUG TsapiSession - {
2017-06-16 20:16:42,615 [GetEventThread] DEBUG TsapiSession - vendor "ECS"
2017-06-16 20:16:42,615 [GetEventThread] DEBUG TsapiSession - data 2 0 62 0 30 8 a 1 6 a 1 a 16 0
2017-06-16 20:16:42,615 [GetEventThread] DEBUG TsapiSession - tsType 38
2017-06-16 20:16:42,615 [GetEventThread] DEBUG TsapiSession - }
2017-06-16 20:16:42,615 [GetEventThread] DEBUG LucentPrivateData - LucentV5QueryDeviceInfoConfEvent ::=
2017-06-16 20:16:42,615 [GetEventThread] DEBUG LucentPrivateData - {
2017-06-16 20:16:42,615 [GetEventThread] DEBUG LucentPrivateData - extensionClass 6 < EC_PROPRIETARY >
2017-06-16 20:16:42,615 [GetEventThread] DEBUG LucentPrivateData - associatedClass 10 < EC_OTHER >
2017-06-16 20:16:42,615 [GetEventThread] DEBUG LucentPrivateData - associatedDevice <null>
2017-06-16 20:16:42,615 [GetEventThread] DEBUG LucentPrivateData - }
2017-06-16 20:16:42,615 [GetEventThread] INFO TSInvokeID - Handling INVOKE ID 27 for TSProvider[#1]@15be6bb
2017-06-16 20:16:42,615 [GetEventThread] INFO TSInvokeID - DONE handling INVOKE ID 27 for TSProvider[#1]@15be6bb
2017-06-16 20:16:42,615 [main] INFO TsapiSession - Sent InvokeID 28 for TSProvider[#1]@15be6bb
2017-06-16 20:16:42,615 [main] DEBUG TsapiSession - CSTAMakeCall ::=
2017-06-16 20:16:42,615 [main] DEBUG TsapiSession - {
2017-06-16 20:16:42,615 [main] DEBUG TsapiSession - callingDevice "3706"
2017-06-16 20:16:42,615 [main] DEBUG TsapiSession - calledDevice "3707"
2017-06-16 20:16:42,615 [main] DEBUG TsapiSession - }
2017-06-16 20:16:42,823 [GetEventThread] INFO TsapiSession - Received invokeID 28 for TSProvider[#1]@15be6bb
2017-06-16 20:16:42,823 [GetEventThread] DEBUG TsapiSession - CSTAUniversalFailureConfEvent ::=
2017-06-16 20:16:42,823 [GetEventThread] DEBUG TsapiSession - {
2017-06-16 20:16:42,823 [GetEventThread] DEBUG TsapiSession - error 21 < GENERIC_STATE_INCOMPATIBILITY >
2017-06-16 20:16:42,823 [GetEventThread] DEBUG TsapiSession - }
2017-06-16 20:16:42,824 [GetEventThread] INFO TsapiEventQueue - Putting event CSTAEvent[CSTAUniversalFailureConfEvent]@126aa72. EVENT Q SIZE = 1 MAX Q SIZE = 1 for TSProvider[#1]@15be6bb
2017-06-16 20:16:42,824 [DistributeCSTAEvent] INFO TsapiEventQueue - Getting event CSTAEvent[CSTAUniversalFailureConfEvent]@126aa72 for TSProvider[#1]@15be6bb
2017-06-16 20:16:42,824 [DistributeCSTAEvent] INFO TSInvokeID - Handling INVOKE ID 28 for TSProvider[#1]@15be6bb
2017-06-16 20:16:42,824 [DistributeCSTAEvent] INFO TSInvokeID - DONE handling INVOKE ID 28 for TSProvider[#1]@15be6bb
In app screen I can see below log
16/6/17 7:40:00 PM:T=1:com.avaya.aes.jtapi.confxfer.Login.open(Login.java:70):services[0]='AVAYA#AESTOCM#CSTA#AVAYAAES-01'
16/6/17 7:40:00 PM:T=1:com.avaya.aes.jtapi.confxfer.Login.open(Login.java:70):services[1]='AVAYA#AESTOCM#CSTA-S#AVAYAAES-01'
16/6/17 7:42:46 PM:T=1:com.avaya.aes.jtapi.confxfer.ConferenceTransfer$19.run(ConferenceTransfer.java:2568):providerChangedEvent B
16/6/17 7:42:46 PM:T=1:com.avaya.aes.jtapi.confxfer.ConferenceTransfer.providerChangedEventSWT(ConferenceTransfer.java:2547):event[0]=com.avaya.jtapi.tsapi.impl.events.provider.TsapiProviderOutOfServiceEvent MetaEvent=true
16/6/17 7:42:46 PM:T=1:com.avaya.aes.jtapi.confxfer.ConferenceTransfer.providerChangedEventSWT(ConferenceTransfer.java:2547):event[1]=com.avaya.jtapi.tsapi.impl.events.provider.TsapiPrivateProviderEvent MetaEvent=false
16/6/17 7:42:46 PM:T=1:com.avaya.aes.jtapi.confxfer.ConferenceTransfer$19.run(ConferenceTransfer.java:2568):providerChangedEvent B
16/6/17 7:42:46 PM:T=1:com.avaya.aes.jtapi.confxfer.ConferenceTransfer.providerChangedEventSWT(ConferenceTransfer.java:2539):event[0]=com.avaya.jtapi.tsapi.impl.events.provider.TsapiProviderInServiceEvent MetaEvent=true ProvInServiceEv
16/6/17 7:42:46 PM:T=1:com.avaya.aes.jtapi.confxfer.ConferenceTransfer.handleProviderInService(ConferenceTransfer.java:1819):Service provider AVAYA#AESTOCM#CSTA#AVAYAAES-01 is in service.
16/6/17 7:43:20 PM:T=1:com.avaya.aes.jtapi.confxfer.ConferenceTransfer.providerChangedEventSWT(ConferenceTransfer.java:2547):event[1]=com.avaya.jtapi.tsapi.impl.events.provider.TsapiPrivateProviderEvent MetaEvent=false
16/6/17 7:43:37 PM:T=1:com.avaya.aes.jtapi.confxfer.ConferenceTransfer.makeCall(ConferenceTransfer.java:1550):exception caught com.avaya.jtapi.tsapi.TsapiInvalidStateException: CSTA Error: 21
16/6/17 7:51:54 PM:T=1:com.avaya.aes.jtapi.confxfer.ConferenceTransfer.makeCall(ConferenceTransfer.java:1550):exception caught com.avaya.jtapi.tsapi.TsapiInvalidStateException: CSTA Error: 21
16/6/17 7:59:14 PM:T=1:com.avaya.aes.jtapi.confxfer.ConferenceTransfer.makeCall(ConferenceTransfer.java:1550):exception caught com.avaya.jtapi.tsapi.TsapiInvalidStateException: CSTA Error: 21
16/6/17 8:15:49 PM:T=1:com.avaya.aes.jtapi.confxfer.ConferenceTransfer.makeCall(ConferenceTransfer.java:1550):exception caught com.avaya.jtapi.tsapi.TsapiInvalidStateException: CSTA Error: 21
16/6/17 8:16:42 PM:T=1:com.avaya.aes.jtapi.confxfer.ConferenceTransfer.makeCall(ConferenceTransfer.java:1550):exception caught com.avaya.jtapi.tsapi.TsapiInvalidStateException: CSTA Error: 21
Regards,
Tanaji Bhale.