📄 cstadefs.h
字号:
typedef struct CSTAForwardingEvent_t {
SubjectDeviceID_t device;
ForwardingInfo_t forwardingInformation;
} CSTAForwardingEvent_t;
typedef struct CSTAMessageWaitingEvent_t {
CalledDeviceID_t deviceForMessage;
SubjectDeviceID_t invokingDevice;
Boolean messageWaitingOn;
} CSTAMessageWaitingEvent_t;
typedef struct CSTALoggedOnEvent_t {
SubjectDeviceID_t agentDevice;
AgentID_t agentID;
AgentGroup_t agentGroup;
AgentPassword_t password;
} CSTALoggedOnEvent_t;
typedef struct CSTALoggedOffEvent_t {
SubjectDeviceID_t agentDevice;
AgentID_t agentID;
AgentGroup_t agentGroup;
} CSTALoggedOffEvent_t;
typedef struct CSTANotReadyEvent_t {
SubjectDeviceID_t agentDevice;
AgentID_t agentID;
} CSTANotReadyEvent_t;
typedef struct CSTAReadyEvent_t {
SubjectDeviceID_t agentDevice;
AgentID_t agentID;
} CSTAReadyEvent_t;
typedef struct CSTAWorkNotReadyEvent_t {
SubjectDeviceID_t agentDevice;
AgentID_t agentID;
} CSTAWorkNotReadyEvent_t;
typedef struct CSTAWorkReadyEvent_t {
SubjectDeviceID_t agentDevice;
AgentID_t agentID;
} CSTAWorkReadyEvent_t;
typedef struct CSTARouteRegisterReq_t {
DeviceID_t routingDevice;
} CSTARouteRegisterReq_t;
typedef struct CSTARouteRegisterReqConfEvent_t {
RouteRegisterReqID_t registerReqID;
} CSTARouteRegisterReqConfEvent_t;
typedef struct CSTARouteRegisterCancel_t {
RouteRegisterReqID_t routeRegisterReqID;
} CSTARouteRegisterCancel_t;
typedef struct CSTARouteRegisterCancelConfEvent_t {
RouteRegisterReqID_t routeRegisterReqID;
} CSTARouteRegisterCancelConfEvent_t;
typedef struct CSTARouteRegisterAbortEvent_t {
RouteRegisterReqID_t routeRegisterReqID;
} CSTARouteRegisterAbortEvent_t;
typedef struct CSTARouteRequestEvent_t {
RouteRegisterReqID_t routeRegisterReqID;
RoutingCrossRefID_t routingCrossRefID;
DeviceID_t currentRoute;
DeviceID_t callingDevice;
ConnectionID_t routedCall;
SelectValue_t routedSelAlgorithm;
Boolean priority;
SetUpValues_t setupInformation;
} CSTARouteRequestEvent_t;
typedef struct CSTARouteSelectRequest_t {
RouteRegisterReqID_t routeRegisterReqID;
RoutingCrossRefID_t routingCrossRefID;
DeviceID_t routeSelected;
RetryValue_t remainRetry;
SetUpValues_t setupInformation;
Boolean routeUsedReq;
} CSTARouteSelectRequest_t;
typedef struct CSTAReRouteRequest_t {
RouteRegisterReqID_t routeRegisterReqID;
RoutingCrossRefID_t routingCrossRefID;
} CSTAReRouteRequest_t;
typedef struct CSTARouteUsedEvent_t {
RouteRegisterReqID_t routeRegisterReqID;
RoutingCrossRefID_t routingCrossRefID;
DeviceID_t routeUsed;
DeviceID_t callingDevice;
Boolean domain;
} CSTARouteUsedEvent_t;
typedef struct CSTARouteEndEvent_t {
RouteRegisterReqID_t routeRegisterReqID;
RoutingCrossRefID_t routingCrossRefID;
CSTAUniversalFailure_t errorValue;
} CSTARouteEndEvent_t;
typedef struct CSTARouteEndRequest_t {
RouteRegisterReqID_t routeRegisterReqID;
RoutingCrossRefID_t routingCrossRefID;
CSTAUniversalFailure_t errorValue;
} CSTARouteEndRequest_t;
typedef struct CSTAEscapeSvc_t {
Nulltype null;
} CSTAEscapeSvc_t;
typedef struct CSTAEscapeSvcConfEvent_t {
Nulltype null;
} CSTAEscapeSvcConfEvent_t;
typedef struct CSTAEscapeSvcReqEvent_t {
Nulltype null;
} CSTAEscapeSvcReqEvent_t;
typedef struct CSTAEscapeSvcReqConf_t {
CSTAUniversalFailure_t errorValue;
} CSTAEscapeSvcReqConf_t;
typedef struct CSTAPrivateEvent_t {
Nulltype null;
} CSTAPrivateEvent_t;
typedef struct CSTAPrivateStatusEvent_t {
Nulltype null;
} CSTAPrivateStatusEvent_t;
typedef struct CSTASendPrivateEvent_t {
Nulltype null;
} CSTASendPrivateEvent_t;
typedef struct CSTABackInServiceEvent_t {
DeviceID_t device;
CSTAEventCause_t cause;
} CSTABackInServiceEvent_t;
typedef struct CSTAOutOfServiceEvent_t {
DeviceID_t device;
CSTAEventCause_t cause;
} CSTAOutOfServiceEvent_t;
typedef enum SystemStatus_t {
SS_INITIALIZING = 0,
SS_ENABLED = 1,
SS_NORMAL = 2,
SS_MESSAGES_LOST = 3,
SS_DISABLED = 4,
SS_OVERLOAD_IMMINENT = 5,
SS_OVERLOAD_REACHED = 6,
SS_OVERLOAD_RELIEVED = 7
} SystemStatus_t;
typedef unsigned char SystemStatusFilter_t;
#define SF_INITIALIZING 0x80
#define SF_ENABLED 0x40
#define SF_NORMAL 0x20
#define SF_MESSAGES_LOST 0x10
#define SF_DISABLED 0x08
#define SF_OVERLOAD_IMMINENT 0x04
#define SF_OVERLOAD_REACHED 0x02
#define SF_OVERLOAD_RELIEVED 0x01
typedef struct CSTAReqSysStat_t {
Nulltype null;
} CSTAReqSysStat_t;
typedef struct CSTASysStatReqConfEvent_t {
SystemStatus_t systemStatus;
} CSTASysStatReqConfEvent_t;
typedef struct CSTASysStatStart_t {
SystemStatusFilter_t statusFilter;
} CSTASysStatStart_t;
typedef struct CSTASysStatStartConfEvent_t {
SystemStatusFilter_t statusFilter;
} CSTASysStatStartConfEvent_t;
typedef struct CSTASysStatStop_t {
Nulltype null;
} CSTASysStatStop_t;
typedef struct CSTASysStatStopConfEvent_t {
Nulltype null;
} CSTASysStatStopConfEvent_t;
typedef struct CSTAChangeSysStatFilter_t {
SystemStatusFilter_t statusFilter;
} CSTAChangeSysStatFilter_t;
typedef struct CSTAChangeSysStatFilterConfEvent_t {
SystemStatusFilter_t statusFilterSelected;
SystemStatusFilter_t statusFilterActive;
} CSTAChangeSysStatFilterConfEvent_t;
typedef struct CSTASysStatEvent_t {
SystemStatus_t systemStatus;
} CSTASysStatEvent_t;
typedef struct CSTASysStatEndedEvent_t {
Nulltype null;
} CSTASysStatEndedEvent_t;
typedef struct CSTASysStatReqEvent_t {
Nulltype null;
} CSTASysStatReqEvent_t;
typedef struct CSTAReqSysStatConf_t {
SystemStatus_t systemStatus;
} CSTAReqSysStatConf_t;
typedef struct CSTASysStatEventSend_t {
SystemStatus_t systemStatus;
} CSTASysStatEventSend_t;
typedef struct CSTAMonitorDevice_t {
DeviceID_t deviceID;
CSTAMonitorFilter_t monitorFilter;
} CSTAMonitorDevice_t;
typedef struct CSTAMonitorCall_t {
ConnectionID_t call;
CSTAMonitorFilter_t monitorFilter;
} CSTAMonitorCall_t;
typedef struct CSTAMonitorCallsViaDevice_t {
DeviceID_t deviceID;
CSTAMonitorFilter_t monitorFilter;
} CSTAMonitorCallsViaDevice_t;
typedef struct CSTAMonitorConfEvent_t {
CSTAMonitorCrossRefID_t monitorCrossRefID;
CSTAMonitorFilter_t monitorFilter;
} CSTAMonitorConfEvent_t;
typedef struct CSTAChangeMonitorFilter_t {
CSTAMonitorCrossRefID_t monitorCrossRefID;
CSTAMonitorFilter_t monitorFilter;
} CSTAChangeMonitorFilter_t;
typedef struct CSTAChangeMonitorFilterConfEvent_t {
CSTAMonitorFilter_t monitorFilter;
} CSTAChangeMonitorFilterConfEvent_t;
typedef struct CSTAMonitorStop_t {
CSTAMonitorCrossRefID_t monitorCrossRefID;
} CSTAMonitorStop_t;
typedef struct CSTAMonitorStopConfEvent_t {
Nulltype null;
} CSTAMonitorStopConfEvent_t;
typedef struct CSTAMonitorEndedEvent_t {
CSTAEventCause_t cause;
} CSTAMonitorEndedEvent_t;
typedef struct CSTASnapshotCall_t {
ConnectionID_t snapshotObject;
} CSTASnapshotCall_t;
typedef struct CSTASnapshotCallConfEvent_t {
CSTASnapshotCallData_t snapshotData;
} CSTASnapshotCallConfEvent_t;
typedef struct CSTASnapshotDevice_t {
DeviceID_t snapshotObject;
} CSTASnapshotDevice_t;
typedef struct CSTASnapshotDeviceConfEvent_t {
CSTASnapshotDeviceData_t snapshotData;
} CSTASnapshotDeviceConfEvent_t;
typedef struct CSTAGetAPICaps_t {
Nulltype null;
} CSTAGetAPICaps_t;
typedef struct CSTAGetAPICapsConfEvent_t {
short alternateCall;
short answerCall;
short callCompletion;
short clearCall;
short clearConnection;
short conferenceCall;
short consultationCall;
short deflectCall;
short pickupCall;
short groupPickupCall;
short holdCall;
short makeCall;
short makePredictiveCall;
short queryMwi;
short queryDnd;
short queryFwd;
short queryAgentState;
short queryLastNumber;
short queryDeviceInfo;
short reconnectCall;
short retrieveCall;
short setMwi;
short setDnd;
short setFwd;
short setAgentState;
short transferCall;
short eventReport;
short callClearedEvent;
short conferencedEvent;
short connectionClearedEvent;
short deliveredEvent;
short divertedEvent;
short establishedEvent;
short failedEvent;
short heldEvent;
short networkReachedEvent;
short originatedEvent;
short queuedEvent;
short retrievedEvent;
short serviceInitiatedEvent;
short transferredEvent;
short callInformationEvent;
short doNotDisturbEvent;
short forwardingEvent;
short messageWaitingEvent;
short loggedOnEvent;
short loggedOffEvent;
short notReadyEvent;
short readyEvent;
short workNotReadyEvent;
short workReadyEvent;
short backInServiceEvent;
short outOfServiceEvent;
short privateEvent;
short routeRequestEvent;
short reRoute;
short routeSelect;
short routeUsedEvent;
short routeEndEvent;
short monitorDevice;
short monitorCall;
short monitorCallsViaDevice;
short changeMonitorFilter;
short monitorStop;
short monitorEnded;
short snapshotDeviceReq;
short snapshotCallReq;
short escapeService;
short privateStatusEvent;
short escapeServiceEvent;
short escapeServiceConf;
short sendPrivateEvent;
short sysStatReq;
short sysStatStart;
short sysStatStop;
short changeSysStatFilter;
short sysStatReqEvent;
short sysStatReqConf;
short sysStatEvent;
} CSTAGetAPICapsConfEvent_t;
typedef enum CSTALevel_t {
CSTA_HOME_WORK_TOP = 1,
CSTA_AWAY_WORK_TOP = 2,
CSTA_DEVICE_DEVICE_MONITOR = 3,
CSTA_CALL_DEVICE_MONITOR = 4,
CSTA_CALL_CONTROL = 5,
CSTA_ROUTING = 6,
CSTA_CALL_CALL_MONITOR = 7
} CSTALevel_t;
typedef enum SDBLevel_t {
NO_SDB_CHECKING = -1,
ACS_ONLY = 1,
ACS_AND_CSTA_CHECKING = 0
} SDBLevel_t;
typedef struct CSTAGetDeviceList_t {
long index;
CSTALevel_t level;
} CSTAGetDeviceList_t;
typedef struct DeviceList_t {
short count;
DeviceID_t device[20];
} DeviceList_t;
typedef struct CSTAGetDeviceListConfEvent_t {
SDBLevel_t driverSdbLevel;
CSTALevel_t level;
long index;
DeviceList_t devList;
} CSTAGetDeviceListConfEvent_t;
typedef struct CSTAQueryCallMonitor_t {
Nulltype null;
} CSTAQueryCallMonitor_t;
typedef struct CSTAQueryCallMonitorConfEvent_t {
Boolean callMonitor;
} CSTAQueryCallMonitorConfEvent_t;
typedef struct CSTARouteRequestExtEvent_t {
RouteRegisterReqID_t routeRegisterReqID;
RoutingCrossRefID_t routingCrossRefID;
CalledDeviceID_t currentRoute;
CallingDeviceID_t callingDevice;
ConnectionID_t routedCall;
SelectValue_t routedSelAlgorithm;
Boolean priority;
SetUpValues_t setupInformation;
} CSTARouteRequestExtEvent_t;
typedef struct CSTARouteUsedExtEvent_t {
RouteRegisterReqID_t routeRegisterReqID;
RoutingCrossRefID_t routingCrossRefID;
CalledDeviceID_t routeUsed;
CallingDeviceID_t callingDevice;
Boolean domain;
} CSTARouteUsedExtEvent_t;
typedef CSTARouteSelectRequest_t CSTARouteSelectInvRequest_t;
typedef CSTARouteEndRequest_t CSTARouteEndInvRequest_t;
extern void FAR *csta_asn_tbl; /* encoder-decoder control table */
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -