短信协议错误码

SMPP协议错误码
[SMPP Error]

0 = SUCCESS : no error code given
1 = MESSAGE_LEN_INVALID : Invalid Message Length
2 = COMMAND_LEN_INVALID : Invalid Command Length
3 = COMMAND_ID_INVALID : Invalid Command ID
4 = BIND_STATUS_INVALID : Invalid bind status
5 = ALREADY_BIND : Bind attempted when already bound
6 = PRIORITY_INVALID : Invalid priority flag
7 = REGISTER_INVALID : Invalid registered-delivery flag
8 = SYSTEM_ERROR : SMSC system error
9 = PARAMETER_INVALID : Invalid parameter
10 = SOURCE_ADDRESS_INVALID : Invalid source address
11 = DEST_ADDRESS_INVALID : Invalid destination address
12 = MESSAGE_ID_INVALID : Invalid message-id
13 = PASSWORD_INVALID : Invalid password
14 = PASSWORD_LEN_INVALID : Invalid password length
15 = SYSTEM_ID_INVALID : Invalid System-ID
16 = CANNOT_CANCEL_MESSAGE : Cannot cancel a message
17 = DATA_FORMAT_INVALID : Invalid date format
18 = CANNOT_REPLACE_MESSAGE : Cannot replace a message
19 = MESSAGE_QUEUE_FULL : Too many message in queue, at present
20 = SERVICE_NOT_SUPPORTED : Service not supported
22 = REPLACE_ADDRESS_INVALID: Address Mismatch in Replacement attempt
50 = AREA_CODE_INVALID : Invalid area code of ESME
60 = AUTH_FAIL : Authentication fail
61 = DEST_USER_BUSY : destinantion user busy
62 = DEST_USER_MEMORY_FULL : destinantion user memory full
127 = RESP_TIME_OUT 

CMPP协议错误码
[CMPP Login Error]
0 = CON_SUCCESS : 正确
1 = CON_PACKET_ERR : 消息结构错
2 = CON_CLIENT_ID_ERR : 非法源地址
3 = CON_AUTH_FAIL : 认证错
4 = CON_VER_TOO_HIGH : 版本太高

[CMPP Error]
0 = TRS_SUCCESS : 正确
1 = TRS_PACKET_ERR : 消息结构错
2 = TRS_CMD_ERR : 命令字错
3 = TRS_SEQ_DUPLICATE : 消息序号重复
4 = TRS_PACKET_LEN_ERR : 消息长度错
5 = TRS_FEE_ERR : 资费错
6 = TRS_MSG_LEN_ERR : 超过最大信息长
7 = TRS_SRV_CODE_ERR : 业务代码错
8 = TRS_FLUX_ERR : 流量控制错
9 = TRS_NOT_SRV_USER : 本网关不负责服务此计费号码,前转判断错(此SP不应发往本ISMG)
10 = TRS_SRC_ID_ERR : Src_Id错误
11 = TRS_MSG_SRC_ERR : Msg_src错误
12 = TRS_FEE_TERMINAL_ERR : Fee_terminal_Id错误
13 = TRS_DEST_TERMINAL_ERR : Dest_terminal_Id错误
160 = IP_ADDRESS_ERR : ZTE_EXTENED 帐号源IP地址错误
161 = LINK_FULL : ZTE_EXTENED 帐号已经建立了15条链路
162 = LOCK_MUTEX_ERR : ZTE_EXTENED 建链时锁错误
163 = RGSTRDDLVRY_ERR : ZTE_EXTENED Registered_Delivery取值错误
164 = FEEUSERTYPE_ERR : ZTE_EXTENED FeeUserType取值错误
165 = TERMINALTYPE_ERR : ZTE_EXTENED TerminalType取值错误
166 = MSGFMT_ERR : ZTE_EXTENED MsgFmt取值错误
167 = MSGFWDTYPE_ERR : ZTE_EXTENED msgFwdType取值错误
168 = USERTYPE_ERR : ZTE_EXTENED UserType取值错误
169 = ROUTE_ERR : ZTE_EXTENED 路由失败
170 = SMMC_ERR : ZTE_EXTENED 信息过滤失败
171 = IAGWM_LINK_DOWN : ZTE_EXTENED 与IAGW M模块断链
172 = SEND_AUTH_ERR : ZTE_EXTENED 给IAGW M模块发消息失败,非断链
173 = AUTH_ERR : ZTE_EXTENED IAGW M认证失败
174 = LICENSE_FAILED : ZTE_EXTENED 超过系统license限制
175 = TRANS_ERR : ZTE_EXTENED 消息转发错误
176 = RESP_TIME_OUT : ZTE_EXTENED 等resp超时
177 = FATAL_ERR : ZTE_EXTENED 当错误码为-1时转换为此值
178 = DBQUEUE_ERR : ZTE_EXTENED 数据库队列满
179 = RETRY_FAIL : ZTE_EXTENED 重试失败
180 = NO_RPT_TIMEOUT : ZTE_EXTENED 无状态报告超时
181 = PPS_FAIL : ZTE_EXTENED 预付费失败
182 = SYSTEM_ERR : ZTE_EXTENED 系统错误
183 = SEND_TIME_ERR : ZTE_EXTENED 下发时间错误
184 = PROTO_NOT_MATCH : ZTE_EXTENED 协议不匹配
185 = PK_TOTAL_NUMBER_ERR : ZTE_EXTENED pkTotal,pkNumber检查错误
186 = OVERLOAD_FLUX_ERR : ZTE_EXTENED 过负荷时流量控制错


