There are two ways for the DMCC to update an agent's AUX reason code:
1. Use SetAgentState. This will use the TSAPI service to update the Agent's state. It is possible to enter a reason code.
Hi,
I am using the SetAgentState method, but I am not able to set the Agent State to a specific Auxiliary state. For example, I have 1: "Break", 2: "Lunch", 3: "Meeting", etc,. in my Auxiliary states. They are uniquely identified by the Reason Codes. I am sending in the following parameters, the state changes to Auxiliary, but the right reason code is not selected. It always goes back to the previous Auxiliary reason which was manually selected by the user.
parameters.Device = "DEVICE ID in the right format";
parameters.ReasonCode = 3;
parameters.RequestedAgentState = ThirdPartyCallController.RequestedAgentState.AM_NOT_READY;
Here, I wanted to change from Auxiliary: Lunch to Auxiliary: Meeting. The reason code for Meeting is 3. Upon passing that as a parameter, it doesn't change to that Auxiliary Reason state.
I tried setting the Agent State through the Dashboard. It is not selecting the appropriate Auxiliary Reason code there as well.
Please assist on how to resolve this issue.
Thanks,
Radeev
|