Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SMS using SMPP or/and SS7

Tags:

smpp

ss7

I have a crucial question related to sending SMS trough SMPP or SS7.

Case: We are connected to all local operators using SMPP(we already have an agreement with each one). The fact is that we are able to send SMS to all local operators and actually receive the DLR(deliver_sm), but there a lot of cases when we are not receiving anything back.

By the other hand, we have an E1 connection running SS7 with one local operator for voice purposes. I was thinking if it is possible to SEND SMS using this SS7 E1 connection? There is couple of hardware in the market that provide this functionality.

My principal concerns are: - What should I check before buying this SS7 SMS hardware, to be sure that this will work in our SS7 E1 connection? - Can the operator blocks the SMS that are comming from the E1 SS7 connection? - If we actually send a SMS usign the SS7 E1 connection, where will be receive the DLR, in the SMPP connection, or in the E1 SS7? - Will be able to have dynamic sender id if we send SMS trough the SS7 E1?

Thanks and best regards,

Claudio

like image 733
ClaudioFM Avatar asked May 09 '15 23:05

ClaudioFM


People also ask

What protocol is used for SMS?

Your handset uses the Short Message Peer to Peer (SMPP) protocol to communicate with Telephone operators gateways. SMPP is used to send and receive messages from and to GSM, UMTS, iDEN, CDMA, and TDMA cell phones. This level-7 TCP/IP protocol allows fast delivery of SMS messages.

What is SS7 used for?

The SS7 network and protocol are used for: Basic call setup, management, and tear down. Wireless services such as personal communications services (PCS), wireless roaming, and mobile subscriber authentication. Local number portability (LNP)

What is SMPP protocol in telecom?

The SMPP (Short Message Peer-to-Peer) is a protocol used by the telecommunications industry for exchanging SMS messages over the internet, mainly between Short Message Service Centers (SMSC). The protocol is a level-7 TCP/IP protocol, which allows fast delivery of SMS messages.


1 Answers

In order to send SMS over SS7, you should have a SMS-Center-like software that will submit SMS over SS7 MAP protocol (using MT-Forward-SM command preceded by a SRI-for-SM Send Routing Information for Short Message to get subscriber location). Your E1 connection is probably only enabled for voice (ISUP) and will probably not support the sending of MAP commands, or those MAP commands will be discarded by your operator.

Additionally to having a full SS7 connectivity usually provided by a partner mobile operator, you will need other requirements:

  • Your platform should have been allocated a PC (Point Code) and GT (Global Title) from the operator providing you SS7 connectivity.
  • the operator should allow you to submit those MAP messages and route them to their recipient operators, you could only reach mobile operators having a roaming agreement with your hosting operator.
  • SMS delivery is done in at least two steps: first you retrieve the subscriber location by querying the HLR (Home Location Register) of the recipient mobile network using a SRI-for-SM command, then you submit the SMS to be mobile subscriber serving MSC/VLR using a MT-Forward-SM command. You could only reach HLR of operators having a roaming agreement with your host mobile operator. Those HLRs will usually check your Global Title to verify you are authorized to submit SMS.
  • In order to support all call flows and prerequisites, you need not only the SS7 hardware but also a SMS-Center software. You could source it from a commercial supplier or build it, but in the latest case plan to allocate appropriate resources as it is fairly complex.

The above is only a brief summary of the call flows and associated requirements, in the real life, this could be much more complicated. For a detailed description of SMS protocol over SS7, please refer to the ETSI/3GPP main specification for SMS that you could find here: http://www.etsi.org/deliver/etsi_ts/123000_123099/123040/12.02.00_60/ts_123040v120200p.pdf (Technical Realization of the Short Message Service).

You understand it is very difficult to be able to submit SMS directly over the SS7 network without having not only appropriate SS7 HW and SMSC software but also a strong partnership with a very friendly mobile network operator that will grant you access to its SS7 network and authorize you to send SMS on his behalf.

An easier alternative is to contract with one of the SMS brokers operating exactly this kind of infrastructure, you will submit to them over SMPP but they will deliver over SS7. This will enable you in most cases to get delivery status acknowledgement and use dynamic sender id.

like image 82
Daniel Mavrakis Avatar answered Oct 18 '22 13:10

Daniel Mavrakis