⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cstadefs.h

📁 利用AVAYA AES的TASPI开发的一套软电话系统,仅供参考,ACTIVEX形式的.
💻 H
📖 第 1 页 / 共 3 页
字号:

typedef enum SelectValue_t {
    SV_NORMAL = 0,
    SV_LEAST_COST = 1,
    SV_EMERGENCY = 2,
    SV_ACD = 3,
    SV_USER_DEFINED = 4
} SelectValue_t;

typedef struct SetUpValues_t {
    _Int             length;
    unsigned char   FAR *value;
} SetUpValues_t;

typedef short           RetryValue_t;
#define                     noListAvailable -1
#define                     noCountAvailable -2

typedef long            RoutingCrossRefID_t;

typedef long            RouteRegisterReqID_t;

typedef struct CSTAAlternateCall_t {
    ConnectionID_t  activeCall;
    ConnectionID_t  otherCall;
} CSTAAlternateCall_t;

typedef struct CSTAAlternateCallConfEvent_t {
    Nulltype        null;
} CSTAAlternateCallConfEvent_t;

typedef struct CSTAAnswerCall_t {
    ConnectionID_t  alertingCall;
} CSTAAnswerCall_t;

typedef struct CSTAAnswerCallConfEvent_t {
    Nulltype        null;
} CSTAAnswerCallConfEvent_t;

typedef enum Feature_t {
    FT_CAMP_ON = 0,
    FT_CALL_BACK = 1,
    FT_INTRUDE = 2
} Feature_t;

typedef struct CSTACallCompletion_t {
    Feature_t       feature;
    ConnectionID_t  call;
} CSTACallCompletion_t;

typedef struct CSTACallCompletionConfEvent_t {
    Nulltype        null;
} CSTACallCompletionConfEvent_t;

typedef struct CSTAClearCall_t {
    ConnectionID_t  call;
} CSTAClearCall_t;

typedef struct CSTAClearCallConfEvent_t {
    Nulltype        null;
} CSTAClearCallConfEvent_t;

typedef struct CSTAClearConnection_t {
    ConnectionID_t  call;
} CSTAClearConnection_t;

typedef struct CSTAClearConnectionConfEvent_t {
    Nulltype        null;
} CSTAClearConnectionConfEvent_t;

typedef struct CSTAConferenceCall_t {
    ConnectionID_t  heldCall;
    ConnectionID_t  activeCall;
} CSTAConferenceCall_t;

typedef struct CSTAConferenceCallConfEvent_t {
    ConnectionID_t  newCall;
    ConnectionList_t connList;
} CSTAConferenceCallConfEvent_t;

typedef struct CSTAConsultationCall_t {
    ConnectionID_t  activeCall;
    DeviceID_t      calledDevice;
} CSTAConsultationCall_t;

typedef struct CSTAConsultationCallConfEvent_t {
    ConnectionID_t  newCall;
} CSTAConsultationCallConfEvent_t;

typedef struct CSTADeflectCall_t {
    ConnectionID_t  deflectCall;
    DeviceID_t      calledDevice;
} CSTADeflectCall_t;

typedef struct CSTADeflectCallConfEvent_t {
    Nulltype        null;
} CSTADeflectCallConfEvent_t;

typedef struct CSTAPickupCall_t {
    ConnectionID_t  deflectCall;
    DeviceID_t      calledDevice;
} CSTAPickupCall_t;

typedef struct CSTAPickupCallConfEvent_t {
    Nulltype        null;
} CSTAPickupCallConfEvent_t;

typedef struct CSTAGroupPickupCall_t {
    ConnectionID_t  deflectCall;
    DeviceID_t      pickupDevice;
} CSTAGroupPickupCall_t;

typedef struct CSTAGroupPickupCallConfEvent_t {
    Nulltype        null;
} CSTAGroupPickupCallConfEvent_t;

typedef struct CSTAHoldCall_t {
    ConnectionID_t  activeCall;
    Boolean         reservation;
} CSTAHoldCall_t;

typedef struct CSTAHoldCallConfEvent_t {
    Nulltype        null;
} CSTAHoldCallConfEvent_t;

typedef struct CSTAMakeCall_t {
    DeviceID_t      callingDevice;
    DeviceID_t      calledDevice;
} CSTAMakeCall_t;

typedef struct CSTAMakeCallConfEvent_t {
    ConnectionID_t  newCall;
} CSTAMakeCallConfEvent_t;

typedef enum AllocationState_t {
    AS_CALL_DELIVERED = 0,
    AS_CALL_ESTABLISHED = 1
} AllocationState_t;

typedef struct CSTAMakePredictiveCall_t {
    DeviceID_t      callingDevice;
    DeviceID_t      calledDevice;
    AllocationState_t allocationState;
} CSTAMakePredictiveCall_t;

typedef struct CSTAMakePredictiveCallConfEvent_t {
    ConnectionID_t  newCall;
} CSTAMakePredictiveCallConfEvent_t;

typedef struct CSTAQueryMwi_t {
    DeviceID_t      device;
} CSTAQueryMwi_t;

typedef struct CSTAQueryMwiConfEvent_t {
    Boolean         messages;
} CSTAQueryMwiConfEvent_t;

typedef struct CSTAQueryDnd_t {
    DeviceID_t      device;
} CSTAQueryDnd_t;

typedef struct CSTAQueryDndConfEvent_t {
    Boolean         doNotDisturb;
} CSTAQueryDndConfEvent_t;

typedef struct CSTAQueryFwd_t {
    DeviceID_t      device;
} CSTAQueryFwd_t;

typedef struct CSTAQueryFwdConfEvent_t {
    ListForwardParameters_t forward;
} CSTAQueryFwdConfEvent_t;

typedef struct CSTAQueryAgentState_t {
    DeviceID_t      device;
} CSTAQueryAgentState_t;

typedef enum AgentState_t {
    AG_NOT_READY = 0,
    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 enum DeviceType_t {
    DT_STATION = 0,
    DT_LINE = 1,
    DT_BUTTON = 2,
    DT_ACD = 3,
    DT_TRUNK = 4,
    DT_OPERATOR = 5,
    DT_STATION_GROUP = 16,
    DT_LINE_GROUP = 17,
    DT_BUTTON_GROUP = 18,
    DT_ACD_GROUP = 19,
    DT_TRUNK_GROUP = 20,
    DT_OPERATOR_GROUP = 21,
    DT_OTHER = 255
} DeviceType_t;

typedef unsigned char   DeviceClass_t;
#define                     DC_VOICE 0x80
#define                     DC_DATA 0x40
#define                     DC_IMAGE 0x20
#define                     DC_OTHER 0x10

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 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;

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;

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 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;
    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;

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;

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;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -