Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: george on January 01, 1970, 12:00:00 AM

Title: T event problem
Post by: george on January 01, 1970, 12:00:00 AM
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
Title: T event problem
Post by: Peter on January 01, 1970, 12:00:00 AM
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.
Title: T event problem
Post by: george 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