diff options
author | Mychaela N. Falconia <falcon@freecalypso.org> | 2023-08-26 02:23:13 +0000 |
---|---|---|
committer | Mychaela N. Falconia <falcon@freecalypso.org> | 2023-09-24 18:14:16 +0000 |
commit | 8de4ea6567eab63d2cbefc2b0ebbbce4b548dcc3 (patch) | |
tree | 48d3a64a2c87e273f167e5ba8481b19c0c24f1b6 | |
parent | 2d4f0eaa76f2ed4facb3a85f613a61e6913bfab3 (diff) |
gsup_client_mux: set destination_name in error reply function
If the GSUP request message to which we are replying is an MT SMS
delivery from an SMSC relayed via OsmoHLR, we must set destination_name
in our reply - otherwise our reply won't make it back to the SMSC.
Related: OS#6135
Change-Id: I892fe87a733a78ed9d5761a8ce238caa135dea1e
-rw-r--r-- | src/libmsc/gsup_client_mux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmsc/gsup_client_mux.c b/src/libmsc/gsup_client_mux.c index 190037720..9a0dc1667 100644 --- a/src/libmsc/gsup_client_mux.c +++ b/src/libmsc/gsup_client_mux.c @@ -150,6 +150,8 @@ void gsup_client_mux_tx_error_reply(struct gsup_client_mux *gcm, const struct os .cause = cause, .message_type = OSMO_GSUP_TO_MSGT_ERROR(gsup_orig->message_type), .message_class = gsup_orig->message_class, + .destination_name = gsup_orig->source_name, + .destination_name_len = gsup_orig->source_name_len, /* RP-Message-Reference is mandatory for SM Service */ .sm_rp_mr = gsup_orig->sm_rp_mr, |