diff options
author | Keith <keith@rhizomatica.org> | 2017-05-13 23:38:52 +0200 |
---|---|---|
committer | Keith Whyte <keith@rhizomatica.org> | 2017-05-20 08:18:50 +0000 |
commit | 320960cf9d28474098dad11bd1042f2a58d87fac (patch) | |
tree | d572eea18b9d2ef6c2d2189d5f4cc0e118353a47 /openbsc/src/libmsc/smpp_smsc.h | |
parent | 9f77d7bd0e39cfd0f3e952c5b375abba5a415d37 (diff) |
libmsc: Map SMPP command status to GSM 04.11 cause
Send SMS RP ERROR with a failure cause that relates to
the status returned by the ESME in the deliver_sm_resp.
Actual mapping array is limited as most phones I tested
don't seem to care about the failure cause anyway,
although some will display a different notification for
GSM411_RP_CAUSE_MO_NUM_UNASSIGNED
Change-Id: I61fb2d9ef4f2d2eabdc49b53d9966ad328d15e51
Diffstat (limited to 'openbsc/src/libmsc/smpp_smsc.h')
-rw-r--r-- | openbsc/src/libmsc/smpp_smsc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libmsc/smpp_smsc.h b/openbsc/src/libmsc/smpp_smsc.h index b95a1f509..d8e82e421 100644 --- a/openbsc/src/libmsc/smpp_smsc.h +++ b/openbsc/src/libmsc/smpp_smsc.h @@ -97,7 +97,7 @@ struct osmo_smpp_cmd { struct osmo_smpp_cmd *smpp_cmd_find_by_seqnum(struct osmo_esme *esme, uint32_t sequence_number); void smpp_cmd_ack(struct osmo_smpp_cmd *cmd); -void smpp_cmd_err(struct osmo_smpp_cmd *cmd); +void smpp_cmd_err(struct osmo_smpp_cmd *cmd, uint32_t status); void smpp_cmd_flush_pending(struct osmo_esme *esme); struct smsc { |