CNGP协议错误码
[CNGP Error]

0 = SUCCESS
1 = SYS_BUSY
2 = LINK_FULL
10 = PACKET_INVALID
11 = COMMAND_ID_INVALID
12 = SEQUENCE_NO_INVALID
20 = IP_ERR
21 = LOGIN_FAIL
22 = VERSION_ERR
23 = FEEUSERTYPE_INVALID
24 = SUBTYPE_INVALID
25 = NODESCOUNT_OUT
26 = MSGID_INVALID
27 = REPORTFLAG_INVALID
30 = SM_TYPE_INVALID
31 = PRIORITY_INVALID
32 = FEE_TYPE_INVALID
33 = FEE_CODE_INVALID
34 = SM_FORMAT_INVALID
35 = TIME_INVALID
36 = SM_LEN_INVALID
37 = VALID_TIME_OUT
38 = QUERY_TYPE_INVALID
39 = ROUTE_INVALID
40 = ACCOUNT_NO_EXIST
41 = NO_ENOUGH_BALANCE
42 = ACCOUNT_INVALID
43 = NOT_PPS_USER
128 = RESP_TIME_OUT
129 = SYSTEM_ERROR
130 = AUTH_FAIL
131 = LINKID_INVALID

CNPP协议错误码

[CNPP Error]
0 = SUCCESS : no error code given
1 = MESSAGE_LEN_INVALID : Invalid Message Length
2 = COMMAND_LEN_INVALID : Invalid Command Length
3 = COMMAND_ID_INVALID : Invalid Command ID
4 = BIND_STATUS_INVALID : Invalid bind status
6 = PRIORITY_INVALID : Invalid priority flag
7 = REGISTER_INVALID : Invalid registered-delivery flag
8 = SYSTEM_ERROR : SMSC system error
10 = SOURCE_ADDRESS_INVALID : Invalid source address
11 = DEST_ADDRESS_INVALID : Invalid destination address
12 = MESSAGE_ID_INVALID : Invalid message-id
14 = PASSWORD_INVALID : Invalid password
15 = SYSTEM_ID_INVALID : Invalid System-ID
21 = SERVICE_TYPE_INVALID : Invalid service type
83 = SYSTEM_TYPE_INVALID : Invalid system type
84 = REPLACE_MESSAGE : Cannot replace a message
97 = DELIVERY_TIME_INVALID : Invalid delivery time
98 = VALIDITY_TIME_INVALID : InValid validity period
129 = AUTH_FAIL : Authentication fail
130 = SYS_BUSY : sys busy
128 = RESP_TIME_OUT

