SlideShare a Scribd company logo
SMPP Gateway Manual Page | 1
SMPP Gateway
Manual
SMPP Gateway Manual Page | 2
Introduction
The RouteMobile Messaging Platform uses the SMPP v3.4 Protocol Specification
Issue 1.5, However it has been designed to be backward compatible with SMPP v3.3.
This document should be read in conjunction with SMPP v3.4 Specification v1.5 and
assumes with SMPP a level of familiarity functionality.
Connectivity
Clients may connect to the Route Mobile Messaging Platform Server multiple
numbers of times. This may be of importance if the client wishes to deploy
multiple applications simultaneously. To connect to the Route Mobile Messaging
Platform one needs to specify the following parameters:
IP Address and Port: This is the TCP/IP endpoint on which the ESME should connect
to the Route Mobile Messaging Platform.
system_id: This is the username of your account configured on the RouteMobile
Messaging Platform.
Password: Password for the above account. Required for security reasons to
prevent unauthorized access to your account.
system_type: This field is not used by us, hence set to null.
interface_version: The client application should connect with the interface_version
field set to 0x34 (52 decimal), if it is using SMPP v3.4, otherwise the RouteMobile
Messaging Platform assumes that the application is using SMPP v3.3.
If the application uses SMPP v3.3 then the optional fields cannot be used.
These optional fields may be required to implement extra facilities like long SMS,
etc.
enquire_link: The application should issue an enquire_link every minute. This will
ensure the link stays active even when it is not in use. The RouteMobile
Messaging Platform will automatically disconnect any link which is inactive for more
than 5mins.
SMPP Gateway Manual Page | 3
Submitting Messages
Submission Types:
Messages may be submitted with either submit_sm or data_sm, using either the
short_message or message_payload fields. The message length may not exceed the
byte limit for the network that the message is being sent to (for example 140 bytes
on GSM networks).
The Route Mobile Messaging Platform does not support submit_multi. If the same
message has to be sent to multiple destinations, each message must be sent
separately.
The sar optional parameters are also not supported.
Concatenated messages are supported by using the User Data Header (UDH), which
is included in the message size byte limit.
Submit Responses:
A positive response to a ‘submit’ will contain an error code of zero and a non-null
message reference.
A negative response will contain a RouteMobile vendor specific error code. The
complete set of SMPP Error Codes and their associated values are defined in the
following table.
Error Code Value Description
ESME_ROK 0x00000000 No Error.
ESME_RINVMSGLEN 0x00000001 Message Length is invalid.
ESME_RINVCMDLEN 0x00000002 Command Length is invalid.
ESME_RINVCMDID 0x00000003 Invalid Command ID.
ESME_RINVBNDSTS 0x00000004 Incorrect BIND Status for given command.
ESME_RALYBND 0x00000005 ESME Already in Bound State.
ESME_RINVPRTFLG 0x00000006 Invalid Priority Flag.
ESME_RINVREGDLVFLG 0x00000007 Invalid Registered Delivery Flag.
ESME_RSYSERR 0x00000008 System Error.
ESME_RINVSRCADR 0x0000000A Invalid Source Address.
ESME_RINVDSTADR 0x0000000B Invalid Dest Addr.
ESME_RINVMSGID 0x0000000C Message ID is invalid.
ESME_RBINDFAIL 0x0000000D Bind Failed.
ESME_RINVPASWD 0x0000000E Invalid Password.
ESME_RINVSYSID 0x0000000F Invalid System ID.
ESME_RINVSERTYP 0x00000015 Invalid Service Type.
ESME_RINVESMCLASS 0x00000043 Invalid esm_class field data.
ESME_RSUBMITFAIL 0x00000045 submit_sm failed
ESME_RINVSRCTON 0x00000048 Invalid Source address TON
SMPP Gateway Manual Page | 4
Character Sets, Class and Data Coding:
The Route Mobile Messaging Platform supports the following two types of data
coding schemes:
GSM 03.38 Encoding (default)
Latin 1 (ISO-8859-1) encoding
The default character set is GSM 338. Although for data_coding=1 the character set
GSM 03.38 is supported it is NOT RECOMMENDED, as it is known to cause problems
with character encoding. Please set data_coding = 3 for ISO-8859-1(if and only if told
so explicitly) encoded messages and data_coding=0 for GSM 03.38 encoded
messages.
For Unicode messages you have to set data_coding = 8 and the message is
expected in UTF-16 Big Endean format.
ESME_RINVSRCNPI 0x00000049 Invalid Source address NPI
ESME_RINVDSTTON 0x00000050 Invalid Destination address TON
ESME_RINVDSTNPI 0x00000051 Invalid Destination address NPI
ESME_RINVSYSTYP 0x00000053 Invalid system_type field
ESME_RTHROTTLED 0x00000058
Throttling Error(ESME has exceeded allowed
message limits)
ESME_RINVEXPIRY 0x00000062 Invalid message validity period (Expiry time)
ESME_RINVOPTPARSTREA
M 0x000000C0 Error in the optional part of the PDU Body.
ESME_ROPTPARNOTALLWD 0x000000C1 Optional Parameter not allowed
ESME_RINVPARLEN 0x000000C2 Invalid Parameter Length
ESME_RMISSINGOPTPARA
M 0x000000C3 Expected Optional Parameter missing.
ESME_RINVOPTPARAMVAL 0x000000C4 Invalid Optional Parameter Value
ESME_RDELIVERYFAILURE 0x000000FE Delivery Failure (used for data_sm_resp)
ESME_CREDIT_ERROR 0x00000401 Credits are over.
ESME_SPAM_MESSAGE 0x00000404 Spam content.
ESME_RINVSMLEN 0x00000405
Message length is exceeding in short_sm(e.g. for
message type text max message length is 160
char).
ESME_RINVUDHLEN 0x00000406
Invalid UDH length indicator (Currently we allow
05, 06 with all type of data coding and 0b with data
coding 245).
ESME_RINSMSEMPTY 0x00000407
Message body not found in either short_sm or
message_payload.
ESME_RINDSTDND 0x00000408 Destination in DND.
ESME_RINSRCMSG 0x00000409 Invalid source/template.
ESME_RINSRCMSG 0x00000410 Source/Template long message error code
ESME_RINSRCMSG 0x00000411 Duplicate Submission
ESME_RINSRCMSG 0x00000412 Destination Barred/Source Barred
SMPP Gateway Manual Page | 5
Originators and Destination:
The default originator type is full International MSISDN. Alpha numeric o network
short code originators can be sent by using the following ton values in
source_addr_ton field.
Alpha-numeric 5
National / Network Short Code 3
International MSISDN 1
Destination Address types are not supported. They can be set to any value but are
always interpreted as 1. This requires all the destination numbers to be sent in an
international format without the leading 00.
Long Messages:
Long Messages as the name suggests are messages whose length exceeds the
normal length imposed on short messages (160 for text and 70 for Unicode).
The user can send long messages via the Route Mobile Messaging Platform using
the following two methods:
Concatenated Messages
In this method the long message is sent in parts as multiple short
messages which are then joined together on the mobile (If the mobile
supports long messages, else each message part will be displayed as a
separate message).
In this method the client sends the UDH (User Data Header) as part of
the short_message field. The UDH contains all the details required for the
mobile join the parts and make the complete message at its end. In this
method the client has to set the esm_class field in the submit_sm pdu to 0x43
(Store and Forward with UDHI)
Message Payload
Here the Route Mobile Messaging Platform can accept a message with
length up to 64K octets. In this method the client uses the optional
message_payload of the submit_sm pdu. To use this method the client should
set the interface_version to 0x34; else this field will not be available for
sending messages.
SMPP Gateway Manual Page | 6
Delivery Reports:
The Route Mobile Messaging Platform will return a delivery report (Intermediate
and/or final depending on the route) for a specific message to the client application
when the registered_delivery field, while submitting the message, is set to 1. In order
to retrieve the delivery report from our server the client will have to connect to the
Route Mobile Messaging Platform in the receiver or transceiver mode.
Status Description
DELIVRD Message delivered to handset
FAILED Message could not be delivered
EXPIRED Message validity period expired, before
any successful tries of submission
UNDELIV Message is Undeliverable
REJECTD Message REJECTD
Adding status and error code which can be returned by Messaging Platform.
Status Error Status Description
000 DELIVRD Delivered to SIM.
001 UNDELIV Unidentified subscriber.
005 EXPIRED Unidentified subscriber.
009 UNDELIV Illegal subscriber
011 UNDELIV Tel
012 UNDELIV Illegal Equipment
013 UNDELIV Call Barred
021 UNDELIV Facility not supported
027 EXPIRED Absent subscriber
031 EXPIRED Subscriber busy for MT_SMS
032 EXPIRED SM
034 EXPIRED System failure
035 UNDELIV Data missing
036 UNDELIV Unexpected Data value
144 UNDELIV Unrecognized component
145 UNDELIV Mistyped Component
146 UNDELIV Body structured component
160 EXPIRED Duplicate invoke ID
161 UNDELIV Unrecognized Operation
162 UNDELIV Mistyped Parameter
163 EXPIRED Resource Limitation
164 EXPIRED Initiating release
165 EXPIRED Unrecognized linked ID
166 EXPIRED Linked Response expected
167 EXPIRED Unexpected linked operation
176 UNDELIV Unrecognized invoke ID
SMPP Gateway Manual Page | 7
177 EXPIRED Return result expected
178 UNDELIV Mistyped Parameter
192 EXPIRED Unrecognized invoke ID
193 EXPIRED Return Error unexpected
194 UNDELIV Unrecognized error
195 UNDELIV Unexpected Error
196 UNDELIV Mistyped parameter
200 UNDELIV Unable to decode response
201 EXPIRED Provider Abort
202 UNDELIV User Abort
203 EXPIRED Timeout
204 UNDELIV API error
205 UNDELIV Unknown Error
404 REJECTD Invalid message content
408 REJECTD DND error code
409 REJECTD Source/template error code
410 REJECTD Source/Template long message error code
411 REJECTD Duplicate Submission
412 REJECTD Destination Barred/Source Barred

