www.pudn.com > lucent_softphone.rar > ctc_err.h
/*** ctc_err.h V3.0 ***/ /**************************************************************************** */ /* */ /* COPYRIGHT (c) 1998 BY */ /* DIALOGIC CORPORATION, PARSIPPANY, NJ. */ /* ALL RIGHTS RESERVED. */ /* */ /* 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. */ /* */ /**************************************************************************** */ #ifndef _CTC_ERR_LOADED #define _CTC_ERR_LOADED /*++++++++++++++++++++++++++++++++++++++++ */ /* */ /* CTC V3 Error codes definitions */ /* */ /*++++++++++++++++++++++++++++++++++++++++ */ /*++++++++++++++++++++++++++++++++++++++++ */ /* */ /* CTC SUCCESS codes */ /* */ /*++++++++++++++++++++++++++++++++++++++++ */ #define ctcSuccess 1 #define ctcEventDataLost 2 #define ctcRouteDataLost 3 /*++++++++++++++++++++++++++++++++++++++++ */ /* */ /* CTC Client/API related errors */ /* */ /* ++++++++++++++++++++++++++++++++++++++++ */ #define ctcClientErr 1000 #define ctcObsoletecode13 1000 #define ctcInvAgentData 1001 #define ctcObsoletecode27 1002 #define ctcInvAgentMode 1003 #define ctcObsoletecode28 1004 #define ctcObsoletecode29 1005 #define ctcObsoletecode30 1006 #define ctcObsoletecode34 1007 #define ctcInvChannel 1008 #define ctcObsoletecode31 1009 #define ctcInvDeviceType 1010 #define ctcInvDN 1011 #define ctcInvDNDMode 1012 #define ctcObsoletecode14 1013 #define ctcInvLogID 1014 #define ctcInvMonitorMode 1015 #define ctcObsoletecode 1016 #define ctcInvNetType 1017 #define ctcInvParam 1018 #define ctcInvQualifier 1019 #define ctcObsoletecode16 1020 #define ctcInvRouteData 1021 #define ctcObsoletecode32 1022 #define ctcObsoletecode33 1023 #define ctcObsoletecode17 1024 #define ctcMissingParam 1025 #define ctcObsoletecode18 1026 #define ctcOptNotSup 1027 #define ctcUnImplemented 1028 #define ctcUnsupProc 1029 #define ctcRpcConnecFail 1030 #define ctcServerUnknown 1031 #define ctcServerBusy 1032 #define ctcBindFail 1033 #define ctcInvServerName 1034 #define ctcInvEndPoint 1035 #define ctcMaxSocketReached 1036 #define ctcUnsupAPIversion 1037 /*++++++++++++++++++++++++++++++++++++++++ */ /* */ /* CTC Server reported errors */ /* */ /*++++++++++++++++++++++++++++++++++++++++ */ #define ctcServerErr 2000 #define ctcAsn1EncodeErr 2000 #define ctcAsn1DecodeErr 2001 #define ctcObsoletecode20 2002 #define ctcCondError 2003 #define ctcCondWaiting 2004 #define ctcDeadLock 2005 #define ctcFileOpenError 2006 #define ctcObsoletecode21 2007 #define ctcInsmem 2008 #define ctcInternErr 2009 #define ctcObsoletecode22 2012 #define ctcLibFail 2017 #define ctcLinkConnectFail 2018 #define ctcLinkDown 2019 #define ctcLinkReset 2020 #define ctcLinkUp 2021 #define ctcMCBFail 2022 #define ctcObsoletecode23 2023 #define ctcMsgIgnored 2024 #define ctcObsoletecode24 2025 #define ctcMonAlreadyOn 2026 #define ctcNotOn 2025 #define ctcAlreadyOn 2026 #define ctcMutexLocked 2027 #define ctcNoEvent 2028 #define ctcObsoletecode25 2029 #define ctcRCBFail 2030 #define ctcReadError 2031 #define ctcRcvReqRej 2032 #define ctcObsoletecode26 2033 #define ctcTraceWriteError 2034 #define ctcTimeout 2035 #define ctcUCBFail 2036 #define ctcObsoletecode1 2037 #define ctcObsoletecode2 2038 #define ctcXmitError 2039 #define ctcObsoletecode3 2040 #define ctcObsoletecode4 2041 #define ctcLinkRetry 2042 #define ctcMonMaxExceeded 2043 #define ctcResAllocError 2044 #define ctcAppLinkOff 2045 #define ctcParseError 2046 #define ctcObsoletecode5 2047 #define ctcObsoletecode6 2048 #define ctcObsoletecode7 2049 #define ctcObsoletecode8 2050 #define ctcObsoletecode9 2051 #define ctcObsoletecode10 2052 #define ctcSpare3 2053 #define ctcObsoletecode11 2054 #define ctcObsoletecode12 2055 #define ctcEventInProgress 2056 #define ctcRouteInProgress 2057 #define ctcNoRoute 2058 #define ctcAssignLimitReached 2059 #define ctcTooManyAssigns 2060 #define ctcNoRouteReq 2061 #define ctcInvLink 2062 #define ctcExpired 2063 #define ctcNoPrivateData 2064 #define ctcInvPrivateData 2065 /****************************************************************************/ /* */ /* System Status values from the switch - returned from getEvent */ /* */ /****************************************************************************/ #define ctcSwitchInit 2090 #define ctcSwitchEnabled 2091 #define ctcSwitchDisabled 2092 #define ctcSwitchOverImm 2093 #define ctcSwitchOverRch 2094 #define ctcSwitchOverRel 2095 /****************************************************************************/ /* */ /* CTC Server Status values - for Event logging */ /* during Server Startup or link restart + Polling Error */ /* */ /****************************************************************************/ #define ctcServerStarted 2100 #define ctcServerStopped 2101 #define ctcServerStartError 2102 #define ctcLinkNotStarted 2103 #define ctcNoLicenseKey 2104 #define ctcReinsertKey 2105 #define ctcPollingErr 2106 /*************************************************************************/ /* */ /* 2 Status Codes for the Win16If to allow signaling operator. */ /* */ /*************************************************************************/ #define ctcWin16IfStart 2200 #define ctcWin16IfMsg 2201 /*++++++++++++++++++++++++++++++++++++++++ */ /* */ /* CTC PBX reported errors */ /* */ /*++++++++++++++++++++++++++++++++++++++++ */ #define ctcPbxErr 3000 #define ctcUnspecCstaErr 3000 #define ctcCstaBadErr 3001 #define ctcUnspecified 3002 #define ctcOpGeneric 3003 #define ctcReqIncomWithObj 3004 #define ctcValueOutOfRange 3005 #define ctcObjectNotKnown 3006 #define ctcInvCallingDevice 3007 #define ctcInvCalledDevice 3008 #define ctcInvForwardingDest 3009 #define ctcPrivViolSpecDev 3010 #define ctcPrivViolCalledDev 3011 #define ctcPrivViolCallingDev 3012 #define ctcInvCallIdentifier 3013 #define ctcInvDevIdentifier 3014 #define ctcInvConnIdentifier 3015 #define ctcInvalidDest 3016 #define ctcInvalidFeature 3017 #define ctcInvAllocState 3018 #define ctcInvCrossRefId 3019 #define ctcInvObjectType 3020 #define ctcSecurityViol 3021 #define ctcMonTypeNotSup 3022 #define ctcStGeneric 3023 #define ctcBadObjState 3024 #define ctcInvConnIdActCall 3025 #define ctcNoActiveCall 3026 #define ctcNoHeldCall 3027 #define ctcNoCallToClear 3028 #define ctcNoConnToClear 3029 #define ctcNoCallToAnswer 3030 #define ctcNoCallToComplete 3031 #define ctcSysGeneric 3032 #define ctcServiceBusy 3033 #define ctcResourceBusy 3034 #define ctcResOutOfServ 3035 #define ctcMonitorOff 3036 #define ctcNetBusy 3037 #define ctcNetOutOfServ 3038 #define ctcOverallMonLimEx 3039 #define ctcConfMemberLimEx 3040 #define ctcSubsGeneric 3041 #define ctcObjMonLimEx 3042 #define ctcExTrunkLimEx 3043 #define ctcOutstandReqLimEx 3044 #define ctcPerfGeneric 3045 #define ctcPerfLimEx 3046 #define ctcRoutingOff 3047 #define ctcSecGeneric 3048 #define ctcSeqNumErr 3049 #define ctcTimeStampErr 3050 #define ctcPacErr 3051 #define ctcSealErr 3052 #define ctcPrivateCstaErr 3053 #define ctcMonCleared 3054 #define ctcInvApplCorrelator 3055 #define ctcInvAccountCode 3056 #define ctcInvAuthCode 3057 #define ctcReqIncomWithCallingDev 3058 #define ctcReqIncomWithCalledDev 3059 #define ctcInvMessageId 3060 #define ctcMessageIdRequired 3061 #define ctcMediaIncompatible 3062 #define ctcNotAbleToPlay 3063 #define ctcNotAbleToResume 3064 #define ctcEndOfMessage 3065 #define ctcBeginningOfMessage 3066 #define ctcMessageSuspended 3067 /*++++++++++++++++++++++++++++++++++++++++ */ /* */ /*CTCCP and CTCTEST reported errors */ /* */ /*++++++++++++++++++++++++++++++++++++++++ */ #define ctcCpErr 4000 #define ctcAssocError 4000 #define ctcAssocErrorTrans 4001 #define ctcInvApplicationId 4002 #define ctcInvBusinessId 4003 #define ctcInvConnectionProtocol 4004 #define ctcInvCommand 4005 #define ctcInvCustomerNumber 4006 #define ctcInvDevice 4007 #define ctcInvDte 4008 #define ctcInvFileName 4009 #define ctcInvHostName 4010 #define ctcInvIpAddress 4011 #define ctcInvMachineName 4012 #define ctcInvMaxMon 4013 #define ctcInvNetNodeId 4014 #define ctcInvPassword 4015 #define ctcInvPortNumber 4016 #define ctcInvProtocol 4017 #define ctcNoUserData 4018 #define ctcInvServiceId 4019 #define ctcInvServiceVersion 4020 #define ctcInvState 4021 #define ctcInvTraceLevel 4022 #define ctcInvTransport 4023 #define ctcInvUserData 4024 #define ctcLinkInUse 4025 #define ctcNoApplicationId 4026 #define ctcNoBusinessId 4027 #define ctcNoChannel 4028 #define ctcNoCommand 4029 #define ctcNoConnectionProtocol 4030 #define ctcNoCustomerNumber 4031 #define ctcNoDevice 4032 #define ctcNoDN 4033 #define ctcNoEndPoint 4034 #define ctcNoFileName 4035 #define ctcNoHostName 4036 #define ctcNoIpAddress 4037 #define ctcNoIterations 4038 #define ctcNoLocalDte 4039 #define ctcNoLogID 4040 #define ctcNoMaxMon 4041 #define ctcNoMachineName 4042 #define ctcNoNetNodeId 4043 #define ctcNoPassword 4044 #define ctcNoPortNumber 4045 #define ctcNoProtocol 4046 #define ctcNoQual 4047 #define ctcNoRemoteDte 4048 #define ctcNoServerName 4049 #define ctcNoServiceId 4050 #define ctcNoServiceVersion 4051 #define ctcNoState 4052 #define ctcNotANumber 4053 #define ctcTraceAlreadyOn 4054 #define ctcNoTraceLevel 4055 #define ctcNoTransport 4056 #define ctcTraceNotOn 4057 #define ctcCpExit 4058 #define ctcInvMode 4059 #define ctcInvMeridianMailName 4060 #define ctcNoMeridianMailName 4061 #define ctcInvBaudRate 4062 #define ctcNoBaudRate 4063 #define ctcInvAcse 4064 #define ctcInvCSTAQuery 4065 #define ctcInvClientLink 4066 #define ctcNoClientLink 4067 #define ctcNoDialupNumber 4068 #define ctcInvDialupNumber 4069 #define ctcInvRedundancy 4070 #define ctcNoRedundancy 4071 #define ctcCpMaxErr 4099 #endif