-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdictSMPP.xml
280 lines (278 loc) · 18 KB
/
dictSMPP.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
<?xml version="1.0" encoding="UTF-8"?>
<!-- Based on the SMPP Protocol Specification v3.4 1999 Oct 12 -->
<!-- Default types are: -->
<!-- Byte, Word, Integer: 1,2,4 bytes (Unsigned) -->
<!-- C-OS: C Octet String terminated with NULL (0x00) character -->
<!-- OS: Octet String, NOT terminated -->
<!-- TLV: Tag,Length,Value format -->
<!-- None: no Value-->
<!-- Last change 2014 Apr 16 -->
<dictionary>
<msg code="80000000" name="generic_nack"/>
<msg code="00000001" name="bind_receiver">
<mandatory name="system_id" type="C-OS" max="16"/>
<mandatory name="password" type="C-OS" max="9"/>
<mandatory name="system_type" type="C-OS" max="13"/>
<mandatory name="interface_version" type="Byte"/>
<mandatory name="addr_ton" type="Byte"/>
<mandatory name="addr_npi" type="Byte"/>
<mandatory name="address_range" type="C-OS" max="41"/>
</msg>
<msg code="80000001" name="bind_receiver_resp">
<mandatory name="system_id" type="C-OS" max="16"/>
</msg>
<msg code="00000002" name="bind_transmitter">
<mandatory name="system_id" type="C-OS" max="16"/>
<mandatory name="password" type="C-OS" max="9"/>
<mandatory name="system_type" type="C-OS" max="13"/>
<mandatory name="interface_version" type="Byte"/>
<mandatory name="addr_ton" type="Byte"/>
<mandatory name="addr_npi" type="Byte"/>
<mandatory name="address_range" type="C-OS" max="41"/>
</msg>
<msg code="80000002" name="bind_transmitter_resp">
<mandatory name="system_id" type="C-OS" max="16"/>
</msg>
<msg code="00000003" name="query_sm">
<mandatory name="message_id" type="C-OS" max="65"/>
<mandatory name="source_addr_ton" type="Byte"/>
<mandatory name="source_addr_npi" type="Byte"/>
<mandatory name="source_addr" type="C-OS" max="21"/>
</msg>
<msg code="80000003" name="query_sm_resp">
<mandatory name="message_id" type="C-OS" max="65"/>
<mandatory name="final_date" type="C-OS" max="17"/>
<mandatory name="error_code" type="Byte" max="21"/>
</msg>
<msg code="00000004" name="submit_sm">
<mandatory name="service_type" type="C-OS" max="6"/>
<mandatory name="source_addr_ton" type="Byte"/>
<mandatory name="source_addr_npi" type="Byte"/>
<mandatory name="source_addr" type="C-OS" max="21"/>
<mandatory name="dest_addr_ton" type="Byte"/>
<mandatory name="dest_addr_npi" type="Byte"/>
<mandatory name="destination_addr" type="C-OS" max="21"/>
<mandatory name="esm_class" type="Byte"/>
<mandatory name="protocol_id" type="Byte"/>
<mandatory name="priority_flag" type="Byte"/>
<mandatory name="schedule_delivery_time" type="C-OS" max="17"/>
<mandatory name="validity_period" type="C-OS" max="17"/>
<mandatory name="registered_delivery" type="Byte"/>
<mandatory name="replace_if_present_flag" type="Byte"/>
<mandatory name="data_coding" type="Byte"/>
<mandatory name="sm_default_msg_id" type="Byte"/>
<mandatory name="sm_length" type="Byte"/>
<mandatory name="short_message" type="OctetString"/>
</msg>
<msg code="80000004" name="submit_sm_resp">
<mandatory name="message_id" type="C-OS" max="65"/>
</msg>
<msg code="00000005" name="deliver_sm">
<mandatory name="service_type" type="C-OS" max="6"/>
<mandatory name="source_addr_ton" type="Byte"/>
<mandatory name="source_addr_npi" type="Byte"/>
<mandatory name="source_addr" type="C-OS" max="21"/>
<mandatory name="dest_addr_ton" type="Byte"/>
<mandatory name="dest_addr_npi" type="Byte"/>
<mandatory name="destination_addr" type="C-OS" max="21"/>
<mandatory name="esm_class" type="Byte"/>
<mandatory name="protocol_id" type="Byte"/>
<mandatory name="priority_flag" type="Byte"/>
<mandatory name="schedule_delivery_time" type="C-OS" max="1"/>
<mandatory name="validity_period" type="C-OS" max="1"/>
<mandatory name="registered_delivery" type="Byte"/>
<mandatory name="replace_if_present_flag" type="Byte"/>
<mandatory name="data_coding" type="Byte"/>
<mandatory name="sm_default_msg_id" type="Byte"/>
<mandatory name="sm_length" type="Byte"/>
<mandatory name="short_message" type="OctetString"/>
</msg>
<msg code="80000005" name="deliver_sm_resp">
<mandatory name="message_id" type="C-OS" max="1"/>
</msg>
<msg code="00000006" name="unbind"/>
<msg code="80000006" name="unbind_resp"/>
<msg code="00000007" name="replace_sm">
<mandatory name="message_id" type="C-OS" max="65"/>
<mandatory name="source_addr_ton" type="Byte"/>
<mandatory name="source_addr_npi" type="Byte"/>
<mandatory name="source_addr" type="C-OS" max="21"/>
<mandatory name="schedule_delivery_time" type="C-OS" max="17"/>
<mandatory name="validity_period" type="C-OS" max="17"/>
<mandatory name="registered_delivery" type="Byte"/>
<mandatory name="sm_default_msg_id" type="Byte"/>
<mandatory name="sm_length" type="Byte"/>
<mandatory name="short_message" type="OctetString"/>
</msg>
<msg code="80000007" name="replace_sm_resp"/>
<msg code="00000008" name="cancel_sm">
<mandatory name="service_type" type="C-OS" max="6"/>
<mandatory name="message_id" type="C-OS" max="65"/>
<mandatory name="source_addr_ton" type="Byte"/>
<mandatory name="source_addr_npi" type="Byte"/>
<mandatory name="source_addr" type="C-OS" max="21"/>
<mandatory name="dest_addr_ton" type="Byte"/>
<mandatory name="dest_addr_npi" type="Byte"/>
<mandatory name="destination_addr" type="C-OS" max="21"/>
</msg>
<msg code="80000008" name="cancel_sm_resp"/>
<msg code="00000009" name="bind_transceiver">
<mandatory name="system_id" type="C-OS" max="16"/>
<mandatory name="password" type="C-OS" max="9"/>
<mandatory name="system_type" type="C-OS" max="13"/>
<mandatory name="interface_version" type="Byte"/>
<mandatory name="addr_ton" type="Byte"/>
<mandatory name="addr_npi" type="Byte"/>
<mandatory name="address_range" type="C-OS" max="41"/>
</msg>
<msg code="80000009" name="bind_transceiver_resp">
<mandatory name="system_id" type="C-OS" max="16"/>
</msg>
<msg code="0000000B" name="outbind">
<mandatory name="system_id" type="C-OS" max="16"/>
<mandatory name="password" type="C-OS" max="9"/>
</msg>
<msg code="00000015" name="enquire_link"/>
<msg code="80000015" name="enquire_link_resp"/>
<msg code="00000021" name="submit_multi">
<mandatory name="service_type" type="C-OS" max="6"/>
<mandatory name="source_addr_ton" type="Byte"/>
<mandatory name="source_addr_npi" type="Byte"/>
<mandatory name="source_addr" type="C-OS" max="21"/>
<mandatory name="number_of_dests" type="Byte"/>
<mandatory name="dest_address" type="OctetString"/>
<mandatory name="esm_class" type="Byte"/>
<mandatory name="protocol_id" type="Byte"/>
<mandatory name="priority_flag" type="Byte"/>
<mandatory name="schedule_delivery_time" type="C-OS" max="17"/>
<mandatory name="validity_period" type="C-OS" max="17"/>
<mandatory name="registered_delivery" type="Byte"/>
<mandatory name="replace_if_present_flag" type="Byte"/>
<mandatory name="data_coding" type="Byte"/>
<mandatory name="sm_default_msg_id" type="Byte"/>
<mandatory name="sm_length" type="Byte"/>
<mandatory name="short_message" type="OctetString"/>
</msg>
<msg code="80000021" name="submit_multi_resp">
<mandatory name="message_id" type="C-OS" max="65"/>
<mandatory name="no_unsuccess" type="Byte"/>
<mandatory name="unsuccess_sme" type="OctetString"/>
</msg>
<msg code="00000102" name="alert_notification">
<mandatory name="source_addr_ton" type="Byte"/>
<mandatory name="source_addr_npi" type="Byte"/>
<mandatory name="source_addr" type="C-OS" max="65"/>
<mandatory name="esme_addr_ton" type="Byte"/>
<mandatory name="esme_addr_npi" type="Byte"/>
<mandatory name="esme_addr" type="C-OS" max="65"/>
</msg>
<msg code="00000103" name="data_sm">
<mandatory name="service_type" type="C-OS" max="6"/>
<mandatory name="source_addr_ton" type="Byte"/>
<mandatory name="source_addr_npi" type="Byte"/>
<mandatory name="source_addr" type="C-OS" max="21"/>
<mandatory name="dest_addr_ton" type="Byte"/>
<mandatory name="dest_addr_npi" type="Byte"/>
<mandatory name="destination_addr" type="C-OS" max="65"/>
<mandatory name="esm_class" type="Byte"/>
<mandatory name="registered_delivery" type="Byte"/>
<mandatory name="data_coding" type="Byte"/>
</msg>
<msg code="80000103" name="data_sm_resp">
<mandatory name="message_id" type="C-OS" max="65"/>
</msg>
<!-- Optional TAG parameters -->
<tag code="0005" name="dest_addr_subunit" type="Byte"/>
<tag code="0006" name="dest_network_type" type="Byte"/>
<tag code="0007" name="dest_bearer_type" type="Byte"/>
<tag code="0008" name="dest_telematics_id" type="Word"/> <!-- To be defined -->
<tag code="000D" name="source_addr_subunit" type="Byte"/>
<tag code="000E" name="source_network_type" type="Byte"/>
<tag code="000F" name="source_bearer_type" type="Byte"/>
<tag code="0010" name="source_telematics_id" type="Byte"/>
<tag code="0017" name="qos_time_to_live" type="Integer"/>
<tag code="0019" name="payload_type" type="Byte"/>
<tag code="001D" name="additional_status_info_text" type="C-OS"/>
<tag code="001E" name="receipted_message_id" type="C-OS"/>
<tag code="0030" name="ms_msg_wait_facilities" type="Byte"/>
<tag code="0201" name="privacy_indicator" type="Byte"/>
<tag code="0202" name="source_subaddress" type="OctetString"/>
<tag code="0203" name="dest_subaddress" type="OctetString"/>
<tag code="0204" name="user_message_reference" type="Word"/>
<tag code="0205" name="user_response_code" type="Byte"/>
<tag code="020A" name="source_port" type="Word"/>
<tag code="020B" name="destination_port" type="Word"/>
<tag code="020C" name="sar_msg_ref_num" type="Word"/>
<tag code="020D" name="language_indicator" type="Byte"/>
<tag code="020E" name="sar_total_segments" type="Byte"/>
<tag code="020F" name="sar_segment_seqnum" type="Byte"/>
<tag code="0210" name="sc_interface_version" type="Byte"/>
<tag code="0302" name="callback_num_pres_ind" type="Byte"/>
<tag code="0303" name="callback_num_atag" type="OctetString"/>
<tag code="0304" name="number_of_messages" type="Byte"/>
<tag code="0381" name="callback_num" type="OctetString"/>
<tag code="0420" name="dpf_result" type="Byte"/>
<tag code="0421" name="set_dpf" type="Byte"/>
<tag code="0422" name="ms_availability_status" type="Byte"/>
<tag code="0423" name="network_error_code" type="OctetString"/>
<tag code="0424" name="message_payload" type="OctetString"/>
<tag code="0425" name="delivery_failure_reason" type="Byte"/>
<tag code="0426" name="more_messages_to_send" type="Byte"/>
<tag code="0427" name="message_state" type="Byte"/>
<tag code="0501" name="ussd_service_op" type="Byte"/>
<tag code="1201" name="display_time" type="Byte"/>
<tag code="1203" name="sms_signal" type="Word"/>
<tag code="1204" name="ms_validity" type="Byte"/>
<tag code="130C" name="alert_on_msg_delivery" type="None"/>
<tag code="1380" name="its_reply_type" type="Byte"/>
<tag code="1383" name="its_session_info" type="Word"/>
<!-- Error codes -->
<err code="00000000" name="ESME_ROK" desc="No Error"/>
<err code="00000001" name="ESME_RINVMSGLEN" desc="Message Length is invalid"/>
<err code="00000002" name="ESME_RINVCMDLEN" desc="Command Length is invalid"/>
<err code="00000003" name="ESME_RINVCMDID" desc="Invalid Command ID"/>
<err code="00000004" name="ESME_RINVBNDSTS" desc="Incorrect BIND Status for given command"/>
<err code="00000005" name="ESME_RALYBND" desc="ESME Already in Bound State"/>
<err code="00000006" name="ESME_RINVPRTFLG" desc="Invalid Priority Flag"/>
<err code="00000007" name="ESME_RINVREGDLVFLG" desc="Invalid Registered Delivery Flag"/>
<err code="00000008" name="ESME_RSYSERR" desc="System Error"/>
<err code="0000000A" name="ESME_RINVSRCADR" desc="Invalid Source Address"/>
<err code="0000000B" name="ESME_RINVDSTADR" desc="Invalid Dest Addr"/>
<err code="0000000C" name="ESME_RINVMSGID" desc="Message ID is invalid"/>
<err code="0000000D" name="ESME_RBINDFAIL" desc="Bind Failed"/>
<err code="0000000E" name="ESME_RINVPASWD" desc="Invalid Password"/>
<err code="0000000F" name="ESME_RINVSYSID" desc="Invalid System ID"/>
<err code="00000011" name="ESME_RCANCELFAIL" desc="Cancel SM Failed"/>
<err code="00000013" name="ESME_RREPLACEFAIL" desc="Replace SM Failed"/>
<err code="00000014" name="ESME_RMSGQFUL" desc="Message Queue Full"/>
<err code="00000015" name="ESME_RINVSERTYP" desc="Invalid Service Type"/>
<err code="00000033" name="ESME_RINVNUMDESTS" desc="Invalid number of destinations"/>
<err code="00000034" name="ESME_RINVDLNAME" desc="Invalid Distribution List name"/>
<err code="00000040" name="ESME_RINVDESTFLAG" desc="Destination flag is invalid(submit_multi)"/>
<err code="00000042" name="ESME_RINVSUBREP" desc="Invalid ‘submit with replace’ request(i.e. submit_sm with replace_if_present_flag set)"/>
<err code="00000043" name="ESME_RINVESMCLASS" desc="Invalid esm_class field data"/>
<err code="00000044" name="ESME_RCNTSUBDL" desc="Cannot Submit to Distribution List"/>
<err code="00000045" name="ESME_RSUBMITFAIL" desc="submit_sm or submit_multi failed"/>
<err code="00000048" name="ESME_RINVSRCTON" desc="Invalid Source address TON"/>
<err code="00000049" name="ESME_RINVSRCNPI" desc="Invalid Source address NPI"/>
<err code="00000050" name="ESME_RINVDSTTON" desc="Invalid Destination address TON"/>
<err code="00000051" name="ESME_RINVDSTNPI" desc="Invalid Destination address NPI"/>
<err code="00000053" name="ESME_RINVSYSTYP" desc="Invalid system_type field"/>
<err code="00000054" name="ESME_RINVREPFLAG" desc="Invalid replace_if_present flag"/>
<err code="00000055" name="ESME_RINVNUMMSGS" desc="Invalid number of messages"/>
<err code="00000058" name="ESME_RTHROTTLED" desc="Throttling error (ESME has exceeded allowed message limits)"/>
<err code="00000061" name="ESME_RINVSCHED" desc="Invalid Scheduled Delivery Time"/>
<err code="00000062" name="ESME_RINVEXPIRY" desc="Invalid message validity period(Expiry time)"/>
<err code="00000063" name="ESME_RINVDFTMSGID" desc="Predefined Message Invalid or Not Found"/>
<err code="00000064" name="ESME_RX_T_APPN" desc="ESME Receiver Temporary App Error Code"/>
<err code="00000065" name="ESME_RX_P_APPN" desc="ESME Receiver Permanent App Error Code"/>
<err code="00000066" name="ESME_RX_R_APPN" desc="ESME Receiver Reject Message Error Code"/>
<err code="00000067" name="ESME_RQUERYFAIL" desc="query_sm request failed"/>
<err code="000000C0" name="ESME_RINVOPTPARSTREAM" desc="Error in the optional part of the PDU Body"/>
<err code="000000C1" name="ESME_ROPTPARNOTALLWD" desc="Optional Parameter not allowed"/>
<err code="000000C2" name="ESME_RINVPARLEN" desc="Invalid Parameter Length"/>
<err code="000000C3" name="ESME_RMISSINGOPTPARAM" desc="Expected Optional Parameter missing"/>
<err code="000000C4" name="ESME_RINVOPTPARAMVAL" desc="Invalid Optional Parameter Value"/>
<err code="000000FE" name="ESME_RDELIVERYFAILURE" desc="Delivery Failure (used for data_sm_resp)"/>
<err code="000000FF" name="ESME_RUNKNOWNERR" desc="Unknown Error"/>
</dictionary>