More Related Content

Similar to Whatsapp Business API Solution

TSN_MTL838C_Modbus_Rev_1.pdf
TSN_MTL838C_Modbus_Rev_1.pdfTSN_MTL838C_Modbus_Rev_1.pdf
TSN_MTL838C_Modbus_Rev_1.pdf
Chirag Dalal
 
SMS-SMPP-Concepts
SMS-SMPP-ConceptsSMS-SMPP-Concepts
SMS-SMPP-Concepts
Duy Do Phan
 
Web service api - InfoSMS By InforUMobile
Web service api - InfoSMS By InforUMobileWeb service api - InfoSMS By InforUMobile
Web service api - InfoSMS By InforUMobile
inforumobile
 
IRJET- Secure Email Software using e-SMTP
IRJET- Secure Email Software using e-SMTPIRJET- Secure Email Software using e-SMTP
IRJET- Secure Email Software using e-SMTP
IRJET Journal
 
IRJET- Secure Email Software using e-SMTP
IRJET-  	  Secure Email Software using e-SMTPIRJET-  	  Secure Email Software using e-SMTP
IRJET- Secure Email Software using e-SMTP
IRJET Journal
 
Global e payment system ppt
Global e payment system pptGlobal e payment system ppt
Global e payment system ppt
Salman Khaja
 
