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

📄 ctc_code.h

📁 利用AVAYA AES的TASPI开发的一套软电话系统,仅供参考,ACTIVEX形式的.
💻 H
📖 第 1 页 / 共 3 页
字号:
/*** MODULE ctc_code IDENT 3.0 ***/
/***************************************************************************** */
/**                                                                          * */
/**  Copyright (c) 1998                                                      * */
/**  by Dialogic Corporation, Parsippany, NJ.                                * */
/**                                                                          * */
/**  This software is furnished under a license and may be used and  copied  * */
/**  only  in  accordance  with  the  terms  of  such  license and with the  * */
/**  inclusion of the above copyright notice.  This software or  any  other  * */
/**  copies  thereof may not be provided or otherwise made available to any  * */
/**  other person.  No title to and ownership of  the  software  is  hereby  * */
/**  transferred.                                                            * */
/**                                                                          * */
/**  The information in this software is subject to change  without  notice  * */
/**  and should not be construed as a commitment by Dialogic Corporation.    * */
/**                                                                          * */
/**  Dialogic assumes no responsibility for the use or  reliability  of its  * */
/**  software on equipment which is not supplied by Dialogic.                * */
/**                                                                          * */
/***************************************************************************** */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++                    */
/*                                                                          */
/*	CTC V3 Definitions file                                             */
/*                                                                          */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++                    */
#ifndef _CTC_CODE_LOADED
#define _CTC_CODE_LOADED
/*++++++++++++++++++++++++                                                  */
/*                                                                          */
/*  Version constants                                                       */
/*                                                                          */
/*++++++++++++++++++++++++                                                  */
#define ctcK_CTCV10 0
#define ctcK_CTCV11 17
#define ctcK_CTCV20 0x20
#define ctcK_CTCV30 0x30

#define ctcK_CurrentVersion 0x30

/*++++++++++++++++++++++++                                                  */
/*                                                                          */
/*  Switch Extension constants                                              */
/*                                                                          */
/*++++++++++++++++++++++++                                                  */
#define ctcK_None 0
#define ctcK_MeridianLink 1
#define ctcK_CstaPrivate 2
#define ctcK_ASAI 3
/*++++++++++++++++++++++++                                                  */
/*                                                                          */
/*  Length constants                                                        */
/*                                                                          */
/*++++++++++++++++++++++++                                                  */
#define ctcMaxDevNameLen 16
#define ctcMaxLogNameLen 16
#define ctcMaxNodeNameLen 20
#define ctcMaxProcNameLen 20
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++                   */
/*                                                                          */
/*  literals used with the ctcSetMonitor - mode parameter                   */
/*                                                                          */
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++                   */
#define ctc_m_off 0
#define ctc_m_all -1
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++             */
/*                                                                          */
/*  literals used with the ctcSetDonNotDisturb - mode parameter             */
/*                                                                          */
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++             */
#define ctcK_Off 0
#define ctcK_On 1
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++             */
/*                                                                          */
/*  Function support masks for use in ctcGetChannelInformation.             */
/*                                                                          */
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++             */
#define ctcM_RemoveMonitor 1
#define ctcM_AnswerCall 2
#define ctcM_Assign 4
#define ctcM_CancelCall 8
#define ctcM_ConferenceJoin 16
#define ctcM_Deassign 32
#define ctcM_DeflectCall 64
#define ctcM_GetChannelInformation 128
#define ctcM_GetEvent 256
#define ctcM_HangupCall 512
#define ctcM_ConsultationCall 1024
#define ctcM_AssignMonitorChannel 2048
#define ctcM_MakeCall 4096
#define ctcM_PickupCall 8192
#define ctcM_RespondToInactiveCall 16384
#define ctcM_ResumeCall 32768
#define ctcM_RetrieveHeld 65536
#define ctcM_SetDeviceAttributes 131072
#define ctcM_SuspendCall 262144
#define ctcM_SwapWithHeld 524288
#define ctcM_TransferCall 1048576
#define ctcM_AddMonitor 2097152
#define ctcM_SingleStepTransfer 4194304
#define ctcM_Snapshot 8388608
#define ctcM_AssociateData 16777216
#define ctcM_GetDeviceAttributes 33554432
#define ctcM_HoldCall 67108864
#define ctcM_GetRouteQuery 134217728
#define ctcM_RespondToRouteQuery 268435456
#define ctcM_MakePredictiveCall 536870912
#define ctcM_ReconnectHeld 1073741824
#define ctcM_SendDTMF 0x80000000
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++           */
/*                                                                          */
/*  Attribute supported mask for use in ctcGetChannelInformation.           */
/*                                                                          */
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++           */
#define ctcM_SetMonitor 2
#define ctcM_SetDoNotDisturb 4
#define ctcM_SetMessageWaiting 8
#define ctcM_SetCallForward 16
#define ctcM_SetAgentStatus 32
#define ctcM_SpareAttr1 64
#define ctcM_SpareAttr2 128
#define ctcM_GetMonitor 256
#define ctcM_GetDoNotDisturb 512
#define ctcM_GetMessageWaiting 1024
#define ctcM_GetCallForward 2048
#define ctcM_GetAgentStatus 4096
#define ctcM_SetRoutingEnable 8192
#define ctcM_GetRoutingEnable 16384
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++           */
/*                                                                          */
/*  MeridianLink supported mask for use in ctcGetChannelInformation.        */
/*                                                                          */
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++           */
#define ctcM_MlpCollectDigits 2
#define ctcM_MlpOpenVoiceFile 4
#define ctcM_MlpCloseVoiceFile 8
#define ctcM_MlpPlayMessage 16
#define ctcM_MlpLogonMailBox 32
#define ctcM_MlpLogoffMailBox 64
#define ctcM_MlpMergeCalls 128
#define ctcM_MlpWarningTone 256
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 *
 * privatedata supported mask for use in ctcGetChannelInformation.
 *
 *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#define ctcM_Escape 2