SMGP协议错误码
[SMGP error]
0 = SUCCESS
1 = SYS_BUSY
2 = LINK_FULL
10 = PACKET_INVALID
11 = COMMAND_ID_INVALID
12 = SEQUENCE_NO_INVALID
20 = IP_ERR
21 = LOGIN_FAIL
22 = VERSION_ERR
30 = SM_TYPE_INVALID
31 = PRIORITY_INVALID
32 = FEE_TYPE_INVALID
33 = FEE_CODE_INVALID
34 = SM_FORMAT_INVALID
35 = TIME_INVALID
36 = SM_LEN_INVALID
37 = VALID_TIME_OUT
38 = QUERY_TYPE_INVALID
39 = ROUTE_INVALID
40 = FIXED_FEE_INVALID
41 = UPDATE_TYPE_INVALID
42 = ROUTE_ID_INVALID
43 = SERVICE_ID_INVALID
44 = VALID_TIME_INVALID
45 = AT_TIME_INVALID
46 = SRCTERM_ID_INVALID
47 = DESTTERM_ID_INVALID
48 = CHARGERTERM_ID_INVALID
49 = CP_ID_INVALID
50 = NOT_PPS_USER
51 = NO_ENOUGH_BALANCE
52 = NOT_REGISTER_USER
53 = NOT_REGISTER_CP
54 = ACCOUNT_INVALID
55 = PPS_FAIL
56 = SRC_GW_ID_INVALID
57 = QUERY_TERM_ID_INVALID
58 = NO_ROUTE
59 = SERVICE_CODE_INVALID
60 = LAST_ROUTEID_INVALID
61 = ROUTE_TYPE_INVALID
62 = DEST_GW_ID_INVALID
63 = DEST_GW_IP_INVALID
64 = DEST_GW_PORT_INVALID
65 = START_TERMID_INVALID
66 = AREA_CODE_INVALID
67 = USER_TYPE_INVALID
68 = UPDATE_NOT_SUPPORT
69 = SP_ID_INVALID
70 = SP_ACCESS_TYPE_INVALID
71 = UPDATE_ROUTE_FAIL
72 = TIME_STAMP_INVALID
73 = INVALID_MSERVICEID
127 = RESP_TIME_OUT
128 = SYSTEM_ERROR
129 = AUTH_FAIL
100 = PHONE_NUM_NOT_EXIST : 手机号码不存在
101 = PHONE_NUM_ERR : 手机号码错误
102 = USER_STOP_SERV : 用户旺
103 = USER_OWED : 用户欠费
104 = USER_CANNT_USE_SERV : 用户没有使用该业务的权限
105 = SERVICEID_ERR : 业务代码错误
106 = SERVICECODE_ERR : 服务代码错误
107 = SERVICE_NOT_EXIST : 业务不存在
108 = SERVICE_PAUSED : 该业务暂停服务
109 = SERVICE_TYPE_NOT_EXIST: 该服务种类不存在
110 = SERVICE_TYPE_NOT_START: 该服务种类尚未开通
111 = SERVICE_NOT_START : 该业务尚未开通
112 = SPID_ERR : SP 代码错误
113 = SP_NOT_EXIST : SP 不存在
114 = SP_PAUSED : SP 暂停服务
115 = USER_NOT_ORDER_SERV : 用户没有定购该业务
116 = USER_PAUSE_ORDER : 用户暂停定购该业务
117 = SERV_NOT_FOR_USER : 该业务不能对该用户开放
118 = USER_HAS_ORDERED : 用户已经订购了该业务
119 = USER_CANNT_CANCEL : 用户不能取消该业务
120 = BILL_FORMAT_ERR : 话单格式错误
121 = NO_SUCH_SERVICE : 没有该类业务
122 = RECV_ABNORMAL : 接收异常
123 = FEE_CODE_NEGATIVE : 业务价格为负
124 = FEE_CODE_FORMAT_ERR : 业务价格格式错误
125 = FEE_CODE_EXCEED_RANGE : 业务价格超出范围
130 = NOUSER_DATA_IN_BOSS : 用户在BOSS 中没有相关用户数据
131 = SYNC_WITH_BOSS_ERR : BOSS系统数据同步出错
132 = NO_RELATED_INFO : 相关信息不存在
133 = SYNC_USER_DATA_ERR : 用户数据同步出错
134 = SYNC_SP_DATA_ERR : SP 数据同步出错
135 = SYNC_SERV_DATA_ERR : 业务数据同步出错
136 = USER_PASSWORD_ERR : 用户密码错误
137 = PSEUDO_CODE_INFO_ERR : 伪码信息错误
138 = USER_INFO_NOT_EXIT : 用户相关信息不存在
141 = PRICE_PREPAY_FAIL : 计费批价预扣失败
142 = PREPAY_CONFIRM_FAIL : 计费扣款确认失败
143 = MSG_CALL_FAIL : 消息调用失败
144 = SQL_CALL_FAIL : sql调用失败
197 = USER_HAS_LITTLE_MONEY : 该用户没有足够的余额
198 = CHARGE_FAIL : 补款,冲正失败
  

你可能感兴趣的:(java)