Bhusa09 Miller Fuzzing Phone Paper
Bhusa09 Miller Fuzzing Phone PaperBhusa09 Miller Fuzzing Phone Paper
Bhusa09 Miller Fuzzing Phone Paper
Mousselmal Tarik
 
07 coms 525 tcpip - udp
07    coms 525 tcpip - udp07    coms 525 tcpip - udp
07 coms 525 tcpip - udp
Palanivel Kuppusamy
 
mod-3-cn-ppt (1).pdf bca bsc btech notes
mod-3-cn-ppt (1).pdf bca bsc btech notesmod-3-cn-ppt (1).pdf bca bsc btech notes
mod-3-cn-ppt (1).pdf bca bsc btech notes
anandhakrishnankv
 
Error detection & correctoin
Error detection    & correctoinError detection    & correctoin
Error detection & correctoin
DIPTOsarker6
 
T3UC_PresentationT3UC2012_Rajesh
T3UC_PresentationT3UC2012_RajeshT3UC_PresentationT3UC2012_Rajesh
T3UC_PresentationT3UC2012_Rajesh
Rajesh Kumar Bathina
 
Transport Layer Services : Multiplexing And Demultiplexing
Transport Layer Services : Multiplexing And DemultiplexingTransport Layer Services : Multiplexing And Demultiplexing
Transport Layer Services : Multiplexing And Demultiplexing
Keyur Vadodariya
 
