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

📄 ctcdef.h

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

#else

extern unsigned int C_CALLING ctcPickupCall (
                ctcChanId     channel,
                unsigned int  callRefId,
                unsigned char *calledNumber
);

#endif


#if (!defined(_CTC_NONDEF_PROTO))

extern unsigned int C_CALLING ctcDeflectCall (
                ctcChanId     channel,
	        unsigned int     callRefId,
	        ctcDeviceString  calledNumber,
	        ctcApplString    applicationData
);

#else

extern unsigned int C_CALLING ctcDeflectCall (
                ctcChanId     channel,
	        unsigned int  callRefId,
	        unsigned char *calledNumber,
	        unsigned char *applicationData
);

#endif


#if (!defined(_CTC_NONDEF_PROTO))

extern unsigned int C_CALLING ctcRemoveMonitor (
                ctcChanId       channel,
	        ctcDeviceString deviceDN
);

#else

extern unsigned int C_CALLING ctcRemoveMonitor (
                ctcChanId     channel,
	        unsigned char *deviceDN
);

#endif


#if (!defined(_CTC_NONDEF_PROTO))

extern unsigned int C_CALLING ctcSendDTMF (
        ctcChanId        channel,
		unsigned int    callRefId,
		ctcDeviceString DTMFdigits
);

#else

extern unsigned int C_CALLING ctcSendDTMF (
                ctcChanId     channel,
		unsigned int  callRefId,
		unsigned char *DTMFdigits
);

#endif


#if (!defined(_CTC_NONDEF_PROTO))

extern unsigned int C_CALLING ctcSingleStepTransfer (
                ctcChanId        channel,
	        ctcDeviceString  calledNumber,
	        unsigned int     callRefId,
	        ctcApplString    applicationData,
	        unsigned int     *newCallRefId
);

#else

extern unsigned int C_CALLING ctcSingleStepTransfer (
                ctcChanId      channel,
	        unsigned char  *calledNumber,
	        unsigned int   callRefId,
	        unsigned char  *applicationData,
	        unsigned int   *newCallRefId
);

#endif


#if (!defined(_CTC_NONDEF_PROTO))

extern unsigned int C_CALLING ctcMlpCollectDigits (
                ctcChanId         channel,
		unsigned int     numDigits,
	        unsigned int     clearMode,
	        unsigned int     idTimeout,
	        ctcMlpTermKeys   terminators
);

#else

extern unsigned int C_CALLING ctcMlpCollectDigits (
                ctcChanId     channel,
		unsigned int  numDigits,
	        unsigned int  clearMode,
	        unsigned int  idTimeout,
	        unsigned char *terminators
);

#endif


#if (!defined(_CTC_NONDEF_PROTO))

extern unsigned int C_CALLING ctcMlpLogonMailBox (
                ctcChanId        channel,
	        ctcMlpUserId    userId,
	        ctcMlpPassword  password
);

#else

extern unsigned int C_CALLING ctcMlpLogonMailBox (
                ctcChanId     channel,
	        unsigned char *userId,
	        unsigned char *password
);

#endif

#if (!defined(_CTC_NONDEF_PROTO))

extern unsigned int C_CALLING ctcMlpOpenVoiceFile (
                ctcChanId        channel,
	        ctcMlpFileName  fileName,
	        unsigned int    *fileId
);

#else

extern unsigned int C_CALLING ctcMlpOpenVoiceFile (
                ctcChanId     channel,
	        unsigned char *fileName,
	        unsigned int  *fileId
);

#endif

extern unsigned int C_CALLING ctcMlpLogoffMailBox (
                ctcChanId channel
);

extern unsigned int C_CALLING ctcMlpCloseVoiceFile (
                ctcChanId    channel,
                unsigned int fileId
);

extern unsigned int C_CALLING ctcMlpPlayMessage (
                ctcChanId      channel,
                unsigned int   fileId,
                unsigned int   clearMode,
                unsigned int   interruptMode,
                unsigned int   numMessages,
                unsigned short *msgSegments
);

extern unsigned int C_CALLING ctcMlpMergeCalls (
                ctcChanId    channel,
                unsigned int origCallRefId,
		unsigned int termCallRefId
);

extern unsigned int C_CALLING ctcMlpWarningTone (
                ctcChanId    channel,
                unsigned int toneType,
		unsigned int toneParty,
		unsigned int toneLength
);

