3

I found it's definition in the SMPP protocol Specification, but I didn't understand what it means exactly. I know that to receive a SMS from the SMSC you have first to initialize a connection (bind request) then when the SMSC need to send a sms it sends a deliver request.

Is Address Range used by the SMSC to send SMS to the ESME while no connection is established ?

Ben
  • 51,770
  • 36
  • 127
  • 149
Ahmed Serry
  • 33
  • 1
  • 7
  • This appears to be the only question on the entirety of Stack Overflow that actually needs this tag @Matt, which means it'll get deleted in 30 days. If you really feel it's needed can you create one that's a little less vague? [smpp-address-range] maybe? – Ben Jun 25 '13 at 18:00
  • There's only 145 questions with all of "smpp", so something as specific as "smpp-address-range" is probably unnecessary. Let's just remove that tag altogether so I think your edit will suffice. – Matt Jun 25 '13 at 20:30

2 Answers2

5

An SMPP PDU cannot be transmitted unless the connection between the ESME and the SMSC is established. This is usually done by using the TCP 3-way handshake (SYN, SYN-ACK, ACK).

The address_range parameter is used in the bind_receiver and bind_transceiver command to specify a set of SME's (MS or ESME) addresses serviced by the ESME client. Messages addressed to any destination in this range shall be routed to the ESME. The range is specified using a regular expression, however, for IP addresses, it is only possible to specify a single IP address. Also, IPv6 is not currently supported in this version of the protocol.

That being said, almost all of the SMSC's ignore the addr_range field in the bind command as they will not relinquish routing control to an ESME for preventing of mis-routing messages. Hence, this field is mostly set to NULL.

Routing between an SMSC and an ESME is usually done using 'short codes'. The service provider (SMSC) assigns one unique short code to an ESME. The SMSC maintains a list of all bound ESME addresses and maps the corresponding short codes against them. Whenever a message is sent to a short code, the destination, i.e. the short code is translated to a valid ESME address which can be routed on the network.

Routing of SMS towards an MS-SME in cellular networks is performed by querying the Home Location Register (HLR) on the MAP/SS7(or SIGTRAN) interface for finding out the location of the subscriber.

Ravi
  • 172
  • 2
  • 9
4

As mentioned in SMPP v3.4 specification (p. 5.2.7) address_range parameter may be used to inform SMSC about range of addresses to be processed by this ESME.

For example, you may have two ESME systems: 1) Voice Mail on short code 123 2) SMS Poll on short code 456

These systems may be connected to SMSC with the same system-id but with different address_rane to separate SMS traffic.

michael.bochkaryov
  • 2,318
  • 18
  • 14