MUTHOFUN BULK SMS API Documentation
MUTHOFUN BULK SMS API DocumentationMUTHOFUN BULK SMS API Documentation
MUTHOFUN BULK SMS API Documentation
A.M. Ishtiaque Sarwar
 
Presentation (1)
Presentation (1)Presentation (1)
Presentation (1)
Janani Ramasamy
 
CNS - Unit v
CNS - Unit vCNS - Unit v
CNS - Unit v
ArthyR3
 
Electronic Mail
Electronic MailElectronic Mail
Electronic Mail
Owaîs Járå
 
2.communcation in distributed system
2.communcation in distributed system2.communcation in distributed system
2.communcation in distributed system
Gd Goenka University
 
Introduction To SIP
Introduction  To  SIPIntroduction  To  SIP
Introduction To SIP
Chris McAndrew
 
Ip protocol
Ip protocolIp protocol
Ip protocol
H K
 
SMS API InforUMobile
SMS API InforUMobileSMS API InforUMobile
SMS API InforUMobile
inforumobile
 

Similar to Whatsapp Business API Solution (20)

TSN_MTL838C_Modbus_Rev_1.pdf
TSN_MTL838C_Modbus_Rev_1.pdfTSN_MTL838C_Modbus_Rev_1.pdf
TSN_MTL838C_Modbus_Rev_1.pdf
 
SMS-SMPP-Concepts
SMS-SMPP-ConceptsSMS-SMPP-Concepts
SMS-SMPP-Concepts
 
Web service api - InfoSMS By InforUMobile
Web service api - InfoSMS By InforUMobileWeb service api - InfoSMS By InforUMobile
Web service api - InfoSMS By InforUMobile
 
IRJET- Secure Email Software using e-SMTP
IRJET- Secure Email Software using e-SMTPIRJET- Secure Email Software using e-SMTP
IRJET- Secure Email Software using e-SMTP
 
IRJET- Secure Email Software using e-SMTP
IRJET-  	  Secure Email Software using e-SMTPIRJET-  	  Secure Email Software using e-SMTP
IRJET- Secure Email Software using e-SMTP
 
Global e payment system ppt
Global e payment system pptGlobal e payment system ppt
Global e payment system ppt
 
Bhusa09 Miller Fuzzing Phone Paper
Bhusa09 Miller Fuzzing Phone PaperBhusa09 Miller Fuzzing Phone Paper
Bhusa09 Miller Fuzzing Phone Paper
 
07 coms 525 tcpip - udp
07    coms 525 tcpip - udp07    coms 525 tcpip - udp
07 coms 525 tcpip - udp
 
mod-3-cn-ppt (1).pdf bca bsc btech notes
mod-3-cn-ppt (1).pdf bca bsc btech notesmod-3-cn-ppt (1).pdf bca bsc btech notes
mod-3-cn-ppt (1).pdf bca bsc btech notes
 
Error detection & correctoin
Error detection    & correctoinError detection    & correctoin
Error detection & correctoin
 
T3UC_PresentationT3UC2012_Rajesh
T3UC_PresentationT3UC2012_RajeshT3UC_PresentationT3UC2012_Rajesh
T3UC_PresentationT3UC2012_Rajesh
 
Transport Layer Services : Multiplexing And Demultiplexing
Transport Layer Services : Multiplexing And DemultiplexingTransport Layer Services : Multiplexing And Demultiplexing
Transport Layer Services : Multiplexing And Demultiplexing
 
MUTHOFUN BULK SMS API Documentation
MUTHOFUN BULK SMS API DocumentationMUTHOFUN BULK SMS API Documentation
MUTHOFUN BULK SMS API Documentation
 
Presentation (1)
Presentation (1)Presentation (1)
Presentation (1)
 
CNS - Unit v
CNS - Unit vCNS - Unit v
CNS - Unit v
 
Electronic Mail
Electronic MailElectronic Mail
Electronic Mail
 
2.communcation in distributed system
2.communcation in distributed system2.communcation in distributed system
2.communcation in distributed system
 
Introduction To SIP
Introduction  To  SIPIntroduction  To  SIP
Introduction To SIP
 
Ip protocol
Ip protocolIp protocol
Ip protocol
 
SMS API InforUMobile
SMS API InforUMobileSMS API InforUMobile
SMS API InforUMobile
 

