Please login or register to access secure site features.

Note: By continuing to use DevConnect Program Services you agree to our latest Registered Member Terms.

Sign in using DevConnect ID

Forgot password?

Trouble logging in?

Submit a ticket for Registration Support.

I have an SSO ID

?
sign in

Don't have a DevConnect or SSO ID ?

Create a DevConnect account or join the program.

register now
^
Forum Index » DMCC APIs » It's possible to logout an Agent from any device?.   XML
 
Author Message
ariellarraburu.gmail.com



Joined: 14/10/2020 20:04:23
Messages: 25
Offline

Hi, I can logout an agent from a device (any agent) doint this:

private void SetAgentLogOut()
{
ThirdPartyCallController.SetAgentStateParameters agentParams = new ThirdPartyCallController.SetAgentStateParameters();

if (this.currentDevice != null)
{
agentParams.Device = this.currentDevice.getDeviceIdAsString;
agentParams.RequestedAgentState = ThirdPartyCallController.RequestedAgentState.AM_LOG_OUT;


invokeLogOutID = this.sProv.getThirdPartyCallController.SetAgentState(agentParams, null);
}
}

but, if I remove the Device parameter, and add the AgentID doen't work. ┬┐Is there any way to logout an Agent from any device?.

Thanks.
JohnBiggs



Joined: 20/06/2005 14:06:52
Messages: 815
Location: Thornton, CO
Offline

I believe you can query the agent, and get the device (station) they are logged in on, and then properly fill in the logout request.
[WWW]
ariellarraburu.gmail.com



Joined: 14/10/2020 20:04:23
Messages: 25
Offline

JohnBiggs wrote:I believe you can query the agent, and get the device (station) they are logged in on, and then properly fill in the logout request.


I can't find any function in the dashboard that gives me the list of devices where an agent is logged in.
JohnBiggs



Joined: 20/06/2005 14:06:52
Messages: 815
Location: Thornton, CO
Offline

query the agent status. the result would show the single station that the agent is logged in at. There can only be one station where the agent is logged in at.
[WWW]
ariellarraburu.gmail.com



Joined: 14/10/2020 20:04:23
Messages: 25
Offline

JohnBiggs wrote:query the agent status. the result would show the single station that the agent is logged in at. There can only be one station where the agent is logged in at.


But the deviceID is a required parameter to query the agent status, and it is precisely the data that I need to find out
MartinFlynn



Joined: 30/11/2009 05:00:18
Messages: 1751
Offline

1. Use the AgentID to perform getDeviceID()
2. Use this device ID with GetPhysicalDeviceInformation()
3. The GetPhysicalDeviceInformationResponse will include otherLogicalDeviceList. The item on this list will be the device ID of the station ID where the agent is logged in.

Alternatively, as the application is logging the agent in, it should be able to store the station ID for future reference.

Alternatively, for the case where the application is not logging in the agent, if you place a Call Control monitor on a huntgroup, you will receive AgentLogin events whenever an agent with that skill logs in. These will include the station ID where the agent is logging in.

Martin
 
 
Go to: