Author Message
GariRaj
Joined: Nov 7, 2017
Messages: 28
Offline
is there any way we can get the reason code of agent who is in aux from the ACDAddress we are able to check the agent state but not the aux code.
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
Not from an ACDAddress.

To get the reason code, you will have to use the following steps:

1. Get the Address object of the phone where the agent is logged in.
2. Use Address.getTerminals() to get the terminal object of the phone.
3. Use AgentTerminal.getAgents() to get the Agent object for the agent.
4. Use LucentAgent.getStateInfo() to get the agent's state info. This includes the reason code.

Martin
GariRaj
Joined: Nov 7, 2017
Messages: 28
Offline
thank you Martin.
Go to:   
Mobile view