More from RouteMob

Customer Engagement with Route Mobile SMS for Freshworks - Route Mobile
Customer Engagement with Route Mobile SMS for Freshworks - Route MobileCustomer Engagement with Route Mobile SMS for Freshworks - Route Mobile
Customer Engagement with Route Mobile SMS for Freshworks - Route Mobile
RouteMob
 
Route Mobile SMS for Freshworks
Route Mobile SMS for FreshworksRoute Mobile SMS for Freshworks
Route Mobile SMS for Freshworks
RouteMob
 
Otp api specifications
Otp api specificationsOtp api specifications
Otp api specifications
RouteMob
 
Steps to add bulk SMS
Steps to add bulk SMS	Steps to add bulk SMS
Steps to add bulk SMS
RouteMob
 
Ivr banking solution
Ivr banking solutionIvr banking solution
Ivr banking solution
RouteMob
 
Hlr lookup specification
Hlr lookup specificationHlr lookup specification
Hlr lookup specification
RouteMob
 
Viber product-brochure
Viber product-brochureViber product-brochure
Viber product-brochure
RouteMob
 
RouteMobile – Mobile Client Manual for Android
RouteMobile – Mobile Client Manual for AndroidRouteMobile – Mobile Client Manual for Android
RouteMobile – Mobile Client Manual for Android
RouteMob
 
Route Mobile - Case Study
Route Mobile - Case StudyRoute Mobile - Case Study
Route Mobile - Case Study
RouteMob
 

More from RouteMob (9)

Customer Engagement with Route Mobile SMS for Freshworks - Route Mobile
Customer Engagement with Route Mobile SMS for Freshworks - Route MobileCustomer Engagement with Route Mobile SMS for Freshworks - Route Mobile
Customer Engagement with Route Mobile SMS for Freshworks - Route Mobile
 
Route Mobile SMS for Freshworks
Route Mobile SMS for FreshworksRoute Mobile SMS for Freshworks
Route Mobile SMS for Freshworks
 
Otp api specifications
Otp api specificationsOtp api specifications
Otp api specifications
 
Steps to add bulk SMS
Steps to add bulk SMS	Steps to add bulk SMS
Steps to add bulk SMS
 
Ivr banking solution
Ivr banking solutionIvr banking solution
Ivr banking solution
 
Hlr lookup specification
Hlr lookup specificationHlr lookup specification
Hlr lookup specification
 
Viber product-brochure
Viber product-brochureViber product-brochure
Viber product-brochure
 
RouteMobile – Mobile Client Manual for Android
RouteMobile – Mobile Client Manual for AndroidRouteMobile – Mobile Client Manual for Android
RouteMobile – Mobile Client Manual for Android
 
Route Mobile - Case Study
Route Mobile - Case StudyRoute Mobile - Case Study
Route Mobile - Case Study
 

Recently uploaded

Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 

Recently uploaded (20)

Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 

