Hi,
I try to move an agent to Aux Work using TSAPI, and I found that SetAgentState method fails when using a two digits reason code. (error: GENERIC_UNSPECIFIED)
TSAPI documentation says that two digits are supported in Private Data version 7. I have tested on two different environments, with AES 5-2-4-114-0 and 5-2-0-98-0, and Private Data version 8.
Is there a limitation with Private Data version 8?
Below is a copy from TSAPI Excersiser. The same works ok if using a 1 digit reason code.
Thanks in advance
Martín
10:45:01 0 CONFIRM: Open Stream: API Version: ST2
Lib Version: AES4.2.2 Build 451
Tsrv Version: 5.2.4 Build 540
Drvr Version: 5.2.4 Build 540
Private Data: Vendor: ECS
Data: 8
...
10:46:38 0 SERVICE: Set Agent State: Device: 669 Agent Mode: Not Ready Agent ID: 4444
Agent Group: (null) Agent Password: (null)
Private Data: Vendor: ECS
Event Type : ATT_SET_AGENT_STATE
Service: Set Agent State
Work Mode: Aux Work
Reason Code: 10
Enable Pending: FALSE
10:46:39 0 CONFIRM: Universal Failure: Error: GENERIC_UNSPECIFIED
10:46:43 0 SERVICE: Close Stream
|