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

📄 tliberr.h

📁 利用AVAYA AES的TASPI开发的一套软电话系统,仅供参考,ACTIVEX形式的.
💻 H
📖 第 1 页 / 共 5 页
字号:
/*
 * $Id: tliberr.h,v 1.35 1999/09/01 18:29:08 vadim Exp $
 */

#ifndef _TLIBRERR_H_
#define _TLIBRERR_H_

#define TERR_NOMORE_LICENSE	40
#define TERR_UNKNOWN_ERROR	50 /* unrecognized error */

#define TERR_UNSUP_OPER		51 /* unsupported operation */
#define TERR_INTERNAL		52
#define TERR_INVALID_ATTR	53
#define TERR_NO_SWITCH		54
#define TERR_PROTO_VERS		55
#define TERR_INV_CONNID		56
#define TERR_TIMEOUT            57
#define TERR_OUT_OF_SERVICE     58


/*
 * MeridianLink specific error codes
 */
#define TERR_INV_CALL_TN	60 /* Invalid Calling Tn */
#define TERR_INV_CALL_DN	61 /* Invalid Calling Dn */
#define TERR_INCM_CALL_DN	70 /* Incomplete Calling Dn */
#define TERR_INV_CALD_DN	71 /* Invalid Called Dn */
#define TERR_INCM_CALD_DN	72 /* Incomplete Called Dn */
#define TERR_INCM_CALD_TN	73 /* Incomplete Called Tn */
#define TERR_INV_ORIG_MANN	74 /* Invalid Origination Manner */
#define TERR_INV_DEST_MANN	75 /* Invalid Destination Manner */
#define TERR_INV_ORIG_UTYPE	76 /* Invalid Origination User Type */
#define TERR_INVLD_CSTM_NUM	77 /* Invalid Customer Number */
#define TERR_SYS_OR_DB_ERR	78 /* System Or Db Error */
#define TERR_ORIG_PTY_BSY	79 /* Origination Party Busy */
#define TERR_ORIG_RSR_BLK	80  /* Origination Resource Blocking */
#define TERR_ORIG_SET_MTN	81  /* Origination Set Mainten Busy */
#define TERR_ON_HOOK		82  /* Is On Hook */
#define TERR_ORIG_DN_BUSY	83  /* Origination Dn Busy */
#define TERR_ORIG_RING		84  /* Origination Ringing */
#define TERR_UNABL_DISC_ORIG	85  /* Unable To Disconnect Origination */
#define TERR_ORIG_ACCS_BLK	86  /* Origination Access Blocking */
#define TERR_ORIG_IN_PHOLD	87  /* Origination On Permanent Hold */
#define TERR_ORIG_SYS_ERR	88  /* Origination System Error */
#define TERR_ORIG_END		89  /* Origination End */
#define TERR_ORIG_PTY_IN_ACD	90  /* Origination Party In Acd */
#define TERR_TERM_PTY_BUSY	91  /* Terminating Party Busy */
#define TERR_DEST_RSR_BLK	92  /* Destination Resource Blocking */
#define TERR_DEST_INV_STATE	93  /* Destination Invalid State */
#define TERR_DEST_ACCS_BLK	94  /* Destination Access Blocking */
#define TERR_DEST_SYS_ERR	95  /* Destination System Error */
#define TERR_CANT_COML_TRN	96  /* Cannot Complete Conference */
#define TERR_CANT_INIT_TRN	97  /* Cannot Initiate Transfer */
#define TERR_CANT_CMPL_TRN	98  /* Cannot Complete Transfer */
#define TERR_CANT_RTR_ORG	99  /* Cannot Retrieve Original Call */

/*
 * Cause errors
 */
