PE Parameters To Be Passed On SMPP Protocol

DLT – Specification for SMPP Interface

Model one.1

Alter Record
This table displays a history of sizeable variations to your doc.
Edition Day Description of Change
1.0 26.08.2020 First SMPP document published with supplemental TLV

parameters

1.one twelve.ten.2020 Additional DLT mistake codes extra with description

2 | P a g e
Desk of Contents:

one. Introduction ...............................................................................................................................three
two. Assumptions .............................................................................................................................three
three. Connection Configuration......................................................................................................three
4. Hosts............................................................................................................................................3
five. Encoding Formats....................................................................................................................4
six. Bind Operations........................................................................................................................four
7. Session States ..........................................................................................................................four
eight. Bind Parameters.......................................................................................................................five
nine. Bind lifetime...............................................................................................................................five
10. Submit_sm Parameters..........................................................................................................5
11. SMPP TLV parameters:...........................................................................................................six
12. SMPP Instructions ....................................................................................................................6
13. Command Point out........................................................................................................................seven
fourteen. Publishing Messages .............................................................................................................8
14.one Submitting Message................................................................................................................8
fourteen.two Post Responses ..................................................................................................................eight
14.three Message ID................................................................................................................................8
fifteen. Delivery Receipts .....................................................................................................................nine
sixteen. Message Standing ........................................................................................................................nine
seventeen. Terminology ............................................................................................................................10
eighteen. Transactional Error Codes(NACK Mistakes in Decimal format).....................................eleven
19. DLT Mistake codes .....................................................................................................................12
twenty. Reference Documents ..........................................................................................................12

3 | P a g e
one. Introduction
As per TRAI TCCCPR Regulation 2018, Energetic participation from Business/
Corporations associated with the Commercial Interaction is essential to be able to suppress
spam. To fulfill the compliance requirements, some alterations have been
integrated in the A2P SMS setup with regard to additional parameters in SMPP
interface.

The SMPP V3.4 specifications are getting used with applicable supplemental TLV
parameters required to satisfy the TRAI suggestion for DLT eco method.

two. Assumptions
It is assumed that viewers of this doc Possess a fundamental comprehension of SMPP
Protocol specifications v3.four

three. Connection Configuration

SMPP Model 3.4
Bind Variety Transmitter, Receiver or Transceiver
Assistance Sort, auth TON and auth NPI All values are dismissed and can be blank
Most authorized periods Account distinct configuration

4. Hosts
You'll be able to join current SMPP account by including added parameters mentioned in place
quantity eleven.

four | P a g e
five. Encoding Formats
Please be certain that you end up picking the correct details coding plan According to the beneath
Concept Style DCS UDH
Regular Text Message – GSM 0 0
Extended SMS – GSM 0 1
Typical Text Message - Latin one (ISO-8859-one) 3 0
Extensive SMS - Latin one (ISO-8859-1) three 1
Unicode Messages 8 0
Flash Messages sixteen 0

six. Bind Operations
You will discover 3 ways to open a link utilizing SMPP. It is possible to hook up as:
ï‚· Transmitter: Ship limited messages to SMSC and obtain responses from
SMSC.
ï‚· Receiver: acquire supply receipts through the SMSC and return the
corresponding responses.
ï‚· Transceiver: send out and get messages to and with the SMSC in excess of a
single SMPP session.

seven. Session States
Your connection to our server across an SMPP website link might be in one of five states:
ï‚· Open up: linked and bind pending
ï‚· BOUND_TX: related and requested to bind as a Transmitter
ï‚· BOUND_RX: related and requested to bind as being a Receiver
ï‚· BOUND_TRX: connected and asked for to bind for a Transceiver
ï‚· Shut: unbound and disconnected

5 | P a g e
eight. Bind Parameters
The syntax for initiating a bind_transmitter, bind_receiver or bind_transceiver
occasion takes advantage of the subsequent parameters:
ï‚· system_id: identifies the person requesting to bind (username)
ï‚· password: password to allow access
ï‚· system_type: identifies the program kind (dismissed, established to blank)
ï‚· interface_version: signifies SMPP version supported by person
ï‚· addr_ton: identifies consumer sort of quantity (disregarded, set to blank)
ï‚· addr_npi: numbering strategy indicator for person (dismissed, established to blank)
ï‚· address_range: The consumer address (overlooked, set to blank)

