Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: MatSzafraniec on November 22, 2018, 01:06:34 PM

Title: Get current Place
Post by: MatSzafraniec on November 22, 2018, 01:06:34 PM
Hi,

could you introduce me how can I read current CfgPlace, where user is log on?

In my case, I want to read current CfgApplication and CfgPlace. First one it's quite simple:

[code]
string wdeApp = configService.RetrieveObject<CfgApplication>(new CfgApplicationQuery() { Name = configService.ApplicationName }).Name;
[/code]

But cannot find any way how to use above example (of course with CfgPlace and CfgPlaceQuery) to read current CfgPlace. Or is there other way?
Title: Re: Get current Place
Post by: cavagnaro on November 22, 2018, 03:27:48 PM
That is not a job for CfgServer but for TServer instead. You do a query on the agent state and returns such info. This has been discussed previously. Search the forum