#define TERR_UNKNOWN		100 /* Unknown cause */
#define TERR_BAD_ASSOC_ID	101 /* Bad associon ID */
#define TERR_MSG_TYPE		102 /* Bad message type */
#define TERR_UNEXP_ELEMENT	103 /* Unexpected information element */
#define TERR_MSG_NOT_PART	104 /* Message not part of registered service */
#define TERR_ELEM_MISSING	105 /* Information element missing */
#define TERR_BAD_AFF_ASSOC	106 /* Bad affected association ID */
#define TERR_BAD_MSG_LENGTH	107 /* Bad message length */
#define TERR_BAD_SEQ_NUMBER	108 /* Bad sequence number */
#define TERR_LINK_DOWN		109 /* Link down or bad link specified */
#define TERR_REQ_IN_PROGRESS	110 /* Request already in progress */
#define TERR_TOO_MANY_REQ	111 /* Too many outstanding requests */
#define TERR_MSG_OUT_OF_SEQ	112 /* Message out of sequence (e.g. application
				       tries to open a voice file before 
				       sending a message to logon mailbox) */

#define TERR_ASSOC_TAB_FULL	113 /* Association table is full */
#define TERR_APPL_TAB_FULL	114 /* Application table is full */
#define TERR_APPL_EXISTS	115 /* Application already exists */
#define TERR_BAD_MACH_NAME	116 /* Bad Meridian 1 machine name */
#define TERR_BAD_HOST_NAME	117 /* Bad host machine name */
#define TERR_SERV_UNAVAIL	118 /* Requested service unavailable */
#define TERR_BAD_PASSWD		119 /* Bad password */
#define TERR_POLL_TIMEOUT	120 /* Polling timeout */
#define TERR_BAD_MAIL_NAME	121 /* Bad Meridian Mail Name */

#define TERR_CANT_REG_DNS	122 /* Cannot register all DN's */
#define TERR_DN_NOT_EXIST	123 /* DN for association does not exist */
#define TERR_DN_TAB_FULL	124 /* DN table is full */
#define TERR_DN_ALRDY_REG	125 /* DN already registered */
#define TERR_CUST_REG		126 /* Customer number must be registered
				       to register a DN(s) */
#define TERR_CANT_REMOVE_DN	127 /* Cannot remove DN */
#define TERR_BAD_DN_TYPE	128 /* Bad DN type for DN registration */

#define TERR_PROC_NOT_EXIST	129 /* Link process does not exist */
#define TERR_LINK_ID_EXIST	130 /* Link ID already exists */
#define TERR_MACH_NAME_EXIST	131 /* Meridian 1 machine name or Host ID
				       already exists */
#define TERR_BAD_LINK_ID	132 /* Bad link ID */
#define TERR_LINK_ALRDY_EST	133 /* Link already established */
#define TERR_LINK_ALRDY_DIS	134 /* Link already disabled */
#define TERR_OPEN_CONF_FILE	135 /* Error in opening configuration file */
#define TERR_LINK_CONF_FAIL	136 /* Link configuration failed */
#define TERR_LINK_ENBL_FAIL	137 /* Enable link command failed */
#define TERR_LINK_DIS_FAIL	138 /* Disable link command failed */
#define TERR_LNK_CMD_NOT_SUP	139 /* Link command not supported */
#define TERR_LNK_STS_REQ	140 /* Link statistics request failed */
#define TERR_LNK_CONF_LARGE	141 /* Link configuration information is
				       too large */
#define TERR_LNK_CMD_FAILED	142 /* Link command failed due to
				       reconfiguration of associated link */
#define TERR_TRACE_ALRDY_EN	143 /* Trace already enabled */
#define TERR_TRACE_ALRDY_DIS	144 /* Trace already disabled */
#define TERR_SFW_NOT_EQIPD	145 /* Link to Meridian 1 failed because
				       required software option not equipped */
#define TERR_ID_MISMATCH	146 /* Link to Meridian 1 failed due
				       to Meridian 1 ID mismatch */
#define TERR_NO_LINK_RESPND	147 /* No link responding */

