osmo-msc/src
Pablo Neira Ayuso adae859eeb libmsc: add support for SMPP delivery receipts
If the mobile phone requests a status report via SMS, send a DELIVER_SM
with esm_class = Delivery Receipt to ESME to indicate that the SMS has
been already delivered to its destination.

    MS        GSM 03.40           SMSC       SMPP 3.4               ESME
     |                             |                                |
     |       SMS-DELIVER           |                                |
     |<----------------------------|                                |
     |     GSM 04.11 RP-ACK        |                                |
     |---------------------------->|                                |
     |                             |           DELIVER-SM           |
     |                             |  esm_class = Delivery Receipt  |
     |                             |------------------------------->|
     |                             |         DELIVER-SM-RESP        |
     |                             |<-------------------------------|
     |                             |                                |

This patch implements "Appendix B. Delivery Receipt Format" as specified
in the SMPP 3.4 specs. This string is conveyed in the SMS message as
data, and it is only meaningful to the ESME, for logging purposes. The
"submit date" and "done date" are not yet set, and other fields are just
sent with dummy values, so they are left to be finished as future work.

The new SMPP TLV tag TLVID_user_message_reference is added to the SMPP
messages inconditionally now since this information is required by
delivery-reports to associate the status-report with the original SMS.

Change-Id: Ic1a9023074bfa938099377980b6aff9b262fab2a
2017-08-27 02:33:49 +02:00
..
gprs sgsn: Convert cch_pdp to host order for libgtp 2017-08-27 02:33:48 +02:00
ipaccess move openbsc/* to repos root 2017-07-12 23:17:10 +00:00
libbsc timer vty: also print the default value in cmd doc 2017-08-27 02:33:49 +02:00
libcommon Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
libcommon-cs check for missing result of rate_ctr_group_alloc() 2017-08-27 02:33:48 +02:00
libfilter move openbsc/* to repos root 2017-07-12 23:17:10 +00:00
libiu Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
libmgcp mgcp: hack RAB success from nano3G: patch first RTP payload 2017-08-23 14:34:38 +02:00
libmsc libmsc: add support for SMPP delivery receipts 2017-08-27 02:33:49 +02:00
libtrau move openbsc/* to repos root 2017-07-12 23:17:10 +00:00
libvlr Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
osmo-bsc Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
osmo-bsc_mgcp move openbsc/* to repos root 2017-07-12 23:17:10 +00:00
osmo-bsc_nat move openbsc/* to repos root 2017-07-12 23:17:10 +00:00
osmo-msc Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
utils utils: smpp_mirror: reflect message reference TLV 2017-08-27 02:33:49 +02:00
Makefile.am Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00