I have made QUERY_AGENT_STATISTICS_REQ command working.
but I have stuck in making the QUERY_AGENT_STATE_REQ and SET_AGENT_STATE_REQ work.
both request I am able to send the OPEN_REQ and get a success OPEN_CONF, but then after I send the QUERY_AGENT_STATE_REQ or SET_AGENT_STATE_REQ command, all response a CONTROL_FAILURE_CONF message which status code is 10, as the document show it mean E_CTI_DEVICE_IN_ USE
The indicated agent teleset is already
associated with a different CTI client.
what I have set is the agent ID, but however I try send the extension, Instrument, it always response the same error. even I change the PeripheralID to a wrong value, it response the same error.
is there any successful code to do the QUERY_AGENT_STATE_REQ ?