#define TERR_FCL_ALRDY_ENB	148 /* Facility already enabled */
#define TERR_FCL_ALRDY_DIS	149 /* Facility already disabled */
#define TERR_MSG_ALRDY_SET	150 /* Message(s) already set */
#define TERR_MSG_ALRDY_CLR	151 /* Message(s) already cleared */
#define TERR_UNABL_REC_FILE	152 /* Unable to open/write/ close */
                                    /* recording file */
#define TERR_BAD_AFFCT_MSG	153 /* Bad affected message */
#define TERR_CANT_CLR_ALL	154 /* Cannot clear all (filter, monitor, */
				    /* or record) */

#define TERR_ACCNT_INACT	155 /* Account inactive (time-out expired) */
#define TERR_ADMIN_SHUTDOWN	156 /* Meridian Mail shutdown by administrator */
#define TERR_SYSTEM_ERR		157 /* Meridian Mail system error */
#define TERR_VCHAN_NOT_ANS	158 /* Incoming Voice Channel not answered
				       in 15 seconds */
#define TERR_MANY_BAD_LOGIN	159 /* Too many bad login attempts */

#define TERR_FLOW_CTL_1		160 /* Flow control - level 1 */
#define TERR_FLOW_CTL_2		161 /* Flow control - level 2 */
#define TERR_FLOW_CTL_3		162 /* Flow control - level 3 */
#define TERR_FLOW_CTL_CLR	163 /* Flow control condition cleared */

#define TERR_BAD_SYSTEM_CMD	164 /* Bad system command */

#define TERR_ACCESS_RESTICT	165 /* Access restricted */
#define TERR_RES_UNAVAIL	166 /* Resource unavailable */
#define TERR_INV_CUST_NUM	167 /* Invalid customer number */
#define TERR_INV_ORIG_ADDR	168 /* Invalid origination address */
#define TERR_INV_DEST_REQ	169 /* Invalid destination request */
#define TERR_INV_MANNER		170 /* Invalid manner */
#define TERR_UNSUCC_RETRV	171 /* Unsuccessful retrieve original */
#define TERR_UNSUCC_TRANSFER	172 /* Unsuccessful transfer */
#define TERR_UNSUCC_CONFER	173 /* Unsuccessful conference */
#define TERR_UNSUCC_ANSWER	174 /* Unsuccessful answer request */
#define TERR_UNSUCC_RELEASE	175 /* Unsuccessful release request */
#define TERR_UNSUCC_REFER	176 /* Refer to Connection Status IE for
				       information */

#define TERR_TARG_DN_INV	177 /* Target DN Invalid */
#define TERR_TARG_DN_NOT_AST	178 /* Target DN not AST */
#define TERR_FTR_NOT_INVOK	179 /* Feature could not be invoked */
#define TERR_FTR_NOT_CFG	180 /* Feature not configured to set */
#define TERR_FTR_OUT_OF_RNG	181 /* Requested feature out of valid range */
#define TERR_TARG_NOT_AGENT	182 /* Target set not ACD agent */
#define TERR_TARG_VIRT_AGENT	183 /* Target set is a Virtual Agent */
#define TERR_MAINT_BUSY		184 /* Set is maintenance busy */
#define TERR_SET_WRONG_STATE	185 /* Set is in wrong state for invocation */
#define TERR_SET_TARG_STATE	186 /* Set is in target state */
#define TERR_ACD_LOGOFF		187 /* No NRDY/RDY while ACD set is logged out */

#define TERR_CUST_NRDY		188 /* Package C customer can't use NRDY
				       with IDN call */
