OK - From what I can gather, you will be able to obtain a LOGINID and an indication of a LOGIN or LOGOUT, as well as a Timestamp from the LOGIN table and various other Configuration References.
I have tested a few scenarios and the TServer accepts all relevant EVENTS from the attached Switch/PBX (Avaya) then as long as the CME environment lists/registers [b]all [/b] LOGINID's (DN's) for both CTI and non-CTI Hard Phone/turret Extensions. For some clarity - if you add an IServer to the Connections of the StatServer, it can extract all of the associated LOGIN/LOGOUT EVENTS from the GAD, too.
For this to work, I need to make an assumption that the Extensions/DN's themselves are identifiable as "CTI" and "non-CTI". The results Table (LOGIN) can be extracted and queried on the basis of the Extension/LOGINID, Timestamp (Time Range) and Status (1 = LOGIN, 0 = LOGOUT)
Further to this, the following information is available on the LOGIN Table;
SWITCHDBID, DBDBID, QUEUEDBID, AGENTDBID, PLACEDBID, STATUS, TIME and LOGINID.
- It follows that it would be possible to create a LOOKUP Query from this information, to determine which LOGINID's (or PLACEDBID's) are logged in - and when they logged out. Of course, if the Agent simply closes GAD without logging out, you'd need to find a clever way of determining a "time-out" period of inactivity, to emulate a LOG OUT for those types of instances.
I'm sayng it [i]can [/i] work when using the LOGIN Table - with a bit of development!
- Anyone else want to venture their opinion?
Tony