nine. Bind lifetime
We propose enquire url for every moment (lower than sixty seconds) to keep the
bind alive within the server conclude, failing to do this may well result in the bind get disconnected.
ten. Submit_SM Parameters
The parameters necessary with the SUBMIT_SM request (accustomed to send an SMS) are:
ï‚· service_type: suggests SMS software services
ï‚· source_addr_ton: variety of amount for resource address
ï‚· source_addr_npi: numbering prepare indicator for resource deal with
ï‚· source_addr: supply handle
ï‚· dest_addr_ton: kind of selection for spot
ï‚· dest_addr_npi: numbering strategy indicator for place
ï‚· destination_addr: location deal with with the short message
ï‚· esm_class: message mode and type
ï‚· protocol_id: protocol identifier (network distinct)
ï‚· priority_flag: sets the precedence with the information (this is ignored)
ï‚· schedule_delivery_time: set to NULL for instant shipping and delivery (That is
overlooked)
ï‚· validity_period: validity period of concept
ï‚· registered_delivery: indicator to signify if an SMSC shipping and delivery receipt or
acknowledgment is required

6 | P a g e
ï‚· replace_if_present_flag: flag indicating if submitted message should
change an existing information (This is often disregarded)
ï‚· data_coding: defines the encoding plan on the SMS message
ï‚· sm_default_msg_id: indicates short information to send out from a predefined
list of messages saved on SMSC (That is dismissed)
ï‚· sm_length: length in octets of your short_message consumer knowledge
ï‚· short_message: around 254 octets of brief information consumer information.
ï‚· user_message_reference: person assigned reference variety (This can be
ignored)

eleven. SMPP TLV parameters:
For sending messages in Submit_SM making use of SMPP , there will be Two mandatory parameters
introduced in SMPP PDU.
These new tags are launched inside the optional parameter list. Nonetheless, the TLV values will
be checked by our DLT scrubber :

Optional Parameter Tag price in
Hex

Tag Benefit in
Decimal
PE_ID 1400 5120
Template_ID 1401 5121

twelve. SMPP Commands
The SMS Gateway supports the following SMPP instructions:
one. Supported customer-to-server commands
ï‚· BIND_TRASMITTER ï‚· SUMIT_SM
ï‚· BIND_RECEIVER ï‚· ENQUERY_LINK
ï‚· BIND_TRANSCEIVER ï‚· DELIVERY_SM_RESP
ï‚· UNBIND
2. Unsupported customer-to-server commands
ï‚· SUBMIT_MULTI ï‚· REPLACE_SM
ï‚· DATA_SM ï‚· ALERT_NOTIFICATION
ï‚· QUERY_SM

7 | P a g e
3. Supported check here server-to-shopper commands
ï‚· BIND_TRANSMITTER_RESP ï‚· SUBMIT_SM_RESP
ï‚· BIND_RECEIVER_RESP ï‚· UNBIND_RESP
ï‚· BIND_TRANSCEIVER_RESP ï‚· ENQUIRE_LINK_RESP
ï‚· GENERIC_NACK ï‚· DELIVER_SM

13. Command Condition
SMPP supports the subsequent instructions through the next SMPP session states:

Command Essential condition
bind_transmitter Open up
bind_transmitter_resp OPEN
bind_receiver Open up
bind_receiver_resp OPEN
bind_transceiver OPEN
bind_transceiver_resp Open up
Unbind

BOUND_TX, BOUND_RX,
BOUND_TRX

unbind_resp

BOUND_TX, BOUND_RX,
BOUND_TRX

submit_sm BOUND_TX, BOUND_TRX
submit_sm_resp BOUND_TX, BOUND_TRX
deliver_sm BOUND_RX, BOUND_TRX
deliver_sm_resp BOUND_RX, BOUND_TRX
enquire_link

BOUND_TX, BOUND_RX,
BOUND_TRX

enquire_link_resp

BOUND_TX, BOUND_RX,
BOUND_TRX

generic_nack

BOUND_TX, BOUND_RX,
BOUND_TRX

8 | P a g e
fourteen. Submitting Messages
fourteen.one Submitting Concept
Originators, Referred to as source_addr. For billed concept the originator has to be
the small code if It isn't set to your brief code platform will not likely acknowledge the message.

Destination - (referred to as dest_addr). Spot deal with varieties are not
supported. You could possibly set these to nearly anything, Nevertheless they will always be interpreted as 1,one.
Destination addresses (MSISDN) ought to generally be submitted in Global structure
with no primary 00 or + e.g. (917751123456). MSISDN length Need to be twelve digits in
submission packet

Knowledge & Unicode (UTF16) information entire body forms - established data_coding appropriately as
for each the appropriate vendor specification for the type of Facts or Unicode concept you’re
sending, and the kind of handset you’re sending it to.
Character Encoding - By default messages have to be submitted using the get more info GSM
encoding character established.
Information Expiry get more info (validity_period) – Is supported by System Until There may be
restriction through the supplier. This feature is about at account degree and maximum
validity is limited to 6 hrs
14.2 Post Responses
A beneficial response to your submit will comprise an error code of zero and a non-null
concept reference. The message reference might be provided in decimal. A negative
response will most likely consist of vendor distinct mistake code or SMPP v3.4 error
codes in addition to a null message reference.
14.three Information ID
At present the concept reference provided is 19 digits, it might transform in long term
(Utmost forty).

