Thursday, July 14, 2016

SMPP Connector


SMPP Connector allows you to send SMS through the WSO2 ESB. It uses jsmpp API to communicate with a SMSC. jsmpp is a java implementation of SMPP protocol. 


How to send SMS using SMPP

SMPP client communicates with SMPP server by SMPP protocol, which is a native way for sending SMS. SMPP client must take care of SMS and deliver them to server. When there is a change of status for an SMS, then SMPP server will transmit a delivery report back to client. So, we don't have to care about making extra actions to retrieve the delivery report for a message. SMPP protocol will take care of that.




SMPP (Short Message Peer-to-Peer)

What is SMPP ?


The Short Message Peer-to-Peer (SMPP) is a protocol used by the telecommunications industry for exchanging SMS messages between Short Message Service Centers (SMSC) and/or External Short Messaging Entities (ESME). SMPP is able to carry short messages including EMS, Voice Mail notifications, Cell Broadcasts, WAP messages including WAP Push messages (used to deliver MMS notifications), USSD messages and others. Because of its versatility and support for non-GSM SMS protocols, like UMTS, IS-95 (CDMA), CDMA2000, ANSI-136 (TDMA) and iDEN, the SMPP is the most commonly used protocol for short message exchange outside SS7 networks.

What is SMSC ?


A Short Message service center (SMSC) is a network element in the mobile telephone network. Its purpose is to store, forward, convert and deliverShort Message Service (SMS) messages.

When an SMS message is sent from a mobile phone, it will reach an SMSC first. Then it forwards the SMS message towards the destination. Here, SMSC is to route SMS messages and regulate the process. If the recipient is unavailable, the SMSC will store the SMS message and forward the SMS message when the recipient is available until the message's expiry period. It is possible on most mobile handset to specify an expiry period of SMS message after which the SMS message will be deleted from the SMSC. Once deleted, the SMS message will not be available for dispatch to the recipient mobile phone. The validity period should be regarded by the handset user as a request, as the SMSC itself can be configured to ignore or otherwise handle message delivery schedules. To get the status report of the message, SMS sender needs to set a flag in the SMS message to notify the SMSC that he wants the status report about the delivery of this SMS message. This status report is sent to the SMS sender via an SMS.

What is ESME ?

External Short Messaging Entity (ESME) is an external application that connects to a Short Message Service Center (SMSC) to sending and/or receiving of SMS messages.
SME is a term used to describe a network entity (mobile/cell phone) that can send/receive messages. ESME is essentially one of these but without all the wireless aspects. Eg: it is connected via TCP/IP, X.25 or similar.