osmo-msc/src/libmsc
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
..
Makefile.am Support for TS 04.14 conformance test commands 2017-08-27 02:33:48 +02:00
a_iface.c Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
auth.c Use libvlr in libmsc (large refactoring) 2017-07-23 04:08:43 +02:00
ctrl_commands.c Use libvlr in libmsc (large refactoring) 2017-07-23 04:08:43 +02:00
db.c Use libvlr in libmsc (large refactoring) 2017-07-23 04:08:43 +02:00
gsm_04_08.c Support for TS 04.14 conformance test commands 2017-08-27 02:33:48 +02:00
gsm_04_11.c libmsc: add support for SMPP delivery receipts 2017-08-27 02:33:49 +02:00
gsm_04_14.c Support for TS 04.14 conformance test commands 2017-08-27 02:33:48 +02:00
gsm_04_80.c Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
gsm_subscriber.c Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
iu_dummy.c Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
iucs.c Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
iucs_ranap.c Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
meas_feed.c Use libvlr in libmsc (large refactoring) 2017-07-23 04:08:43 +02:00
meas_feed.h move openbsc/* to repos root 2017-07-12 23:17:10 +00:00
mncc.c move openbsc/* to repos root 2017-07-12 23:17:10 +00:00
mncc_builtin.c mscsplit: various preparations to separate MSC from BSC 2017-08-08 19:17:53 +02:00
mncc_sock.c mscsplit: various preparations to separate MSC from BSC 2017-08-08 19:17:53 +02:00
msc_ifaces.c Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
msc_vty.c Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
osmo_msc.c Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
rrlp.c Use libvlr in libmsc (large refactoring) 2017-07-23 04:08:43 +02:00
silent_call.c Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
smpp_openbsc.c libmsc: add support for SMPP delivery receipts 2017-08-27 02:33:49 +02:00
smpp_smsc.c smpp: fix return cause 2017-08-27 02:33:47 +02:00
smpp_smsc.h libmsc: add support for SMPP delivery receipts 2017-08-27 02:33:49 +02:00
smpp_utils.c move openbsc/* to repos root 2017-07-12 23:17:10 +00:00
smpp_vty.c move openbsc/* to repos root 2017-07-12 23:17:10 +00:00
sms_queue.c Use libvlr in libmsc (large refactoring) 2017-07-23 04:08:43 +02:00
subscr_conn.c Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
transaction.c transaction: reject calls from unidentified subscribers 2017-08-27 02:33:48 +02:00
ussd.c Use libvlr in libmsc (large refactoring) 2017-07-23 04:08:43 +02:00
vty_interface_layer3.c Add VTY commands for experimentation with TS 04.14 commands 2017-08-27 02:33:48 +02:00