📄 cstadefs.h
字号:
AG_NULL = 1,
AG_READY = 2,
AG_WORK_NOT_READY = 3,
AG_WORK_READY = 4
} AgentState_t;
typedef struct CSTAQueryAgentStateConfEvent_t {
AgentState_t agentState;
} CSTAQueryAgentStateConfEvent_t;
typedef struct CSTAQueryLastNumber_t {
DeviceID_t device;
} CSTAQueryLastNumber_t;
typedef struct CSTAQueryLastNumberConfEvent_t {
DeviceID_t lastNumber;
} CSTAQueryLastNumberConfEvent_t;
typedef struct CSTAQueryDeviceInfo_t {
DeviceID_t device;
} CSTAQueryDeviceInfo_t;
typedef struct CSTAQueryDeviceInfoConfEvent_t {
DeviceID_t device;
DeviceType_t deviceType;
DeviceClass_t deviceClass;
} CSTAQueryDeviceInfoConfEvent_t;
typedef struct CSTAReconnectCall_t {
ConnectionID_t activeCall;
ConnectionID_t heldCall;
} CSTAReconnectCall_t;
typedef struct CSTAReconnectCallConfEvent_t {
Nulltype null;
} CSTAReconnectCallConfEvent_t;
typedef struct CSTARetrieveCall_t {
ConnectionID_t heldCall;
} CSTARetrieveCall_t;
typedef struct CSTARetrieveCallConfEvent_t {
Nulltype null;
} CSTARetrieveCallConfEvent_t;
typedef struct CSTASetMwi_t {
DeviceID_t device;
Boolean messages;
} CSTASetMwi_t;
typedef struct CSTASetMwiConfEvent_t {
Nulltype null;
} CSTASetMwiConfEvent_t;
typedef struct CSTASetDnd_t {
DeviceID_t device;
Boolean doNotDisturb;
} CSTASetDnd_t;
typedef struct CSTASetDndConfEvent_t {
Nulltype null;
} CSTASetDndConfEvent_t;
typedef struct CSTASetFwd_t {
DeviceID_t device;
ForwardingInfo_t forward;
} CSTASetFwd_t;
typedef struct CSTASetFwdConfEvent_t {
Nulltype null;
} CSTASetFwdConfEvent_t;
typedef enum AgentMode_t {
AM_LOG_IN = 0,
AM_LOG_OUT = 1,
AM_NOT_READY = 2,
AM_READY = 3,
AM_WORK_NOT_READY = 4,
AM_WORK_READY = 5
} AgentMode_t;
typedef struct CSTASetAgentState_t {
DeviceID_t device;
AgentMode_t agentMode;
AgentID_t agentID;
AgentGroup_t agentGroup;
AgentPassword_t agentPassword;
} CSTASetAgentState_t;
typedef struct CSTASetAgentState_t2 {
DeviceID_t device;
AgentMode_t agentMode;
AgentID_t agentID;
AgentGroup_t agentGroup;
AgentPassword_t agentPassword;
// Added for Ecma2
PrivateData_t extensions;
// end Added
} CSTASetAgentState_t2;
typedef struct CSTASetAgentStateConfEvent_t {
Nulltype null;
} CSTASetAgentStateConfEvent_t;
typedef struct CSTATransferCall_t {
ConnectionID_t heldCall;
ConnectionID_t activeCall;
} CSTATransferCall_t;
typedef struct CSTATransferCallConfEvent_t {
ConnectionID_t newCall;
ConnectionList_t connList;
} CSTATransferCallConfEvent_t;
// Added by G.L. 17 February 98
typedef struct CSTASendDTMFTones_t {
ConnectionID_t connectionToSendTones;
CharacterToSend_t characterToSend;
ToneDuration_t toneDuration;
PauseDuration_t pauseDuration;
} CSTASendDTMFTones_t;
typedef struct CSTASendDTMFTonesConfEvent_t {
Nulltype null;
} CSTASendDTMFTonesConfEvent_t;
typedef struct CSTASingleStepConf_t {
ConnectionID_t activeCall;
DeviceID_t deviceToJoin;
ParticipationType_t participationType;
DeviceProfile_t joiningDeviceProfile;
AccountInfo_t accountCode;
AuthCode_t authCode;
CorrelatorData_t correlatorData;
PrivateData_t extensions;
}CSTASingleStepConf_t;
typedef struct CSTASingleStepConfConfEvent_t {
ConnectionID_t conferenceCall;
}CSTASingleStepConfConfEvent_t;
typedef struct CSTARecordEvent_t{
ConnectionID_t connection;
MessageID_t message;
int length;
int currentPosition;
CSTAEventCause_t cause;
}CSTARecordEvent_t;
typedef CSTARecordEvent_t CSTAStopEvent_t;
typedef struct CSTARecordMessage_t {
ConnectionID_t callToBeRecorded;
double samplingRate;
EncodingAlg_t encodingAlg;
int maxDuration;
TerminatingConditions_t termination;
//CSTACommonArguments_t extensions;
}CSTARecordMessage_t;
typedef struct CSTARecordMessageConfEvent_t {
MessageID_t message;
}CSTARecordMessageConfEvent_t;
typedef struct CSTAStopCall_t {
ConnectionID_t connection;
MessageID_t message;
//CSTACommonArguments_t extensions;
}CSTAStopCall_t;
typedef struct CSTAStopCallConfEvent_t {
Nulltype null;
}CSTAStopCallConfEvent_t;
//End Added
typedef struct CSTAUniversalFailureConfEvent_t {
CSTAUniversalFailure_t error;
} CSTAUniversalFailureConfEvent_t;
typedef struct CSTACallClearedEvent_t {
ConnectionID_t clearedCall;
LocalConnectionState_t localConnectionInfo;
CSTAEventCause_t cause;
} CSTACallClearedEvent_t;
typedef struct CSTAConferencedEvent_t {
ConnectionID_t primaryOldCall;
ConnectionID_t secondaryOldCall;
SubjectDeviceID_t confController;
SubjectDeviceID_t addedParty;
ConnectionList_t conferenceConnections;
LocalConnectionState_t localConnectionInfo;
CSTAEventCause_t cause;
} CSTAConferencedEvent_t;
typedef struct CSTAConnectionClearedEvent_t {
ConnectionID_t droppedConnection;
SubjectDeviceID_t releasingDevice;
LocalConnectionState_t localConnectionInfo;
CSTAEventCause_t cause;
} CSTAConnectionClearedEvent_t;
typedef struct CSTADeliveredEvent_t {
ConnectionID_t connection;
SubjectDeviceID_t alertingDevice;
CallingDeviceID_t callingDevice;
CalledDeviceID_t calledDevice;
RedirectionDeviceID_t lastRedirectionDevice;
LocalConnectionState_t localConnectionInfo;
CSTAEventCause_t cause;
} CSTADeliveredEvent_t;
// added for ECMA2
typedef struct CSTADeliveredEvent_t2 {
ConnectionID_t connection;
SubjectDeviceID_t alertingDevice;
CallingDeviceID_t callingDevice;
CalledDeviceID_t calledDevice;
RedirectionDeviceID_t lastRedirectionDevice;
ConnectionID_t originatingConnection;
LocalConnectionState_t localConnectionInfo;
CorrelatorData_t correlatorData;
CSTAEventCause_t cause;
} CSTADeliveredEvent_t2;
// end of added for ECMA2
typedef struct CSTADivertedEvent_t {
ConnectionID_t connection;
SubjectDeviceID_t divertingDevice;
CalledDeviceID_t newDestination;
LocalConnectionState_t localConnectionInfo;
CSTAEventCause_t cause;
} CSTADivertedEvent_t;
typedef struct CSTAEstablishedEvent_t {
ConnectionID_t establishedConnection;
SubjectDeviceID_t answeringDevice;
CallingDeviceID_t callingDevice;
CalledDeviceID_t calledDevice;
RedirectionDeviceID_t lastRedirectionDevice;
LocalConnectionState_t localConnectionInfo;
CSTAEventCause_t cause;
} CSTAEstablishedEvent_t;
typedef struct CSTAEstablishedEvent_t2 {
ConnectionID_t establishedConnection;
SubjectDeviceID_t answeringDevice;
CallingDeviceID_t callingDevice;
CalledDeviceID_t calledDevice;
RedirectionDeviceID_t lastRedirectionDevice;
// added for ECMA2
ConnectionID_t originatingConnection;
// end of added for ECMA2
LocalConnectionState_t localConnectionInfo;
// added for ECMA2
CorrelatorData_t correlatorData;
// end of added for ECMA2
CSTAEventCause_t cause;
} CSTAEstablishedEvent_t2;
typedef struct CSTAFailedEvent_t {
ConnectionID_t failedConnection;
SubjectDeviceID_t failingDevice;
CalledDeviceID_t calledDevice;
LocalConnectionState_t localConnectionInfo;
CSTAEventCause_t cause;
} CSTAFailedEvent_t;
typedef struct CSTAHeldEvent_t {
ConnectionID_t heldConnection;
SubjectDeviceID_t holdingDevice;
LocalConnectionState_t localConnectionInfo;
CSTAEventCause_t cause;
} CSTAHeldEvent_t;
typedef struct CSTANetworkReachedEvent_t {
ConnectionID_t connection;
SubjectDeviceID_t trunkUsed;
CalledDeviceID_t calledDevice;
LocalConnectionState_t localConnectionInfo;
CSTAEventCause_t cause;
} CSTANetworkReachedEvent_t;
typedef struct CSTAOriginatedEvent_t {
ConnectionID_t originatedConnection;
SubjectDeviceID_t callingDevice;
CalledDeviceID_t calledDevice;
SubjectDeviceID_t originatingDevice;
LocalConnectionState_t localConnectionInfo;
CSTAEventCause_t cause;
} CSTAOriginatedEvent_t;
typedef struct CSTAQueuedEvent_t {
ConnectionID_t queuedConnection;
SubjectDeviceID_t queue;
CallingDeviceID_t callingDevice;
CalledDeviceID_t calledDevice;
RedirectionDeviceID_t lastRedirectionDevice;
short numberQueued;
LocalConnectionState_t localConnectionInfo;
CSTAEventCause_t cause;
} CSTAQueuedEvent_t;
// added for ECMA2
typedef struct CSTAQueuedEvent_t2 {
ConnectionID_t queuedConnection;
SubjectDeviceID_t queue;
CallingDeviceID_t callingDevice;
CalledDeviceID_t calledDevice;
RedirectionDeviceID_t lastRedirectionDevice;
short numberQueued;
short callsInFront;
LocalConnectionState_t localConnectionInfo;
CorrelatorData_t correlatorData;
CSTAEventCause_t cause;
} CSTAQueuedEvent_t2;
// end of added for ECMA2
typedef struct CSTARetrievedEvent_t {
ConnectionID_t retrievedConnection;
SubjectDeviceID_t retrievingDevice;
LocalConnectionState_t localConnectionInfo;
CSTAEventCause_t cause;
} CSTARetrievedEvent_t;
typedef struct CSTAServiceInitiatedEvent_t {
ConnectionID_t initiatedConnection;
LocalConnectionState_t localConnectionInfo;
CSTAEventCause_t cause;
} CSTAServiceInitiatedEvent_t;
typedef struct CSTATransferredEvent_t {
ConnectionID_t primaryOldCall;
ConnectionID_t secondaryOldCall;
SubjectDeviceID_t transferringDevice;
SubjectDeviceID_t transferredDevice;
ConnectionList_t transferredConnections;
LocalConnectionState_t localConnectionInfo;
CSTAEventCause_t cause;
} CSTATransferredEvent_t;
//Feature Events
typedef struct CSTAAutoAnswerEvent_t {
SubjectDeviceID_t device;
Boolean autoAnswerOn;
}CSTAAutoAnswerEvent_t;
typedef struct CSTACallInformationEvent_t {
ConnectionID_t connection;
SubjectDeviceID_t device;
AccountInfo_t accountInfo;
AuthCode_t authorisationCode;
} CSTACallInformationEvent_t;
typedef struct CSTADoNotDisturbEvent_t {
SubjectDeviceID_t device;
Boolean doNotDisturbOn;
} CSTADoNotDisturbEvent_t;
typedef struct CSTAForwardingEvent_t {
SubjectDeviceID_t device;
ForwardingInfo_t forwardingInformation;
SubjectDeviceID_t forwardedTo;
} 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;
// added for ECMA2
typedef struct CSTALoggedOnEvent_t2 {
SubjectDeviceID_t agentDevice;
AgentID_t agentID;
AgentGroup_t agentGroup;
AgentPassword_t password;
CSTAEventCause_t cause;
} CSTALoggedOnEvent_t2;
// End added for ECMA2
typedef struct CSTALoggedOffEvent_t {
SubjectDeviceID_t agentDevice;
AgentID_t agentID;
AgentGroup_t agentGroup;
} CSTALoggedOffEvent_t;
// added for ECMA2
typedef struct CSTALoggedOffEvent_t2 {
SubjectDeviceID_t agentDevice;
AgentID_t agentID;
AgentGroup_t agentGroup;
AgentPassword_t password;
CSTAEventCause_t cause;
} CSTALoggedOffEvent_t2;
// End added for ECMA2
typedef struct CSTANotReadyEvent_t {
SubjectDeviceID_t agentDevice;
AgentID_t agentID;
} CSTANotReadyEvent_t;
// added for ECMA2
typedef struct CSTANotReadyEvent_t2 {
SubjectDeviceID_t agentDevice;
AgentID_t agentID;
CSTAEventCause_t cause;
} CSTANotReadyEvent_t2;
// End added for ECMA2
typedef struct CSTAReadyEvent_t {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -