" /> how to get all extensions given agent id and skill (queue) using tlib - Genesys CTI User Forum

Author Topic: how to get all extensions given agent id and skill (queue) using tlib  (Read 3467 times)

Offline faheemzaman

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Advertisement
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

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
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.

tony

  • Guest
Note: TLib EoL Statement is active, AFAIK...

T

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Yes, I would strongly suggest NOT to use TLib since it is gone.