" /> Exact time of an agent Login and Logout - Genesys CTI User Forum

Author Topic: Exact time of an agent Login and Logout  (Read 9464 times)

Gabriel Madoz

  • Guest
Exact time of an agent Login and Logout
« on: January 01, 1970, 12:00:00 AM »
Advertisement
We have to know exactly on format hh:mm:ss what is the time for login and logout of an agent in our Call center.

Genesys provides only the Total_login_time but we need the exactly values.

Someone told me about two tables: LOGIN and OBJ_TO_OBJ and from there you could do some extra work to resolve..

Does anyone have a suggestion?

Thanks in advance

Gauthier

  • Guest
Exact time of an agent Login and Logout
« Reply #1 on: January 01, 1970, 12:00:00 AM »
Have you had a look at the Stat Server documentation regarding the LOGIN table that you can activate within Stat Server. This table should store this kind of information.

Marked as best answer by on April 28, 2025, 01:55:24 AM

Gabriel Madoz

  • Guest
Exact time of an agent Login and Logout
« Reply #2 on: January 01, 1970, 12:00:00 AM »
  • Undo Best Answer
  • Ok, we have already use LOGIN table and cfg_person and create a new view that looks the following:

    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_NULLS ON
    GO

    ALTER view Tabla_Login as

    select TOP 1000 LOGINID,CASE STATUS WHEN 1 THEN 'Login' ELSE 'Logout' END AS STATUS,dateadd(ss,[TIME]10800, '01/01/1970') as TIME,last_name,first_name
    from LOGIN
    left outer join cfg_person on LOGIN.AGENTDBID=cfg_person.DBID
    ORDER BY last_name,first_name,LOGINID,TIME asc





    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    SET ANSI_NULLS ON
    GO

    Gabriel Madoz

    • Guest
    Exact time of an agent Login and Logout
    « Reply #3 on: January 01, 1970, 12:00:00 AM »
    Ok, we have already use LOGIN table and cfg_person and create a new view that looks the following:

    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_NULLS ON
    GO

    ALTER view Tabla_Login as

    select TOP 1000 LOGINID,CASE STATUS WHEN 1 THEN 'Login' ELSE 'Logout' END AS STATUS,dateadd(ss,[TIME]10800, '01/01/1970') as TIME,last_name,first_name
    from LOGIN
    left outer join cfg_person on LOGIN.AGENTDBID=cfg_person.DBID
    ORDER BY last_name,first_name,LOGINID,TIME asc





    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    SET ANSI_NULLS ON
    GO