Jump to: navigation, search

TEvent

Important
Although listed here, certain components of the TEvent structure are reserved for internal use only.

Syntax

typedef struct TEvent_tag {
	enum TMessageType		Event;
	TServer			Server;
	int			ReferenceID;
	char			*HomeLocation;
	char			*CustomerID;
	TConnectionID		ConnID;
	TConnectionID		PreviousConnID;
	TCallID			CallID;
	int			NodeID;
	TCallID			NetworkCallID;
	int			NetworkNodeID;
	TCallHistoryInfo		CallHistory;
	TCallType			CallType;
	TCallState		CallState;
	TAgentID			AgentID;
	TAgentWorkMode		WorkMode;
	long			ErrorCode;
	char			*ErrorMessage;
	TFile			FileHandle;
	char			*CollectedDigits;
	char			LastCollectedDigit;
	TDirectoryNumber		ThisDN;
	TDirectoryNumber		ThisQueue;
	unsigned long		ThisTrunk;
	TDNRole			ThisDNRole;
	TDirectoryNumber		OtherDN;
	TDirectoryNumber		OtherQueue;
	unsigned long		OtherTrunk;
	TDNRole			OtherDNRole;
	TDirectoryNumber		ThirdPartyDN;
	TDirectoryNumber		ThirdPartyQueue;
	unsigned long		ThirdPartyTrunk;
	TDNRole			ThirdPartyDNRole;
	TDirectoryNumber		DNIS;
	TDirectoryNumber		ANI;
	TAddressInfoType		InfoType;
	TAddressInfoStatus		InfoStatus;
	TTreatmentType		TreatmentType;
	TRouteType		RouteType;
	char			*ServerVersion;
	TServerRole		ServerRole;
	TMask			Capabilities;
	TKVList			*UserData;
	TKVList			*Reasons;
	TKVList			*Extensions;
	TTimeStamp		Time;
	void			*RawData;
	TDirectoryNumber		AccessNumber;
	TXRouteType		XRouteType;
	TReferenceID		XReferenceID;
	TKVList			*TreatmentParameters;
	char			*Place;
	int			Timeout;
	TMediaType		MediaType;
	TLocationInfoType		LocationInfo;
	TMonitorNextCallType	MonitorNextCallType;
	TPrivateMsgType		PrivateEvent;
	/* Application data (set by TSetApplicationData) */
	void			*ApplicationData;
} TEvent;
This page was last edited on March 17, 2016, at 18:08.
Comments or questions about this documentation? Contact us for support!