Академический Документы
Профессиональный Документы
Культура Документы
12.10.1999
2
SMPP PDU Definition
. ,
SMPP Developers Forum, , ,
, - .
, , -
, - , ,
, ,, ,
, , .
,
, , SMPP DEVELOPERS FORUM
- .
SMPP DEVELOPERS FORUM
, - ,
, ,
,
, .
, , ,
. , SMPP DEVELOPERS FORUM
- , ,
,
.
1: ,
, .
2: SMPP DEVELOPERS FORUM
NORTHGROVE LIMITED, COMPANY NUMBER 309113, REGISTERED
OFFICE GARDNER HOUSE, WILTON PLACE, DUBLIN 2.
3
SMPP PDU Definition
4.1.5
"Bind_Transceiver
v3.4
SMPP 30-July1999
1.1
PDU
bind_transceiver
interface_version .
v3.4
SMPP 12
1999 . 1.2
:
4.1.5
"Bind_Transceiver
PDU bind_transceiver
interface_version
.
,
SMPP Protocol Specification
v 3.4
interface_version
PDU
bind_transceiver.
SMPP V 3. 4- 05Oct99-01
4
SMPP PDU Definition
1. ........................................................................................................................................... 9
1.1 SMPP ................................................................................................................... 9
1.2 ..................................................................................................................................... 11
1.3 ................................................................................................................................... 12
1.4 ........................................................................................................................................ 13
2. SMPP (SMPP Protocol Overview) ...................................................... 14
2.1 SMPP (SMPP Protocol Definition) ...................................................... 16
2.2 SMPP (SMPP Session ) ............................................................... 17
2.2.1 Outbind ................................................................................................................................ 19
2.3 SMPP PDUs ................................................................................................................................ 20
2.4 SMPP (SMPP Network Layer Connections) ................................. 23
2.5 SMPP, ESME SMSC ............................................................ 24
2.5.2 SMPP ESME ................................... 25
2.6 SMPP, SMSC ESME ............................................................... 26
2.6.1 SMPP ESME SMSC ........................................................................... 27
2.6.2 SMPP ESME........................................ 27
2.7 SMSC ESME .............................................................. 28
2.7.1 SMPP - ESME Transceiver..................................... 29
2.8 SMPP (SMPPError Handling)................................................................... 30
2.9 SMPP ....................................................................................................................... 31
2.10 ................................................................................................................ 32
2.10.1 Store and Forward .............................................................................. 32
2.10.2 Datagram ............................................................................................ 34
2.10.3 Transaction ......................................................................................... 35
2.11 ................................................................................................................. 36
3. PDU SMPP ...................................................................................... 38
3.1.1 SMPP (SMPP Parameter Size Notation)................. 39
3.2 PDU SMPP ................................................................................. 40
3.2.1 PDU SMPP (SMPP PDU Layout) ................................................................... 40
3.2.2 PDU SMPP (SMPP PDU Length) ............................................................................. 42
3.2.4 (Optional Parameters) .......................................................... 43
3.2.4.1 (Optional Parameter Format)............................... 44
3.3 SMPP (SMPP Forward Compatibility) ............. 44
3.4 SMPP (SMPP Backward Compatibility) ......... 45
5
SMPP PDU Definition
SMPP Protocol Specification v3.4
4. PDU SMPP ................................................................................................................ 47
4.1.1 BIND_TRANSMITTER ........................................................................................ 49
4.1.2 BIND_TRANSMITTER_RESP ............................................................................... 51
4.1.3 BIND_RECEIVER................................................................................................ 52
4.1.4 BIND_RECEIVER_RESP ....................................................................................................... 55
4.1.5 BIND_TRANSCEIVER ......................................................................................... 56
4.1.6 BIND_TRANSCEIVER_RESP ................................................................................................. 59
4.1.7 OUTBIND . ....................................................................................................... 60
4.2 UNBIND ............................................................................................................. 61
4.2.1 UNBIND ......................................................................................... 61
4.2.2 UNBIND_RESP .................................................................................................................. 62
4.3 PDU GENERIC_NACK .......................................................................................................... 63
4.4 SUBMIT_SM ...................................................................................................... 64
4.4.1 SUBMIT_SM ........................................................................................ 64
4.4.1.1 -
(Source and
Destination Addressing) ................................................................................................................ 76
4.2 SUBMIT_SM_RESP ............................................................................................................. 77
4.5 SUBMIT_MULTI ................................................................................................. 78
4.5.1 SUBMIT_MULTI ................................................................................................ 78
4.5.2 SUBMIT_MULTI_RESP ...................................................................................... 89
4.5.2.1 ......................................................................................................... 90
4.6 DELIVER_SM .......................................................................................................... 91
4.6.1 DELIVER_SM .................................................................................................... 92
4.6.2 DELIVER_SM_RESP .......................................................................................... 99
4.7 DATA_SM ............................................................................................................ 100
4.7.1 DATA_SM ..................................................................................................... 101
4.8 QUERY_SM ...................................................................................................... 112
4.8.1 QUERY_SM ................................................................................................... 112
4.8.2 QUERY_SM_RESP ........................................................................................... 114
4.9 CANCEL_SM ..................................................................................................... 116
4.9.1 CANCEL_SM ................................................................................................... 116
4.9.2 CANCEL_SM_RESP ........................................................................................ 120
4-25: PDU cancel_sm_resp .......................................................................................... 120
4.10 "REPLACE_SM .................................................................................................. 121
4.10.2 REPLACE_SM_RESP ...................................................................................... 124
6
SMPP PDU Definition
SMPP Protocol Specification v3.4
4.11 "ENQUIRE_LINK ................................................................................................ 125
4.11.1 ENQUIRE_LINK ........................................................................................... 125
4.11.2 ENQUIRE_LINK_RESP.................................................................................... 126
4.12 " ALERT_NOTIFICATION .................................................................................... 126
4.12.1 ALERT_NOTIFICATION .................................................................................. 127
5. SMPP .................................................................................................. 129
5.1.1 command_length ............................................................................................................... 129
5.1.2.1 Command SMPP .................................................................................................. 130
5.1.3 command_status ................................................................................................................ 133
5.1.4 sequence_number .............................................................................................................. 138
5.2 SMPP (Mandatory SMPP Parameters) .......................................... 139
5.2.5 addr_ton, source_addr_ton, dest_addr_ton, ESME _addr_ton ......................................... 139
5.2.6 addr_npi, source_addr_npi, dest_addr_npi, ESME _addr_npi........................................... 141
5.2.7 address_range .................................................................................................................... 142
5.2.8 source_addr ....................................................................................................................... 142
5.2.11 service_type ..................................................................................................................... 143
5.2.13protocol_id ........................................................................................................................ 145
5.2.20 sm_default_msg_id .......................................................................................................... 148
5.2.21 sm_length......................................................................................................................... 148
5.2.23 message_id....................................................................................................................... 149
5.2.25 dest_flag........................................................................................................................... 149
5.2.28 message_state.................................................................................................................. 150
5.3 SMPP ..................................................................... 151
(SMPP Optional Parameter Description) ...................................... ! .
(Optional Parameter Tag Identifiers) ....................................... ! .
5.3.2.2 source_addr_subunit ....................................................................................................... 154
5.3.2.3 dest_network_ .......................................................................................................... 155
5.3.2.4 source_network_ ....................................................................................................... 155
5.3.2.5 dest_bearer_type ............................................................................................................ 156
5.3.2.6 source_bearer_type......................................................................................................... 156
5.3.2.7 dest_telematics_id .......................................................................................................... 157
5.3.2.8 source_telematics_id....................................................................................................... 157
5.3.2.9 qos_time_to_live ............................................................................................................. 158
5.3.2.10 payload_ .................................................................................................................. 158
5.3.2.11 additional_status_info_text ........................................................................................... 159
7
SMPP PDU Definition
SMPP Protocol Specification v3.4
5.3.2.12 receipted_message_id ................................................................................................... 159
5.3.2.13 ms_msg_wait_facilities .................................................................................................. 159
5.3.2.14 privacy_indicator ........................................................................................................... 160
5.3.2.15 source_subaddress ........................................................................................................ 161
5.3.2.16 dest_subaddress ............................................................................................................ 162
5.3.2.18 user_response_code ...................................................................................................... 163
5.3.2.19 language_indicator ........................................................................................................ 163
5.3.2.20 source_port ................................................................................................................... 164
5.3.2.21 destination_port ............................................................................................................ 164
5.3.2.22 sar_msg_ref_num .......................................................................................................... 165
5.3.2.23 sar_total_segments ....................................................................................................... 165
5.3.2.24 sar_segment_seqnum.................................................................................................... 166
5.3.2.25 sc_interface_version ...................................................................................................... 167
5.3.2.26 display_time .................................................................................................................. 167
5.3.2.27 ms_validity .................................................................................................................... 168
5.3.2.28 dpf_result ...................................................................................................................... 168
5.3.2.29 set_dpf .......................................................................................................................... 169
5.3.2.30 ms_availability_status.................................................................................................... 169
5.3.2.31 network_error_code ...................................................................................................... 170
5.3.2.32 message_payload .......................................................................................................... 171
5.3.2.33 delivery_failure_reason ................................................................................................. 171
5.3.2.34 more_messages_to_send .............................................................................................. 172
5.3.2.35 message_state ............................................................................................................... 172
5.3.2.36 callback_num................................................................................................................. 173
5.3.2.37 callback_num_pres_ind ................................................................................................. 174
5.3.2.38 callback_num_atag ........................................................................................................ 175
5.3.2.39 number_of_messages.................................................................................................... 176
5.3.2.40 sms_signal ..................................................................................................................... 176
5.3.2.41 alert_on_message_delivery ........................................................................................... 176
5.3.2.42 its_reply_type................................................................................................................ 177
5.3.2.43 its_session_info ............................................................................................................. 177
5.3.2.44 ussd_service_op ............................................................................................................ 178
6. (Network Implementation) ............................................................................ 179
7. (General Definitions).................................................................................... 180
7.1.1.2 (Relative Time Format) ............................................ 180
8
SMPP PDU Definition
SMPP Protocol Specification v3.4
A ................................................................................................................................... 183
B ................................................................................................................................... 184
C ................................................................................................................................... 186
9
SMPP PDU Definition
1.
1.1 SMPP
(SMPP)
,
(Message Center),
:
: ,
(server) SMPP, (client) SMPP,
(External Short Message Entity) (ESME),
SMSC .
10
SMPP PDU Definition
SMPP Protocol Specification v3.4
SMPP - ,
:
ESME SMSC
ESME SMSC SME (, )
, SMSC
, SMSC
( SMSC
(delivery receipt) )
, ,
, ,
11
SMPP PDU Definition
1.2
3.4 SMPP
, v3.4
SMPP.
v3.4 SMPP SMSC External Short Message Entity (ESME),
.
12
SMPP PDU Definition
1.3
ACK
Acknowledgement -
API
Application ProgrammingInterface -
CDR
Call Detail Record - (
)
ESME
External Short Message Entity -
. . [1] ([1])
ETSI
European Telecommunications StandardsInstitute -
HEADER
SMPP, PDU s SMPP
MB
Message Bureau -
.
MSB
Most Significant Byte -
MSC
Mobile Switching Centre -
MS
Mobile Station -
MWI
Message Waiting Indication -
NACK
Negative Acknowledgement -
NSAP
Network Service Access Point -
PDU
Protocol Data Unit - ,
PSSD
Process Unstructured Supplementary Services Data -
PSSR
Process Unstructured Supplementary Services Request
SME
Short Message Entity -
SMSC
Short Message Service Centre
SMPP
Short Message Peer to Peer Protocol -
UDHI
User Data Header Indicator -
URL
Uniform Resource Locator -
USSN
Unstructured Supplementary ServicesNotification -
USSR
Unstructured Supplementary Services Request -
VMA
Voice Mail Alert -
VPS
Voice Processing System -
TIA
Telecommunications Industry Association -
( TIA)
WAP
Wireless Application Protocol (http :// www. wapforum. org ) -
WCMP
Wireless Control Message Protocol -
WDP
Wireless Datagram Protocol
1: ESME
, Voice Processing Systems, WAP Proxy Servers Message Handling
. SMEs, Mobile Network,
, (MS).
13
SMPP PDU Definition
1.4
14
SMPP PDU Definition
. , ,
,
.
, ,
SMSC, .
,
SMSC
,
.
. , ,
.
15
SMPP PDU Definition
WAP Proxy Server. WAP Proxy Server WAP .WAP Proxy Server SMS USSD WDP
WDP .
16
SMPP PDU Definition
2)
3)
, ESME () (Transceiver) SMSC
, SMSC ESME () (Transceiver)
2-1 ,
.
17
SMPP PDU Definition
SMPP :
OPEN (Connected and Bind Pending)
ESME SMSC, Bind.
BOUND_TX
ESME Bind Transmitter ESME ( PDU
bind_transmitter) SMSC, Bind.
ESME, , SMSC
Mobile Station ESME. ESME ,
.
18
SMPP PDU Definition
BOUND_RX
ESME bind ESME Receiver ( PDU bind_receiver)
SMSC, Bind.
ESME , , SMSC,
, ESME SMSC (,
SMSC ).
BOUND_TRX
ESME bind Transceiver ESME ( PDU bind_transceiver)
SMSC, Bind. ESME, Transceiver,
, ESME Transmitter
ESME Receiver.
, ESME, ,
SMSC Mobile Station ESME. SME
SMSC,
c, ESME SMSC (, SMSC ).
CLOSED (Unbound and Disconnected)
ESME (unbound) SMSC . SMSC
(unbind) ESME .
19
SMPP PDU Definition
2.2.1 Outbind
outbind SMSC ESME
bind_receiver SMSC . ,
, , SMSC
ESME.
SMSC outbind SMPP SMSC ESME,
ESME .
, SMSC ESME
outbind. ESME bind_receiver,
SMSC bind_receiver_resp.
2-2: Outbind
20
SMPP PDU Definition
SMPP
ESME
SMSC
bind_transmitter
OPEN
Yes
No
bind_transmitter_resp
OPEN
No
Yes
bind_receiver
OPEN
Yes
No
bind_receiver_resp
OPEN
No
Yes
bind_transceiver
OPEN
Yes
No
bind_transceiver_resp
OPEN
No
Yes
outbind
OPEN
No
Yes
unbind
BOUND_TX
Yes
Yes
BOUND_RX
Yes
Yes
BOUND_TRX
Yes
Yes
BOUND_TX
Yes
Yes
BOUND_RX
Yes
Yes
BOUND_TRX
BOUND_TX
BOUND_TRX
BOUND_TX
BOUND_TRX
BOUND_TX
Yes
Yes
Yes
No
No
Yes
Yes
No
No
Yes
Yes
No
BOUND_TRX
Yes
No
BOUND_TX
No
Yes
BOUND_TRX
No
Yes
unbind_resp
submit_sm
submit_sm_resp
submit_sm_multi
submit_sm_multi_resp
21
SMPP PDU Definition
data_sm
BOUND_TX
Yes
Yes
BOUND_RX
Yes
Yes
BOUND_TRX
Yes
Yes
BOUND_TX
Yes
Yes
BOUND_RX
Yes
Yes
BOUND_TRX
Yes
Yes
BOUND_RX
No
Yes
BOUND_TRX
No
Yes
BOUND_RX
Yes
No
BOUND_TRX
Yes
No
BOUND_TX
Yes
No
BOUND_TRX
Yes
No
BOUND_TX
No
Yes
BOUND_TRX
No
Yes
BOUND_TX
Yes
No
BOUND_TRX
Yes
No
BOUND_TX
No
Yes
BOUND_TRX
No
Yes
replace_sm
BOUND_TX
Yes
No
replace_sm_resp
BOUND_TX
No
Yes
enquire_link
BOUND_TX
Yes
Yes
BOUND_RX
Yes
Yes
BOUND_TRX
Yes
Yes
data_sm_resp
deliver_sm
deliver_sm_resp
query_sm
query_sm_resp
cancel_sm
cancel_sm_resp
22
SMPP PDU Definition
enquire_link_resp
alert_notification
generic_nack
BOUND_TX
Yes
Yes
BOUND_RX
Yes
Yes
BOUND_TRX
Yes
Yes
BOUND_RX
No
Yes
BOUND_TRX
No
Yes
BOUND_TX
Yes
Yes
BOUND_RX
Yes
Yes
BOUND_TRX
Yes
Yes
23
SMPP PDU Definition
SMPP
. , ,
, ,
( ), .
, SMPP, ESME SMSC
, PDU s SMPP.
SMPP
ESME SMSC.
24
SMPP PDU Definition
25
SMPP PDU Definition
SMPP Protocol Specification v3.4
2.5.2 SMPP ESME
/ SMPP
SMSC ESME , Transmitter ().
26
SMPP PDU Definition
27
SMPP PDU Definition
28
SMPP PDU Definition
SMSC SMPP ,
ESME . SMPP ESME
, .
: SMPP
(.. ) SMPP ESME SMSC, .
SMPP SMSC .
, , 10
() SMPP.
data_sm
submit_sm
deliver_sm
29
SMPP PDU Definition
SMPP Protocol Specification v3.4
SMSC, ESME
SMPP, , SMSC
:
query_sm
- SMSC
cancel_sm -
replace_sm -
30
SMPP PDU Definition
ESME
SMPP, SMSC ( ).
sequence_number SMPP (
) PDU SMPP PDU SMPP.
ESME PDU SMPP SMSC ,
.
SMPP SMSC .
SMSC SMPP , ESME
. SMPP ESME
.
: SMPP
(.. ) SMPP ESME SMSC, .
SMPP SMSC . ,
, 10 ()
SMPP.
2.8 SMPP (SMPPError Handling)
SMPP PDU PDU ,
PDU alert_notification ( SMPP).
, PDU
SMPP PDU SMPP, , PDU
. , , , PDU
.
, PDU SMPP ,
,
command_status PDU (. 3.2, PDU SMPP
).
PDU , PDU
generic_nak (. 4.3, GENERIC_NACK PDU).
31
SMPP PDU Definition
2.9 SMPP
SMPP, ,
SMPP ESME ,
SMSC SMPP :
SMPP , ESME
SMPP,
SMSC.
SMPP , ESME, SMSC
SMPP SMPP enquire_link.
SMPP, ,
SMPP, SMPP .
SMPP, ,
SMPP SMPP.
SMPP 7.2,
( Timer Definitions ).
32
SMPP PDU Definition
2.10
SMPP (Message Mode option), ,
SMSC, ESME SMSC .
, SMSC, :
.
2.10.1 Store and Forward
SMS SMSC (,
)
SME. , , SMSC
. store and forward.
SMPP store and forward submit_sm,
ESME SMSC, ,
.
data_sm.
33
SMPP PDU Definition
2-7: SMPP
34
SMPP PDU Definition
SMPP Protocol Specification v3.4
2.10.2 Datagram
2-8: SMPP
Datagram
35
SMPP PDU Definition
2.10.3 Transaction
2-9: SMPP
Transaction
36
SMPP PDU Definition
2.11
(normal) ,
ESME SMSC submit_sm, deliver_sm data_sm.
esm_class SMPP .
SMPP :
esm_class
message_state
network_error_code
receipted_message_id
(Intermediate Notification)
, SMSC
ESME .
.
( memory capacity exceeded )
Voice Mail System.
, ,
SMSC .
Intermediate Notification
SMSC SMSC Service Provider .
37
SMPP PDU Definition
(Conversation Abort)
Interactive Teleservice,
Korean CDMA. MS SME ,
. Conversation Abort PDU
deliver_sm data_sm.
: Conversation Abort .
38
SMPP PDU Definition
3. PDU SMPP
3.1 PDU SMPP (SMPP PDU - Definitions)
PDU SMPP
SMPP:
Integer
ASCII, NULL.
C - Octet String
(Decimal)
ASCII,
(0 - 9), NULL.
C - Octet String
(Hex)
ASCII,
(0 -F), NULL.
Octet String
, NULL.
39
SMPP PDU Definition
. ,
SMPP , - .
Size
of String specified
Integer
.
32 (4 ).
Var
NULL
.
String
,
NULL (0 x 00).
Max 16
Fixed
1or 17
Var
C - Octet
:
1 , NULL
String
,
NULL
( 16 NULL ).
Octet
0 254 String
0 254 .
3-1: C-Octet String Notation
40
SMPP PDU Definition
PDU
()
command
command
command
sequence
length
id
status
number
Body
PDU Body
4
Length = (Command Length value - 4)
3-2: PDU SMPP
SMPP (SMPP Header) PDU SMPP
. SMPP PDU Body
PDU SMPP.
PDU SMPP
4. PDU SMPP (" SMPP PDU Definition").
3.2.1 PDU SMPP (SMPP PDU Layout)
SMPP PDU
command_length
Integer command_length
PDU
SMPP,
.
command_id
Integer command_id
PDU SMPP, ,
submit_sm, query_sm, ..
PDU SMPP
0x00000000 0x000001FF
PDU
SMPP :
0x80000000 0x 800001 FF
41
SMPP PDU Definition
( , command_id
SMPP
command_id
SMPP, 31).
SMPP Command ID 5.
command_status
Integer
command_status
SMPP.
PDU
SMPP
NULL PDU
SMPP.
Error
SMPP
5.
sequence_number 4
Integer
SMPP
, PDU SMPP
sequence_number
PDU
SMPP.
sequence_number
PDU SMPP
PDU
SMPP.
sequence_number
,
PDU
SMPP,
command_id.
H
E
A
D
E
R
Mandatory
Parameters
var
4.
PDU
SMPP
O
D
Y
Optional
Parameters
var.
mixed
(Optional
Parameters),
42
SMPP PDU Definition
PDU SMPP,
command_id
4. PDU
SMPP (" SMPP PDU Definition ")
PDU SMPP.
3-3: PDU SMPP
:
, PDU SMPP :
0000 00 2 F 00 00 00 02 00 00 00 00 00 00 00 01 53 4 D 50 50 33 54 45 53 54 00
7365 63 72 65 74 30 38 00 53 55 42 4 D 49 54 31 00 00 01 01 00
: Hex .
:
00 00 00 2F Command Length 0x0000002F
00 00 00 02 Command ID 0x00000002 (bind_transmitter)
00 00 00 00 Command Status 0x00000000
00 00 00 01 Sequence Number 0x00000001
43
SMPP PDU Definition
PDU ( PDU
bind_ transmitter).
3.2.3 SMPP
( )
sm_length PDU SMPP submit_sm, submit_multi, deliver_sm replace_sm.
, sm_length
(. 5.2.21), - 254 . ESME
, 254 , sm_length NULL
message_payload ()
.
SMPP PDU s submit_sm, submit_multi,
data_sm deliver_sm.
(Optional Parameters) 3.2.4 "
Optional Parameters ".
: , MS,
.
(Optional Parameters) ,
. Optional Parameters
, SMPP.
Optional Parameters PDU , PDU SMPP
"Optional Parameters". ,
PDU SMPP "Optional Parameters" ,
.
44
SMPP PDU Definition
TLV (Tag,
Length, Value). Tag, Length Value
5.
Tag
Integer
Tag
. Tag
2 .
Length
Integer
Length Value .
,
Tag
Length.
Length
2 .
Value
variable variable
Value
.
3-4:
45
SMPP PDU Definition
SMPP Protocol Specification v3.4
SMPP SMPP, Optional Parameter .
Optional Parameter Tag ,
SMPP, .
Optional Parameter Tag
SMPP, Optional Parameter ,
Optional Parameter.
SMPP, ,
( reserved ), ,
default , , .
Parameter ,
SMPP , , Parameter Value .
SMPP, , Optional Parameter,
, , Expected
Optional Parameter ( Expected Optional Parameter missing ).
Parameter
, SMPP. SMPP, Parameter
, , ,
Parameter, Parameter ,
( invalid parameter length ).
46
SMPP PDU Definition
SMPP Protocol Specification v3.4
SMPP.
PDU SMPP.
.
Optional Parameters ,
:
SMSC, SMPP v 3.4 ,
ESME ,
SMPP (.v 3.3). SMSC SMPP, ESME
Bind. ESME, SMPP v 3.3 ,
interface_version bind , 0x34.
SMSC, v 3.4 ,
SMPP, sc_interface_version PDU bind. bind
response sc_interface_version , ESME , SMSC
.
ESME , SMPP v 3.4 ,
SMSC,
. ESME SMSC PDU bind response SMPP.
SMSC, SMPP v 3.4 ,
IDs , 8 ESME,
SMPP v 3.3 .
47
SMPP PDU Definition
4. PDU SMPP
4.1 BIND
Bind SMPP ESME SMSC
SMPP
. , Bind
SMSC ESME , .
ESME ()
SME s (, ) Transmitter.
PDUs SMPP, ESME Transmitter,
2.3.
48
SMPP PDU Definition
49
SMPP PDU Definition
4.1.1 BIND_TRANSMITTER
H command_length
Integer
.
5.1.1
PDU bind_transmitter.
A command_id
Integer ,
D
E
5.1.2
bind_transmitter.
command_status
Integer PDU
5.1.3
bind_transmitter.
NULL.
sequence_number
a
Integer
5.1.4
.
PDU
bind_transmitter_resp
.
system_id b
Var.
COctet
ESME ,
max
String
bind SMSC
16
password c
Var.
COctet
SMSC
max
String
ESME ,
COctet
String
to bind.
ESME ,
bind SMSC
.
9
system_ d
Var.
13
5.2.1
5.2.2
5. 2.3
50
SMPP PDU Definition
interface_version
Integer SMPP,
5.2.4
B
ESME .
O
addr_ton
Integer of Number
5.2.5
D
ESME .
Y
,
NULL
addr_npi
Integer
5.2.6
Var.
COctet
ESME.
max
String
41
5.2.7
NULL.
51
SMPP PDU Definition
SMPP Protocol Specification v3.4
4.1.2 BIND_TRANSMITTER_RESP
command_length
Integer
H
E
5.1.1
PDU bind_transmitter_resp.
command_id
Integer
A
D
5.1.2
bind_transmitter_resp.
command_status
Integer
sequence_number
Integer
5.1.3
bind_transmitter.
5.1.4
bind_transmitter.
B
system_id
Var.
COctet
SMSC
max
String
SMSC ESME .
16
. 5. 2.1
Y
BIND_TRANSMITTER_RESP
sc_interface_version
TLV
SMPP,
SMSC
4-2: PDU bind_transmitter_resp
5.3.2.25
52
SMPP PDU Definition
command_length
Integer
H
E
PDU 5.1.1
.
command_id
Integer ,
5.1.2
bind_receiver.
D command_status
Integer
bind_receiver.
NULL.
sequence_number a 4
PDU 5.1.3
Integer 5.1.4
.
PDU
bind_receiver_resp
.
system_id b
password c
Var.
COctet
max
String
bind
16
Var.
max
9
COctet
String
ESME
, 5. 2.1
SMSC
.
SMSC
, 5. 2.2
ESME
,
bind.
53
SMPP PDU Definition
system_ d
Var.
COctet
ESME , 5.2.3
max
String
13
interface_version
bind
SMSC
.
Integer
SMPP,
5.2.4
ESME.
B
addr_ton e
(TON) () ESME ,
NULL,
SMPP.
.
addr_npi e
Integer
5.2.6
(NPI)
(Numbering
Plan
()
Indicator)
ESME
SMPP.
NULL,
.
ESME
address_range e
Var.
COctet ESME , 5.2.7
max
String
SMPP.
41
UNIX
(
A).
NULL,
.
4-3: PDU bind_receiver SMPP
54
SMPP PDU Definition
a. , sequence_number , .
, ,
.
b. system_id binding
(binding entity), , InternetGW Internet Gateway VMS Voice Mail
System.
c. password SMSC . ESME
NULL, (
SMSC).
d. system_ () (optional) , ,
, EMAIL , WWW , ..
e. ESME addr_ton, addr_npi and addr_range,
(), ESME .
55
SMPP PDU Definition
4.1.4 BIND_RECEIVER_RESP
command_length
Integer PDU.
command_id
Integer ,
A
D
5.1.1
5.1.2
bind_receiver_resp.
command_status
Integer ( 5.1.3
bind_receiver.
sequence_number
Integer
5.1.4
bind_receiver.
B
system_id
Var.
COctet
SMSC
max
String
SMSC ESME .
16
. 5.2.1
Y
BIND_RECEIVER_RESP
sc_interface_version
TLV
SMPP,
5.3.2.25
SMSC .
4-4: PDU bind_receiver_resp
56
SMPP PDU Definition
4.1.5 BIND_TRANSCEIVER
command_length
Integer PDU.
5.1.1
Integer ,
5.1.2
H command_id
E
bind_transceiver.
A command_status
Integer
bind_transceiver.
NULL.
sequence_number a 4
Integer
PDU 5.1.3
5.1.4
PDU
bind_transceiver_resp
.
system_id b
Var.
COctet
max
String
to
16
password c
Var.
COctet
SMSC
max
String
Var.
max
13
ESME
, 5.2.1
bind
SMSC .
9
system_type d
5.2.2
ESME , to bind.
COctet
String
ESME, 5.2.3
to bind SMSC
.
57
SMPP PDU Definition
interface_version
Integer
SMPP,
5.2.4
ESME.
B
addr_ton e
Integer
(TON) 5.2.5
( of Number)
()
ESME
SMPP.
NULL
(Unknown), .
addr_npi e
Integer 5.2.6
(NPI)
(Numbering
Plan
()
Indicator)
ESME
SMPP.
NULL
(Unknown), .
address_range e
Var.
COctet
ESME
max
String
41
5.2.7
ESME
SMSC
SMPP.
58
SMPP PDU Definition
NULL,
.
4-5: PDU bind_transceiver SMPP
a. , sequence_number , .
, ,
.
b. system_id binding
(binding entity), , InternetGW Internet Gateway VMSVoice Mail
System.
c. password SMSC . ESME
NULL, (
SMSC).
d. system_ () (optional) , ,
, EMAIL , WWW , ..
e. addr_ton, addr_npi addr_range
SMSC .
bind_transceiver, ESME SMSC
()SME, .
59
SMPP PDU Definition
SMPP Protocol Specification v3.4
4.1.6 BIND_TRANSCEIVER_RESP
command_length
command_id
Integer ,
A
D
5.1.2
bind_transceiver_resp.
command_status
Integer
5.1.3
bind_transceiver.
sequence_number
Integer
5.1.4
bind_transceiver.
B
system_id
Var.
COctet
SMSC. 5.2.1
max
String
SMSC ESME.
16
Y
BIND_RECEIVER_RESP
sc_interface_version
TLV
SMPP,
SMSC
4-6: PDU bind_transceiver_resp
5.3.2.25
60
SMPP PDU Definition
4.1.7 OUTBIND .
SMSC , ESME
bind_receiver SMSC .
4.1.7.1 OUTBIND
H command_length
Integer PDU.
Integer ,
command_id
5.1.1
5.1.2
outbind.
D command_status
Integer
outbind.
NULL.
sequence_number 4
Integer
PDU 5.1.3
5.1.4
.
B
Var.
COctet
max
String
SMSC ESME .
16
Var.
COctet
ESME 5.2.2
max
String
system_id
password a
SMSC
. 5.2.1
SMSC,
outbind.
61
SMPP PDU Definition
4.2 UNBIND
unbind SMPP ESME SMSC
SMSC , ESME
.
, unbind
(logoff) SMSC SMPP.
4.2.1 UNBIND
command_length
Integer
PDU.
5.1.1
command_id
Integer
A
D
unbind.
command_status
Integer
E
R
5.1.2
. 5.1.3
NULL.
sequence_number
Integer
PDU
unbind_resp
.
4-7: PDU unbind SMPP
5.1.4
62
SMPP PDU Definition
4.2.2 UNBIND_RESP
command_length
Integer
PDU.
5.1.1
command_id
Integer
A
D
5.1.2
PDU unbind_resp.
command_status
Integer
unbind.
sequence_number
Integer
5.1.3
5.1.4
unbind.
4-8: PDU unbind_resp SMPP
63
SMPP PDU Definition
PDU SMPP,
. generic_nack
:
command_length
SMPP, PDU SMPP,
command_length ( , ),
, . PDU generic_nack
.
command_id
command_id, PDU generic_nack
.
4.3.1 GENERIC_NACK
H command_length
Integer PDU.
Integer ,
command_id
A
D command_status
5.1.1
5.1.2
PDU generic_nack.
4
E
R sequence_number 4
Integer
(Error
generic_nack.
Integer
PDU
NULL,
PDU .
4-9: PDU generic_nack SMPP
code), 5.1.3
5.1.4
64
SMPP PDU Definition
4.4 SUBMIT_SM
ESME , SMSC
(SME). submit_sm PDU
.
4.4.1 SUBMIT_SM
command_length
Integer 5.1.1
PDU .
command_id
Integer submit_sm
command_status
Integer
E
R
5.1.2
. 5.1.3
NULL.
sequence_number
Integer
5.1.4
Unique.
submit_sm_resp
PDU
.
M service_type
Var.
COctet
max
String
service_type
5.2.11
SMS
Application,
65
SMPP PDU Definition
T
O
service_type
ESME
(replace
by
service).
A
M
E
R
NULL
SMSC .
source_addr_ton
NULL
(Unknown).
source_addr_npi
Integer
5.2.6
(Numbering
Plan
Indicator)
66
SMPP PDU Definition
NULL
(Unknown).
source_addr
Var.
COctet
SME, 5.2.8
max
String
21
NULL
(Unknown).
dest_addr_ton
dest_addr_npi
Integer
5.2.6
(Numbering
Plan
Indicator)
.
destination_addr
Var.
COctet
max
String
21
5.2.9
MS .
esm_class
Integer
Message
Mode
& 5.2.12
Message .
M protocol_id
A
Integer
(Protocol
5.2.13
Identifier).
67
SMPP PDU Definition
N
D
.
priority_flag
Integer
A
T
.
schedule_delivery_
time
1
17
or COctet
String
, 5.2.15
SMSC
P
A
5.2.14
NULL
.
validity_period
1
17
or COctet
String
5.2.16
NULL,
registered_delivery 1
Integer
SMSC
5.2.17
SMSC
SME.
replace_if_present
_flag
Integer ,
, 5.2.18
.
data_coding
Integer 5.2.19
68
SMPP PDU Definition
Size
sm_default_msg_id
Integer
,
5.2.20
A
N
D
A
(
canned
,
SMSC
canned
NULL.
sm_length
SMSC
message,
Integer
5.2.21
P
short_message .
A
short_message
Var.
Octet
254
0-254
String
5.2.22
short_message
E
R
S
,
69
SMPP PDU Definition
254
message_payload.
sm_length
short_message,
message_payload.
.
SUBMIT_SM
user_message_reference
TLV
5.3.2.17
ESME
source_port
TLV
5.3.2.20
70
SMPP PDU Definition
WAP .
T
I
source_addr_subunit
TLV
5.3.2.2
destination_port
TLV
5.3.2.21
WAP
R
.
A
M
dest_addr_subunit
TLV
5.3.2.1
E
R
sar_msg_ref_num
TLV
5.3.2.22
.
sar_total_segments
TLV
5.3.2.23
71
SMPP PDU Definition
sar_segment_seqnum
TLV
5.3.2.24
.
more_messages_to_send
TLV
,
,
5.3.2.24
SME .
payload_
TLV
5.3.2.10
(,WDP, WCMP, etc.).
message_payload
TLV
5.3.2.32
64 K.
short_message,
message_payload.
O
P
.
T
sm_length
72
SMPP PDU Definition
N
message_payload.
A
privacy_indicator
, 5.3.2.14
L
.
callback_num
, 5.3.2.36
A
.
R
A
M
E
() .
T
E
R
S
callback_num_pres_ind
5.3.2.37
.
callback_num,
callback_num_pres_ind,
callback_num.
73
SMPP PDU Definition
callback_num_atag
TLV
5.3.2.38
-tag
callback_num,
callback_num.
callback_num_atag,
source_subaddress
TLV
5.3.2.15
dest_subaddress
TLV
5.3.2.16
user_response_code
TLV
. 5.3.2.18
74
SMPP PDU Definition
display_time
TLV
MS
5.3.2.26
sms_signal
TLV
5.3.2.40
T
MS .
E
R
ms_validity
TLV
5.3.2.27
MS .
ms_msg_wait_facilities
TLV
5.3.2.13
(,
MWI)
.
number_of_messages
TLV
, 5.3.2.39
.
alert_on_msg_delivery
TLV
5.3.2.41
MS.
language_indicator
TLV
5.3.2.19
.
O
its_reply_
TLV
MS 5.3.2.42
75
SMPP PDU Definition
its_session_info
TLV
A
L
SMS,
5.3.2.43
Interactive Teleservice.
ussd_service_op
TLV
, 5.3.2.44
USSD
Service
USSD.
R
A
M
E
T
E
R
S
4-10: PDU submit_sm
76
SMPP PDU Definition
4.4.1.1 -
(Source and Destination Addressing)
PDU submit_sm ( source address ),
- ( destination address ).
source address source_addr_ton, source_addr_npi source_addr,
destination address dest_addr_ton, dest_addr_npi destination_addr.
, SMSC service_type,
-- ( replace -if -present ).
, PDU submit_sm
service_type .
submit_sm ,
, SMSC , ,
-, service_type ,
submit_sm, ( )
, short_message submit_sm.
: PDU submit_sm SMSC
, SMSC, SMSC
.
replace_sm, replace_sm
, SMSC - PDU replace_sm_resp ESME
SMPP.
77
SMPP PDU Definition
4.2 SUBMIT_SM_RESP
PDU submit_sm :
command_length
Integer
PDU .
5.1.1
command_id
Integer
submit_sm_resp
5.1.2
command_status
Integer
D
E
5.1.3
5.1.4
submit_sm.
sequence_number
Integer
PDU submit_sm.
B
message_id
Var.
COctet
max
String
ID
9 33 65
5.2.23
SMSC,
.
,
.
4-11: PDU submit_sm_resp
: PDU Body submit_sm_resp , command_status
.
78
SMPP PDU Definition
SMPP Protocol Specification v3.4
4.5 SUBMIT_MULTI
submit_multi SMPP
Distribution Lists.
submit_multi PDU .
4.5.1 SUBMIT_MULTI
command_length
5.1.1
Integer
PDU .
command_id
Integer
submit_multi
command_status
Integer
D
E
5.1.2
. 5.1.3
NULL.
sequence_number
Integer
5.1.4
PDU
submit_multi_resp
.
M service_type
Var
COctet
max
String
service_type 5.2.11
SMS
Application,
79
SMPP PDU Definition
T
O
service_type
ESME
SMSC .
source_addr_ton
Integer
NULL
( of Number) 5.2.5
NULL
(Unknown).
source_addr_npi
Integer
5.2.6
(Numbering
Plan
Indicator)
.
(Unknown).
NULL
80
SMPP PDU Definition
source_addr
Var
COctet
SME, 5.2.8
max
String
21
.
,
NULL
(Unknown).
number_of_dests
Integer
5.2.24
dest_address,
254
-.
: 1
SME
Address
Distribution List.
M
dest_address(es)
Var.
See
n[2-24]
(number_of_dests)
A
SME 4 13
N
See
Distribution List.
Message
Message .
D
A
esm_class
Integer
Mode
&
5.2.12
81
SMPP PDU Definition
T
protocol_id
Integer
5.2.13
(Protocol
Identifier).
O
R
.
Y
priority_flag
Integer
5.2.14
.
P
schedule_delivery_time
1or
COctet
, 5.2.15
17
String
SMSC
R
.
NULL
E
.
T
E
validity_period
1or
COctet
17
String
5.2.16
.
NULL,
SMSC
.
registered_delivery
Integer
5.2.17
,
SMSC
SME.
replace_if_present_flag 1
Integer
NULL.
5.2.18
82
SMPP PDU Definition
data_coding
Integer
5.2.19
.
M sm_default_msg_id
Integer
5.2.20
(
canned
,
SMSC .
SMSC
O
,
R
NULL.
Y
sm_length
Integer
5.2.21
short_message .
P
short_message
Var.
Octet
254
0-254
String
5.2.22
A
M
short_message
T
.
E
,
R
,
S
254
83
SMPP PDU Definition
message_payload.
sm_length
.
:
short_message ,
message_payload.
.
SUBMIT_MULTI
user_message_reference
TLV
P
T
5.3.2.17
ESME .
source_port
TLV
, 5.3.2.20
WAP .
source_addr_subunit
TLV
5.3.2.2
84
SMPP PDU Definition
destination_port
TLV
, 5.3.2.21
WAP .
dest_addr_subunit
TLV
5.3.2.1
.
sar_msg_ref_num
TLV
5.3.2.22
.
sar_total_segments
TLV
5.3.2.23
.
sar_segment_seqnum
TLV
5.3.2.24
.
payload_
TLV
5.3.2.10
(,WDP, WCMP, ..)
message_payload
TLV
5.3.2.32
85
SMPP PDU Definition
64
K.
I
O
A
short_message,
L
message_payload.
P
.
A
R
sm_length
A
M
message_payload.
privacy_indicator
TLV
E
R
, 5.3.2.14
.
callback_num
TLV
, 5.3.2.26
.
.
callback_num_pres_ind
TLV
, 5.3.2.27
86
SMPP PDU Definition
callback_num,
callback_num_pres_ind,
callback_num.
callback_num_atag
TLV
5.3.2.38
-tag
callback_num,
callback_num_atag,
callback_num.
87
SMPP PDU Definition
source_subaddress
TLV
5.3.2.15
dest_subaddress
TLV
5.3.2.16
display_time
TLV
MS 5.3.2.26
SME ,
sms_signal
TLV
L
TLV
ms_msg_wait_facilities
TLV
5.3.2.27
5.3.2.13
(, MWI)
E
alert_on_msg_delivery
TLV
5.3.2.41
MS
R
S
5.3.2.40
MS .
, MS .
ms_validity
language_indicator
TLV
- 5.3.2.19
.
88
SMPP PDU Definition
4.5.1.1
Size
(Destination
Address)
Integer
, , 5.2.25
dest_flag
Distribution
List
SME.
SME
Address See
or
See
SME
dest_flag
4-14&
Address
4-15
4-13: dest_address
Size
Integer
( of Number) 5.2.5
dest_addr_ton
SME.
dest_addr_npi
Integer
Numbering
Plan
Indicator 5.2.6
SME.
destination_addr
Var.
COctet
Destination
max
String
21
4-14:SME_dest_address
Address
5. 2.9
89
SMPP PDU Definition
Size
dl_name
Var.
max
String
21
4-15: (DL)
4.5.2 SUBMIT_MULTI_RESP
H command_length
Integer
PDU . 5.1.1
command_id
Integer
submit_multi_resp
A command_status
Integer
D
E
5.1.2
()
submit_multi 5.1.3
.
sequence_number 4
Integer
5.1.4
PDU submit_multi.
message_id
Var.
COctet
ID
max
65
String
SMSC 5.2.23
90
SMPP PDU Definition
O
no_unsuccess
Integer
5.2.26
D
SME
SMSC .
unsuccess_sme(s)
Var.
See
n[7-27]
(no_unsuccess)
See
Distribution
SME 4-17
()
List,
.
4-16: PDU submit_multi_resp
4.5.2.1
Size
5.2.5
dest_addr_ton
Integer
SME .
dest_addr_npi
Integer
Numbering
Plan
Indicator 5.2.6
SME .
destination_addr
Var.
COctet
Destination
max
String
SME .
Address 5.2.9
21
error_status_code
Integer
5.1.3
submit_multi
SME.
4-17: Unsuccess_smes
91
SMPP PDU Definition
4.6 DELIVER_SM
SMSC deliver_sm, ESME . ,
SMSC ESME .
, SMSC deliver_sm
ESME :
92
SMPP PDU Definition
4.6.1 DELIVER_SM
command_length
Integer
5.1.1
PDU .
command_id
Integer
deliver_sm
command_status
Integer
E
5.1.2
A
. 5.1.3
D
NULL.
E
R
sequence_number
Integer
5.1.4
deliver_sm_resp
PDU
.
Service_type
Var.
COctet
service_type 5.2.11
max
String
SMS
Application,
N
Source_addr_ton
Integer
( of Number) 5.2.5
NULL
93
SMPP PDU Definition
O
(Unknown).
R
Source_addr_npi
Integer
Numbering
Plan
Indicator 5.2.6
NULL
A
(Unknown).
R
source_addr
Var.
COctet
max
String
A
M
SME,
5.2.8
.
21
(Unknown).
NULL
dest_addr_ton
Integer
SME .
dest_addr_npi
Integer
Numbering
Plan
5.2.5
Indicator 5.2.6
SME .
destination_addr
Var.
COctet
- 5.2.9
max
String
SME .
Integer
21
M esm_class
A
N
5.2.12
.
protocol_id
Integer
D
A
Message
Protocol
Identifier. 5.2.13
Integer
T
.
5.2.14
94
SMPP PDU Definition
O
schedule_delivery_time
COctet
String
5.2.15
R
deliver_sm.
NULL.
P
validity_period
COctet
String
5.2.16
A
deliver_sm.
A
NULL.
M
registered_delivery
Integer
, 5.2.17
E
ESME.
T
E
replace_if_present_flag
Integer
deliver_sm. 5.2.18
NULL.
S
data_coding
Integer
5.2.19
.
sm_default_msg_id
Integer
deliver_sm. 5.2.20
NULL.
sm_length
Integer
5.2.21
M short_message
Var.
Octet
0-254
String
254
5.2.22
95
SMPP PDU Definition
.
D
A
T
254
message_payload
sm_length
P
A
short_message,
message_payload.
E
.
R
S
PARAMETERS for DELIVER_SM
TLV
user_message_reference
SME
deliver_sm
5.3.2.17
.
SMSC,
96
SMPP PDU Definition
SME
SME
esm_class),
source_port
TLV
user_message_reference
5.3.2.20
WAP.
R
S
TLV
5.3.2.21
sar_msg_ref_num
TLV
WAP.
5.3.2.22
.
sar_total_segments
TLV
5.3.2.23
97
SMPP PDU Definition
sar_segment_seqnum
TLV
5.3.2.24
.
user_response_code
TLV
. 5.3.2.18
SMS.
privacy_indicator
TLV
, 5.3.2.14
.
payload_
TLV
5.3.2.10
(,WDP, WCMP, ..)
message_payload
TLV
5.3.2.32
.
64 K.
short_message,
message_payload.
sm_length
98
SMPP PDU Definition
message_payload.
callback_num
TLV
, 5.3.2.36
.
.
source_subaddress
TLV
5.3.2.15
dest_subaddress
TLV
5.3.2.16
language_indicator
TLV
5.3.2.19
.
its_session_info
TLV
5.3.2.43
Interactive Teleservice.
network_error_code
TLV
Network
Error
Intermediate
Code. 5.3.2.31
Notifications
TLV
Message
State. 5.3.2.35
SMSC
Delivery
Receipts
Intermediate Notifications.
99
SMPP PDU Definition
receipted_message_id
TLV
ID
SMSC 5.3.2.12
.
SMSC
Delivery
Receipts
Intermediate Notifications.
4-18: PDU deliver_sm
4.6.2 DELIVER_SM_RESP
H command_length
Integer PDU .
5.1.1
command_id
Integer deliver_sm_resp
5.1.2
A command_status
Integer
D
E
() 5.1.3
deliver_sm.
sequence_number
Integer
5.1.4
PDU
deliver_sm.
B
O
message_id
COctet
String
NULL.
D
Y
4-19: PDU deliver_sm_resp
5.2.23
100
SMPP PDU Definition
4.7 DATA_SM
SMSC ESME . ESME ,
SMSC .
submit_sm deliver_sm.
, ,
WAP .
ESME , SMSC
MS. SMSC MS
ESME .
, data_sm ,
ESME:
101
SMPP PDU Definition
4.7.1 DATA_SM
Size
command_length
Integer PDU .
5.1.1
command_id
Integer data_sm
5.1.2
command_status
Integer
D
E
. 5.1.3
NULL.
sequence_number 4
Integer 5.1.4
.
PDU data_sm_resp
.
M service_type
Var.
COctet
service_type
max
String
5.2.11
SMS
Application,
service_type
ESME
SMSC
102
SMPP PDU Definition
R
Y
.
source_addr_ton
Integer
of
Number) 5.2.5
.
Unknown (0x00).
source_addr_npi
Integer Numbering
Plan
Indicator 5.2.6
Unknown (0 x 00).
Var.
COctet
max
String
65
source_addr
SME,
5.2.8
5.2.5
dest_addr_ton
Integer of Number .
dest_addr_npi
Integer Numbering
.
Plan
Indicator
5.2.6
103
SMPP PDU Definition
4.6.2 DATA_SM
Size
Var.
COctet
- 5.2.9
max
String
65
destination_addr
D
A
MS .
esm_class
Integer
Message Mode
5.2.12
Message .
registered_delivery
Integer
5.2.17
P
SMSC
A
SME.
104
SMPP PDU Definition
R
data_coding
Integer
5.2.19
A
.
M
E
T
E
R
S
DATA_SM
source_port
TLV
5.3.2.20
P
T
I
O
WAP.
source_addr_subunit
TLV
5.3.2.2
.
P
source_network_
TLV
5.3.2.4
105
SMPP PDU Definition
TLV
source_bearer_
5.3.2.6
E
.
T
source_telematics_id
TLV
5.3.2.8
R
S
destination_port
TLV
5.3.2.21
-
.
WAP.
dest_addr_subunit
TLV
5.3.2.1
.
dest_network_
TLV
5.3.2.3
5.3.2.5
.
dest_bearer_
TLV
.
dest_telematics_id
TLV
5.3.2.7
106
SMPP PDU Definition
.
sar_msg_ref_num
TLV
5.3.2.2
2
.
sar_total_segments
sar_segment_seqnum
TLV
TLV
5.3.2.2
3
5.3.2.2
4
I
O
N
.
A
L
more_messages_to_send
TLV
5.3.2.3
4
SME .
P
qos_time_to_live
TLV
payload_
TLV
message_payload
TLV
5.3.2.1
0
5.3.2.3
2
64 K .
T
set_dpf
TLV
Delivery
5.3.2.2
9
Pending Flag .
R
S
(,WDP, WCMP, ..).
A
M
5.3.2.9
A
R
receipted_message_id
TLV
ID
SMSC
,
.
SMSC
5.3.2.1
2
107
SMPP PDU Definition
Delivery Receipts
Intermediate Notifications.
message_state
TLV
Message State.
5.3.2.3
5
SMSC
Delivery
Receipts
Intermediate Notifications.
network_error_code
TLV
5.3.2.3
1
SMSC
Delivery Receipts
Intermediate Notifications.
user_message_reference
TLV
5.3.2.1
7
5.3.2.1
4
ESME .
privacy_indicator
TLV
.
callback_num
TLV
5.3.2.3
6
.
callback_num_pres_ind
TLV
5.3.2.3
7
108
SMPP PDU Definition
callback_num,
O
N
callback_num_pres_ind,
P
A
callback_num.
callback_num_atag
TLV
- tag
callback_num,
S
callback_num_atag,
5.3.2.3
8
109
SMPP PDU Definition
callback_num.
source_subaddress
TLV
5.3.2.1
5
dest_subaddress
TLV
5.3.2.1
6
user_response_code
TLV
5.3.2.1
8
.
display_time
TLV
MS
SME
5.3.2.2
6
.
sms_signal
TLV
5.3.2.4
0
MS
.
ms_validity
TLV
5.3.2.2
7
O
P
MS .
ms_msg_wait_facilities
TLV
A
L
number_of_messages
TLV
5.3.2.1
3
(,
MWI)
5.3.2.3
9
110
SMPP PDU Definition
(, ).
P
alert_on_msg_delivery
TLV
MS
language_indicator
TLV
its_reply_
TLV
SMS,
.
its_session_info
TLV
5.3.2.1
9
5.3.2.4
1
5.3.2.4
2
MS
5.3.2.4
3
Interactive Teleservice.
4-20: PDU data_sm
4.7.2 DATA_SM_RESP
PDU data_sm_resp SMPP.
Size
command_length
Integer
5.1.1
PDU .
command_id
Integer
data_sm_resp
command_status
Integer
E
5.1.2
()
5.1.3
5.1.4
D
data_sm.
E
sequence_number
Integer
111
SMPP PDU Definition
PDU data_sm.
B
message_id
Var.
C
Octet
ID
max
String
SMSC,
65
.
Y
DATA_SM_RESP
delivery_failure_reason a
TLV
5.
3.2.33
.
network_error_code a
TLV
(Error
code), 5.3.2.31
.
additional_status_info_text
TLV
ASCII,
5.3.2.11
5.3.2.28
.
dpf_result a
TLV
:
a. .
112
SMPP PDU Definition
4.8 QUERY_SM
ESME ,
.
SMSC message_id .
submit_sm, data_sm submit_multi ( source address )
NULL, query_sm
NULL.
4.8.1 QUERY_SM
PDU query_sm SMPP.
Size
command_length
Integer
PDU 5.1.1
.
command_id
Integer
query_sm
command_status
Integer
E
5.1.2
A
.
5.1.3
D
NULL.
E
R
sequence_number
Integer
5.1.4
PDU
query_sm_resp
.
message_id
Var.
C-Octet
Message ID
Max
String
65
, 5. 2.23
113
SMPP PDU Definition
SMSC
Message ID,
submit_sm,
SMSC
data_sm
submit_multi,
SMSC
PDU .
source_addr_ton
Integer
of
Number
5.2.5
,
PDU
(, submit_sm).
NULL.
source_addr_npi
Integer
5.2.6
(Numbering Plan Identity)
(, submit_sm).
PDU
114
SMPP PDU Definition
NULL.
source_addr
Var.
C
Octet
Max
String
5.2.8
21
22
PDU
(, submit_sm).
,
NULL.
4-22: PDU query_sm
4.8.2 QUERY_SM_RESP
PDU query_sm_resp SMPP.
Size
command_length
Integer
PDU . 5.1.1
command_id
Integer
query_sm_resp
command_status
Integer
E
5.1.2
()
5.1.3
5.1.4
D
query_sm
E
R
sequence_number
Integer
PDU query_sm.
M
message_id
Var.
COctet
SMSC
Message
ID
5.2.23
115
SMPP PDU Definition
max
65
final_date
1or 17
String
COctet
7.1.1
String
R
,
Y
NULL .
P
message_state
Integer
5.2.28
A
.
R
A
error_code
Integer
6.1
T
E
R
S
4-23: PDU query_sm_resp
116
SMPP PDU Definition
4.9 CANCEL_SM
ESME ,
, .
, , service_type,
.
message_id ID , ,
, ESME , ,
, , .
message_id - NULL,
, PDU , . ,
service_type.
source address submit_sm, data_sm submit_multi
NULL, cancel_sm NULL.
4.9.1 CANCEL_SM
PDU cancel_sm SMPP.
Size
command_length
Integer
5.1.1
PDU .
command_id
Integer
cancel_sm
command_status
Integer
E
5.1.2
A
.
5.1.3
D
NULL.
E
R
sequence_number
Integer
PDU
cancel_sm_resp
.
5.1.4
117
SMPP PDU Definition
service_type
Var.
COctet
max
String
5.2.11
SMS Application,
6
M
A
NULL.
N
message_id
Var.
COctet
Message ID
max
String
, 5.2.23
A
65
T
SMSC
Message
ID
NULL,
.
P
source_addr_ton
Integer
of
Number
PDU
. ,
Numbering
Plan
5.2.5
NULL.
R
S
source_addr_npi
Integer
Identity
5.2.6
118
SMPP PDU Definition
,
PDU
. ,
NULL.
source_addr
Var.
COctet
(),
max
String
21
5.2.8
PDU (s)
.
dest_addr_ton
Integer
- 5.2.5
SME
(),
.
PDU
(, submit_sm).
119
SMPP PDU Definition
NULL,
message_id.
dest_addr_npi
Integer
Numbering
Plan
Indicator 5.2.6
-
SME
(),
.
A
M
PDU
NULL,
R
message_id.
S
destination_addr
Var.
COctet
max
String
21
- 5.2.9
(),
.
PDU
.
NULL,
message_id.
4-24: PDU cancel_sm
120
SMPP PDU Definition
4.9.2 CANCEL_SM_RESP
PDU cancel_sm_resp , cancel_sm.
SMPP.
Size
command_length
Integer
PDU . 5.1.1
command_id
Integer
cancel_sm_resp
command_status
Integer
E
5.1.2
5.1.3
5.1.4
D
cancel_sm
E
R
sequence_number
Integer
PDU cancel_sm.
4-25: PDU cancel_sm_resp
121
SMPP PDU Definition
4.10 "REPLACE_SM
ESME , ,
. message_id
.
" submit_sm NULL,
replace_sm NULL.
4.10.1 REPLACE_SM
PDU replace_sm SMPP. command_id
replace_sm.
Size
command_length
Integer
5.1.1
PDU .
command_id
Integer
replace_sm
command_status
Integer
E
A
D
5.1.2
5.1.3
NULL.
R
sequence_number
Integer
PDU
replace_sm_resp
.
M
A
message_id
Var.
max
COctet
ID
SMSC
5.1.4
122
SMPP PDU Definition
String
N
65
ID ,
SMSC
submit_sm,
SMSC
submit_sm_resp.
source_addr_ton
Integer
of
Number
submit_sm.
NULL.
source_addr_npi
Integer
Numbering
Plan
Identity
123
SMPP PDU Definition
submit_sm.
NULL.
source_addr
Var.
COctet
max
String
1-21
submit_sm.
M
schedule_delivery_time
1 or 17
COctet
String
5. 2.25
NULL,
validity_period
P
1 or 17
COctet
String
NULL,
5.2.16
124
SMPP PDU Definition
registered_delivery
Integer
5.2.17
E
1
sm_default_msg_id
Integer
5.2.20
(canned)
.
1
sm_length
Integer
5.2.21
5.2.22
.
short_message
Var.
COctet
0-254
String
.
4-26: PDU replace_sm
4.10.2 REPLACE_SM_RESP
PDU replace_sm_resp replace_sm.
SMPP.
command_length
Integer
PDU
5.1.1
command_id
Integer
replace_sm_resp
5.1.2
command_status 4
sequence_number 4
Integer
Integer
A
D
E
R
4-27: PDU replace_sm_resp
()
replace_sm.
5.1.3
, 5.1.4
PDU replace_sm.
125
SMPP PDU Definition
4.11 "ENQUIRE_LINK
ESME , SMSC .
ESME SMSC .
enquire_link_resp, ,
SMSC ESME. ESME , SMPP
().
4.11.1 ENQUIRE_LINK
PDU enquire_link SMPP.
Size
command_length
Integer
PDU . 5.1.1
command_id
Integer
enquire_link
command_status
Integer
E
A
D
5.1.3
NULL.
E
R
5.1.2
sequence_number
Integer
.
PDU
enquire_link_resp
.
4-28: PDU enquire_link
5.1.4
126
SMPP PDU Definition
4.11.2 ENQUIRE_LINK_RESP
PDU enquire_link_resp enquire_link.
SMPP.
Size
command_length
Integer
PDU .
5.1.1
command_id
Integer
enquire_link_resp
5.1.2
command_status
Integer
ESME
_ROK
5.1.3
5.1.4
()(Success)
sequence_number
Integer
PDU
enquire_link.
4-29: PDU enquire_link_resp
127
SMPP PDU Definition
SMPP Protocol Specification v3.4
4.12.1 ALERT_NOTIFICATION
PDU alert_notification SMPP.
command_length
Integer
PDU 5.1.1
.
command_id
Integer
alert_notification
command_status
Integer
E
A
D
5.1.2
5.1.3
NULL.
E
R
sequence_number
Integer
5.1.4
MS,
5.2.5
.
M
source_addr_ton
Integer
A
N
D
NULL.
source_addr_npi
Integer
Numbering
Plan
Indicator 5.2.6
MS, .
O
NULL.
source_addr
Var.
COctet
MS,
max
String
65
Integer
ESME _addr_ton
-,
5.2.8
5.2.5
128
SMPP PDU Definition
MS,
NULL.
ESME _addr_npi
Integer
Numbering
ESME,
Plan
Indicator
5.2.6
MS,
NULL.
ESME _addr
Var.
COctet
ESME ,
max
String
MS,
.
65
5.2.10
ALERT_NOTIFICATION
ms_availability_status
TLV
5.3.2.30
129
SMPP PDU Definition
5. SMPP
(SMPP ParameterDefinition)
, SMPP.
5.1
(Command Header Parameters)
5.1.1 command_length
command_length SMPP.
SMPP ( command_length),
.
5.1.2command_id
( ) SMPP.
5-1:.
( ) .
5-1:(,
, 31 (but with bit 31 set)).
130
SMPP PDU Definition
SMPP Protocol Specification v3.4
5.1.2.1 Command SMPP
(Command IDs) SMPP
.
Command ID
Value
generic_nack
0x80000000
bind_receiver
0x00000001
bind_receiver_resp
0x80000001
bind_transmitter
0x00000002
bind_transmitter_resp
0x80000002
query_sm
0x00000003
query_sm_resp
0x80000003
submit_sm
0x00000004
submit_sm_resp
0x80000004
deliver_sm
0x00000005
deliver_sm_resp
0x80000005
unbind
0x00000006
unbind_resp
0x80000006
131
SMPP PDU Definition
replace_sm
0x00000007
replace_sm_resp
0x80000007
cancel_sm
0x00000008
cancel_sm_resp
0x80000008
bind_transceiver
0x00000009
bind_transceiver_resp
0x80000009
Reserved
0x0000000A
0x8000000A
outbind
0x0000000B
Reserved
0x0000000C
0x00000014
0x8000000B - 0x80000014
enquire_link
0x00000015
enquire_link_resp
0x80000015
Reserved
0x00000016
0x00000020
0x80000016 - 0x80000020
submit_multi
0x00000021
submit_multi_resp
0x80000021
Reserved
0x00000022
0x000000FF
132
SMPP PDU Definition
0x80000022
0x800000FF
0x00000104
0x0000FFFF
0x80000104
0x8000FFFF
0x00010000
0x000101FF
0x80010000
0x800101FF
0x00010200
0x000102FF
0x80010200
0x800102FF
Reserved
0x00000100
Reserved
0x80000100
Reserved
0x00000101
0x80000101
alert_notification
0x00000102
Reserved
0x80000102
data_sm
0x00000103
data_sm_resp
0x80000103
Reserved
for
SMPP
extension
Reserved
Reserved
Reserved
for
SMSC
Vendor
0x00010300 - 0xFFFFFFFF
133
SMPP PDU Definition
5.1.3 command_status
Error
Code
Value
ESME
_ROK
0x00000000
(No Error)
ESME_RINVMSGLEN
0x00000001
ESME_RINVCMDLEN
0x00000002
(Command Length is invalid)
ESME_RINVCMDID
0x00000003
ESME_RINVBNDSTS
0x00000004
BIND Status
(Incorrect BIND Status for given command)
ESME_RALYBND
0x00000005
ESME_RINVPRTFLG
0x00000006
(Invalid Priority Flag)
ESME_RINVREGDLVFLG
0x00000007
ESME_RSYSERR
0x00000008
(System Error)
134
SMPP PDU Definition
Reserved
0x00000009
ESME_RINVSRCADR
0x0000000A
(Invalid Source Address)
ESME_RINVDSTADR
0x0000000B
-
(Invalid Dest Addr)
ESME_RINVMSGID
0x0000000C
Message ID (Message ID is
invalid)
ESME_RBINDFAIL
0x0000000D
ESME_RINVPASWD
0x0000000E
(Invalid Password)
ESME_RINVSYSID
0x0000000F
Reserved
0x00000010
ESME_RCANCELFAIL
0x00000011
Reserved
0x00000012
ESME_RREPLACEFAIL
0x00000013
ESME_RMSGQFUL
0x00000014
(Message
ESME_RINVSERTYP
0x00000015
(Invalid
Reserved
0x00000016-
Queue
Full)
Service
Service
0x00000032
ESME_RINVNUMDESTS
0x00000033
ESME_RINVDLNAME
0x00000034
Distribution
List
135
SMPP PDU Definition
0x000000350x0000003F
ESME_RINVDESTFLAG
0x00000040
Destination
(submit_multi)
(submit_multi)
is
invalid
flag
Reserved
0x00000041
(submit with replace)
(.. submit_sm
replace_if_present_flag)
ESME_RINVSUBREP
0x00000042
ESME_RINVESMCLASS
0x00000043
ESME_RCNTSUBDL
0x00000044
esm_class
ESME_RSUBMITFAIL
0x00000045
submit_sm submit_multi
Reserved
0x000000460x00000047
ESME_RINVSRCTON
0x00000048
(Invalid
Source
ESME_RINVSRCNPI
ESME_RINVDSTTON
0x00000049
0x00000050
(Invalid
Source
address
List)
TON
TON)
NPI
address
NPI)
TON
(Invalid
Destination
address
TON)
136
SMPP PDU Definition
ESME_RINVDSTNPI
0x00000051
Reserved
0x00000052
NPI
ESME_RINVSYSTYP
0x00000053
ESME_RINVREPFLAG
0x00000054
replace_if_present
ESME_RINVNUMMSGS
0x00000055
Reserved
0x000000560x00000057
ESME_RTHROTTLED
0x00000058
(ESME
)
Reserved
0x000000590x00000060
0x00000061
(Invalid
Scheduled
Time)
0x00000062
(
)
system_
ESME_RINVSCHED
ESME_RINVEXPIRY
ESME_RINVDFTMSGID
0x00000063
(Expiry
Delivery
time)
137
SMPP PDU Definition
ESME_RX_T_APPN
0x00000064
ESME
(ESME
Receiver
Temporary
App
Error Code)
ESME_RX_P_APPN
0x00000065
ESME
(ESME
Receiver
Permanent
App
Error Code)
ESME_RX_R_APPN
0x00000066
(ESME
Error Code)
ESME_RQUERYFAIL
0x00000067
query_sm
Reserved
0x00000068
0x000000BF
ESME _RINVOPTPARSTREAM
0x000000C0
PDU Body.
ESME _ROPTPARNOTALLWD
0x000000C1
ESME
Receiver
Reject
Message
(Optional
Optional
Parameter
Parameter
not
allowed)
ESME_RINVPARLEN
0x000000C2
.
(Invalid Parameter Length.)
ESME _RMISSINGOPTPARAM
0x000000C3
Optional
(Expected
missing)
Optional
ESME_RINVOPTPARAMVAL
0x000000C4
(Invalid
Optional
Value)
Reserved
0x000000C5
-
Parameter
Parameter
Parameter
138
SMPP PDU Definition
0x000000FD
ESME_RDELIVERYFAILURE
0x000000FE
Failure)
data_sm_resp)
ESME _RUNKNOWNERR
0x000000FF
(Unknown Error)
0x000001000x000003FF
SMPP
0x000004000x000004FF
specific errors
Reserved
0x000005000xFFFFFFFF
SMSC
5.1.4 sequence_number
, PDU PDU .
PDU SMPP .
sequence_number - 0 x 00000001 0 x 7 FFFFFFF.
(Delivery
139
SMPP PDU Definition
5.2.2 password
SMSC password , binding ESME . Service
Provider , ESME binding SMSC .
SMSC .
ESME password , binding
SMSC (, outbind).
5.2.3 system_
system_ ESME , binding SMSC .
VMS ( ) OTA ( ).
system_ - SMSC ESME ,
. , ESME system_ NULL.
5.2.4 interface_version
SMPP.
:
Interface Version
,
3.3
SMPP.
,
3.4 SMPP.
Value
ESME
ESME
0 x 00-0 x 33
0 x 34
5.2.5 addr_ton, source_addr_ton, dest_addr_ton, ESME _addr_ton
( of Number) (TON),
SME. TON:
140
SMPP PDU Definition
TON
(Unknown)
Value
00000000
(International)
00000001
(National)
00000010
(Network Specific)
00000011
(Subscriber Number)
00000100
- (Alphanumeric)
00000101
(Abbreviated)
00000110
(All other values reserved)
5-3: TON
141
SMPP PDU Definition
NPI
Value
Unknown
00000000
ISDN (E163/E164)
00000001
Data (X.121)
00000011
Telex (F.69)
00000100
00000110
National
00001000
Private
00001001
ERMES
00001010
Internet (IP)
00001110
WAP
Client
WAP Forum)
All other values reserved
5-4: NPI
Id
00010010
142
SMPP PDU Definition
5.2.7 address_range
address_range bind_receiver bind_transceiver
SME, ESME . SME
address_range. UNIX
Regular Expression ( A.)
, , ESME .
: IP, IP.
IP . IP
6.0.
5.2.8 source_addr
SME, . ESME ,
SME, NULL, SMSC
.
5.2.9 destination_addr
-SME. ,
MS .
: IP aaa. bbb. ccc. ddd . IP 6.0 V 3.4
SMPP.
5.2.10 ESME_addr
- ESME , alert_notification.
143
SMPP PDU Definition
5.2.11 service_type
service_type SMS (SMS
Application service), . service_type ESME :
replace_if_present ().
, (, ANSI -136/
TDMA, IS -95/ CDMA).
service_types:
(NULL)
CMT
CPT
VMN
VMA
WAP
USSD
Default
Cellular Messaging
Cellular Paging
Voice Mail Notification
Voice Mail Alerting
WirelessApplication Protocol
Unstructured SupplementaryServices Data
SMSC Service Provider ESME .
5.2.12 esm_class
esm_class , ,
.
144
SMPP PDU Definition
76543210
( 1-0)
xxxxxx 00
xxxxxx 01
xxxxxx 10
xxxxxx 11
(Datagram mode)
(. . Transaction) [Forward (i.e. Transaction) mode]
(Store and Forward mode) (
Store Forward, Default SMSC Mode Store Forward)
( 5-2)
xx0000xx
(Default message ) ( , )
xx0010xx
xx0100xx
00xxxxxx
01xxxxxx
10xxxxxx
11xxxxxx
,
UDHI Indicator ( MT)
Reply Path ( GSM)
UDHI Reply Path ( GSM)
GSM ( 7-6)
76543210
xxxxxx 00
- 0 1
( 1-0)
( 5-2)
xx0000xx
(Default message ) ( , )
xx0001xx
Short Message SMSC DeliveryReceipt
xx0010xx
ShortMessage SME Delivery Acknowledgement
xx0010xx
xx0100xx
Short Message SME Manual/UserAcknowledgment
xx0101xx
xx0110xx
Short Message Conversation Abort( CDMA)
xx0111xx
xx1000xx
Short Message IntermediateDelivery Notification
GSM ( 7-6)
00xxxxxx
,
01xxxxxx
UDHI Indicator
10xxxxxx
Reply Path ( GSM)
11xxxxxx
UDHI Reply Path ( GSM)
esm_class 0 x 00.
:
ESME GSM (GSM User Data Header)
, UDHI esm_class.
SMSC , GSM User Data Header,
short_ message message_payload,
UDHI esm_class.
145
SMPP PDU Definition
GSM, (sar_msg_ref_num,
sar_total_segments, sar_segment _seqnum) ,
(source_port, destination_port) short_message
( )User Data Header. ,
,
(Indicator flag) User Data Header.
5.2.13protocol_id
GSM
GSM 03.40 [ GSM 03.40]
ANSI 136 (TDMA)
SMSC
.
ANSI 136 , SMSC NULL.
IS -95 (CDMA)
SMSC
.
IS -95 , SMSC NULL.
5.2.14 priority_flag
priority_flag SME
.
(Priority Levels):
0 =Level 0 ( )
1 =Level 1
2 =Level 2
3 =Level 3 ( )
> 3= Reserved
:
Priority Level
GSM a
non-priority
1
priority
2
priority
3
priority
All other values reserved
0
ANSI-136
Bulk
Normal
Urgent
Very Urgent
IS-95
Normal
Interactive
Urgent
Emergency
146
SMPP PDU Definition
a. GSM, , Level 0,
( ,
, MWD HLR).
5.2.15 schedule_delivery_time
,
.
, SMSC,
SMSC .
,
. 7.1.1.
5.2.16 validity_period
validity_period SMSC,
, .
.
7.1.1.
5.2.17 registered_delivery
registered_delivery , SMSC, /
SME . :
76543210
xxxxxx00
xxxxxx01
xxxxxx11
SMSC ,
xxxx00 xx
SME ( )
xxxx01 xx
xxxx10 xx
xxxx11 xx
SMSC ( 1-0)
SME ( 3-2)
( 5)
xxx0xxxx
(Intermediate) ( )
xxx1xxxx
**
registered_delivery 0 x 00.
147
SMPP PDU Definition
: * , ,
, ..
** (Intermediate Notification Functionality)
SMSC SMPP Protocol Specification.
5.2.18 replace_if_present_flag
replace_if_present_flag SMSC,
, . SMSC
, , - service_type
.
0
1
2 - 255
()
ESME , SMSC,
service_type replace_if_present_flag
1 , . , SMSC
- , SME,
(, ).
5.2.19 data_coding
76543210
00000000
00000001
00000010
00000011
00000100
00000101
00000110
00000111
00001000
00001001
00001010
00001011
00001100
00001101
00001110
00001111
b
b
b
a
b
b
a
a
b
b
b
b
:
10111111
1100xxxx
1101xxxx
1110xxxx
1111xxxx
d
d
e
148
SMPP PDU Definition
:
a. GSM, TDMA CDMA. SMPP
ESME DCS ( ,GSM 03.38 )
.
b. , (Data Coding Scheme) TDMA /
CDMA, GSM, SMPP GSM 03.38.
c. data_coding.
d. data_coding
(Character code). ,
MWI GSM
_ms_msg_wait_facilities ms_validity.
e. data_coding
Character code. ,
GSM dest_addr_subunit.
5.2.20 sm_default_msg_id
1 - 254
255
5.2.21 sm_length
1-254
255
5.2.22 short_message
short_message . 254
.
, , ESME
message_payload submit_sm, submit_multi deliver_sm.
149
SMPP PDU Definition
5.2.23 message_id
, SMSC
.
SMSC . SMSC PDUs submit_sm_resp , submit_multi_resp,
deliver_sm_resp data_sm_resp. ESME SMPP,
. , ESME query_sm,
, SMSC message_id
.
5.2.24 number_of_dests
number_of_dests dest_address,
submit_multi.
254 -.
5.2.25 dest_flag
, , -
(Distribution List) (DL) SME.
1 - SME Address
2 - Distribution ListName
5.2.26 no_unsuccess
SME,
submit_multi.
5.2.27 dl_name
, SMSC .
SMSC ESME .
150
SMPP PDU Definition
5.2.28 message_state
. SMSC
ESME message_state PDU query_sm_resp.
ENROUTE
(enroute).
DELIVERED
EXPIRED
DELETED
UNDELIVERABLE
ACCEPTED
(..
).
UNKNOWN
REJECTED
5-6:
151
SMPP PDU Definition
5.3 SMPP
5.3.1
(Optional Parameters) ,
SMPP .
Optional Parameters "Optional Parameters " PDU
SMPP. , " Optional
Parameters " PDU SMPP ,
.
PDU SMPP, ESME SMSC ,
,
. , submit_sm SMPP
.
SMPP 16-
(Parameter Tag Identifier). SMPP Parameter Tag:
0x0000
(Reserved)
0 x 0001 - 0 x 00 FF
parameters)
0 x 0100- 0 x 01 FF
(Reserved)
0 x 0200- 0 x 05 FF
parameters)
0x0600 - 0x10FF
0 x 1100 - 0 x 11 F
(Reserved)
0 x 1200- 0 x 13 F
parameters)
0 x 1400 - 0 x 3 FFF
(SMSC Vendor)
SMSC
0 x 4000- 0 xFFFF
(Reserved)
SMPP (Tag
Values) 5-7 .
.
152
SMPP PDU Definition
, ,GSM /iDEN, TDMA CDMA.
dest_addr_subunit
0x0005
GSM
dest_network_
0x0006
Generic
dest_bearer_
0x0007
Generic
dest_telematics_id
0x0008
GSM
source_addr_subunit
0x000D
GSM
source_network_
0x000E
Generic
source_bearer_
0x000F
Generic
source_telematics_id
0x0010
GSM
qos_time_to_live
0x0017
Generic
payload_
0x0019
Generic
additional_status_info_text
0x001D
Generic
receipted_message_id
0x001E
Generic
ms_msg_wait_facilities
0x0030
GSM
privacy_indicator
0x0201
CDMA, TDMA
source_subaddress
0x0202
CDMA, TDMA
dest_subaddress
0x0203
CDMA, TDMA
user_message_reference
0x0204
Generic
user_response_code
0x0205
CDMA, TDMA
source_port
0x020A
Generic
destination_port
0x020B
Generic
sar_msg_ref_num
0x020C
Generic
language_indicator
0x020D
CDMA, TDMA
153
SMPP PDU Definition
sar_total_segments
0x020E
Generic
sar_segment_seqnum
0x020F
Generic
SC_interface_version
0x0210
Generic
callback_num_pres_ind
0x0302
TDMA
callback_num_atag
0x0303
TDMA
number_of_messages
0x0304
CDMA
callback_num
0x0381
dpf_result
set_dpf
0x0420
0x0421
Generic
Generic
ms_availability_status
0x0422
Generic
network_error_code
0x0423
Generic
message_payload
0x0424
Generic
delivery_failure_reason
0x0425
Generic
more_messages_to_send
0x0426
GSM
message_state
0x0427
Generic
ussd_service_op
0x0501
GSM (USSD)
display_time
0x1201
CDMA, TDMA
sms_signal
0x1203
TDMA
ms_validity
alert_on_message_delivery
its_reply_
its_session_info
0x1204
0x130C
0x1380
0x1383
CDMA, TDMA
CDMA
CDMA
CDMA
5-7:
154
SMPP PDU Definition
5.3.2.1 dest_addr_subunit
dest_addr_subunit , ,
, , - ,
.
Parameter
Tag
Integer
dest_addr_subunit
Length
Integer
(Length) (Value)
Value
Integer
5.3.2.2 source_addr_subunit
source_addr_subunit ,
, , - ,
.
Parameter Tag
Integer
source_addr_subunit
Length
Integer
(Length) (Value)
Value
Integer
C. 5.3.2.1
155
SMPP PDU Definition
5.3.2.3 dest_network_
dest_network_ , ,
- . , (, SMSC)
, PDU ,
.
Parameter Tag
Integer
dest_network_
Length
Integer
(Length) (Value)
Value
Integer
0x00 = Unknown
0x01 = GSM
0x02 = ANSI-136/TDMA
0x03 = IS-95/CDMA
0x04 = PDC
0x05 = PHS
0x06 = iDEN
0x07 = AMPS
0x08 = Paging Network
9 to 255 = reserved
5.3.2.4 source_network_
source_network_ ,
, .
Parameter Tag
Integer
source_network_
Length
Integer
(Length) (Value)
Value
Integer
. 5.3.2.3
156
SMPP PDU Definition
5.3.2.5 dest_bearer_type
dest_bearer_type ,
-. (, SMSC)
, PDU
, .
Parameter Tag
Integer
dest_bearer_type
Length
Integer
(Length) (Value)
Value
Integer
0x00 = Unknown
0x01 = SMS
0x02 = Circuit Switched Data (CSD)
0x03 = Packet Data
0x04 = USSD
0x05 = CDPD
0x06 = DataTAC
0x07 = FLEX/ReFLEX
0x08 = Cell Broadcast (cellcast)
9 to 255 = reserved
5.3.2.6 source_bearer_type
source_bearer_type ,
.
Parameter Tag
Integer
source_bearer_type
Length
Integer
(Length) (Value)
Value
Integer
. 5.3.2.5
157
SMPP PDU Definition
5.3.2.7 dest_telematics_id
,
-. ,
dest_bearer_type ,
. (, SMSC)
,
PDU , .
Size
Parameter Tag
Integer
dest_telematics_id
Length
Integer
(Length) (Value)
Value
Integer
(to be defined)
5.3.2.8 source_telematics_id
source_telematics_id ,
.
Parameter Tag
Integer
source_telematics_id
Length
Integer
(Length) (Value)
Value
Integer
. 5.3.2.7
158
SMPP PDU Definition
5.3.2.9 qos_time_to_live
, SMSC ,
, ,
. , SMSC .
Parameter Tag
Integer
qos_time_to_live
Length
Integer
(Length) (Value)
Value
Integer
,
.
5.3.2.10 payload_
payload_type PDU ,
.
Parameter
Tag
Integer
payload_
Length
Integer
(Length) (Value)
Value
Integer
0 Default. WAP,
WDP. . [ WDP ].
1 WCMP .
(Wireless Control Message Protocol).
. [ WCMP ].
2 - 255
159
SMPP PDU Definition
5.3.2.11 additional_status_info_text
additional_status_info_text ASCII PDU.
, .
Parameter Tag
Integer
additional_status_info_text
Length
Integer
(Length) (Value)
Value
1 - 256
C Octet
,
.
256 .
String
5.3.2.12 receipted_message_id
receipted_message_id ID , SMSC Delivery
Receipt. SMSC,
message_id PDU SMPP, .
Parameter Tag
Integer
receipted_message_id
Length
Integer
(Length) (Value)
Value
1 - 65
C Octet
String
SMSC , .
5.3.2.13 ms_msg_wait_facilities
ms_msg_wait_facilities , MS, ,
, PLMN. MS
MMI.
ms_msg_wait_facilities ,
.
160
SMPP PDU Definition
Parameter Tag
Integer
ms_msg_wait_facilities
Length
Integer
(Length) (Value)
Value
Bit mask
Bits 7 _________0*
I 00000 TT
(, MWI)
.
7
:
0 = Set Indication Inactive
1 = Set Indication Active
( of Message),
MWI,
0 1 :
00 = Voicemail Message Waiting
01 = Fax Message Waiting
10 = Electronic Mail Message Waiting
11 = Other Message Waiting
5.3.2.14 privacy_indicator
privacy_indicator .
Parameter Tag 2
Integer
privacy_indicator
Length
Integer
(Length) (Value)
Value
Integer
161
SMPP PDU Definition
5.3.2.15 source_subaddress
source_subaddress , .
Parameter Tag 2
Integer
Length
Integer
(Length) (Value)
Value
Var
Octet
2 - 23
String
-
( of Subaddress tag),
,
,
,
.
Tag :
00000001 Reserved
00000010 Reserved
10000000 - NSAP (Even) [ITUT X.213]
10001000 - NSAP (Odd) [ITUT X.213]
10100000 -User Specified
.
NSAP ,
, [ ITUT X. 213].
(Authority and Format Identifier).
User Specified
,
22 .
162
SMPP PDU Definition
5.3.2.16 dest_subaddress
dest_subaddress , .
Parameter Tag
Integer
dest_subaddress
Length
Integer
(Length) (Value)
Value
Var
Octet
. 5.3.2.15 .
2 - 23
String
5.3.2.17 user_message_reference
, SME.
Parameter Tag
Integer
user_message_reference
Length
Integer
(Length) (Value)
Value
Integer
163
SMPP PDU Definition
5.3.2.18 user_response_code
Parameter Tag
Integer
user_response_code
Length
Integer
Value
Integer
0
to
255
(IS-95
0 to 15 (CMT-136 TDMA)
CDMA)
5.3.2.19 language_indicator
language_indicator .
Parameter Tag
Integer
language_indicator
Length
Integer
Value
Integer
0 = ( )
1 =
2 =
3 =
4 =
5 =
. [ CMT -136]
164
SMPP PDU Definition
5.3.2.20 source_port
source_port , ,
.
Integer
source_port
Length
Integer
Value
Integer
Parameter
Tag
5.3.2.21 destination_port
destination_port , ,
- .
Integer
destination_port
Length
Integer
Value
Integer
Parameter
Tag
165
SMPP PDU Definition
5.3.2.22 sar_msg_ref_num
sar_msg_ref_num ,
.
Parameter Tag
Integer
sar_msg_ref_num
Length
Integer
Value
Integer
,
.
, PDU
sar_total_segments
sar_segment_seqnum.
.
5.3.2.23 sar_total_segments
sar_total_segments ,
.
Parameter Tag
Integer
sar_total_segments
Length
Integer
Value
Integer
1 - 255,
166
SMPP PDU Definition
. 1
,
.
, PDU
sar_msg_ref_num
sar_segment_seqnum.
.
5.3.2.24 sar_segment_seqnum
sar_segment_seqnum ,
.
Parameter Tag
Integer
sar_segment_seqnum
Length
Integer
Value
Integer
1
255,
.
1
,
.
, PDU
sar_total_segments
sar_msg_ref_num.
.
167
SMPP PDU Definition
5.3.2.25 sc_interface_version
sc_interface_version , SMPP,
SMSC . PDUs bind.
Parameter Tag
Integer
sc_interface_version
Length
Integer
Value
Integer
5.2.4. (interface_version)
5.3.2.26 display_time
display_time
MS.
Parameter Tag
Integer
display_time
Length
Integer
Value
Integer
0 = Temporary
1 = Default (default)
2 = Invoke
values 3 to 255 are reserved
168
SMPP PDU Definition
5.3.2.27 ms_validity
ms_validity , MS ,
.
Parameter Tag
Integer
ms_validity
Length
Integer
Value
Integer
5.3.2.28 dpf_result
dpf_result PDU data_sm_resp, ,
(DPF) .
PDU data_sm_resp dpf_result, ESME , DPF
.
Transaction.
Parameter Tag
Integer
dpf_result
Length
Integer
Value
Integer
169
SMPP PDU Definition
5.3.2.29 set_dpf
ESME set_dpf,
(DPF) , :
-MS ( HLR)
SMSC , MS ,
PDU alert_notification.
, DPF, -
SMSC . SMSC
(,HLR), SMSC ESME data_sm _resp
dpf_result.
Parameter Tag
Integer
set_dpf
Length
Integer
Value
Integer
0 = DPF
MS
1 = ( )
DPF
2 - 255
5.3.2.30 ms_availability_status
ms_availability_status alert_notification,
MS ESME.
SMSC alert_notification, ESME ,
MS "" (available) .
Parameter
Length
Tag
Integer
ms_availability_status
Integer
170
SMPP PDU Definition
Value
Integer
0 =Available (Default)
1 =Denied (,
,
SMS, ..)
2 = Unavailable
3 - 255
5.3.2.31 network_error_code
network_error_code ,
. - .
Parameter Tag 2
Integer
network_error_code
Length
Integer
Value
Octet
Sub-
String
Network 1
Integer
Error Code
Integer
Size
.
:
1 =ANSI -136
2 =IS -95
3 = GSM
4 = Reserved
All other values reserved.
,
.
171
SMPP PDU Definition
5.3.2.32 message_payload
message_payload .
Parameter Tag
Integer
message_payload
Length
Integer
Value
Variable
Octet
.
SMSC
.
String
5.3.2.33 delivery_failure_reason
delivery_failure_reason data_sm_resp,
( ).
- , ESME network _error_code (
) .
delivery_failure_reason , SMSC .
Parameter Tag
Integer
delivery_failure_reason
Length
Integer
Value
Integer
0 = Destination unavailable
1 =Destination Address Invalid (,
, SMS, ..)
2 =
(Permanent network error)
3 =
(Temporary network error)
4 - 255
172
SMPP PDU Definition
SMPP Protocol Specification v3.4
5.3.2.34 more_messages_to_send
SMSC, SME , ESME
more_messages_to_send submit_sm data_sm. SMSC
.
Parameter Tag
Integer
more_messages_to_send
Length
Integer
Value
0 =
1 =
( )
2 - 255
5.3.2.35 message_state
ESME SMSC Delivery Receipt, SMSC
message_state PDU sdeliver_sm data_sm.
Integer
message_state
Length
Integer
Value
Parameter
Tag
5.2.28
173
SMPP PDU Definition
5.3.2.36 callback_num
callback_num . TDMA
\
TDMA.
Parameter Tag
Integer
Length
Integer
Value
Var
Octet
Bits 7 _________0*
4 - 19
String
0000000D (octet 1)
00000TTT (octet 2)
0000NNNN (octet 3)
XXXXXXXX (octet 4)
:
:
XXXXXXXX (octet N)
Value
174
SMPP PDU Definition
5.3.2.37 callback_num_pres_ind
Parameter
Tag
Integer
callback_num_pres_ind
Length
Integer
Value
Value
Bit
mask
Bits 7 _________0*
0000 ppss
CallBackNumber .
, callback_num
.
Presentation Indicator
2 3 :
00 = Presentation Allowed
01 = Presentation Restricted
10 = Number Not Available
11 = Reserved
Screening Indicator
0 1 :
00 = ,
175
SMPP PDU Definition
5.3.2.38 callback_num_atag
callback_num_atag -
.
Parameter Tag
Integer
callback_num_atag
Length
Integer
Value
Value
Var
Octet
Max
string
65
-
Bits 7 _________0*
EEEEEEEE (octet 1)
XXXXXXXX (octet 2)
:
:
XXXXXXXX (octet N)
Alpha Tag.
, Data Coding Scheme
(. 5.2. 19).
:
7- 8- .
16- .
176
SMPP PDU Definition
5.3.2.39 number_of_messages
number_of_messages , ,
.
Parameter Tag
Integer
number_of_messages
Length
Integer
Value
Value
Integer
0 - 99 = .
100 - 255
5.3.2.40 sms_signal
sms_signal , MS TDMA
, .
Parameter Tag
Integer
sms_signal
Length
Integer
Value
Value
Integer
[ CMT -136]
5.3.2.41 alert_on_message_delivery
alert_on_message_delivery , MS
( MS ),
MS.
Parameter Tag
Integer
alert_on_message_delivery
Length
Integer
Value (= 0)
Value
Value,
.
177
SMPP PDU Definition
5.3.2.42 its_reply_type
its_reply_type CDMA Interactive Teleservice,
Korean PCS [ KORITS ]. MS
SMS, ESME .
Integer
its_reply_
Length
Integer
Value
Value
Integer
Parameter
Tag
0 = Digit
1 = Number
2 = Telephone No.
3 = Password
4 = Character Line
5 = Menu
6 = Date
7 = Time
8 = Continue
values 9 to 255 are reserved
5.3.2.43 its_session_info
its_session_info - CDMA Interactive Teleservice,
Korean PCS [KORITS].
MS ESME .
Parameter Tag 2
Integer
its_session_info
Length
Integer
Value
Value
Octet
String
Bits 7 _________0*
SSSS SSSS (octet 1)
NNNN NNNE (octet 2)
Octet 1 (0-255),
.
.
( ESME)
178
SMPP PDU Definition
7.. 1 2.
End of Session Indicator ,
0 2
:
0 = End of Session Indicator inactive.
1 = End of Session Indicator active.
5.3.2.44 ussd_service_op
ussd_service_op USSD, SMPP
USSD (GSM).
Parameter Tag
Integer
ussd_service_op
Length
Integer
Value
Value
Octet
String
0 = PSSD
1 = PSSR
2 = USSR
3 = USSN
4 - 15 =
16 = PSSD
17 = PSSR
18 =USSR
19 =USSN
20 - 31 =
32 - 255 =
- USSD
179
SMPP PDU Definition
6. (Network Implementation)
6.1 (NetworkError Codes)
PDU SMPP, query_sm_resp error_code . ,
, .
180
SMPP PDU Definition
7. (General Definitions)
7.1 (Time Definitions)
7.1.1 (Time Format)
, / ASCII :
YYMMDDhhmmsstnnp ,
YY
MM
DD
hh
mm
ss
t
nn
(00-99)
(01-12)
(01-31)
(00-23)
(00-59)
(00-59)
(0-9)
( 13 ) UTC
(Universal Time Constant) (00-48).
p -+
UTC.
UTC.
SMSC .
-
R
: SMSC, SMSC,
YYMMDDhhmmss , , .
181
SMPP PDU Definition
: SMSC
, , , ,
.
: 7 ,
14 .
SMPP
. .
:
(Timer)
()
session_init_timer
,
, ,
bind_transmitter
bind_receiver,
SMSC .
SMSC .
enquire_link_timer
, ,
SMPP
,
.
SMPP ( , SMSC ESME).
enquire_link.
inactivity_timer
SMPP
,
,
,
SMPP ,
.
SMPP ( , SMSC ESME).
response_timer
182
SMPP PDU Definition
SMPP.
183
SMPP PDU Definition
A
UNIX
UNIX 5
UNIX (man 5regexp). , UNIX
.
SMPP.
SMPP PDU bind_receiver. ESME
SMSC, ,TON, NPI routing_expr. TON &NPI
, routing_expr .
^1234
^ " " ( beginning with ),
^1234 MSISDNs, 1234. ESME
, , .
5678$
$ , ( ending with ),
, 5678 $ MSISDN, 5678.
^123456$
^ $ ,
, , MSISDNs,
123456 123456. , -
, 123456.
[13579]$
[] .
MSISDNs, 1, 3, 5, 7 9. ,
MSISDNs, . ^
[, ; , [^13579] $
MSISDNs, .
184
SMPP PDU Definition
B
(Delivery Receipt Format)
SMPP SMSC PDU deliver_sm data_sm,
.
SMSC Delivery Receipt
short_message deliver_sm. Delivery Receipt
- SMSC, Delivery
Receipt.
id : IIIIIIIIII sub : SSS dlvrd : DDD submit date : YYMMDDhhmm done
date:YYMMDDhhmm stat:DDDDDDD err:E Text:. . . . . . .. .
:
id
10
C - Octet
String
(Decimal)
ID , SMSC
.
sub
C - Octet
String
(Decimal)
dlvrd
C - Octet Fixed
Length String
(Decimal)
. ,
.
.
,
. ,
.
.
submit date
10
C - Octet Fixed
Length String
,
. ,
,
,
. :
YYMMDDhhmm, :
YY = (00-99)
MM = (01-12)
DD = (01-31)
hh = (00-23)
mm = (00-59
B-1:
(DeliveryReceipt Short Message Text Format)
185
SMPP PDU Definition
done
date
10
C - Octet ,
Fixed
Length
, submit date.
String
stat
C - Octet
Fixed
Length
. B -2.
String
err
C - Octet
Fixed
Network SMSC
Length
.
String
Network SMSC,
text
20
Octet String
20
B -1: ()
(Delivery Receipt Short Message Text Format (continue))
Delivery Receipt:
DELIVERED
EXPIRED
DELETED
UNDELIVERABLE
ACCEPTED
DELIVRD
EXPIRED
DELETED
UNDELIV
ACCEPTD
UNKNOWN
UNKNOWN
REJECTED
REJECTD
.
.
.
( ,
).
.
B-2:
(DeliveryReceipt Short Message Text Format)
186
SMPP PDU Definition
C
SMPP 2000
SMPP 2000 , British Standards
Institute. British Standards Institute 2000
http://www.bsi.org.uk/disc/year2000/2000.html
SMPP . , SMPP
Year 2000 2 . Year 2000
, SMPP
.
SMSC, SMPP
.
SMPP ,
, SMPP
:
xx 38
, , :38 - 99 1938 - 1999
00 - 37 2000 - 2037 .