I get the following error when i try to connect from the ctitest to the ctiserversim given as part of the CTIOS Toolkit
CTITest: open
CTITest: 16:42:05 Trace:
16:42:05 Trace: ... session #1 trying CTI Server on side A (10.20.30.125 port 20
04)
16:42:05 Trace: ... session #1 connected to side A after 4 ms.
16:42:09 Failed (Socket error 10054) reading from socket connection to Host 10.2
0.30.125, Service 2004.
Last API Error [10054]: An existing connection was forcibly closed by the remo
te host.
16:42:09 Trace: ... session #1 connection was closed
16:42:09 Trace: ... session #1 closed after 4 seconds
16:42:12 Trace: ... session #2 connected to side A after 1 ms.
16:42:16 Failed (Socket error 10054) reading from socket connection to Host 10.2
0.30.125, Service 2004.
Last API Error [10054]: An existing connection was forcibly closed by the remo
te host.
16:42:16 Trace: ... session #2 connection was closed
16:42:16 Trace: ... session #2 closed after 4 seconds
16:42:20 Trace: ... session #3 connected to side A after 1 ms.
I have congifure the ctitest as per the documentation and running the ctiserversim on port 2004.
why is the connecting getting forcibly closed?
I also get this error on the ctiserversim console
CTransport::ListenForConnections Listening on socket
CClient(1)::MainThread >>
CClient(1)::MainThread spawn sender and receive threads
Decode length error: element "AgentID",
FieldLength 53, MaxBytes 11
CClient(1)::MsgHandler invalid CTI message from CTIOS
msgType=3
CClient(1)::MainThread Handler thread quit
CClient(1)::MainThread Waiting for handler thread to quit
CClient(1)::MainThread Waiting for send thread to quit
CTransport::RecvBytes socket error(10053)
CTransport::RecvMessage RecvBytes for header failed
CClient(1)::MsgReceiver RecvMessage failed
CTransport:

isconnect Connection closed