Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: faheemzaman on May 24, 2009, 04:40:04 PM

Title: how to get all extensions given agent id and skill (queue) using tlib
Post by: faheemzaman on May 24, 2009, 04:40:04 PM
Hi,

I need all the agent and call related events.

For that one thing i can do is to apply TqueryAddress on all the agent id's. It will return the extension number of the agents which will be logged in.
Then registering all these extension using TregisterAddress will give the events of agents and calls.

But in above scenarion i will have the extensions of only logged in agents.

Should i keep on polling givent agent id and when the agent logged in i will have the extension.

Or there is some other better way.

Can registering the queuedn will give the agents events and their extension?

Thanks,
Faheem
Title: Re: how to get all extensions given agent id and skill (queue) using tlib
Post by: victor on May 25, 2009, 03:34:21 PM
Faheem,

are you trying to retrieve all of agent ids, even those that are not in logged in?

Well, for that my friend, you will need to access CME. Either using a nice SELECT statement or by calling an undocumented CfgServer ActiveX interface available in Genesys ActiveX (and I guess in tlib as well).

There was a sample of how to do it posted earlier on about a year ago or so.

Official way would be to actually purchase Configuration SDK though, not TLIB.
Title: Re: how to get all extensions given agent id and skill (queue) using tlib
Post by: tony on May 26, 2009, 11:45:07 AM
Note: TLib EoL Statement is active, AFAIK...

T
Title: Re: how to get all extensions given agent id and skill (queue) using tlib
Post by: victor on May 27, 2009, 07:58:15 AM
Yes, I would strongly suggest NOT to use TLib since it is gone.