#define ctcM_SetPrivateData 4
#define ctcM_GetPrivateData 8
#define ctcM_GetPrivateEventData 16
#define ctcM_GetPrivateRouteData 32
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++           */
/*                                                                          */
/*  ASAI supported mask for use in ctcGetChannelInformation.                */
/*                                                                          */
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++           */
#define ctcM_AsaiGetAcdStatus 2



/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++          */
/*                                                                          */
/*  CTC state mode mask - used to describe the current state,               */
/*  or the state to be monitored.                                           */
/*                                                                          */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++                */
#define ctcK_UnknownState 0
#define ctcK_ActiveState 2
#define ctcK_DeliverState 4
#define ctcK_FailState 8
#define ctcK_HoldState 16
#define ctcK_InitiateState 32
#define ctcK_QueueState 64
#define ctcK_NullState 128
#define ctcK_ReceiveState 256
#define ctcK_UnavailableState 512
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++                */
/*                                                                          */
/*  CTC event codes                                                         */
/*                                                                          */
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++                */
#define ctcK_MonitorEnabled 0
#define ctcK_Offhook 1
#define ctcK_DestSeized 2
#define ctcK_OpAnswered 3
#define ctcK_TpDisconnected 4
#define ctcK_OpDisconnected 5
#define ctcK_InboundCall 6
#define ctcK_TpAnswered 7
#define ctcK_DestBusy 8
#define ctcK_DestInvalid 9
#define ctcK_DestNotObtainable 10
#define ctcK_Error 11
#define ctcK_Unavailable 12
#define ctcK_TpConferenced 13
#define ctcK_OpConferenced 14
#define ctcK_TpRetrieved 15
#define ctcK_OpRetrieved 16
#define ctcK_TpSuspended 17
#define ctcK_OpHeld 18
#define ctcK_PassiveDisconnected 19
#define ctcK_Swapped 20
#define ctcK_Diverted 21
#define ctcK_DestChanged 22
#define ctcK_Transferred 23
#define ctcK_Other 24
#define ctcK_OffhookPrompt 25
#define ctcK_AgentLoggedOn 26
#define ctcK_AgentLoggedOff 27
#define ctcK_AgentModeChange 28
#define ctcK_MlpEndOfPlay 29
#define ctcK_MlpDigitsCollected 30
#define ctcK_BackInService 31
#define ctcK_OutOfService 32
#define ctcK_Private 33
#define ctcK_CallInformation 34

/*++++++++++++++++++++++++++++++++++++++++                                  */
/*                                                                          */
/*  Feature literals                                                        */
/*                                                                          */
/*++++++++++++++++++++++++++++++++++++++++                                  */
#define ctcK_BargeIn 100
#define ctcK_RingBack 101
#define ctcK_CampOn 102
/*++++++++++++++++++++++++++++++++++++++++                                  */
/*                                                                          */
/*  Codes used for assign device type and                                   */
/*  party type in event data                                                */
/*                                                                          */
/*++++++++++++++++++++++++++++++++++++++++                                  */
#define ctcK_Dn 200
#define ctcK_RoutePoint 201
#define ctcK_MonitorChannel 202
#define ctcK_Trunk 203
#define ctcK_Dnis 204
#define ctcK_LineId 205
#define ctcK_VoiceChannel 206
#define ctcK_AcdGroup 207
#define ctcK_DeviceGroup 208
#define ctcK_Agent 209

/*++++++++++++++++++++++++++++++++++++++++                                  */
/*                                                                          */
/*  Call forward literals                                                   */
/*                                                                          */
/*++++++++++++++++++++++++++++++++++++++++                                  */
#define ctcK_CfExtBusy 800
#define ctcK_CfIntBusy 801
#define ctcK_CfExtNoAnswer 802
#define ctcK_CfIntNoAnswer 803

⌨️ 快捷键说明

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