nine | P a g e
15. Shipping and delivery Receipts
SMPP shipping receipts choose the following format:
id:IIIIIIIIII sub:SSS dlvrd:DDD submit date:YYMMDDhhmmss performed day:YYMMDDhhmmss
stat:DDDDDDD err:E Textual content .........

Where:
ï‚· id: the message ID allocated on the concept via the server
ï‚· sub: the number of quick messages initially submitted (This is certainly disregarded)
ï‚· dlvrd: the volume of short messages delivered (This really is ignored)
ï‚· submit day: the day and time at which get more info the small information was submitted
ï‚· performed day: the date and time at which the quick message reached its
final point out
ï‚· stat: the ultimate standing on the concept. Make sure you see segment Message Position for
additional information.
ï‚· err: wherever acceptable this might hold a community precise mistake code or an
SMSC error code
ï‚· textual content: the 1st 20 characters from the brief message (This can be ignored)
Note: To permit permit/disable seconds parameter in “post date” & “accomplished day” remember to
Call help team
16. Information Position
The supply report status signifies if the SMS message was sent
effectively by the SMSC. If your SMS was not productively shipped, then the
shipping and delivery report will provide a purpose in the shape of the [mistake code].

SMPP message states as well as their meanings are mentioned listed here for your personal usefulness:

CODE DESCRIPTION
DELIVRD Information delivered to vacation spot
Unsuccessful Information is undelivered
EXPIRED Message validity time period has expired
REJECTD Concept is in turned down condition

ten | P a g e
seventeen. Terminology

ï‚· SMPP: Short Message Peer to look Protocol
ï‚· ACK: Acknowledgement
ï‚· DLR: Shipping Report
ï‚· DND: Never Disturb
ï‚· ESME: Exterior Brief Message Entity
ï‚· MSISDN: Mobile Subscriber Integrated Companies Electronic Community: the cellular
range in Intercontinental structure.
ï‚· MSC: Cell Switching Centre: the desired destination community equipment that gets
an SMS (via ahead-SM Procedure) inside of a destination cell community.
ï‚· HLR: Dwelling Locale Sign up: the desired destination community products that returns
standing and routing details about an MSISDN for the SMSC (by way of SRI-SM
operation).
ï‚· SMSC: Short Information Assistance Centre: the machines belonging to CLX or a person
of its carriers that transmits SMS to your place network by way of SS7.
ï‚· SS7: Signalling Program seven: the transportation protocol that interconnects global GSM
networks.
ï‚· MNP: Cellular Quantity Portability: the process of a subscriber transferring from just one
cellular network to another but retaining precisely the same MSISDN.
ï‚· IMSI: Worldwide Cell Subscriber Identity: a singular identification number
which identifies the desired destination region, precise network, and network subscriber
ID.
ï‚· Subscriber: The mobile consumer that has a SIM card.

eleven | P a g e
eighteen. Transactional Mistake Codes (NACK Problems in Decimal format)
To assist you establish what could possibly be leading to a challenge together with your SMPP transaction,
Here's a list of mistake codes with a little description:
Mistake Code Description
0 No mistake
3 Invalid command ID
4 Invalid bind standing for supplied command
five ESME currently in bound condition
ten Invalid supply handle
twelve Message ID is invalid
thirteen Bind failed
fourteen Invalid password
15 Invalid program ID
twenty Information queue full
21 Invalid system type
ninety seven Invalid scheduled delivery time
ninety eight Invalid information shipping and delivery period

12 | P a g e
19. DLT Mistake codes
We is going to be offering superior quality and trustworthy reporting together with DLT error codes in
scrubbing system as per new TLV parameters. In the event your message is just not scrubbed
effectively and fails, an error code are going to be returned within the deliver_sm that has a
motive.

Mistake codes can be returned within the shipping and delivery report (in the event that supply reports are
enabled via the consumer) as:

stat: err:

The value in the Status as well as Mistake Code could be as per the down below table: In
foreseeable future, the additional mistake code will even be shared with descriptions.

Mistake Identify Description Mistake Code
BLOCKED_BY_DLT Concept blocked by DLT

Scrubbing

4106/5101/5102/5103/5104/5105/51
06/5107/5108

DLT_SCRUBBING_TIMEOUT Timeout though executing

DLT Scrubbing 4107/4001/5000/5001

SENDER_BLOCKED_BY_DLT Blocked by DLT simply because

sender didn't pass scrubbing 4108/5201/5202/5203/5204/5205

TEMPLATE_ERROR Material Template just isn't
Matching/Sign up

5301/5302/5303/5304/5304/5305/fifty three
06/5307/5401/5402/5403/5404/5405
/5406/5407
ENTITY_ID_ERROR Entity not matching 7001/7002/7003

twenty. Reference Paperwork

ï‚· SMPP Protocol Specification v3.4

Leave a Reply

Your email address will not be published. Required fields are marked *