extern unsigned int C_CALLING ctcAnswerCall (
                ctcChanId    channel,
                unsigned int callRefId
);

extern unsigned int C_CALLING ctcCancelCall (
                ctcChanId    channel,
                unsigned int callRefId
);

extern unsigned int C_CALLING ctcConferenceJoin (
                ctcChanId    channel,
                unsigned int heldCallRefId,
                unsigned int activeCallRefId,
                unsigned int *newCallRefId
);

extern unsigned int C_CALLING ctcGetDoNotDisturb (
                ctcChanId    channel,
                unsigned int *DNDMode
);

extern unsigned int C_CALLING ctcGetDoNotDisturb (
                ctcChanId    channel,
                unsigned int *DNDMode
);

extern unsigned int C_CALLING ctcGetMessageWaiting (
                ctcChanId    channel,
                unsigned int *messageMode
);

extern unsigned int C_CALLING ctcGetMonitor (
                ctcChanId    channel,
                unsigned int *monitorMode

);

extern unsigned int C_CALLING ctcHangupCall (
                ctcChanId    channel,
                unsigned int callRefId
);

extern unsigned int C_CALLING ctcReconnectHeld (
                ctcChanId    channel,
                unsigned int callRefId,
                unsigned int secRefId
);

extern unsigned int C_CALLING ctcRespondToInactiveCall (
                ctcChanId    channel,
                unsigned int callRefId,
                unsigned int action
);

extern unsigned int C_CALLING ctcRetrieveHeld (
                ctcChanId    channel,
                unsigned int callRefId
);

extern unsigned int C_CALLING ctcSetDoNotDisturb (
                ctcChanId    channel,
                unsigned int DNDMode
);

extern unsigned int C_CALLING ctcSetMessageWaiting (
                ctcChanId    channel,
                unsigned int messageMode
);

extern unsigned int C_CALLING ctcSetMonitor (
                ctcChanId    channel,
                unsigned int monitorMode
);

extern unsigned int C_CALLING ctcSwapWithHeld (
                ctcChanId    channel,
                unsigned int heldCallRefId,
                unsigned int activeCallRefId
);

extern unsigned int C_CALLING ctcTransferCall (
                ctcChanId    channel,
                unsigned int heldCallRefId,
                unsigned int activeCallRefId,
                unsigned int *newCallRefId
);

extern unsigned int C_CALLING ctcHoldCall (
                ctcChanId    channel,
                unsigned int callRefId
);

#if (!defined(_CTC_NONDEF_PROTO))

extern unsigned int C_CALLING ctcAddMonitor (
                ctcChanId     channel,
                ctcAssignData *assignData
);

#else 

extern unsigned int C_CALLING ctcAddMonitor (
                ctcChanId            channel,
                struct ctcAssignData *assignData
);

#endif

extern unsigned int C_CALLING ctcSnapshot (
                ctcChanId   channel,
                ctcCallData callData[ctcCallDataLen],
		unsigned int *numberOfCalls
);

extern unsigned int C_CALLING ctcSetRoutingEnable (
                ctcChanId    channel,
                unsigned int routingEnable
);

extern unsigned int C_CALLING ctcGetRoutingEnable (
                ctcChanId    channel,
                unsigned int *routingEnable
);

extern unsigned int C_CALLING ctcCstaEscape (
                ctcChanId  channel,
                ctcPrivateDataArray *privateData
);

extern unsigned int C_CALLING ctcCstaSetPrivateData(
                ctcChanId channel,
                ctcPrivateDataArray *privateData
);

extern unsigned int C_CALLING ctcCstaGetPrivateData(
                ctcChanId channel,
                ctcPrivateDataArray *privateData
);

extern unsigned int C_CALLING ctcCstaGetPrivateEventData(
                ctcChanId channel,
                ctcPrivateDataArray *privateData
);

extern unsigned int C_CALLING ctcCstaGetPrivateRouteData(
                ctcChanId channel,
                ctcPrivateDataArray *privateData
);

extern unsigned int C_CALLING ctcAsaiGetAcdStatus (
                ctcChanId   channel,
		unsigned int *numberOfCalls,
		unsigned int *numberOfLoggedInAgents,
		unsigned int *numberOfAvailableAgents
);

#endif

#ifdef __cplusplus
}
#endif

⌨️ 快捷键说明

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