#define TERR_FTR_IE_INV		189 /* Feature IE is missing or invalid */
#define TERR_DN_IE_INV		190 /* DN IE is missing or invalid */
#define TERR_AGENT_ID_IE_INV	191 /* Agent ID IE is missing or invalid */
#define TERR_AGENT_ID_INV	192 /* Agent ID is invalid */
#define TERR_CFW_DN_IE_INV	193 /* CFW DN IE is invalid */
#define TERR_CFW_TOO_LONG	194 /* The Call Forward DN is too long */
#define TERR_CFW_DN_INV		195 /* The call Forward DN is invalid */
#define TERR_INVOKE_CFW		196 /* User is invoking Call Forward */
#define TERR_MSB_NOT_SUPP	197 /* MSB/MSI not supported for 500/2500 sets */
#define TERR_5ACD_STATUS	198 /* 500/2500 ACD agent already changed
				       status */
#define TERR_5ACD_RUNG		199 /* 500/2500 ACD agent set is being rung */
#define TERR_MANUAL_LOGIN	200 /* User is manually loggin in 500/2500
				       ACD set */
#define TERR_OPT209_NOT_EQTP	201 /* Meridian Link Server Option 209
				       is not equipped */

#define TERR_RES_ACQ_ANOTHER	202 /* The resource is already acquired
				       by another application */
#define TERR_RES_ALRDY_ACQ	203 /* The resource is already acquired
				       by this application */
#define TERR_RES_NOT_RELEASD	204 /* The resource is not released */
#define TERR_CANT_ACQ_ALL	205 /* The application can't acquire all
				       the resource */
#define TERR_RES_TYPE_UNKNWN	206 /* The resource type is unknown */
#define TERR_AML_DOWN		207 /* The AML is down */
#define TERR_RES_TAB_FULL	208 /* The resource table is full */
#define TERR_CDN_NOT_CNG	209 /* The CDN is not configured or to operate
				       on controlled mode */
#define TERR_POLLTMR_OF_RNG	210 /* The Poll timer is out of range */
#define TERR_RES_ID_LNG_LONG	211 /* The resource ID length is too long */
#define TERR_ADMIN_DEV_DIS	212 /* Device disabled by administration */
#define TERR_NO_RSP_OPER_REQ	213 /* No response to operation request */
#define TERR_LOGON_TR_EXCEED	214 /* Logon tries exceeded */
#define TERR_NOT_EQTP_FTR	215 /* This release of the Meridian 1 software
				       is not equipped to operate this  feature */
#define TERR_RES_NOT_ACQ	216 /* The resource is not acquired by the
				       application */      
#define TERR_REG_NOT_SET	217 /* Registration not set up for request */
#define TERR_INTERNAL_ERR	218 /* Internal error */
#define TERR_BAD_RES_ID		219 /* Bad resource ID */
#define TERR_NO_RES_AVAIL	220 /* No internal resource available */
#define TERR_SRV_NOT_AVAIL	221 /* Service not available on device */
#define TERR_DEV_NOT_AVAIL	222 /* Device not available */

#define TERR_BAD_PARAM		223 /* Bad parameter passed to function */
#define TERR_NO_RESULT_AVAIL	224 /* No result available yet  */
#define TERR_NO_RESULT_TMOUT	225 /* No result - command timed out */
#define TERR_OUT_OF_MEM		226 /* Out of memory (local) */
#define TERR_INV_APPL_CLASS	227 /* Invalid application class */
#define TERR_INV_CMD_BFR_ACQ	228 /* Command invalid before `Acquire' */
#define TERR_MUST_REGISTER	229 /* Must register first */
#define TERR_MUST_DEREGIST	230 /* Must deregister first */
#define TERR_DN_BUSY		231 /* DN is busy */
#define TERR_DN_NO_ANSWER	232 /* No answer at DN */
#define TERR_CALL_REJECTED	233 /* Call has been rejected */
#define TERR_CONN_ATMPT_FAIL	234 /* Call connection attempt has failed */
#define TERR_CALL_COLLISION	235 /* Call resulted in collision */
#define TERR_TIMEOUT_PRF_OP	236 /* Timeout performing operation */
#define TERR_DISCON_CALL	237 /* Call has disconnected */

⌨️ 快捷键说明

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