Whatsapp Business API Solution

  • 1. SMPP Gateway Manual Page | 1 SMPP Gateway Manual
  • 2. SMPP Gateway Manual Page | 2 Introduction The RouteMobile Messaging Platform uses the SMPP v3.4 Protocol Specification Issue 1.5, However it has been designed to be backward compatible with SMPP v3.3. This document should be read in conjunction with SMPP v3.4 Specification v1.5 and assumes with SMPP a level of familiarity functionality. Connectivity Clients may connect to the Route Mobile Messaging Platform Server multiple numbers of times. This may be of importance if the client wishes to deploy multiple applications simultaneously. To connect to the Route Mobile Messaging Platform one needs to specify the following parameters: IP Address and Port: This is the TCP/IP endpoint on which the ESME should connect to the Route Mobile Messaging Platform. system_id: This is the username of your account configured on the RouteMobile Messaging Platform. Password: Password for the above account. Required for security reasons to prevent unauthorized access to your account. system_type: This field is not used by us, hence set to null. interface_version: The client application should connect with the interface_version field set to 0x34 (52 decimal), if it is using SMPP v3.4, otherwise the RouteMobile Messaging Platform assumes that the application is using SMPP v3.3. If the application uses SMPP v3.3 then the optional fields cannot be used. These optional fields may be required to implement extra facilities like long SMS, etc. enquire_link: The application should issue an enquire_link every minute. This will ensure the link stays active even when it is not in use. The RouteMobile Messaging Platform will automatically disconnect any link which is inactive for more than 5mins.
  • 3. SMPP Gateway Manual Page | 3 Submitting Messages Submission Types: Messages may be submitted with either submit_sm or data_sm, using either the short_message or message_payload fields. The message length may not exceed the byte limit for the network that the message is being sent to (for example 140 bytes on GSM networks). The Route Mobile Messaging Platform does not support submit_multi. If the same message has to be sent to multiple destinations, each message must be sent separately. The sar optional parameters are also not supported. Concatenated messages are supported by using the User Data Header (UDH), which is included in the message size byte limit. Submit Responses: A positive response to a ‘submit’ will contain an error code of zero and a non-null message reference. A negative response will contain a RouteMobile vendor specific error code. The complete set of SMPP Error Codes and their associated values are defined in the following table. Error Code Value Description ESME_ROK 0x00000000 No Error. ESME_RINVMSGLEN 0x00000001 Message Length is invalid. ESME_RINVCMDLEN 0x00000002 Command Length is invalid. ESME_RINVCMDID 0x00000003 Invalid Command ID. ESME_RINVBNDSTS 0x00000004 Incorrect BIND Status for given command. ESME_RALYBND 0x00000005 ESME Already in Bound State. ESME_RINVPRTFLG 0x00000006 Invalid Priority Flag. ESME_RINVREGDLVFLG 0x00000007 Invalid Registered Delivery Flag. ESME_RSYSERR 0x00000008 System Error. ESME_RINVSRCADR 0x0000000A Invalid Source Address. ESME_RINVDSTADR 0x0000000B Invalid Dest Addr. ESME_RINVMSGID 0x0000000C Message ID is invalid. ESME_RBINDFAIL 0x0000000D Bind Failed. ESME_RINVPASWD 0x0000000E Invalid Password. ESME_RINVSYSID 0x0000000F Invalid System ID. ESME_RINVSERTYP 0x00000015 Invalid Service Type. ESME_RINVESMCLASS 0x00000043 Invalid esm_class field data. ESME_RSUBMITFAIL 0x00000045 submit_sm failed ESME_RINVSRCTON 0x00000048 Invalid Source address TON
  • 4. SMPP Gateway Manual Page | 4 Character Sets, Class and Data Coding: The Route Mobile Messaging Platform supports the following two types of data coding schemes: GSM 03.38 Encoding (default) Latin 1 (ISO-8859-1) encoding The default character set is GSM 338. Although for data_coding=1 the character set GSM 03.38 is supported it is NOT RECOMMENDED, as it is known to cause problems with character encoding. Please set data_coding = 3 for ISO-8859-1(if and only if told so explicitly) encoded messages and data_coding=0 for GSM 03.38 encoded messages. For Unicode messages you have to set data_coding = 8 and the message is expected in UTF-16 Big Endean format. ESME_RINVSRCNPI 0x00000049 Invalid Source address NPI ESME_RINVDSTTON 0x00000050 Invalid Destination address TON ESME_RINVDSTNPI 0x00000051 Invalid Destination address NPI ESME_RINVSYSTYP 0x00000053 Invalid system_type field ESME_RTHROTTLED 0x00000058 Throttling Error(ESME has exceeded allowed message limits) ESME_RINVEXPIRY 0x00000062 Invalid message validity period (Expiry time) ESME_RINVOPTPARSTREA M 0x000000C0 Error in the optional part of the PDU Body. ESME_ROPTPARNOTALLWD 0x000000C1 Optional Parameter not allowed ESME_RINVPARLEN 0x000000C2 Invalid Parameter Length ESME_RMISSINGOPTPARA M 0x000000C3 Expected Optional Parameter missing. ESME_RINVOPTPARAMVAL 0x000000C4 Invalid Optional Parameter Value ESME_RDELIVERYFAILURE 0x000000FE Delivery Failure (used for data_sm_resp) ESME_CREDIT_ERROR 0x00000401 Credits are over. ESME_SPAM_MESSAGE 0x00000404 Spam content. ESME_RINVSMLEN 0x00000405 Message length is exceeding in short_sm(e.g. for message type text max message length is 160 char). ESME_RINVUDHLEN 0x00000406 Invalid UDH length indicator (Currently we allow 05, 06 with all type of data coding and 0b with data coding 245). ESME_RINSMSEMPTY 0x00000407 Message body not found in either short_sm or message_payload. ESME_RINDSTDND 0x00000408 Destination in DND. ESME_RINSRCMSG 0x00000409 Invalid source/template. ESME_RINSRCMSG 0x00000410 Source/Template long message error code ESME_RINSRCMSG 0x00000411 Duplicate Submission ESME_RINSRCMSG 0x00000412 Destination Barred/Source Barred
  • 5. SMPP Gateway Manual Page | 5 Originators and Destination: The default originator type is full International MSISDN. Alpha numeric o network short code originators can be sent by using the following ton values in source_addr_ton field. Alpha-numeric 5 National / Network Short Code 3 International MSISDN 1 Destination Address types are not supported. They can be set to any value but are always interpreted as 1. This requires all the destination numbers to be sent in an international format without the leading 00. Long Messages: Long Messages as the name suggests are messages whose length exceeds the normal length imposed on short messages (160 for text and 70 for Unicode). The user can send long messages via the Route Mobile Messaging Platform using the following two methods: Concatenated Messages In this method the long message is sent in parts as multiple short messages which are then joined together on the mobile (If the mobile supports long messages, else each message part will be displayed as a separate message). In this method the client sends the UDH (User Data Header) as part of the short_message field. The UDH contains all the details required for the mobile join the parts and make the complete message at its end. In this method the client has to set the esm_class field in the submit_sm pdu to 0x43 (Store and Forward with UDHI) Message Payload Here the Route Mobile Messaging Platform can accept a message with length up to 64K octets. In this method the client uses the optional message_payload of the submit_sm pdu. To use this method the client should set the interface_version to 0x34; else this field will not be available for sending messages.
  • 6. SMPP Gateway Manual Page | 6 Delivery Reports: The Route Mobile Messaging Platform will return a delivery report (Intermediate and/or final depending on the route) for a specific message to the client application when the registered_delivery field, while submitting the message, is set to 1. In order to retrieve the delivery report from our server the client will have to connect to the Route Mobile Messaging Platform in the receiver or transceiver mode. Status Description DELIVRD Message delivered to handset FAILED Message could not be delivered EXPIRED Message validity period expired, before any successful tries of submission UNDELIV Message is Undeliverable REJECTD Message REJECTD Adding status and error code which can be returned by Messaging Platform. Status Error Status Description 000 DELIVRD Delivered to SIM. 001 UNDELIV Unidentified subscriber. 005 EXPIRED Unidentified subscriber. 009 UNDELIV Illegal subscriber 011 UNDELIV Tel 012 UNDELIV Illegal Equipment 013 UNDELIV Call Barred 021 UNDELIV Facility not supported 027 EXPIRED Absent subscriber 031 EXPIRED Subscriber busy for MT_SMS 032 EXPIRED SM 034 EXPIRED System failure 035 UNDELIV Data missing 036 UNDELIV Unexpected Data value 144 UNDELIV Unrecognized component 145 UNDELIV Mistyped Component 146 UNDELIV Body structured component 160 EXPIRED Duplicate invoke ID 161 UNDELIV Unrecognized Operation 162 UNDELIV Mistyped Parameter 163 EXPIRED Resource Limitation 164 EXPIRED Initiating release 165 EXPIRED Unrecognized linked ID 166 EXPIRED Linked Response expected 167 EXPIRED Unexpected linked operation 176 UNDELIV Unrecognized invoke ID
  • 7. SMPP Gateway Manual Page | 7 177 EXPIRED Return result expected 178 UNDELIV Mistyped Parameter 192 EXPIRED Unrecognized invoke ID 193 EXPIRED Return Error unexpected 194 UNDELIV Unrecognized error 195 UNDELIV Unexpected Error 196 UNDELIV Mistyped parameter 200 UNDELIV Unable to decode response 201 EXPIRED Provider Abort 202 UNDELIV User Abort 203 EXPIRED Timeout 204 UNDELIV API error 205 UNDELIV Unknown Error 404 REJECTD Invalid message content 408 REJECTD DND error code 409 REJECTD Source/template error code 410 REJECTD Source/Template long message error code 411 REJECTD Duplicate Submission 412 REJECTD Destination Barred/Source Barred