www.pudn.com > lucent_softphone.rar > ctc_code.h
/*** 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 #define ctcK_CfNoAnswerBusy 804 #define ctcK_CfAll 805 /*++++++++++++++++++++++++++++++++++++++++ */ /* */ /* Line type literals */ /* */ /*++++++++++++++++++++++++++++++++++++++++ */ #define ctcK_LineVoiceSet 900 #define ctcK_LineDataSet 901 #define ctcK_LineTrunk 902 #define ctcK_LineMultiGp 903 #define ctcK_LineACD 904 #define ctcK_LineRoutePoint 905 #define ctcK_LineMonitorChannel 906 #define ctcK_LineVRU 907 #define ctcK_LineUnknown 908 /*++++++++++++++++++++++++++++++++++++++++ */ /* */ /* Agent status-mode literals */ /* */ /*++++++++++++++++++++++++++++++++++++++++ */ #define ctcK_AgentAfterCallWork 1100 #define ctcK_AgentLogin 1101 #define ctcK_AgentLogout 1102 #define ctcK_AgentNotReady 1103 #define ctcK_AgentReady 1104 #define ctcK_AgentOtherWork 1105 #define ctcK_AgentInService 1106 #define ctcK_AgentBusy 1107 /*++++++++++++++++++++++++++++++++++++++++ */ /* Mlp Specific agent not ready status modes with nodisconnect options */ /*++++++++++++++++++++++++++++++++++++++++ */ #define ctcK_Mlp_AgentNotReady_ACD 1130 #define ctcK_Mlp_AgentNotReady_IDN 1131 #define ctcK_Mlp_AgentNotReady_Both 1132 /*++++++++++++++++++++++++++++++++++++++++ */ /* */ /* Consultation Type */ /* */ /*++++++++++++++++++++++++++++++++++++++++ */ #define ctcK_ConsultGeneric 0 #define ctcK_ConsultTransfer 1 #define ctcK_ConsultConference 2 /*++++++++++++++++++++++++++++++++++++++++ */ /* */ /* Party Qualifier literals */ /* */ /*++++++++++++++++++++++++++++++++++++++++ */ #define ctcK_ConfController 1 #define ctcK_ReleasingDevice 2 #define ctcK_AlertingDevice 3 #define ctcK_CallingDevice 4 #define ctcK_CalledNumber 5 #define ctcK_LastRedirection 6 #define ctcK_NewRedirection 7 #define ctcK_AnsweringDevice 8 #define ctcK_HoldingDevice 9 #define ctcK_QueueNumber 10 #define ctcK_RetrievingDevice 11 #define ctcK_TransferringDevice 12 #define ctcK_DivertingDevice 13 #define ctcK_FailedDevice 14 #define ctcK_TrunkUsed 15 #define ctcK_AddedParty 16 #define ctcK_ConnectedParty 17 /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ /* */ /* Event qualifier literals for CSTA. The appropriate value is */ /* returned in the ctcEventQualifier item by ctcGetEvent routine */ /* */ /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ #define ctcK_EqActiveMonitor 1 #define ctcK_EqAlternate 2 #define ctcK_EqBusy 3 #define ctcK_EqCallBack 4 #define ctcK_EqCallCancelled 5 #define ctcK_EqCallForwardAlways 6 #define ctcK_EqCallForwardBusy 7 #define ctcK_EqCallForwardNoAnswer 8 #define ctcK_EqCallForward 9 #define ctcK_EqCallNotAnswered 10 #define ctcK_EqCallPickup 11 #define ctcK_EqCampon 12 #define ctcK_EqDestNotObtainable 13 #define ctcK_EqDoNotDisturb 14 #define ctcK_EqIncompatibleDest 15 #define ctcK_EqInvalidAccountCode 16 #define ctcK_EqKeyOperation 17 #define ctcK_EqLockout 18 #define ctcK_EqMaintenance 19 #define ctcK_EqNetworkCongestion 20 #define ctcK_EqNetworkNotObtainable 21 #define ctcK_EqNewCall 22 #define ctcK_EqNoAvailableAgents 23 #define ctcK_EqOverflow 24 #define ctcK_EqOverride 25 #define ctcK_EqPark 26 #define ctcK_EqRecall 27 #define ctcK_EqRedirected 28 #define ctcK_EqReorderTone 29 #define ctcK_EqResourcesNotAvail 30 #define ctcK_EqSilentMonitor 31 #define ctcK_EqTransfer 32 #define ctcK_EqTrunksBusy 33 #define ctcK_EqVoiceUnitInitiator 34 #define ctcK_EqBlocked 35 #define ctcK_EqConsultation 37 #define ctcK_EqDistributed 38 #define ctcK_EqEnteringDistribution 42 #define ctcK_EqMakeCall 44 #define ctcK_EqNetworkSignal 46 #define ctcK_EqNormalClearing 48 #define ctcK_EqNumberChanged 50 #define ctcK_EqSingleStepConference 51 #define ctcK_EqSingleStepTransfer 52 #define ctcK_EqTimeout 56 /*+++++++++++++++++++++++ */ /* */ /* ASAI Event Qualifiers */ /* */ /*+++++++++++++++++++++++ */ #define ctcK_AsaiUnassignedNumber 1 #define ctcK_AsaiNormalClearing 16 #define ctcK_AsaiUserBusy 17 #define ctcK_AsaiNoUserResponding 18 #define ctcK_AsaiCallRejected 21 #define ctcK_AsaiNumberChanged 22 #define ctcK_AsaiInvalidNumber 28 #define ctcK_AsaiFacilityRejected 29 #define ctcK_AsaiNormUnspecified 31 #define ctcK_AsaiNoCircuit 34 #define ctcK_AsaiTemporaryFailure 41 #define ctcK_AsaiSwitchConjestion 42 #define ctcK_AsaiNotSubscribed 50 #define ctcK_AsaiCallsBarred 52 #define ctcK_AsaiBearerNotAvailable 58 #define ctcK_AsaiInvalidCRV 81 #define ctcK_AsaiNoChannel 82 #define ctcK_AsaiIncompatibleDest 88 #define ctcK_AsaiInvalidMessage 95 #define ctcK_AsaiIEMissing 96 #define ctcK_AsaiNotImplemented 97 #define ctcK_AsaiInvCallState 98 #define ctcK_AsaiNonExistentIE 99 #define ctcK_AsaiInvIEContents 100 #define ctcK_AsaiTimerRecovery 102 #define ctcK_AsaiProtocolError 111 #define ctcK_AsaiUnspecified 127 #define ctcK_AsaiAgentOnHook 138 #define ctcK_AsaiAgentNotInSplit 139 #define ctcK_AsaiAgentInconsistent 140 #define ctcK_AsaiMaxSplits 141 #define ctcK_AsaiWrongDigits 142 #define ctcK_AsaiNotLoggedIn 143 #define ctcK_AsaiInSameState 144 #define ctcK_AsaiTimedAnswer 145 #define ctcK_AsaiVoiceEnergyAnswer 146 #define ctcK_AsaiNoAnswer 147 #define ctcK_AsaiTrunksNotAvailable 148 #define ctcK_AsaiClassifiersUnavail 149 #define ctcK_AsaiQueuesFull 150 #define ctcK_AsaiRemainsInQueue 151 #define ctcK_AsaiAnsweringMachine 152 #define ctcK_AsaiCallForwRedir 153 #define ctcK_AsaiCoverBusyRedir 154 #define ctcK_AsaiOutOfService 155 #define ctcK_AsaiCoverNoAnsRedir 156 #define ctcK_AsaiRedirected 158 #define ctcK_AsaiSendAllCalls 159 #define ctcK_AsaiNetworkFailed 166 #define ctcK_AsaiNoResources 168 #define ctcK_AsaiSplitProblem 169 #define ctcK_AsaiReorder 170 #define ctcK_AsaiPermissionDenied 171 #define ctcK_AsaiAdiminInProg 174 #define ctcK_AsaiFeatureRejected 181 #define ctcK_AsaiOptionNotAvailable 191 #define ctcK_AsaiOptionNotImplemented 207 #define ctcK_AsaiIncompatibleOpts 208 #define ctcK_AsaiInvalidCallId 214 #define ctcK_AsaiSwitchAudit 215 /*+++++++++++++++++++++++ */ /* */ /* Allocation Codes - Add new codes here */ /* */ /*+++++++++++++++++++++++ */ #define ctcK_AllocDefault 1 #define ctcK_AllocAMDDrop 2 #define ctcK_AllocAMDConnect 3 #define ctcK_AllocActive 4 #define ctcK_AllocDelivered 5 #define ctcK_AllocAMDAdmin 6 /*+++++++++++++++++++++++ */ /* */ /* ASAI Call Types */ /* */ /*+++++++++++++++++++++++ */ #define ctcK_AsaiIdentifiedLine 0 #define ctcK_AsaiMultipartyNoANI 1 #define ctcK_AsaiANIfailure 2 #define ctcK_AsaiHotelMotel 6 #define ctcK_AsaiOperatorHandlingRequired 7 #define ctcK_AsaiAIOD 20 #define ctcK_AsaiCoinOrNonCoin 23 #define ctcK_Asai800ServiceCall 24 #define ctcK_AsaiCoinCall 27 #define ctcK_AsaiPrisonInmateService 29 #define ctcK_AsaiIntercept30 30 #define ctcK_AsaiIntercept31 31 #define ctcK_AsaiIntercept32 32 #define ctcK_AsaiTelcoOperatorHandled 34 #define ctcK_AsaiOutWATS 52 #define ctcK_AsaiTRSstationPaid 60 #define ctcK_AsaiType1Cellular 61 #define ctcK_AsaiType2Cellular 62 #define ctcK_AsaiRomerCellular 63 #define ctcK_AsaiTRSfromHotelMotel 66 #define ctcK_AsaiTRSfromRestrictedLine 67 #define ctcK_AsaiPrivatePaystation 70 #define ctcK_AsaiPrivateVirtualNetwork 93 /*+++++++++++++++++++++++ */ /* */ /* CSTA Set Types */ /* */ /*+++++++++++++++++++++++ */ #define ctcK_SetStation 0 #define ctcK_SetLine 1 #define ctcK_SetButton 2 #define ctcK_SetACD 3 #define ctcK_SetTrunk 4 #define ctcK_SetOperator 5 #define ctcK_SetStationGroup 16 #define ctcK_SetLineGroup 17 #define ctcK_SetButtonGroup 18 #define ctcK_SetACDGroup 19 #define ctcK_SetTrunkGroup 20 #define ctcK_SetOperatorGroup 21 #define ctcK_SetOther 255 #define ctcK_SetUnknown 512 /*+++++++++++++++++++++++ */ /* */ /* ASAI Set Types */ /* */ /*+++++++++++++++++++++++ */ #define ctcK_AsaiSetAnalog 1 #define ctcK_AsaiSetProprietary 2 #define ctcK_AsaiSetBasicRateISDN 3 /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ /* */ /* literals used with the ctcMlpCollectDigits & ctcMlpPlayMessage */ /* */ /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ #define ctcK_MlpClearOff 1 #define ctcK_MlpClearOn 2 /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ /* */ /* literals used with the ctcMlpPlayMessage */ /* */ /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ #define ctcK_MlpInterruptOff 1 #define ctcK_MlpInterruptOn 2 /* */ /* literals used with the ctcMlpWarningTone */ /* */ /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ #define ctcK_MlpDiscTone 0x01 #define ctcK_MlpToneOrigParty 0x01 #define ctcK_MlpToneTermParty 0x02 #define ctcK_MlpMinToneLen 0x02 #define ctcK_MlpMaxToneLen 0x60 /*+++++++++++++++++++++++ */ /* */ /* MLP Event qualifiers. */ /* */ /*+++++++++++++++++++++++ */ #define ctcK_MlpUnknown 0 #define ctcK_MlpOpRinging 1 #define ctcK_MlpOpAnswered 2 #define ctcK_MlpRetrieveComplete 3 #define ctcK_MlpConfComplete 4 #define ctcK_MlpXferComplete 5 #define ctcK_MlpMultAppearanceDn 6 #define ctcK_MlpAcdQueued 7 #define ctcK_MlpAttendQueued 8 #define ctcK_MlpTrunkSiezed 9 #define ctcK_MlpReadyState 10 #define ctcK_MlpConAck 11 #define ctcK_MlpQueued 12 #define ctcK_MlpAcdRinging 13 #define ctcK_MlpTpDisconnected 14 #define ctcK_MlpInvTpTn 15 #define ctcK_MlpInvTpDn 16 #define ctcK_MlpInvOpTn 17 #define ctcK_MlpInvOpDn 18 #define ctcK_MlpInvTpManner 19 #define ctcK_MlpInvOpManner 20 #define ctcK_MlpInvTpUserType 21 #define ctcK_MlpInvCustNumber 22 #define ctcK_MlpTpBusy 23 #define ctcK_MlpTpBlocking 24 #define ctcK_MlpTpMaintenance 25 #define ctcK_MlpTpOnhook 26 #define ctcK_MlpTpInuse 27 #define ctcK_MlpTpRinging 28 #define ctcK_MlpTpUnableToDisconnect 29 #define ctcK_MlpTpUnableToAns 30 #define ctcK_MlpTpAccessRestrict 31 #define ctcK_MlpTpPermHold 32 #define ctcK_MlpSystemError 33 #define ctcK_MlpOpBusy 34 #define ctcK_MlpOpBlocking 35 #define ctcK_MlpOpBadState 36 #define ctcK_MlpUnableCompConf 37 #define ctcK_MlpUnableInitXfer 38 #define ctcK_MlpUnableCompXfer 39 #define ctcK_MlpUnableCompRetr 40 #define ctcK_MlpOpTransferredCall 41 #define ctcK_MlpSignalling 42 #define ctcK_MlpOffHook 43 /*++++++++++++++++++++++++++++++++++++++++ */ /* */ /* MLP Event qualifiers from Call Type Ie */ /* */ /*++++++++++++++++++++++++++++++++++++++++ */ #define ctcK_MlpDirect 50 #define ctcK_MlpCallForward 51 #define ctcK_MlpCallForwardBusy 52 #define ctcK_MlpCallForwardNoAnswer 53 #define ctcK_MlpCallPickup 54 #define ctcK_MlpCallForwardDnD 55 #define ctcK_MlpCallAbandon 56 #define ctcK_MlpOffNightService 57 #define ctcK_MlpASP 58 #define ctcK_MlpEmergency 59 /*+++++++++++++++++++++++++++++++++ */ /* */ /* V2.0 or later MLP Event qualifiers. */ /* */ /*+++++++++++++++++++++++++++++++++ */ #define ctcK_MlpDigitCollectSuccess 100 #define ctcK_MlpInvDTMFString 101 #define ctcK_MlpKeyBufferOverflow 102 #define ctcK_MlpInterDigitTimeout 103 #define ctcK_MlpSetInConfCall 104 #define ctcK_MlpCOSNotConfig 105 #define ctcK_MlpFastTransferDone 106 #define ctcK_MlpUnableInitFT 107 #define ctcK_MlpUnableCompFT 108 #define ctcK_MlpTpInvokedHold 109 #define ctcK_MlpTransferKeyNotConfig 110 #define ctcK_MlpTransferKeyNotIdle 111 #define ctcK_MlpTpUnableToPutOnHold 112 #define ctcK_MlpHoldComplete 113 #define ctcK_MlpHoldRequestFail 114 #define ctcK_MlpUnassignedNumber 115 #define ctcK_MlpNoRouteToDest 116 #define ctcK_MlpNoUserResponding 117 #define ctcK_MlpNumberChanged 118 #define ctcK_MlpDestOutOfService 119 #define ctcK_MlpInvalidNumber 120 #define ctcK_MlpNoCircuit 121 #define ctcK_MlpNetworkOutOfOrder 122 #define ctcK_MlpTemporaryFailure 123 #define ctcK_MlpSwitchCongestion 124 #define ctcK_MlpUnspecified 125 #define ctcK_MlpConfInitiate 126 #define ctcK_MlpXferInitiate 127 #define ctcK_MlpConfSimple 128 #define ctcK_MlpNoActiveCall 129 #define ctcK_MlpNoHeldCall 130 #define ctcK_MlpMergeComplete 131 #define ctcK_MlpStartWarningTone 132 #define ctcK_MlpEndWarningTone 133 #define ctcK_MlpInvCallId1 134 #define ctcK_MlpInvCallId2 135 #define ctcK_MlpInvParty1 136 #define ctcK_MlpInvParty2 137 #define ctcK_MlpInvSetType1 138 #define ctcK_MlpInvSetType2 139 #define ctcK_MlpInvTrunkType1 140 #define ctcK_MlpInvTrunkType2 141 #define ctcK_MlpInvCallIdState1 142 #define ctcK_MlpInvCallIdState2 143 #define ctcK_MlpTrunkDiscError 144 #define ctcK_MlpAccessRestriction 145 #define ctcK_MlpNoTimeSlots 146 #define ctcK_MlpInvWarningToneIE 147 #define ctcK_MlpInvToneType 148 #define ctcK_MlpInvToneParty 149 #define ctcK_MlpInvToneLength 150 /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++ * * Alcatel service options * *+++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ #define ctcK_AlcCallProgressToneInhibition 1 #define ctcK_AlcHoldToneInhibition 2 #define ctcK_AlcPriorityTransfer 4 /*+++++++++++++++++++++++++++++++++ */ /* */ /* Siemens Hicom Private Data Definitions */ /* */ /*+++++++++++++++++++++++++++++++++ */ /* Cause values (hcmCause) */ #define ctcK_HcmCauseCSTASoftHold 35 #define ctcK_HcmCauseCSTAHardHold 36 #define ctcK_HcmCauseCSTALineHold 37 #define ctcK_HcmCauseBackgroundHold 38 #define ctcK_HcmCauseExclusiveHold 39 #define ctcK_HcmCauseCSTASingleStepTransfer 40 /* Station Forwarding Types (stationFwdType of ctcHcmForwardElement) */ #define ctcK_HcmStnFwdTypeImmediateOn 0 #define ctcK_HcmStnFwdTypeImmediateIntOn 1 #define ctcK_HcmStnFwdTypeImmediateExtOn 2 #define ctcK_HcmStnFwdTypeNoAnsOn 3 #define ctcK_HcmStnFwdTypeBusyOn 4 /* System Forwarding Types (systemFwdType of ctcHcmForwardElement) */ #define ctcK_HcmSysFwdTypeImmediateOn 0 #define ctcK_HcmSysFwdTypeImmediateIntOn 1 #define ctcK_HcmSysFwdTypeImmediateExtOn 2 #define ctcK_HcmSysFwdTypeNoAnswerOn 3 #define ctcK_HcmSysFwdTypeNoAnswerIntOn 4 #define ctcK_HcmSysFwdTypeNoAnswerExtOn 5 #define ctcK_HcmSysFwdTypeBusyOn 6 #define ctcK_HcmSysFwdTypeBusyIntOn 7 #define ctcK_HcmSysFwdTypeBusyExtOn 8 #define ctcK_HcmSysFwdTypeDoNotDisturbOn 9 #define ctcK_HcmSysFwdTypeDoNotDisturbIntOn 10 #define ctcK_HcmSysFwdTypeDoNotDisturbExtOn 11 /* Auto Answer Modes (hcmAutoAnswerMode) */ #define ctcK_HcmAutoAnswerDisable 0 #define ctcK_HcmAutoAnswerAttempt 1 /* Settable Station Forwarding Types (setableFwdType of ctcHcmSetForwardElement) */ #define ctcK_HcmStnFwdTypeImmedIntOn 0 #define ctcK_HcmStnFwdTypeImmedIntOff 1 #define ctcK_HcmStnFwdTypeImmedExtOn 2 #define ctcK_HcmStnFwdTypeImmedExtOff 3 #define ctcK_HcmStnFwdTypeBusyNoAnsOn 4 #define ctcK_HcmStnFwdTypeBusyNoAnsOff 5 /* Settable System Forwarding Types (hcmSystemFrwrdingType) */ #define ctcK_HcmPreconfSysFwdOn 0 #define ctcK_HcmPreconfSysFwdOff 1 /* Routing End causes (hcmRoutingEndCause) */ #define ctcK_HcmRtEndCauseRtngTmrOrDlyRngbckTmrExprd 0 #define ctcK_HcmRtEndCauseCallerAbandonedCall 1 #define ctcK_HcmRtEndCauseCallSuccessfullyRouted 2 #define ctcK_HcmRtEndCauseRdAbrtdDTRtSlctRsrcPrblm 3 /* Agent States (agentState of ctcHcmAgentState) */ #define ctcK_HcmAgentStateNotReady 0 #define ctcK_HcmAgentStateNull 1 #define ctcK_HcmAgentStateReady 2 #define ctcK_HcmAgentStateWorkNotReady 3 #define ctcK_HcmAgentStateWorkReady 4 /* Trigger Object (triggerObjectSpecified) */ #define ctcK_HcmTriggerObjectSpecified 1 #define ctcK_HcmTriggerObjectNotSpecified 0 /* Cancel Callback (callbackToCancelSpecified) */ #define ctcK_ErcCallbackToCancelSpecified 1 #define ctcK_ErcCallbackToCancelNotSpecified 0 /* Message Diversion (timeOrDateSpecified) */ #define ctcK_ErcTimeOrDateSpecified 1 #define ctcK_ErcTimeOrDateNotSpecified 0 #endif