" /> T event problem - Genesys CTI User Forum

Author Topic: T event problem  (Read 3535 times)

george

  • Guest
T event problem
« on: January 01, 1970, 12:00:00 AM »
Advertisement
hi,
When I receive an event in the TEvent function of the TConnection object, I need to find out the timestamp attached to the event (AttributeTimeinSecs). What function will give me this information? I saw the functions for the TEventInfo class but couldnt find any suitable function.
Any solutions????

thanks
george

Marked as best answer by on March 22, 2025, 08:22:55 AM

Peter

  • Guest
T event problem
« Reply #1 on: January 01, 1970, 12:00:00 AM »
  • Undo Best Answer
  • The TEvent event passes a TEventInfo object. One of the properties of TEVentInfo object is TTimestamp which returns a TTimestampInfo object. TTimestampInfo object will provide you with both seconds and useconds.

    george

    • Guest
    T event problem
    « Reply #2 on: January 01, 1970, 12:00:00 AM »
    Hi Peter,
    When I try to access TTimestampinfo, compiler gives an eror that ttimestampinfo is not a part of the class CTeventinfo. I have checked the header file event.h and there is no mention on anything like ttimestamp. Can you look up in your event.h file or the relevant class definition and if ttimestamp is there, can you paste that file in the reply??

    Thanks
    George