Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: tbremard on November 08, 2011, 09:49:17 AM
-
Good Morning,
we would like to display login status on a agent directory of our application desktop.
currently we populate our directory with
[code]
internal ICollection<CfgPerson> RetrieveAgents()
{
// Creates an instance of the CfgPersonQuery class.
// An instance of the configuration service is provided, so the query will be executable.
CfgPersonQuery query = new CfgPersonQuery(this.confService);
ICollection<CfgPerson> ret;
try
{
query.IsAgent = (int)CfgFlag.CFGTrue;
ret = query.Execute();
}
catch
{
Bandeau.Log.Error("RetrievePersonByName::ExecuteSingleResult() error");
ret = null;
}
return ret;
}
[/code]
how could we make a filter on the fact that we want to retrieve only list of agents who are already logged.
alternatively we would like to have call back and know how to set call back when an event : either new logged in or a logged out of an agent occured
Thierry
-
thank you for a very excellent post that you gave everyone here , sucj a great idea and i was looking for it . :)>
-
What is the basic requirement there? ???