I was following CTI developer guide of protocol 10, and I had put AGENT_ID_TAG=194 as per doc in the sending message
message sent to UCCX:
BYTE ARRAY sent to UCCX:00 00 00 5D 00 00 00 03 00 00 00 02 00 00 00 0A
00 00 00 78 00 00 00 00 00 00 00 07 00 00 00 07
00 00 3F FF 00 00 00 0F 00 00 00 00 00 00 00 00
00 00 00 00 01 0A 64 6F 66 30 30 31 30 34 33 00
02 09 50 73 33 31 32 33 34 35 36 04 05 31 31 38
31 00 06 05 31 31 38 31 00 C2 0A 64 6F 66 30 30
31 30 34 33 00 After seeing your response I just checked the log(attachment 1: Cisco001MIVR078(AGENT_ID_TAG-194).zip), and found that the UCCX server was getting ips as:
OPEN_REQ,invokeId=2,idleTimeout=120,versionNumber=10,servicesRequested=7,callMsgMask=7,agentStateMask=16383,configMsgMask=15,clientID=dof001043,clientPass=[B@72b16e,appPathID=0,clientSignature=null,agentExt=1181,agentInstrument=1181,agentIDlong=dof001043,agentID=null,reserve1=0,reserve2=0,reserve3=0,invokeId=2
As per this log AgentID was null, and value of agentID was getting passed to agentIDlong.
So I checked the CTI developer guide for protocol 13-14 and as per this doc AGENT_ID_TAG is mentioned as 5. so after changing the AGENT_ID_TAG to 5,(checked response after changing version=14 in message) I am receving this response:
00 00 00 28 00 00 00 04 00 00 00 03 00 00 00 07
00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00
00 09 E4 02 00 01 D0 04 00 00 00 00 E0 02 00 01
here, Header=00 00 00 28 00 00 00 04
invoke ID=00 00 00 03
service granted: 00 00 00 07
res1,res2,res3=00 00 00 00 00 00 00 00 00 00 00 00
PG status: 00 01
Agent Status: 00 09
After this I am getting floating poart as:
E4 02 00 01 D0 04 00 00 00 00 E0 02 00 01
Converted it to equivalent ascii value but not getting Agent Instrument/Agent Extension/Agent ID values.
I've attached the log for this case also(attachment2: Cisco001MIVR084(AfterChanging AgentIDTAG-5).zip).
Please guide...
Satendra..